Function at 0x4ad097a1
Capabilities:
Create process on windows
Get system information on windows
Resume thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ad09c30
push 0x4ad1f415
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ecx
mov eax, 0x1c574
call fcn.4ad03c97
mov eax, dword [0x4ad33b38]
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c484], eax
xor ebx, ebx
mov dword [ebp - 0x1c45c], ebx
mov dword [ebp - 0x1c454], ebx
mov dword [ebp - 0x1c450], ebx
mov dword [ebp - 0x1c474], ebx
mov esi, 0x4ad09c1c
lea edi, [ebp - 0x2c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
or dword [ebp - 0x1c470], 0xffffffff
mov dword [ebp - 0x1c46c], ebx
mov dword [ebp - 0x1c468], ebx
mov word [ebp - 0x443c], bx
mov word [ebp - 0x1843c], bx
mov dword [ebp - 0x1c464], ebx
mov dword [ebp - 0x1c444], 0x10
mov dword [ebp - 0x1c4e0], 0x44
mov dword [ebp - 0x1c4dc], ebx
mov dword [ebp - 0x1c4d8], ebx
mov dword [ebp - 0x1c4d4], ebx
mov dword [ebp - 0x1c4d0], ebx
mov dword [ebp - 0x1c4cc], ebx
mov dword [ebp - 0x1c4c8], ebx
mov dword [ebp - 0x1c4c4], ebx
mov dword [ebp - 0x1c4b4], ebx
mov word [ebp - 0x1c4b0], 1
mov word [ebp - 0x1c4ae], bx
mov dword [ebp - 0x1c4ac], ebx
push 0xfffffffffffffff6
mov esi, dword [sym.imp.KERNEL32.dll_GetStdHandle]
call esi
mov dword [ebp - 0x1c4a8], eax
push 0xfffffffffffffff5
call esi
mov dword [ebp - 0x1c4a4], eax
push 0xfffffffffffffff4
call esi
mov dword [ebp - 0x1c4a0], eax
mov eax, dword [ebp - 0x1c484]
cmp eax, ebx
je 0x4ad19194
mov esi, dword [sym.imp.msvcrt.dll_wcscpy]
cmp word [eax], bx
je 0x4ad09939
mov edi, dword [sym.imp.msvcrt.dll__wcsicmp]
push ebx
push eax
call fcn.4ad02ce4
mov dword [ebp - 0x1c44c], eax
mov cx, word [eax]
cmp cx, 0x22
je 0x4ad1919c
push 0x2000
cmp cx, word [0x4ad3468c]
je 0x4ad09cc1
lea eax, [ebp - 0x443c]
push eax
lea eax, [ebp - 0x1c44c]
push eax
push ebx
call fcn.4ad09c41
cmp eax, 1
je 0x4ad11afb
mov eax, dword [ebp - 0x1c44c]
cmp word [eax], bx
je 0x4ad09939
push eax
lea eax, [ebp - 0x1843c]
push eax
call esi
pop ecx
pop ecx
lea eax, [ebp - 0x1843c]
mov dword [ebp - 0x1c450], eax
cmp word [ebp - 0x443c], bx
je 0x4ad19501
cmp word [ebp - 0x443c], 0x22
je 0x4ad09969
push 0x20
lea eax, [ebp - 0x443c]
push eax
call dword [sym.imp.msvcrt.dll_wcschr]
pop ecx
pop ecx
test eax, eax
jne 0x4ad19515
lea eax, [ebp - 0x443c]
push eax
lea eax, [ebp - 0x1443c]
push eax
call esi
pop ecx
pop ecx
lea eax, [ebp - 0x443c]
push eax
call fcn.4ad02f54
test eax, eax
je 0x4ad099a3
lea eax, [ebp - 0x443c]
push eax
call fcn.4ad02f54
push eax
lea eax, [ebp - 0x443c]
push eax
call esi
pop ecx
pop ecx
mov byte [ebp - 0x1c445], bl
mov byte [ebp - 0x1c43d], bl
lea eax, [ebp - 0x1c480]
push eax
lea eax, [ebp - 0x443c]
push eax
push 0x2b
call fcn.4ad0446d
cmp eax, 0xffffffff
jne 0x4ad11aef
lea eax, [ebp - 0x443c]
push eax
lea eax, [ebp - 0xc43c]
push eax
call esi
pop ecx
pop ecx
lea eax, [ebp - 0x443c]
mov dword [ebp - 0x1c554], eax
push eax
lea eax, [ebp - 0x1c58c]
push eax
call fcn.4ad03594
cmp eax, 3
je 0x4ad1980a
cmp eax, ebx
je 0x4ad1955d
cmp eax, 2
je 0x4ad11aef
cmp eax, 5
je 0x4ad1957b
cmp byte [ebp - 0x1c43d], bl
jne 0x4ad09a7b
cmp byte [ebp - 0x1c445], bl
jne 0x4ad19590
lea eax, [ebp - 0x1443c]
push eax
lea eax, [ebp - 0x1043c]
push eax
call esi
push 0x4ad040a8
lea eax, [ebp - 0x1043c]
push eax
mov esi, dword [sym.imp.msvcrt.dll_wcscat]
call esi
add esp, 0x10
cmp dword [ebp - 0x1c450], ebx
je 0x4ad09a6f
push dword [ebp - 0x1c450]
lea eax, [ebp - 0x1043c]
push eax
call esi
pop ecx
pop ecx
lea eax, [ebp - 0x1043c]
mov dword [ebp - 0x1c450], eax
cmp dword [ebp - 0x1c46c], ebx
jne 0x4ad19693
call dword [sym.imp.USER32.dll_GetProcessWindowStation]
mov dword [ebp - 0x1c488], eax
lea ecx, [ebp - 0x1c454]
push ecx
push ebx
push ebx
push 2
push eax
mov edi, dword [sym.imp.USER32.dll_GetUserObjectInformationW]
call edi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.USER32.dll_GetThreadDesktop]
mov dword [ebp - 0x1c47c], eax
lea ecx, [ebp - 0x1c45c]
push ecx
push ebx
push ebx
push 2
push eax
call edi
mov eax, dword [ebp - 0x1c45c]
mov ecx, dword [ebp - 0x1c454]
lea eax, [eax + ecx + 0x20]
push eax
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [ebp - 0x1c458], eax
cmp eax, ebx
je 0x4ad09b51
mov esi, eax
lea eax, [ebp - 0x1c454]
push eax
push dword [ebp - 0x1c454]
push esi
push 2
push dword [ebp - 0x1c488]
call edi
test eax, eax
je 0x4ad09b51
mov eax, dword [ebp - 0x1c454]
cmp eax, ebx
jbe 0x4ad09b29
shr eax, 1
mov ecx, esi
lea esi, [ecx + eax*2 - 2]
mov word [esi], 0x5c
inc esi
inc esi
lea eax, [ebp - 0x1c45c]
push eax
push dword [ebp - 0x1c45c]
push esi
push 2
push dword [ebp - 0x1c47c]
call edi
test eax, eax
je 0x4ad09b51
mov eax, dword [ebp - 0x1c458]
mov dword [ebp - 0x1c4d8], eax
cmp byte [ebp - 0x1c43d], bl
jne 0x4ad196a1
lea eax, [ebp - 0x1c49c]
push eax
lea eax, [ebp - 0x1c4e0]
push eax
push dword [ebp - 0x1c464]
push dword [ebp - 0x1c474]
mov eax, dword [ebp - 0x1c444]
or eax, 0x400
push eax
push 1
push ebx
push ebx
push dword [ebp - 0x1c450]
lea eax, [ebp - 0x443c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov esi, eax
cmp dword [ebp - 0x1c46c], ebx
jne 0x4ad196a8
push dword [ebp - 0x1c458]
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
cmp esi, ebx
je 0x4ad196ec
cmp dword [ebp - 0x1c470], 0xffffffff
jne 0x4ad196b5
push dword [ebp - 0x1c498]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x1c49c], ebx
je 0x4ad09c01
push dword [ebp - 0x1c49c]
cmp dword [ebp - 0x1c468], ebx
je 0x4ad0bef7
call fcn.4ad018d2
mov dword [0x4ad2f9e0], eax
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x1c]
call fcn.4ad01389
pop edi
pop esi
pop ebx
leave
ret 4
inc eax
inc eax
mov dword [ebp - 0x1c44c], eax
lea eax, [ebp - 0x843c]
push eax
lea eax, [ebp - 0x1c44c]
push eax
push 1
call fcn.4ad09c41
cmp eax, 1
je 0x4ad11afb
push 0x4ad09f30
lea eax, [ebp - 0x843c]
push eax
call edi
pop ecx
pop ecx
test eax, eax
je 0x4ad19204
push 0x4ad09f18
lea eax, [ebp - 0x843c]
push eax
call edi
pop ecx
pop ecx
test eax, eax
je 0x4ad19309
push 0x4ad09f00
lea eax, [ebp - 0x843c]
push eax
call edi
pop ecx
pop ecx
test eax, eax
je 0x4ad19315
push 0x4ad09efc
lea eax, [ebp - 0x843c]
push eax
call edi
pop ecx
pop ecx
test eax, eax
je 0x4ad19321
push dword [ebp - 0x843c]
call dword [sym.imp.msvcrt.dll_towupper]
pop ecx
cmp ax, 0x44
je 0x4ad1934a
push 0x4ad09ef0
lea eax, [ebp - 0x843c]
push eax
call edi
pop ecx
pop ecx
test eax, eax
je 0x4ad193e5
push dword [ebp - 0x843c]
call dword [sym.imp.msvcrt.dll_towupper]
pop ecx
cmp ax, 0x49
je 0x4ad193f1
push dword [ebp - 0x843c]
call dword [sym.imp.msvcrt.dll_towupper]
pop ecx
cmp ax, 0x3f
je 0x4ad19493
push 0x4ad09ee8
lea eax, [ebp - 0x843c]
push eax
call edi
pop ecx
pop ecx
test eax, eax
je 0x4ad1940f
push 0x4ad09ee0
lea eax, [ebp - 0x843c]
push eax
call edi
pop ecx
pop ecx
test eax, eax
je 0x4ad11adc
push 0x4ad09ed8
lea eax, [ebp - 0x843c]
push eax
call edi
pop ecx
pop ecx
test eax, eax
je 0x4ad1941b
push 0x4ad09ec8
lea eax, [ebp - 0x843c]
push eax
call edi
pop ecx
pop ecx
test eax, eax
je 0x4ad1942e
push 0x4ad09eb4
lea eax, [ebp - 0x843c]
push eax
call edi
pop ecx
pop ecx
test eax, eax
je 0x4ad1943a
push 0x4ad09ea0
lea eax, [ebp - 0x843c]
push eax
call edi
pop ecx
pop ecx
test eax, eax
je 0x4ad19446
push 0x4ad09e90
lea eax, [ebp - 0x843c]
push eax
call edi
pop ecx
pop ecx
test eax, eax
je 0x4ad19452
push 0x4ad09e84
lea eax, [ebp - 0x843c]
push eax
call edi
pop ecx
pop ecx
test eax, eax
jne 0x4ad1945e
mov dword [ebp - 0x1c468], 1
mov eax, dword [ebp - 0x1c44c]
cmp word [eax], bx
jne 0x4ad098cd
jmp 0x4ad09939
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4ad09c01
or dword [ebp - 0x1c4b4], 1
or byte [ebp - 0x1c4b0], 7
jmp 0x4ad09e6e
mov byte [ebp - 0x1c445], 1
jmp 0x4ad09a1b
xor eax, eax
inc eax
jmp 0x4ad09c03
lea eax, [ebp - 0x2c]
jmp 0x4ad098bc
cmp dword [ebp - 0x1c4d4], ebx
jne 0x4ad098e7
push 0x104
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x1c44c]
push eax
push 1
call fcn.4ad09c41
cmp eax, 1
je 0x4ad11afb
lea eax, [ebp - 0x234]
push eax
call fcn.4ad02f54
test eax, eax
je 0x4ad191f3
lea eax, [ebp - 0x234]
push eax
call fcn.4ad02f54
push eax
lea eax, [ebp - 0x234]
push eax
call esi
pop ecx
pop ecx
lea eax, [ebp - 0x234]
mov dword [ebp - 0x1c4d4], eax
jmp 0x4ad09e6e
push ebx
push dword [ebp - 0x1c44c]
call fcn.4ad02ce4
mov dword [ebp - 0x1c44c], eax
push 0x2000
lea eax, [ebp - 0x843c]
push eax
lea eax, [ebp - 0x1c44c]
push eax
push 1
call fcn.4ad09c41
cmp eax, 1
je 0x4ad194c4
lea edi, [ebp - 0x843c]
cmp word [ebp - 0x843c], 0x30
jne 0x4ad19263
cmp word [ebp - 0x843a], 0x78
je 0x4ad1925d
cmp word [ebp - 0x843a], 0x58
jne 0x4ad19263
lea edi, [ebp - 0x8438]
push edi
call dword [sym.imp.msvcrt.dll_wcslen]
pop ecx
cmp eax, 8
ja 0x4ad19478
mov dword [ebp - 0x1c460], ebx
jmp 0x4ad192c0
cmp si, bx
je 0x4ad192dd
mov eax, dword [ebp - 0x1c460]
shl eax, 4
cmp si, 0x30
jb 0x4ad1929f
cmp si, 0x39
ja 0x4ad1929f
movzx ecx, si
lea eax, [eax + ecx - 0x30]
jmp 0x4ad192ba
cmp si, 0x61
jb 0x4ad19478
cmp si, 0x66
ja 0x4ad19478
movzx ecx, si
lea eax, [eax + ecx - 0x57]
mov dword [ebp - 0x1c460], eax
xor eax, eax
mov ax, word [edi]
push eax
call dword [sym.imp.msvcrt.dll_towlower]
mov esi, eax
inc edi
push esi
inc edi
call dword [sym.imp.msvcrt.dll_iswspace]
pop ecx
pop ecx
test eax, eax
je 0x4ad1927c
mov eax, dword [ebp - 0x1c460]
cmp eax, ebx
je 0x4ad19478
mov dword [ebp - 0x1c470], eax
or dword [ebp - 0x1c444], 4
mov esi, dword [sym.imp.msvcrt.dll_wcscpy]
mov edi, dword [sym.imp.msvcrt.dll__wcsicmp]
jmp 0x4ad09e6e
or byte [ebp - 0x1c443], 0x80
jmp 0x4ad09e6e
or byte [ebp - 0x1c443], 0x40
jmp 0x4ad09e6e
mov dword [ebp - 0x1c468], ebx
mov dword [ebp - 0x1c46c], 1
mov eax, dword [ebp - 0x1c444]
and eax, 0xffffffef
or eax, 0x200
mov dword [ebp - 0x1c444], eax
jmp 0x4ad09e6e
lea eax, [ebp - 0x843a]
push eax
call dword [sym.imp.msvcrt.dll_wcslen]
pop ecx
test eax, eax
jbe 0x4ad19364
lea edi, [ebp - 0x843a]
jmp 0x4ad1939f
push ebx
push dword [ebp - 0x1c44c]
call fcn.4ad02ce4
mov dword [ebp - 0x1c44c], eax
push 0x2000
lea eax, [ebp - 0x843c]
push eax
lea eax, [ebp - 0x1c44c]
push eax
push 1
call fcn.4ad09c41
cmp eax, 1
je 0x4ad11afb
lea edi, [ebp - 0x843c]
push edi
call fcn.4ad02f54
test eax, eax
je 0x4ad193bb
push edi
call fcn.4ad02f54
push eax
lea eax, [ebp - 0x43c]
push eax
call esi
pop ecx
pop ecx
lea eax, [ebp - 0x43c]
mov dword [ebp - 0x1c464], eax
push eax
call dword [sym.imp.msvcrt.dll_wcslen]
pop ecx
cmp eax, 0x104
jbe 0x4ad192fe
lea eax, [ebp - 0x43c]
jmp 0x4ad1947e
or byte [ebp - 0x1c444], 0x80
jmp 0x4ad09e6e
mov eax, dword [0x4ad388b8]
cmp eax, ebx
je 0x4ad09e6e
push eax
call fcn.4ad1a96e
mov dword [ebp - 0x1c474], eax
jmp 0x4ad09e6e
or dword [ebp - 0x1c444], 0x40
jmp 0x4ad09e6e
or dword [ebp - 0x1c4b4], 1
or byte [ebp - 0x1c4b0], 3
jmp 0x4ad09e6e
or dword [ebp - 0x1c444], 0x20
jmp 0x4ad09e6e
or byte [ebp - 0x1c443], 1
jmp 0x4ad09e6e
or byte [ebp - 0x1c443], 8
jmp 0x4ad09e6e
or byte [ebp - 0x1c443], 0x10
jmp 0x4ad09e6e
push 0x4ad19828
lea eax, [ebp - 0x843c]
push eax
call edi
pop ecx
pop ecx
test eax, eax
je 0x4ad09e64
jmp 0x4ad194c4
lea eax, [ebp - 0x843c]
push eax
push 1
push 0x2362
call fcn.4ad050c9
add esp, 0xc
jmp 0x4ad11afb
call fcn.4ad1e2fe
push ebx
push 0x2397
call fcn.4ad05031
pop ecx
pop ecx
cmp byte [0x4ad2fa24], bl
je 0x4ad194ba
push ebx
push 0x23bf
call fcn.4ad05031
pop ecx
pop ecx
call fcn.4ad1e35d
jmp 0x4ad11afb
push 0x4ad19e00
lea eax, [ebp - 0x1c43c]
push eax
call esi
lea eax, [ebp - 0x843c]
push eax
lea eax, [ebp - 0x1c43c]
push eax
call dword [sym.imp.msvcrt.dll_wcscat]
lea eax, [ebp - 0x1c43c]
push eax
push 1
push 0x2375
call fcn.4ad050c9
add esp, 0x1c
jmp 0x4ad11afb
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x443c]
push eax
call esi
pop ecx
pop ecx
jmp 0x4ad09946
mov word [ebp - 0x1443c], 0x22
lea eax, [ebp - 0x443c]
push eax
call fcn.4ad02f54
test eax, eax
je 0x4ad19546
lea eax, [ebp - 0x443c]
push eax
call fcn.4ad02f54
push eax
lea eax, [ebp - 0x1443a]
push eax
call esi
pop ecx
pop ecx
push 0x4ad03508
lea eax, [ebp - 0x1443c]
push eax
call dword [sym.imp.msvcrt.dll_wcscat]
jmp 0x4ad099a1
mov byte [ebp - 0x1c43d], 1
lea eax, [ebp - 0xc43c]
push eax
lea eax, [ebp - 0x443c]
push eax
call esi
pop ecx
pop ecx
jmp 0x4ad09a1b
cmp eax, 2
je 0x4ad11aef
mov byte [ebp - 0x1c43d], 1
jmp 0x4ad09a1b
push str.COMSPEC
call fcn.4ad01f78
mov dword [ebp - 0x1c48c], eax
cmp eax, ebx
jne 0x4ad195b6
push ebx
push 0x23d2
call fcn.4ad050c9
pop ecx
pop ecx
jmp 0x4ad11afb
mov edi, 0x4ad1981c
push edi
lea eax, [ebp - 0x1c43c]
push eax
call esi
lea eax, [ebp - 0x1443c]
push eax
lea eax, [ebp - 0x1c43c]
push eax
call dword [sym.imp.msvcrt.dll_wcscat]
push dword [ebp - 0x1c48c]
lea eax, [ebp - 0x443c]
push eax
call esi
lea eax, [ebp - 0x443c]
push eax
lea eax, [ebp - 0x1443c]
push eax
call esi
push edi
lea eax, [ebp - 0x1c43c]
push eax
call dword [sym.imp.msvcrt.dll__wcsicmp]
add esp, 0x28
test eax, eax
je 0x4ad19682
cmp word [ebp - 0x1843c], bx
je 0x4ad19682
lea eax, [ebp - 0x1843c]
push eax
mov edi, dword [sym.imp.msvcrt.dll_wcslen]
call edi
mov dword [ebp - 0x1c478], eax
lea eax, [ebp - 0x1c43c]
push eax
call edi
pop ecx
pop ecx
add eax, dword [ebp - 0x1c478]
cmp eax, 0x2000
jae 0x4ad1966c
push 0x4ad040a8
lea eax, [ebp - 0x1c43c]
push eax
mov edi, dword [sym.imp.msvcrt.dll_wcscat]
call edi
lea eax, [ebp - 0x1843c]
push eax
lea eax, [ebp - 0x1c43c]
push eax
call edi
add esp, 0x10
jmp 0x4ad19682
lea eax, [ebp - 0x1843c]
push eax
push 1
push 0x2363
call fcn.4ad050c9
add esp, 0xc
lea eax, [ebp - 0x1c43c]
mov dword [ebp - 0x1c450], eax
jmp 0x4ad09a2f
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
jmp 0x4ad09a87
xor esi, esi
jmp 0x4ad09b9c
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
jmp 0x4ad09ba8
lea eax, [ebp - 0x1c544]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x1c534]
and eax, dword [ebp - 0x1c470]
push eax
push dword [ebp - 0x1c49c]
call dword [sym.imp.KERNEL32.dll_SetProcessAffinityMask]
push dword [ebp - 0x1c498]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
jmp 0x4ad09bd1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x4ad2b9c4], eax
cmp byte [ebp - 0x1c43d], bl
jne 0x4ad19716
cmp byte [0x4ad2fa24], bl
je 0x4ad19802
cmp eax, 0xc1
jne 0x4ad19802
push 0xf
pop ecx
xor eax, eax
lea edi, [ebp - 0x1c520]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x1c520], 0x3c
mov dword [ebp - 0x1c51c], 0x88140
test byte [ebp - 0x1c444], 0x10
je 0x4ad1974a
mov dword [ebp - 0x1c51c], 0x80140
lea eax, [ebp - 0x443c]
mov dword [ebp - 0x1c510], eax
mov eax, dword [ebp - 0x1c4d4]
mov dword [ebp - 0x1c4f8], eax
lea eax, [ebp - 0x1843c]
mov dword [ebp - 0x1c50c], eax
mov eax, dword [ebp - 0x1c464]
mov dword [ebp - 0x1c508], eax
movzx eax, word [ebp - 0x1c4b0]
mov dword [ebp - 0x1c504], eax
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x1c520]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov esi, eax
mov dword [ebp - 0x1c4e4], esi
cmp esi, ebx
je 0x4ad197b1
mov eax, dword [ebp - 0x1c4e8]
mov dword [ebp - 0x1c49c], eax
jmp 0x4ad197fe
mov eax, dword [ebp - 0x1c500]
cmp eax, ebx
jne 0x4ad197c7
mov dword [0x4ad2b9c4], 8
jmp 0x4ad197fe
cmp eax, 0x20
mov dword [0x4ad2b9c4], 2
je 0x4ad197fe
mov dword [0x4ad2b9c4], eax
jmp 0x4ad197fe
or dword [ebp - 4], 0xffffffff
cmp esi, ebx
jne 0x4ad09bdd
lea eax, [ebp - 0x443c]
push eax
call fcn.4ad1b9ab
jmp 0x4ad11afb