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

Disassembly:
push 0xffffffffffffffff
push 0x47ac30
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x4947a0]
xor eax, esp
mov dword [esp + 0x68], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4947a0]
xor eax, esp
push eax
lea eax, [esp + 0x84]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x9c]
mov dword [esp + 0x28], ebp
mov dword [esp + 0x8c], 4
push 1
xor ebx, ebx
mov esi, 0xf
push 0x4832cc
lea ecx, [esp + 0x68]
mov dword [esp + 0x80], esi
mov dword [esp + 0x7c], ebx
mov byte [esp + 0x6c], bl
call fcn.00401bf0
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x3c], esp
push 0xffffffffffffffff
mov byte [esp + 0xac], 5
push ebx
lea eax, [esp + 0x84]
mov dword [ecx + 0x18], esi
mov dword [ecx + 0x14], ebx
push eax
mov byte [ecx + 4], bl
call fcn.00401910
push ebp
push ecx
mov ecx, dword [esp + 0xbc]
mov eax, esp
mov dword [eax], ecx
mov eax, dword [esp + 0xbc]
mov dword [esp + 0x44], esp
cmp eax, ebx
je 0x407b5f
mov edx, dword [eax]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0xb8]
call fcn.00407240
mov ecx, dword [ebp + 0x10]
sub ecx, dword [ebp + 0xc]
mov dword [esp + 0x1c], ebx
sar ecx, 2
test ecx, ecx
jbe 0x407df1
push 4
mov dword [esp + 0x34], ebx
mov dword [esp + 0x1c], ebx
call fcn.0043968c
add esp, 4
cmp eax, ebx
je 0x407b9e
lea edx, [esp + 0x34]
mov dword [eax], edx
jmp 0x407ba0
xor eax, eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov ebx, dword [esp + 0x1c]
mov eax, ebp
mov byte [esp + 0x8c], 7
call fcn.0040cf80
mov edi, dword [eax]
lea eax, [esp + 0x18]
push eax
mov eax, dword [edi + 0x30]
push ecx
xor ebx, ebx
mov ecx, esp
mov dword [esp + 0x28], edi
lea esi, [esp + 0x38]
mov dword [esp + 0x2c], esp
mov dword [ecx], eax
cmp eax, ebx
je 0x407bec
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
sub esp, 0x1c
mov ecx, esp
mov byte [esp + 0xb0], 8
mov dword [esp + 0x50], esp
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0xe8]
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], ebx
push eax
mov byte [ecx + 4], bl
call fcn.00401910
sub esp, 0x1c
mov ecx, esp
mov byte [esp + 0xcc], 9
mov dword [esp + 0x8c], esp
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0xe8]
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], ebx
push edx
mov byte [ecx + 4], bl
call fcn.00401910
mov ecx, esi
mov byte [esp + 0xcc], 7
call fcn.00406e60
cmp dword [esp + 0x30], ebx
je 0x407da0
cmp dword [esp + 0x18], ebx
je 0x407da0
mov ebp, dword [edi + 0x34]
mov dword [esp + 0x4c], ebp
cmp ebp, ebx
je 0x407c82
mov eax, dword [ebp]
mov ecx, dword [eax + 4]
push ebp
call ecx
sub esp, 0x1c
mov ecx, esp
mov byte [esp + 0xa8], 0xa
mov dword [esp + 0x48], esp
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0xfc]
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], ebx
push edx
lea esi, [esp + 0x5c]
mov byte [ecx + 4], bl
call fcn.00401910
sub esp, 0x1c
mov ecx, esp
mov byte [esp + 0xc4], 0xb
mov dword [esp + 0x5c], esp
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x134]
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], ebx
push eax
mov byte [ecx + 4], bl
call fcn.00401910
push ecx
mov eax, esp
mov dword [esp + 0x60], esp
mov dword [eax], ebp
cmp ebp, ebx
je 0x407cf8
mov ecx, dword [ebp]
mov edx, dword [ecx + 4]
push ebp
call edx
mov eax, dword [esp + 0xd0]
push eax
mov ecx, esi
mov byte [esp + 0xcc], 0xa
call fcn.00407f10
mov ecx, dword [esp + 0x44]
sub ecx, dword [esp + 0x40]
xor esi, esi
sar ecx, 2
test ecx, ecx
jbe 0x407d87
add edi, 0x38
mov ebx, esi
lea eax, [esp + 0x34]
call fcn.0040cf80
mov edx, dword [eax]
lea ebx, [esp + 0x18]
mov dword [esp + 0x18], edx
call fcn.0040d100
mov eax, dword [esp + 0x44]
sub eax, dword [esp + 0x40]
inc esi
sar eax, 2
cmp esi, eax
jb 0x407d23
mov esi, dword [esp + 0x20]
mov eax, dword [esi + 0x30]
lea ecx, [esp + 0x50]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
mov dword [ecx], eax
test eax, eax
je 0x407d6e
mov edx, dword [eax]
push eax
mov eax, dword [edx + 4]
call eax
call fcn.004070e0
add esp, 8
lea ecx, [esp + 0x50]
push ecx
add esi, 0x1c
push esi
call dword [sym.imp.USER32.dll_CopyRect]
xor ebx, ebx
mov byte [esp + 0x8c], 7
cmp ebp, ebx
je 0x407d9c
mov edx, dword [ebp]
mov eax, dword [edx + 8]
push ebp
call eax
mov ebp, dword [esp + 0x28]
mov byte [esp + 0x8c], 5
mov eax, dword [esp + 0x40]
cmp eax, ebx
je 0x407db9
push eax
call fcn.004396bc
add esp, 4
mov ecx, dword [esp + 0x34]
push ecx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
call fcn.004396bc
mov edx, dword [ebp + 0x10]
sub edx, dword [ebp + 0xc]
mov eax, dword [esp + 0x20]
inc eax
sar edx, 2
add esp, 4
xor ebx, ebx
mov dword [esp + 0x1c], eax
cmp eax, edx
jb 0x407b80
lea esi, [ebx + 0xf]
mov edi, 0x10
cmp dword [esp + 0x78], edi
jb 0x407e09
mov eax, dword [esp + 0x64]
push eax
call fcn.004396bc
add esp, 4
mov byte [esp + 0x8c], 3
mov eax, dword [esp + 0x98]
mov dword [esp + 0x78], esi
mov dword [esp + 0x74], ebx
mov byte [esp + 0x64], bl
cmp eax, ebx
je 0x407e30
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
cmp dword [esp + 0xb8], edi
jb 0x407e49
mov eax, dword [esp + 0xa4]
push eax
call fcn.004396bc
add esp, 4
mov dword [esp + 0xb8], esi
mov dword [esp + 0xb4], ebx
mov byte [esp + 0xa4], bl
cmp dword [esp + 0xd4], edi
jb 0x407e77
mov ecx, dword [esp + 0xc0]
push ecx
call fcn.004396bc
add esp, 4
mov dword [esp + 0xd4], esi
mov dword [esp + 0xd0], ebx
mov byte [esp + 0xc0], bl
cmp dword [esp + 0xf0], edi
jb 0x407ea5
mov edx, dword [esp + 0xdc]
push edx
call fcn.004396bc
add esp, 4
mov dword [esp + 0xf0], esi
mov dword [esp + 0xec], ebx
mov byte [esp + 0xdc], bl
cmp dword [esp + 0x10c], edi
jb 0x407ed3
mov eax, dword [esp + 0xf8]
push eax
call fcn.004396bc
add esp, 4
mov ecx, dword [esp + 0x84]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.0045e1a6
add esp, 0x7c
ret 0x7c