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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4da143
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push ebx
push esi
push edi
mov eax, dword [0x515854]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebx]
call dword [eax + 0xd0]
test al, al
je 0x47470e
lea eax, [ebx + 0x3f0]
push eax
push dword [ebp + 0xc]
lea eax, [ebx + 0x3e0]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x47470e
xor edi, edi
cmp dword [ebp + 8], edi
je 0x47470e
cmp byte [ebx + 0x4a6], 0
je 0x47470e
mov eax, dword [ebx]
mov ecx, ebx
mov byte [ebx + 0x4a9], 1
call dword [eax + 0x188]
test al, al
je 0x47454f
or dword [ebx + 0x45c], 1
jmp 0x474556
and dword [ebx + 0x45c], 0xfffffffe
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x120]
test al, al
jne 0x47456d
or dword [ebx + 0x45c], 4
jmp 0x474574
and dword [ebx + 0x45c], 0xfffffffb
mov eax, dword [ebx + 0x43c]
mov dword [esp + 0x10], eax
mov eax, dword [ebx + 0x440]
lea esi, [esp + 0x58]
mov dword [esp + 0x14], eax
call fcn.004995d2
mov dword [esp + 0x80], edi
cmp dword [esp + 0x10], edi
je 0x4745c7
push dword [esp + 0x14]
lea esi, [ebx + 0x3f0]
push dword [esp + 0x14]
lea eax, [esp + 0x60]
sub esp, 0x10
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push eax
push dword [ebp + 8]
movsd dword es:[edi], dword [esi]
call fcn.00499676
add esp, 0x20
xor edi, edi
push dword [ebp + 8]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xa8]
cmp byte [ebx + 0x46a], 0
jne 0x4745f7
cmp dword [ebx + 0x47c], edi
jne 0x4745f7
push dword [ebp + 8]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xac]
jmp 0x4746cb
mov dword [esp + 0x40], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], edi
xor eax, eax
lea edi, [esp + 0x44]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [esp + 0x40]
push eax
push 0x18
push dword [ebx + 0x47c]
call dword [sym.imp.GDI32.dll_GetObjectW]
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x48]
lea edi, [ebx + 0x46c]
xor esi, esi
cmp dword [edi], esi
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
jne 0x47466f
cmp dword [ebx + 0x474], esi
jne 0x47466f
cmp dword [ebx + 0x470], esi
jne 0x47466f
cmp dword [ebx + 0x478], esi
jne 0x47466f
lea esi, [esp + 0x10]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
xor esi, esi
mov edx, dword [ebx + 0x47c]
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], eax
lea edx, [esp + 0x10]
lea eax, [esp + 0x20]
mov byte [esp + 0x2c], 0
mov dword [esp + 0x28], ecx
call fcn.0047d299
mov edi, eax
movzx eax, byte [ebx + 0x480]
push esi
push 0xff
push eax
lea eax, [ebx + 0x46c]
push eax
lea eax, [ebx + 0x3f0]
push eax
push eax
push edi
push dword [ebp + 8]
lea eax, [esp + 0x50]
call fcn.0047be39
add esp, 0x20
push edi
call dword [sym.imp.GDI32.dll_DeleteObject]
xor edi, edi
mov esi, dword [ebp + 8]
mov eax, dword [ebx]
push esi
mov ecx, ebx
call dword [eax + 0xb0]
cmp byte [ebx + 0x469], 0
je 0x4746ed
mov eax, dword [ebx]
push esi
mov ecx, ebx
call dword [eax + 0xb4]
mov eax, dword [ebx]
push edi
push esi
mov ecx, ebx
call dword [eax + 0xb8]
mov eax, dword [ebx]
push edi
push esi
mov ecx, ebx
call dword [eax + 0xbc]
lea eax, [esp + 0x58]
call fcn.004995ec
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