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

Disassembly:
sub esp, 0xa0
push ebp
push esi
push edi
mov edi, ecx
push 0x3f800000
push 0x3ec8c8c9
mov eax, dword [edi + 0xa3c]
lea esi, [edi + 0xa3c]
mov ecx, dword [edi + 0xa40]
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
mov edx, dword [edi + 0xa44]
mov dword [esp + 0x14], ecx
sub edx, eax
mov eax, dword [edi + 0xa48]
fstp dword [esp + 0x24]
fild dword [esp + 0x14]
mov dword [esp + 0x14], edx
sub eax, ecx
push 0x3ec8c8c9
lea ecx, [esp + 0x74]
fstp dword [esp + 0x2c]
fild dword [esp + 0x18]
mov dword [esp + 0x18], eax
push 0x3ec8c8c9
push ecx
mov dword [esp + 0x38], 0
fstp dword [esp + 0x24]
fild dword [esp + 0x20]
mov dword [esp + 0x2c], 0x3f800000
fstp dword [esp + 0x28]
call fcn.00466800
add esp, 0x14
lea edx, [esp + 0x68]
lea eax, [esp + 0x10]
lea ecx, [esp + 0x1c]
push 0
push 0
push edx
mov edx, dword [0x8ab7bc]
push eax
push ecx
push edx
mov ecx, edi
mov dword [esp + 0x8c], 0x3ef0f0f1
call fcn.004029a0
push 1
push 0x969696
push 0
push esi
mov ecx, 0x8ab7a8
call fcn.0045e570
mov ebp, dword [edi + 0xa50]
mov dword [esp + 0xc], 0
test ebp, ebp
je 0x403553
push ebx
mov esi, dword [ebp + 4]
test esi, esi
je 0x40353e
mov eax, dword [edi + 0xa64]
cmp eax, 0xffffffff
jne 0x4033f0
mov eax, dword [edi + 0x8ac]
mov ecx, dword [edi + 0x8a8]
lea ebx, [esi + 0x208]
push eax
push ecx
push ebx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x4033d5
mov eax, dword [ebx]
mov edx, dword [esi + 0x210]
mov dword [esp + 0x30], eax
sub edx, eax
fild dword [esp + 0x30]
mov eax, dword [esi + 0x20c]
mov ecx, dword [esi + 0x214]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x38], edx
fstp dword [esp + 0x3c]
fild dword [esp + 0x2c]
mov edx, dword [esp + 0x3c]
sub ecx, eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x20], edx
fstp dword [esp + 0x40]
fild dword [esp + 0x38]
mov eax, dword [esp + 0x40]
mov dword [esp + 0x44], 0
mov ecx, dword [esp + 0x44]
push 0x3f800000
fstp dword [esp + 0x64]
fild dword [esp + 0x38]
mov edx, dword [esp + 0x64]
push 0x3ec8c8c9
mov dword [esp + 0x1c], edx
mov dword [esp + 0x2c], eax
fstp dword [esp + 0x6c]
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x70], 0x3f800000
mov ecx, dword [esp + 0x70]
push 0x3ec8c8c9
lea edx, [esp + 0x78]
push 0x3ec8c8c9
push edx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], ecx
call fcn.00466800
add esp, 0x14
lea eax, [esp + 0x6c]
lea ecx, [esp + 0x14]
lea edx, [esp + 0x20]
push 0
push 0
push eax
mov eax, dword [0x8ab7bc]
push ecx
push edx
push eax
mov ecx, edi
mov dword [esp + 0x90], 0x3e48c8c9
call fcn.004029a0
mov ecx, dword [esi + 0x20c]
mov edx, dword [ebx]
push 0
push esi
push 0
add ecx, 0xa
push 0xff0000
add edx, 0x14
push ecx
push edx
push 0
mov ecx, 0x8ab7a8
call fcn.0045dd70
push 1
push 0xc86464
push 0
push ebx
mov ecx, 0x8ab7a8
call fcn.0045e570
jmp 0x40353e
mov eax, dword [esi + 0x20c]
mov ecx, dword [ebx]
push 0
push esi
push 0
add eax, 0xa
push 0x1e1e1e
push eax
jmp 0x40352e
cmp eax, dword [esp + 0x10]
jne 0x403514
mov eax, dword [esi + 0x208]
mov edx, dword [esi + 0x210]
lea ebx, [esi + 0x208]
mov dword [esp + 0x30], eax
fild dword [esp + 0x30]
sub edx, eax
mov eax, dword [esi + 0x20c]
mov dword [esp + 0x2c], eax
mov ecx, dword [esi + 0x214]
fstp dword [esp + 0x48]
fild dword [esp + 0x2c]
mov dword [esp + 0x38], edx
mov edx, dword [esp + 0x48]
sub ecx, eax
mov dword [esp + 0x20], edx
fstp dword [esp + 0x4c]
fild dword [esp + 0x38]
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x50], 0
mov ecx, dword [esp + 0x50]
fstp dword [esp + 0x54]
fild dword [esp + 0x34]
mov edx, dword [esp + 0x54]
push 0x3f800000
mov dword [esp + 0x18], edx
push 0x3ec8c8c9
fstp dword [esp + 0x60]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x64], 0x3f800000
mov ecx, dword [esp + 0x64]
push 0x3ec8c8c9
lea edx, [esp + 0x78]
push 0x3f800000
push edx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], ecx
call fcn.00466800
add esp, 0x14
lea eax, [esp + 0x6c]
lea ecx, [esp + 0x14]
lea edx, [esp + 0x20]
push 0
push 0
push eax
mov eax, dword [0x8ab7bc]
push ecx
push edx
push eax
mov ecx, edi
mov dword [esp + 0x90], 0x3e48c8c9
call fcn.004029a0
mov ecx, dword [esi + 0x20c]
mov edx, dword [ebx]
push 0
push esi
push 0
add ecx, 0xa
push 0x6464ff
add edx, 0x14
push ecx
push edx
push 0
mov ecx, 0x8ab7a8
call fcn.0045dd70
push 1
push 0x6464ff
push 0
push ebx
mov ecx, 0x8ab7a8
call fcn.0045e570
jmp 0x40353e
mov eax, dword [esi + 0x20c]
mov ecx, dword [esi + 0x208]
push 0
push esi
push 0
add eax, 0xa
push 0x1e1e1e
push eax
add ecx, 0x14
push ecx
push 0
mov ecx, 0x8ab7a8
call fcn.0045dd70
mov ecx, dword [esp + 0x10]
mov ebp, dword [ebp + 0xc]
inc ecx
test ebp, ebp
mov dword [esp + 0x10], ecx
jne 0x403285
pop ebx
pop edi
pop esi
pop ebp
add esp, 0xa0
ret