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

Disassembly:
push 0xffffffffffffffff
push 0x477901
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x4947a0]
xor eax, esp
mov dword [esp + 0x78], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4947a0]
xor eax, esp
push eax
lea eax, [esp + 0x90]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
mov dword [esp + 0x14], esi
mov dword [esp + 0x34], ebx
mov dword [esp + 0x98], 2
push ebx
mov edi, 0xf
push 0x483234
lea ecx, [esp + 0x5c]
mov dword [esp + 0x74], edi
mov dword [esp + 0x70], ebx
mov byte [esp + 0x60], bl
call fcn.00401bf0
push 0xffffffffffffffff
mov byte [esp + 0x9c], 3
lea eax, [esp + 0xa4]
push ebx
push eax
cmp dword [esp + 0xdc], ebx
ja 0x40f571
lea ecx, [esp + 0x60]
call fcn.00401910
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x5c]
push ecx
mov dword [esi + 0x18], edi
mov dword [esi + 0x14], ebx
mov ecx, esi
mov byte [esi + 4], bl
call fcn.00401910
lea ebp, [ebx + 0x10]
jmp 0x40f7a2
lea ecx, [esp + 0x7c]
mov dword [esp + 0x94], edi
mov dword [esp + 0x90], ebx
mov byte [esp + 0x80], bl
call fcn.00401910
mov byte [esp + 0x98], 4
cmp dword [esp + 0xd4], 0x10
mov eax, dword [esp + 0xc0]
jae 0x40f5af
lea eax, [esp + 0xc0]
mov ecx, dword [esp + 0xd0]
push ecx
push eax
lea edx, [esp + 0x78]
push edx
xor eax, eax
call fcn.004057e0
mov ebp, eax
cmp ebp, 0xffffffff
jne 0x40f5e3
push eax
push ebx
lea eax, [esp + 0xa8]
push eax
lea ecx, [esp + 0x60]
call fcn.00401910
jmp 0x40f75d
mov edx, dword [esp + 0xd0]
push ebx
lea ecx, [esp + 0xdc]
push ecx
push edx
lea eax, [esp + 0x7c]
push eax
or eax, 0xffffffff
mov esi, ebp
call fcn.00416090
mov ecx, dword [esp + 0xec]
add ecx, ebp
push ecx
xor ecx, ecx
lea esi, [esp + 0x1c]
lea edx, [esp + 0x74]
call fcn.0040cf20
push eax
lea edx, [esp + 0x58]
push edx
lea edi, [esp + 0x40]
mov byte [esp + 0xa0], 5
call fcn.0040d8e0
add esp, 8
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x60]
mov byte [esp + 0xa4], 6
call fcn.00401910
mov edi, 0x10
cmp dword [esp + 0x50], edi
jb 0x40f663
mov eax, dword [esp + 0x3c]
push eax
call fcn.004396bc
add esp, 4
mov byte [esp + 0x98], 4
mov dword [esp + 0x50], 0xf
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x3c], bl
cmp dword [esp + 0x30], edi
jb 0x40f68e
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.004396bc
add esp, 4
mov edx, dword [esp + 0xec]
lea ecx, [edx + ebp]
push 0xffffffffffffffff
lea esi, [esp + 0x1c]
lea edx, [esp + 0x74]
call fcn.0040cf20
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x7c]
mov byte [esp + 0xa4], 7
call fcn.00401910
mov byte [esp + 0x98], 4
cmp dword [esp + 0x30], edi
jb 0x40f6d7
mov eax, dword [esp + 0x1c]
push eax
call fcn.004396bc
add esp, 4
mov eax, dword [esp + 0xc0]
cmp dword [esp + 0xd4], edi
jae 0x40f6ee
lea eax, [esp + 0xc0]
mov ecx, dword [esp + 0xd0]
push ecx
push eax
lea edx, [esp + 0x78]
push edx
xor eax, eax
call fcn.004057e0
mov ebp, eax
cmp ebp, 0xffffffff
jne 0x40f5e3
lea eax, [esp + 0x70]
push eax
lea ecx, [esp + 0x58]
push ecx
lea edi, [esp + 0x20]
call fcn.0040d8e0
add esp, 8
push ebp
push ebx
push eax
lea ecx, [esp + 0x60]
mov byte [esp + 0xa4], 8
call fcn.00401910
mov byte [esp + 0x98], 4
cmp dword [esp + 0x30], 0x10
jb 0x40f754
mov edx, dword [esp + 0x1c]
push edx
call fcn.004396bc
add esp, 4
mov esi, dword [esp + 0x14]
mov edi, 0xf
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x5c]
mov dword [esi + 0x18], edi
mov dword [esi + 0x14], ebx
push eax
mov ecx, esi
mov byte [esi + 4], bl
call fcn.00401910
mov ebp, 0x10
cmp dword [esp + 0x88], ebp
jb 0x40f790
mov ecx, dword [esp + 0x74]
push ecx
call fcn.004396bc
add esp, 4
mov dword [esp + 0x88], edi
mov dword [esp + 0x84], ebx
mov byte [esp + 0x74], bl
cmp dword [esp + 0x6c], ebp
jb 0x40f7b5
mov edx, dword [esp + 0x58]
push edx
call fcn.004396bc
add esp, 4
mov byte [esp + 0x58], bl
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], edi
cmp dword [esp + 0xb8], ebp
jb 0x40f7da
mov eax, dword [esp + 0xa4]
push eax
call fcn.004396bc
add esp, 4
mov byte [esp + 0xa4], bl
mov dword [esp + 0xb4], ebx
mov dword [esp + 0xb8], edi
cmp dword [esp + 0xd4], ebp
jb 0x40f808
mov ecx, dword [esp + 0xc0]
push ecx
call fcn.004396bc
add esp, 4
mov byte [esp + 0xc0], bl
mov dword [esp + 0xd0], ebx
mov dword [esp + 0xd4], edi
cmp dword [esp + 0xf0], ebp
jb 0x40f836
mov edx, dword [esp + 0xdc]
push edx
call fcn.004396bc
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x90]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.0045e1a6
add esp, 0x88
ret