Function at 0x4f5ce0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x50]
cmp eax, dword [ecx + 8]
jbe 0x4f64a7
sub esp, 0xd0
mov eax, 0
mov dword [esp + 0xc8], eax
mov dword [esp + 0xcc], eax
mov byte [esp + 0x43], 0
mov dword [esp + 0xf0], 0
mov dword [esp + 0xf4], 0
mov dword [esp + 0xf8], 0
mov dword [esp + 0xfc], 0
mov eax, dword [esp + 0xd8]
test eax, eax
je 0x4f6482
call fcn.00488f50
lea edi, [esp + 0xb4]
lea esi, [esp]
call fcn.0046422e
mov eax, dword [esp + 0xd4]
mov dword [esp], eax
mov ecx, dword [esp + 0xd8]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0xdc]
mov dword [esp + 8], edx
lea edi, [esp + 0xc]
lea esi, [esp + 0xb4]
call fcn.0046422e
call fcn.004f4780
lea edi, [esp + 0x8c]
lea esi, [esp + 0x20]
call fcn.0046422e
lea edi, [esp + 0x78]
lea esi, [esp + 0x8c]
call fcn.0046422e
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x7c]
test ecx, 0x80000000
je 0x4f5df0
shl ecx, 1
mov edx, eax
shr eax, 0x1f
or ecx, eax
mov ebx, edx
shl edx, 1
mov ebp, ecx
shl ecx, 1
shr edx, 0x1f
or edx, ecx
shr ebp, 0x1f
add edx, 0xd7b17f80
adc ebp, 0xd
jmp 0x4f5e00
mov edx, dword [esp + 0x80]
mov ebp, dword [esp + 0x84]
mov ebx, eax
test edx, edx
sete cl
test ebp, ebp
sete dl
and edx, ecx
test dl, dl
je 0x4f5e2d
test ebx, 0x3fffffff
jne 0x4f5e2d
mov ecx, dword [esp + 0xd8]
mov edx, dword [esp + 0xdc]
xor eax, eax
jmp 0x4f5f0c
lea edi, [esp + 0xb4]
xor eax, eax
call fcn.00463d4b
mov ecx, dword [esp + 0xd8]
mov edx, dword [ecx + 0x10]
mov ebx, dword [esp + 0xdc]
mov dword [esp], ebx
call edx
movzx ecx, byte [esp + 0x18]
mov byte [esp + 0x41], cl
lea edi, [esp + 0xb4]
lea esi, [esp + 4]
call fcn.0046422e
lea edi, [esp + 0xa0]
lea esi, [esp + 0xb4]
call fcn.0046422e
movzx ecx, byte [esp + 0x41]
test cl, cl
je 0x4f5eb3
lea edi, [esp]
lea esi, [esp + 0x8c]
call fcn.0046422e
lea edi, [esp + 0x14]
lea esi, [esp + 0xa0]
call fcn.0046422e
call fcn.004870b0
movzx eax, byte [esp + 0x28]
test al, al
je 0x4f5efc
mov eax, dword [esp + 0xd8]
mov dword [esp], eax
mov eax, dword [esp + 0xdc]
mov dword [esp + 4], eax
lea edi, [esp + 8]
lea esi, [esp + 0x8c]
call fcn.0046422e
call fcn.004eb820
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov dword [esp + 0xcc], eax
mov byte [esp + 0x43], 1
mov eax, 1
jmp 0x4f5f0c
mov ecx, dword [esp + 0xd8]
mov edx, dword [esp + 0xdc]
xor eax, eax
mov ebx, dword [esp + 0xd4]
mov ebp, dword [ebx + 0x3c]
test ebp, ebp
je 0x4f5ffc
mov dword [esp + 0x64], ebp
mov byte [esp + 0x42], al
mov dword [esp], ecx
mov dword [esp + 4], edx
call fcn.004ea9d0
mov eax, dword [esp + 0x10]
mov dword [esp + 0x6c], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x74], ecx
mov edx, dword [esp + 0xc]
mov dword [esp + 0x58], edx
mov ebx, dword [esp + 8]
mov dword [esp + 0x44], ebx
mov dword [esp + 0xc8], eax
movzx ebp, byte [esp + 0x42]
or ebp, 2
xchg ebp, eax
mov byte [esp + 0x42], al
xchg ebp, eax
xchg ebp, eax
mov byte [esp + 0x43], al
xchg ebp, eax
lea esi, [0x682580]
mov dword [esp], esi
call fcn.0040bcc0
mov eax, dword [esp + 4]
lea ecx, [0x4f64c0]
mov dword [eax], ecx
mov ecx, dword [0x8ef4b0]
test ecx, ecx
jne 0x4f5fa1
mov ecx, dword [esp + 0x64]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x6c]
mov dword [eax + 8], ecx
jmp 0x4f5fbd
lea edi, [eax + 4]
mov ecx, eax
mov eax, dword [esp + 0x64]
call fcn.00463ab0
lea edi, [ecx + 8]
mov eax, dword [esp + 0x6c]
call fcn.00463ab0
mov eax, ecx
mov ecx, dword [esp + 0x74]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x8ef4b0]
test ecx, ecx
jne 0x4f5fd7
mov ecx, dword [esp + 0x58]
mov dword [eax + 0x10], ecx
jmp 0x4f5fe7
lea edi, [eax + 0x10]
mov ecx, eax
mov eax, dword [esp + 0x58]
call fcn.00463ab0
mov eax, ecx
mov dword [esp], eax
call fcn.00441770
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x58]
movzx eax, byte [esp + 0x42]
mov dword [esp + 0x60], edx
mov dword [esp + 0x48], ecx
mov byte [esp + 0x42], al
mov ebx, dword [ecx + 0x1c]
mov dword [esp], edx
lea ebp, [0x670b40]
mov dword [esp + 4], ebp
lea esi, [0x8ef150]
mov dword [esp + 8], esi
call ebx
mov eax, dword [esp + 0x10]
lea ecx, [0x65c160]
cmp dword [esp + 0xc], ecx
je reloc.kernel32.dll_WriteFile
xor eax, eax
test eax, eax
jne 0x4f6047
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x60]
jmp WriteConsoleW
mov dword [esp + 0x54], eax
lea eax, [0x689820]
mov dword [esp], eax
call fcn.0040bcc0
mov edi, dword [esp + 4]
mov eax, dword [0x8ef4b0]
mov ecx, dword [esp + 0x54]
mov edx, dword [ecx]
mov ecx, dword [ecx + 4]
test eax, eax
jne 0x4f6077
mov dword [edi], edx
mov dword [edi + 4], ecx
jmp 0x4f608e
mov eax, edx
call fcn.00463ab0
lea edx, [edi + 4]
mov eax, ecx
mov ecx, edi
mov edi, edx
call fcn.00463ab0
mov edi, ecx
mov ecx, dword [0x8ef4b0]
test ecx, ecx
jne 0x4f60a8
mov dword [edi + 8], 0
mov dword [edi + VirtualAllocxc], 0
jmp reloc.kernel32.dll_SuspendThread
lea ecx, [edi + 8]
xor eax, eax
mov edx, edi
mov edi, ecx
call fcn.00463ab0
lea edi, [edx + 0xc]
xor eax, eax
call fcn.00463ab0
mov edi, edx
mov eax, dword [esp + 0x48]
mov dword [esp], eax
mov ecx, dword [esp + 0x60]
mov dword [esp + 4], ecx
lea edx, [0x670b40]
mov dword [esp + 8], edx
lea edx, [0x8ef150]
mov dword [esp + 0xc], edx
lea edx, [0x65c160]
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], edi
call fcn.004ec050
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0xd4]
mov ebx, dword [eax + 0x38]
test ebx, ebx
jne 0x4f6114
mov ebx, dword [0x8c2ca8]
mov ebp, dword [eax + 0x1c]
mov esi, dword [eax + 0x20]
mov dword [esp], ebx
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
lea ecx, [0x6a6637]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], 4
mov edx, dword [esp + 0xe0]
mov dword [esp + 0x14], edx
mov ebx, dword [esp + 0xe4]
mov dword [esp + 0x18], ebx
mov edi, dword [esp + 0xe8]
mov dword [esp + 0x1c], edi
mov edi, dword [esp + 0xec]
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], esi
call fcn.004f4e90
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x2c]
mov esi, dword [esp + 0x30]
test ecx, ecx
je 0x4f629f
mov dword [esp + 0x74], ebx
mov dword [esp + 0x68], edx
lea eax, [0x68d520]
mov dword [esp], eax
call fcn.0040bcc0
mov eax, dword [esp + 4]
mov dword [eax + 4], 4
lea ecx, [0x6a6637]
mov dword [eax], ecx
mov ecx, dword [esp + 0xe4]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x8ef4b0]
test ecx, ecx
jne 0x4f61d9
mov ecx, dword [esp + 0xe0]
mov dword [eax + 8], ecx
jmp GetSystemDirectoryA
lea edi, [eax + 8]
mov ecx, eax
mov eax, dword [esp + 0xe0]
call fcn.00463ab0
mov eax, ecx
mov dword [eax + GetStdHandlex10], 0
mov dword [eax + 0x14], 0
mov dword [eax + GetQueuedCompletionStatusExx18], 0
mov dword [eax + 0x1c], 0
mov ecx, dword [esp + 0x74]
mov dword [eax + 0x20], ecx
mov ecx, dword [0x8ef4b0]
test ecx, ecx
jne 0x4f6222
mov ecx, dword [esp + 0x68]
mov dword [eax + 0x24], ecx
jmp 0x4f6232
lea edi, [eax + 0x24]
mov ecx, eax
mov eax, dword [esp + 0x68]
call fcn.00463ab0
mov eax, ecx
mov dword [esp + GetProcAddressxf0], 0
mov dword [esp + 0xf4], 0
lea ecx, [0x710778]
mov dword [esp + 0xf8], ecx
mov dword [esp + 0xfc], eax
movzx eax, byte [esp + 0x42]
test al, 2
je 0x4f6281
and eax, 0xfffffffd
mov byte [esp + 0x42], al
mov byte [esp + 0x43], al
mov edx, dword [esp + 0xc8]
mov ecx, dword [edx]
call ecx
movzx eax, byte [esp + 0x42]
test al, 1
je 0x4f6298
and eax, 0xfffffffe
mov byte [esp + 0x43], al
mov edx, dword [esp + 0xcc]
mov eax, dword [edx]
call eax
add esp, 0xd0
ret
mov dword [esp + 0x4c], esi
mov dword [esp + 0x70], ebp
mov dword [esp + 0x50], eax
lea eax, [0x689e20]
mov dword [esp], eax
call fcn.0040bcc0
mov edi, dword [esp + 4]
mov dword [esp + 0x5c], edi
mov eax, dword [0x8ef4b0]
test eax, eax
jne 0x4f62d9
mov esi, dword [esp + 0xd4]
call fcn.004641ac
jmp CreateIoCompletionPort
lea eax, [0x695c20]
mov dword [esp], eax
mov dword [esp + 4], edi
mov eax, dword [esp + 0xd4]
mov dword [esp + 8], eax
call fcn.00411050
mov ecx, dword [esp + 0xe4]
mov edx, dword [esp + 0x5c]
mov dword [edx + 0x4c], ecx
mov ebx, dword [0x8ef4b0]
test ebx, ebx
jne 0x4f631a
mov ebx, dword [esp + 0xe0]
mov dword [edx + 0x48], ebx
jmp 0x4f632b
lea edi, [edx + 0x48]
mov eax, dword [esp + 0xe0]
call fcn.00463ab0
mov ebx, eax
mov ebp, dword [esp + 0xec]
mov dword [edx + 0x54], ebp
mov ebp, dword [0x8ef4b0]
test ebp, ebp
jne 0x4f634b
mov eax, dword [esp + 0xe8]
mov dword [edx + 0x50], eax
jmp 0x4f635a
lea edi, [edx + 0x50]
mov eax, dword [esp + 0xe8]
call fcn.00463ab0
mov eax, dword [esp + 0xd4]
mov eax, dword [eax + 0x2c]
test eax, eax
sete al
xchg ebp, ebx
setg bl
xchg ebp, ebx
and eax, 1
or ebp, eax
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x4f63cd
cmp ecx, 3
jne 0x4f63cd
cmp word [ebx], 0x6374
jne 0x4f63cd
cmp byte [ebx + 2], 0x70
jne 0x4f63cd
mov eax, dword [esp + 0x70]
mov dword [esp], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 8], eax
lea eax, [0x6c52b8]
mov dword [esp + 0xc], eax
call fcn.00503040
mov ebp, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
jmp 0x4f63df
mov eax, dword [esp + 0x50]
xor edx, edx
xor ebx, ebx
mov esi, dword [esp + 0x4c]
mov ebp, dword [esp + 0x70]
xor ecx, ecx
mov edi, dword [esp + 0x5c]
mov dword [esp], edi
mov edi, dword [esp + 0x48]
mov dword [esp + 4], edi
mov edi, dword [esp + 0x60]
mov dword [esp + 8], edi
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], ebx
call fcn.004f6580
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov ebx, dword [esp + 0x30]
mov dword [esp + 0xf0], eax
mov dword [esp + 0xf4], edx
mov dword [esp + 0xf8], ecx
mov dword [esp + 0xfc], ebx
movzx eax, byte [esp + 0x42]
test al, 2
je 0x4f6464
and eax, 0xfffffffd
mov byte [esp + 0x42], al
mov byte [esp + 0x43], al
mov edx, dword [esp + 0xc8]
mov ecx, dword [edx]
call ecx
movzx eax, byte [esp + 0x42]
test al, 1
je 0x4f647b
and eax, 0xfffffffe
mov byte [esp + 0x43], al
mov edx, dword [esp + 0xcc]
mov eax, dword [edx]
call eax
add esp, 0xd0
ret
lea eax, [0x66c280]
mov dword [esp], eax
lea eax, [0x710118]
mov dword [esp + 4], eax
call fcn.00435e60
nop
call fcn.00435410
add esp, 0xd0
ret
call fcn.004626a0
jmp fcn.004f5ce0