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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [ebp + 8]
xor ecx, ecx
push esi
mov esi, dword [eax]
mov dword [ebp - 4], esi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0x18], ecx
cmp byte [esi + 0x1c], cl
je 0x40a8e1
mov edx, dword [ebp + 0x10]
mov dword [edx], ecx
mov eax, 0x3e3
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0xc]
push ebx
push edi
mov edi, dword [eax]
mov dword [ebp - 0x24], eax
mov eax, dword [edi + 0x10e4]
mov dword [ebp - 0x1c], edi
cmp eax, 0x7fffffff
jne 0x40a904
mov dword [ebp - 0x10], 0xe0000017
jmp 0x40a912
test eax, 0x40000000
je 0x40a912
mov dword [ebp - 0x10], 0xe0000018
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x14], ecx
cmp dword [eax], ecx
jbe 0x40a9a3
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x20], ecx
mov ebx, dword [esi + 0x24]
lea eax, [esi + 0x24]
cmp eax, ebx
je 0x40ab47
test ebx, ebx
je 0x40ab47
mov esi, dword [ebx + 8]
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x14]
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 8]
push esi
push ecx
call edx
add esp, 8
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x40a9a0
mov cl, byte [esi + 4]
test cl, 0xe0
jne 0x40ab53
mov eax, dword [esi]
cmp eax, 0x7ff
jbe 0x40aa54
cmp eax, 0x20000000
jb 0x40a984
cmp eax, 0x3fffffff
jbe 0x40aa54
lea edx, [eax - 0x40000080]
cmp edx, 0x7f
jbe 0x40aa5e
mov dword [ebp - 0x20], 0x57
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0xc], edx
mov esi, dword [ebp - 4]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
add dword [esi + 0x78], eax
test eax, eax
je 0x40abac
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x7c], eax
test eax, eax
je 0x40a9ce
push eax
lea edx, [esi + 0x50]
push edx
call dword [0x552870]
add esp, 8
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 8]
je 0x40a9f0
mov eax, dword [edi + 0x4c]
add edi, 0x4c
cmp edi, eax
je 0x40a9e4
test eax, eax
jne 0x40a9f0
mov ecx, dword [esi + 0xc]
push ecx
call fcn.00401030
add esp, 4
cmp dword [ebp - 8], 0
je 0x40abac
cmp dword [ebp - 0x18], 0
je 0x40aba6
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
lea edx, [ebp - 0x2c]
push edx
push ecx
call fcn.00400f20
mov edx, dword [ebp - 0x24]
mov edi, dword [edx]
mov ecx, dword [edi + 0x34]
mov edx, dword [ebp - 0x28]
lea eax, [edi + 0x34]
sub eax, ecx
add esp, 8
neg eax
sbb eax, eax
and eax, ecx
mov eax, dword [eax + 8]
mov ecx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
cmp eax, edx
jb 0x40ab5f
mov ebx, dword [ebp - 0x2c]
ja 0x40aa4b
cmp ecx, ebx
jbe 0x40ab5f
sub ecx, ebx
sbb eax, edx
jmp 0x40ab63
cmp dword [ebp - 0x10], 0
jne 0x40a99a
and cl, 0x90
cmp cl, 0x10
je 0x40aab8
mov edx, edi
call fcn.00406ea0
mov edi, eax
test edi, edi
je 0x40aab5
mov eax, dword [ebp + 8]
cmp eax, dword [edi + 0x3c]
jne 0x40aab5
mov ecx, dword [edi + 0x5c]
mov edx, dword [edi + 0x58]
push edx
lea eax, [esi + 8]
mov dword [ebp - 0x28], ecx
push eax
lea ecx, [edi + 8]
push ecx
call fcn.00401870
mov eax, dword [ebp - 0x28]
mov edx, 8
sub edx, eax
push edx
lea ecx, [eax + esi + 8]
push ecx
lea edx, [eax + edi + 8]
push edx
call fcn.00401870
mov al, byte [esi + 4]
add esp, 0x18
mov byte [edi + 4], al
mov edi, dword [ebp - 0x1c]
mov eax, dword [ebx]
test eax, eax
je 0x40aacc
mov ecx, dword [ebx + 4]
mov dword [ecx], eax
mov dword [eax + 4], ecx
mov dword [ebx], 0
mov ecx, dword [ebp - 4]
test dword [ecx + 0x18], 0x20000
je 0x40ab18
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x14]
mov edx, eax
or edx, ecx
je 0x40ab09
sub eax, dword [edi + 0x480]
push esi
sbb ecx, dword [edi + 0x484]
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], ecx
mov ecx, edi
call fcn.00408040
add dword [ebp - 0x18], eax
add esp, 4
inc dword [ebp - 8]
jmp 0x40ab2d
lea eax, [edi + 0x28]
push eax
push ebx
call fcn.00406fd0
add esp, 8
jmp 0x40ab2d
cmp dword [ebx], 0
lea eax, [edi + 0x28]
jne 0x40ab2d
mov ecx, dword [eax + 4]
mov dword [ebx], eax
mov dword [ebx + 4], ecx
mov dword [eax + 4], ebx
mov dword [ecx], ebx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 0x10]
inc eax
mov dword [ebp - 0x14], eax
cmp eax, dword [ecx]
jae 0x40a9a0
mov esi, dword [ebp - 4]
jmp 0x40a926
mov dword [ebp - 0xc], 0xe0000006
jmp 0x40a9a3
mov dword [ebp - 0xc], 0x57
jmp 0x40a9a0
xor ecx, ecx
xor eax, eax
push 0
shrd ecx, eax, 0x10
push 0xf4240
shr eax, 0x10
push eax
push ecx
call fcn.0040bb10
test eax, eax
jne 0x40ab98
mov eax, dword [ebp - 0x24]
push eax
call fcn.00409660
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
add esp, 4
add dword [esi + 0x6c], ecx
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
push eax
add edi, 0x58
push edi
call dword [0x552870]
add esp, 8
mov ecx, dword [ebp - 8]
add dword [esi + 0x6c], ecx
mov eax, dword [ebp - 0xc]
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret