Advertisement
EddyCZ

Untitled

Oct 12th, 2023
863
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 1.41 KB | None | 0 0
  1. undefined4 __cdecl16near FUN_0000_059a(undefined2 param_1)
  2.  
  3. {
  4.   byte *pbVar1;
  5.   byte *pbVar2;
  6.   code *pcVar3;
  7.   undefined2 in_AX;
  8.   undefined2 uVar4;
  9.   int iVar5;
  10.   int iVar6;
  11.   undefined2 in_DX;
  12.   byte *extraout_DX;
  13.   byte *pbVar7;
  14.   byte *pbVar8;
  15.   undefined2 unaff_ES;
  16.   undefined2 unaff_DS;
  17.   undefined in_CF;
  18.   bool bVar9;
  19.   undefined in_ZF;
  20.  
  21.   *(undefined2 *)FUN_0000_059a = in_DX;
  22.   FUN_0000_03ad();
  23.   FUN_0000_03ad();
  24.   pcVar3 = (code *)swi(0x21);
  25.   uVar4 = (*pcVar3)();
  26.   if (!(bool)in_CF) {
  27.     *(undefined2 *)0x5ac = uVar4;
  28.     do {
  29.       pcVar3 = (code *)swi(0x21);
  30.       (*pcVar3)(register0x00000010);
  31.       if ((bool)in_CF) goto LAB_0000_0618;
  32.       pbVar7 = (byte *)0x5ae;
  33.       iVar5 = 0x10;
  34.       pbVar8 = extraout_DX;
  35.       do {
  36.         if (iVar5 == 0) break;
  37.         iVar5 = iVar5 + -1;
  38.         pbVar2 = pbVar8;
  39.         pbVar8 = pbVar8 + 1;
  40.         pbVar1 = pbVar7;
  41.         pbVar7 = pbVar7 + 1;
  42.         in_CF = *pbVar1 < *pbVar2;
  43.         in_ZF = *pbVar1 == *pbVar2;
  44.       } while ((bool)in_ZF);
  45.     } while (!(bool)in_ZF);
  46.     bVar9 = false;
  47.     pcVar3 = (code *)swi(0x21);
  48.     (*pcVar3)();
  49.     if (!bVar9) {
  50.       iVar6 = 0x10;
  51.       pcVar3 = (code *)swi(0x21);
  52.       iVar5 = (*pcVar3)();
  53.       if ((!bVar9) && (iVar5 == iVar6)) {
  54.         pcVar3 = (code *)swi(0x21);
  55.         (*pcVar3)();
  56.       }
  57.     }
  58.   }
  59. LAB_0000_0618:
  60.   return CONCAT22(in_AX,param_1);
  61. }
  62.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement