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

Disassembly:
push 0xffffffffffffffff
push 0x56427e
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
mov eax, dword [0x5df890]
xor eax, esp
mov dword [esp + 0x98], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5df890]
xor eax, esp
push eax
lea eax, [esp + 0xb4]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x38], esi
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x34], esp
xor ebx, ebx
push 0xffffffffffffffff
mov dword [esp + 0xdc], ebx
push ebx
lea eax, [esp + 0xe8]
mov ebp, 0xf
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], ebx
push eax
mov byte [ecx + 4], bl
call fcn.00401d50
lea ecx, [esp + 0x58]
push ecx
mov ecx, esi
call fcn.0040de50
mov byte [esp + 0xbc], 1
mov edi, dword [esp + 0x4c]
mov esi, dword [esp + 0x48]
mov ecx, edi
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x14], ebx
je 0x40edd7
mov dword [esp + 0x18], ebx
cmp ebx, eax
jb 0x40eb2f
call fcn.0043a4a0
mov esi, dword [esp + 0x48]
mov edx, dword [esp + 0x18]
push 0xffffffffffffffff
lea eax, [esi + edx]
push ebx
push eax
lea ecx, [esp + 0x80]
mov dword [esp + 0x98], ebp
mov dword [esp + 0x94], ebx
mov byte [esp + 0x84], bl
call fcn.00401d50
mov byte [esp + 0xbc], 2
cmp dword [esp + 0x88], ebx
jne 0x40eb8c
mov byte [esp + 0xbc], 1
cmp dword [esp + 0x8c], 0x10
jb 0x40eda5
mov eax, dword [esp + 0x78]
push eax
jmp 0x40ed9d
lea ecx, [esp + 0xc4]
push ecx
lea edx, [esp + 0x78]
push edx
call fcn.0055fa50
add esp, 8
cmp eax, 0xffffffff
je 0x40ed82
push 2
push 0x5cfef4
lea ecx, [esp + 0x5c]
mov dword [esp + 0x74], ebp
mov dword [esp + 0x70], ebx
mov byte [esp + 0x60], bl
call fcn.004016f0
push 1
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0x7c]
push ecx
lea edx, [esp + 0x2c]
push edx
mov byte [esp + 0xcc], 3
call fcn.0055fbd0
add esp, 0x10
mov esi, 0x10
mov byte [esp + 0xbc], 5
cmp dword [esp + 0x6c], esi
jb 0x40ec07
mov eax, dword [esp + 0x58]
push eax
call fcn.0041d541
add esp, 4
mov ecx, dword [esp + 0x30]
sub ecx, dword [esp + 0x2c]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x68], ebx
mov byte [esp + 0x58], bl
jne 0x40ec35
call fcn.0043a4a0
mov edx, dword [esp + 0x2c]
push 0xffffffffffffffff
push ebx
push edx
lea ecx, [esp + 0x9c]
mov dword [esp + 0xb4], ebp
mov dword [esp + 0xb0], ebx
mov byte [esp + 0xa0], bl
call fcn.00401d50
sub esp, 0x1c
mov ecx, esp
mov byte [esp + 0xd8], 6
mov dword [esp + 0x8c], esp
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0xe8]
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], ebx
push eax
mov byte [ecx + 4], bl
call fcn.00401d50
sub esp, 0x1c
mov ecx, esp
mov byte [esp + 0xf4], 7
mov dword [esp + 0x54], esp
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0xd0]
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], ebx
push edx
mov byte [ecx + 4], bl
call fcn.00401d50
mov byte [esp + 0xf4], 6
call fcn.00560250
add esp, 0x38
cmp al, bl
je 0x40ed13
mov ecx, dword [esp + 0x30]
sub ecx, dword [esp + 0x2c]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
jne 0x40eceb
call fcn.0043a4a0
mov eax, dword [esp + 0x2c]
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x38], esp
push 0xffffffffffffffff
push ebx
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], ebx
push eax
mov byte [ecx + 4], bl
call fcn.00401d50
mov ecx, dword [esp + 0x54]
call fcn.0040e7d0
cmp dword [esp + 0xa8], esi
jb 0x40ed2c
mov ecx, dword [esp + 0x94]
push ecx
call fcn.0041d541
add esp, 4
mov eax, dword [esp + 0x2c]
mov dword [esp + 0xa8], ebp
mov dword [esp + 0xa4], ebx
mov byte [esp + 0x94], bl
cmp eax, ebx
je 0x40ed67
mov edx, dword [esp + 0x1c]
mov edi, dword [esp + 0x30]
push edx
call fcn.004015a0
mov eax, dword [esp + 0x30]
add esp, 4
push eax
call fcn.0041d541
add esp, 4
mov ecx, dword [esp + 0x20]
push ecx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
call fcn.0041d541
add esp, 4
jmp 0x40ed87
mov esi, 0x10
mov byte [esp + 0xbc], 1
cmp dword [esp + 0x8c], esi
jb 0x40eda5
mov edx, dword [esp + 0x78]
push edx
call fcn.0041d541
add esp, 4
mov edi, dword [esp + 0x4c]
mov esi, dword [esp + 0x48]
inc dword [esp + 0x14]
add dword [esp + 0x18], 0x1c
mov ecx, edi
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [esp + 0x14], eax
jb 0x40eb2f
cmp esi, ebx
je 0x40ee12
cmp esi, edi
je 0x40ee09
add esi, 0x18
cmp dword [esi], 0x10
jb 0x40edf3
mov eax, dword [esi - 0x14]
push eax
call fcn.0041d541
add esp, 4
mov dword [esi], ebp
mov dword [esi - 4], ebx
mov byte [esi - 0x14], bl
add esi, 0x1c
lea ecx, [esi - 0x18]
cmp ecx, edi
jne 0x40ede2
mov esi, dword [esp + 0x48]
push esi
call fcn.0041d541
add esp, 4
mov edx, dword [esp + 0x3c]
push edx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
call fcn.0041d541
add esp, 4
cmp dword [esp + 0xdc], 0x10
jb 0x40ee45
mov eax, dword [esp + 0xc8]
push eax
call fcn.0041d541
add esp, 4
mov al, 1
mov ecx, dword [esp + 0xb4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x98]
xor ecx, esp
call fcn.0043a097
add esp, 0xac
ret 0x1c