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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4ca888
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push ebx
push esi
push edi
mov eax, dword [0x4fa36c]
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 + 0xcc]
call edx
test al, al
je 0x45d855
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 0x45d855
mov edi, dword [ebp + 8]
xor ebx, ebx
cmp edi, ebx
je 0x45d855
cmp byte [esi + 0x496], bl
je 0x45d855
mov edx, dword [esi]
mov eax, dword [edx + 0x184]
mov ecx, esi
mov byte [esi + 0x499], 1
call eax
test al, al
je 0x45d659
or dword [esi + 0x44c], 1
jmp 0x45d660
and dword [esi + 0x44c], 0xfffffffe
mov edx, dword [esi]
mov eax, dword [edx + 0x11c]
mov ecx, esi
call eax
test al, al
jne 0x45d679
or dword [esi + 0x44c], 4
jmp 0x45d680
and dword [esi + 0x44c], 0xfffffffb
mov ecx, dword [esi + 0x430]
mov eax, dword [esi + 0x42c]
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 0x45d6f3
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.004701f0
mov edi, dword [ebp + 8]
add esp, 0x1c
mov eax, dword [esi]
mov edx, dword [eax + 0xa4]
push edi
mov ecx, esi
call edx
cmp byte [esi + 0x45a], bl
jne 0x45d722
cmp dword [esi + 0x46c], ebx
jne 0x45d722
mov eax, dword [esi]
mov edx, dword [eax + 0xa8]
push edi
mov ecx, esi
call edx
jmp 0x45d80f
mov ecx, dword [esi + 0x46c]
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 + 0x45c], ebx
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x48]
lea edi, [esi + 0x45c]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
jne 0x45d7af
cmp dword [esi + 0x464], ebx
jne 0x45d7af
cmp dword [esi + 0x460], ebx
jne 0x45d7af
cmp dword [esi + 0x468], ebx
jne 0x45d7af
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 + 0x46c]
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.00478410
movzx ecx, byte [esi + 0x470]
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.00476b00
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 + 0xac]
push edi
mov ecx, esi
call eax
cmp byte [esi + 0x459], bl
je 0x45d831
mov edx, dword [esi]
mov eax, dword [edx + 0xb0]
push edi
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0xb4]
push ebx
push edi
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0xb8]
push edi
mov ecx, esi
call eax
lea eax, [esp + 0x58]
call fcn.00470140
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