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

Disassembly:
push 0xffffffffffffffff
push 0x4aeee9
mov eax, dword fs:[0]
push eax
sub esp, 0xd0
mov eax, dword [0x4d87a0]
xor eax, esp
mov dword [esp + 0xcc], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4d87a0]
xor eax, esp
push eax
lea eax, [esp + 0xe4]
mov dword fs:[0], eax
mov ebp, ecx
mov eax, dword [ebp + 0x18]
mov ecx, dword [eax + 4]
push ecx
xor ebx, ebx
mov ecx, ebp
mov dword [esp + 0xf0], ebx
call fcn.0040c130
mov eax, dword [ebp + 0x18]
mov dword [eax + 4], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp + 0x1c], ebx
mov dword [eax], eax
mov eax, dword [ebp + 0x18]
push 0xa
lea edx, [esp + 0xf8]
mov dword [eax + 8], eax
push edx
lea eax, [esp + 0x20]
push eax
mov ecx, ebp
call fcn.0040b880
mov edi, dword [esp + 0x28]
mov esi, dword [esp + 0x24]
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 byte [esp + 0xec], 1
je 0x40cbb9
cmp ebx, eax
jb 0x40c7c8
call fcn.0044a32a
mov esi, dword [esp + 0x24]
lea ecx, [ebx*8]
sub ecx, ebx
lea eax, [esi + ecx*4]
push 0x20
push eax
lea edx, [esp + 0x78]
push edx
mov ecx, ebp
call fcn.00408300
mov eax, dword [esp + 0x84]
inc ebx
mov byte [esp + 0xec], 2
mov edi, 0x10
test eax, eax
jbe 0x40cb74
mov ecx, dword [esp + 0x74]
cmp dword [esp + 0x88], edi
jae 0x40c811
lea ecx, [esp + 0x74]
cmp byte [ecx], 0x23
je 0x40cb74
lea ecx, [eax - 1]
cmp ecx, eax
jbe 0x40c82d
call fcn.0044a32a
mov eax, dword [esp + 0x84]
mov ecx, dword [esp + 0x74]
cmp dword [esp + 0x88], edi
jae 0x40c83e
lea ecx, [esp + 0x74]
cmp byte [ecx], 0x5b
jne 0x40cb74
lea esi, [eax - 1]
cmp esi, eax
jbe 0x40c853
call fcn.0044a32a
mov eax, dword [esp + 0x74]
cmp dword [esp + 0x88], edi
jae 0x40c864
lea eax, [esp + 0x74]
cmp byte [eax + esi], 0x5d
jne 0x40cb74
lea eax, [esp + 0x17]
push eax
lea ecx, [esp + 0x1b]
push ecx
lea ecx, [esp + 0x58]
call fcn.004146b0
mov edx, dword [esp + 0x84]
add edx, 0xfffffffe
push edx
push 1
lea eax, [esp + 0xb0]
push eax
lea ecx, [esp + 0x7c]
mov byte [esp + 0xf8], 3
call fcn.00401230
mov ecx, dword [esp + 0x28]
sub ecx, dword [esp + 0x24]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov byte [esp + 0xec], 4
cmp ebx, eax
jae 0x40caf0
lea edi, [ebx*8]
sub edi, ebx
add edi, edi
add edi, edi
cmp ebx, eax
jb 0x40c8e8
call fcn.0044a32a
mov ecx, dword [esp + 0x24]
push 0xffffffffffffffff
lea eax, [ecx + edi]
push 0
push eax
lea ecx, [esp + 0x7c]
call fcn.004029e0
mov eax, dword [esp + 0x84]
test eax, eax
jbe 0x40cac4
cmp dword [esp + 0x88], 0x10
mov ecx, dword [esp + 0x74]
jae 0x40c91e
lea ecx, [esp + 0x74]
cmp byte [ecx], 0x5b
jne 0x40c94b
lea esi, [eax - 1]
cmp esi, eax
jbe 0x40c92f
call fcn.0044a32a
cmp dword [esp + 0x88], 0x10
mov eax, dword [esp + 0x74]
jae 0x40c941
lea eax, [esp + 0x74]
cmp byte [eax + esi], 0x5d
je 0x40caeb
push 0x3d
lea edx, [esp + 0x74]
push edx
lea eax, [esp + 0x38]
push eax
mov ecx, ebp
call fcn.0040b880
mov ecx, dword [esp + 0x40]
sub ecx, dword [esp + 0x3c]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov byte [esp + 0xec], 5
je 0x40ca77
test eax, eax
ja 0x40c990
call fcn.0044a32a
mov ecx, dword [esp + 0x3c]
push 0x20
push ecx
lea edx, [esp + 0xcc]
push edx
mov ecx, ebp
call fcn.00408300
mov esi, 0xf
mov dword [esp + 0xa4], esi
mov dword [esp + 0xa0], 0
mov byte [esp + 0x90], 0
mov ecx, dword [esp + 0x40]
sub ecx, dword [esp + 0x3c]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov byte [esp + 0xec], 7
cmp eax, 1
jbe 0x40ca05
mov eax, dword [esp + 0x3c]
push 0xffffffffffffffff
add eax, 0x1c
push 0
push eax
lea ecx, [esp + 0x98]
call fcn.004029e0
lea eax, [esp + 0xc4]
push eax
lea ecx, [esp + 0x54]
call fcn.0040aaa0
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x94]
push ecx
mov ecx, eax
call fcn.004029e0
cmp dword [esp + 0xa4], 0x10
jb 0x40ca43
mov edx, dword [esp + 0x90]
push edx
call fcn.0042df46
add esp, 4
cmp dword [esp + 0xdc], 0x10
mov dword [esp + 0xa4], esi
mov dword [esp + 0xa0], 0
mov byte [esp + 0x90], 0
jb 0x40ca77
mov eax, dword [esp + 0xc8]
push eax
call fcn.0042df46
add esp, 4
mov eax, dword [esp + 0x3c]
xor esi, esi
mov byte [esp + 0xec], 4
cmp eax, esi
je 0x40caab
mov ecx, dword [esp + 0x48]
push ecx
mov ecx, dword [esp + 0x44]
lea edx, [esp + 0x3c]
push edx
push ecx
push eax
call fcn.004047c0
mov edx, dword [esp + 0x4c]
push edx
call fcn.0042df46
add esp, 0x14
mov eax, dword [esp + 0x30]
push eax
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], esi
call fcn.0042df46
add esp, 4
mov ecx, dword [esp + 0x28]
sub ecx, dword [esp + 0x24]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
inc ebx
add eax, edx
add edi, 0x1c
cmp ebx, eax
jb 0x40c8e8
mov edi, 0x10
lea ecx, [esp + 0xa8]
push ecx
mov ecx, ebp
call fcn.0040c500
mov esi, eax
lea edx, [esp + 0x50]
cmp esi, edx
je 0x40cb2c
mov eax, dword [esi + 0x18]
mov ecx, dword [esi]
mov edx, dword [eax]
push eax
push ecx
push edx
push ecx
lea eax, [esp + 0x58]
push eax
mov ecx, esi
call fcn.00409d60
lea ecx, [esp + 0x50]
push ecx
mov ecx, esi
call fcn.00409e40
cmp dword [esp + 0xc0], edi
jb 0x40cb45
mov edx, dword [esp + 0xac]
push edx
call fcn.0042df46
add esp, 4
lea ecx, [esp + 0x50]
mov dword [esp + 0xc0], 0xf
mov dword [esp + 0xbc], 0
mov byte [esp + 0xac], 0
mov byte [esp + 0xec], 2
call fcn.0040a2b0
mov byte [esp + 0xec], 1
cmp dword [esp + 0x88], edi
jb 0x40cb92
mov eax, dword [esp + 0x74]
push eax
call fcn.0042df46
add esp, 4
mov edi, dword [esp + 0x28]
mov esi, dword [esp + 0x24]
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 ebx, eax
jb 0x40c7c8
xor ebx, ebx
cmp esi, ebx
je 0x40cbdd
mov ecx, dword [esp + 0x48]
push ecx
lea edx, [esp + 0x24]
push edx
push edi
push esi
call fcn.004047c0
mov eax, dword [esp + 0x34]
push eax
call fcn.0042df46
add esp, 0x14
mov ecx, dword [esp + 0x18]
push ecx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
call fcn.0042df46
add esp, 4
cmp dword [esp + 0x10c], 0x10
jb 0x40cc10
mov edx, dword [esp + 0xf8]
push edx
call fcn.0042df46
add esp, 4
mov ecx, dword [esp + 0xe4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xcc]
xor ecx, esp
call fcn.0044ab5c
add esp, 0xdc
ret 0x1c