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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x481af8
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push ebx
push esi
push edi
mov eax, dword [0x4a02b4]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi]
mov edx, dword [eax + 0xd0]
call edx
test al, al
je 0x4318f6
lea eax, [esi + 0x3f0]
push eax
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [esi + 0x3e0]
push ecx
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x4318f6
mov edi, dword [ebp + 8]
xor ebx, ebx
cmp edi, ebx
je 0x4318f6
cmp byte [esi + 0x4a6], bl
je 0x4318f6
mov edx, dword [esi]
mov eax, dword [edx + 0x188]
mov ecx, esi
mov byte [esi + 0x4a9], 1
call eax
test al, al
je 0x4316f9
or dword [esi + 0x45c], 1
jmp 0x431700
and dword [esi + 0x45c], 0xfffffffe
mov edx, dword [esi]
mov eax, dword [edx + 0x120]
mov ecx, esi
call eax
test al, al
jne 0x431719
or dword [esi + 0x45c], 4
jmp 0x431720
and dword [esi + 0x45c], 0xfffffffb
mov ecx, dword [esi + 0x440]
mov eax, dword [esi + 0x43c]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
cmp eax, ebx
mov dword [esp + 0x80], ebx
je 0x431793
mov edx, ecx
mov ecx, dword [esi + 0x3f0]
push edx
mov edx, dword [esi + 0x3f4]
push eax
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esi + 0x3f8]
mov dword [eax + 4], edx
mov edx, dword [esi + 0x3fc]
push edi
mov dword [eax + 8], ecx
lea edi, [esp + 0x74]
mov dword [eax + 0xc], edx
call fcn.00460420
mov edi, dword [ebp + 8]
add esp, 0x1c
mov eax, dword [esi]
mov edx, dword [eax + 0xa8]
push edi
mov ecx, esi
call edx
cmp byte [esi + 0x46a], bl
jne 0x4317c2
cmp dword [esi + 0x47c], ebx
jne 0x4317c2
mov eax, dword [esi]
mov edx, dword [eax + 0xac]
push edi
mov ecx, esi
call edx
jmp 0x4318af
mov ecx, dword [esi + 0x47c]
xor eax, eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
lea eax, [esp + 0x40]
push eax
push 0x18
push ecx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x4c], ebx
call dword [sym.imp.GDI32.dll_GetObjectW]
cmp dword [esi + 0x46c], ebx
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x48]
lea edi, [esi + 0x46c]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
jne 0x43184f
cmp dword [esi + 0x474], ebx
jne 0x43184f
cmp dword [esi + 0x470], ebx
jne 0x43184f
cmp dword [esi + 0x478], ebx
jne 0x43184f
mov dword [edi], ebx
mov edx, ebx
mov dword [edi + 4], edx
mov edx, eax
mov dword [edi + 8], edx
mov edx, ecx
mov dword [edi + 0xc], edx
mov edx, dword [esi + 0x47c]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x20]
mov dword [esp + 0x20], edx
push eax
lea edx, [esp + 0x14]
mov byte [esp + 0x30], bl
mov dword [esp + 0x2c], ecx
call fcn.00425d20
movzx ecx, byte [esi + 0x480]
mov edx, dword [ebp + 8]
add esp, 4
push ebx
push 0xff
push ecx
lea ecx, [esi + 0x3f0]
push ecx
push ecx
push eax
mov dword [esp + 0x28], eax
push edx
lea eax, [esp + 0x4c]
call fcn.00424410
mov eax, dword [esp + 0x2c]
add esp, 0x1c
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov edi, dword [ebp + 8]
mov edx, dword [esi]
mov eax, dword [edx + 0xb0]
push edi
mov ecx, esi
call eax
cmp byte [esi + 0x469], bl
je 0x4318d1
mov edx, dword [esi]
mov eax, dword [edx + 0xb4]
push edi
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0xb8]
push ebx
push edi
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0xbc]
push ebx
push edi
mov ecx, esi
call eax
lea eax, [esp + 0x58]
call fcn.00460370
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8