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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4c4350
push eax
mov dword fs:[0], esp
sub esp, 0x6c
push ebx
push ebp
push esi
push edi
mov edi, ecx
xor esi, esi
mov ecx, dword [edi + 0x154]
cmp ecx, esi
je 0x47c9ee
mov dword [esp + 0x3c], 0x4fdec0
mov dword [esp + 0x40], esi
mov dword [esp + 0x4c], esi
mov dword [esp + 0x48], esi
mov dword [esp + 0x44], esi
lea eax, [esp + 0x3c]
mov dword [esp + 0x84], esi
push eax
call fcn.00481760
push edi
lea ecx, [esp + 0x54]
call fcn.004b7f23
lea ecx, [esp + 0x50]
mov byte [esp + 0x84], 1
push ecx
mov ecx, edi
call fcn.0047b510
lea edx, [esp + 0x14]
push 1
push edx
mov ecx, edi
call fcn.0047b9f0
mov ebx, dword [eax]
mov ebp, dword [eax + 4]
mov eax, dword [esp + 0x44]
dec eax
cmp eax, esi
mov dword [esp + 0x10], eax
jl 0x47c9b9
neg ebp
neg ebx
mov dword [esp + 0x14], ebx
mov ecx, dword [esp + 0x40]
push ebp
push ebx
mov esi, dword [ecx + eax*4]
lea edx, [esi + 0xc]
mov eax, dword [esi + 0xc]
mov dword [esp + 0x24], eax
mov ecx, dword [edx + 4]
mov dword [esp + 0x28], ecx
mov eax, dword [edx + 8]
mov dword [esp + 0x2c], eax
mov ecx, dword [edx + 0xc]
lea edx, [esp + 0x24]
push edx
mov dword [esp + 0x34], ecx
call dword [sym.imp.USER32.dll_OffsetRect]
mov ecx, dword [esp + 0x58]
lea eax, [esp + 0x1c]
push 2
push eax
push ecx
call dword [sym.imp.GDI32.dll_LPtoDP]
mov ebx, dword [esi]
push esi
mov ecx, edi
call fcn.0047b600
neg eax
sbb eax, eax
lea edx, [esp + 0x2c]
and eax, edi
mov ecx, esi
push eax
push edx
push 0x2718
call dword [ebx + 0x14]
mov ebx, dword [esp + 0x14]
push ebp
lea eax, [esp + 0x30]
push ebx
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
mov edx, dword [esp + 0x58]
lea ecx, [esp + 0x2c]
push 2
push ecx
push edx
call dword [sym.imp.GDI32.dll_LPtoDP]
mov eax, dword [esp + 0x90]
mov ecx, dword [esp + 0x8c]
push eax
lea edx, [esp + 0x30]
push ecx
push edx
call dword [sym.imp.USER32.dll_PtInRect]
cmp eax, 1
jne 0x47c9a8
lea eax, [esp + 0x1c]
lea edx, [esp + 0x8c]
mov dword [esp + 0x68], eax
xor eax, eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x74], eax
push eax
lea ecx, [esp + 0x30]
lea eax, [esp + 0x68]
mov dword [esp + 0x74], edx
mov edx, dword [esi]
mov dword [esp + 0x70], ecx
push eax
push 0x2717
mov ecx, esi
mov dword [esp + 0x70], edi
call dword [edx + 0x14]
test eax, eax
je 0x47ca05
mov eax, dword [esp + 0x10]
dec eax
mov dword [esp + 0x10], eax
jns 0x47c8c1
xor esi, esi
lea ecx, [esp + 0x50]
mov byte [esp + 0x84], 0
call fcn.004b7f95
mov dword [esp + 0x3c], 0x4fdec0
mov eax, dword [esp + 0x40]
mov dword [esp + 0x84], 3
cmp eax, esi
je 0x47c9ee
push eax
call fcn.004b0ff5
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x7c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x78
ret 0x10
mov eax, dword [esp + 0x94]
test eax, eax
je 0x47ca2b
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov dword [eax], ecx
mov ecx, dword [esp + 0x24]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x28]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov eax, dword [esp + 0x98]
test eax, eax
je 0x47ca51
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
mov dword [eax], ecx
mov ecx, dword [esp + 0x34]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x38]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
lea ecx, [esp + 0x50]
mov byte [esp + 0x84], 0
call fcn.004b7f95
mov dword [esp + 0x3c], 0x4fdec0
mov eax, dword [esp + 0x40]
mov dword [esp + 0x84], 2
test eax, eax
je 0x47ca86
push eax
call fcn.004b0ff5
add esp, 4
mov eax, esi
jmp 0x47c9f0