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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1ac
push ebx
push esi
push edi
push 0
mov esi, eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 0x10]
push 0x5c8214
push 0x5c61c0
lea ecx, [edx + eax + 4]
mov eax, dword [ecx]
push 0
push 0x5c8214
call dword [eax + 8]
push eax
call sub.MSVCR71.dll___RTDynamicCast
mov edi, eax
mov eax, dword [ebp + 0xc]
add esp, 0x14
test eax, eax
je 0x4c73ae
mov dword [eax], 0
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x4c73bb
mov dword [eax], 0xffffffff
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 0x10]
mov eax, dword [esi + 4]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], edx
mov eax, dword [eax + 0x68]
mov cl, byte [eax + 0x1c]
test cl, cl
mov esi, 0x68d0f0
jne 0x4c73de
lea esi, [eax + 0x24]
mov edx, dword [esi + 8]
push 1
lea ecx, [esp + 0x1c]
push ecx
push edx
call dword [sym.imp.GDI32.dll_DPtoLP]
mov ecx, dword [esi + 8]
mov ebx, dword [sym.imp.GDI32.dll_GetWindowExtEx]
lea eax, [esp + 0x20]
push eax
push ecx
call ebx
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x28]
mov dword [esp + 0x10], edx
mov edx, dword [esi + 8]
push ecx
push edx
mov dword [esp + 0x1c], eax
call dword [sym.imp.GDI32.dll_GetViewportExtEx]
fild dword [esp + 0x10]
mov eax, dword [esp + 0x28]
mov dword [esp + 0x20], eax
fidiv dword [esp + 0x20]
mov eax, dword [edi + 0x10]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x24], ecx
mov ecx, dword [edi + 0x14]
mov edx, eax
mov edi, ecx
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], ecx
fmul qword [0x57d130]
call fcn.00549400
mov edi, dword [sym.imp.USER32.dll_InflateRect]
push eax
push eax
lea edx, [esp + 0x38]
push edx
call edi
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
push eax
push ecx
lea edx, [esp + 0x38]
push edx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x4c749c
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x4c7491
mov dword [eax], 2
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [esi + 8]
lea eax, [esp + 0x10]
push eax
push ecx
call ebx
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x28]
mov dword [esp + 0x20], edx
mov edx, dword [esi + 8]
push ecx
push edx
mov dword [esp + 0x2c], eax
call dword [sym.imp.GDI32.dll_GetViewportExtEx]
fild dword [esp + 0x20]
mov eax, dword [esp + 0x28]
mov dword [esp + 0x10], eax
fidiv dword [esp + 0x10]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x14], ecx
mov ecx, dword [ebp + 8]
lea eax, [esp + 0x50]
mov edx, esi
fmul qword [0x594f28]
fstp qword [esp + 0x10]
call fcn.004c52d0
mov eax, dword [esp + 0x190]
fld qword [esp + 0x10]
mov edx, dword [esp + 0x194]
mov ecx, eax
mov esi, edx
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], edx
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], esi
call fcn.00549400
push eax
push eax
lea edx, [esp + 0x48]
push edx
call edi
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov ebx, dword [sym.imp.USER32.dll_PtInRect]
push eax
push ecx
lea edx, [esp + 0x48]
push edx
call ebx
test eax, eax
je 0x4c755d
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x4c7552
mov dword [eax], 3
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
xor esi, esi
lea edi, [esp + 0x58]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
push eax
push ecx
push edi
call ebx
test eax, eax
jne 0x4c7588
inc esi
add edi, 0x28
cmp esi, 9
jl 0x4c7563
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x4c7595
mov dword [eax], 4
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x4c759e
mov dword [eax], esi
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x4c764a
mov ecx, 0xa
lea esi, [esp + 0x50]
mov edi, eax
rep movsd dword es:[edi], dword [esi]
lea edi, [eax + 0x28]
mov ecx, 0xa
lea esi, [esp + 0x78]
rep movsd dword es:[edi], dword [esi]
lea edi, [eax + 0x50]
mov ecx, 0xa
lea esi, [esp + 0xa0]
rep movsd dword es:[edi], dword [esi]
lea edi, [eax + 0x78]
mov ecx, 0xa
lea esi, [esp + 0xc8]
rep movsd dword es:[edi], dword [esi]
lea edi, [eax + 0xa0]
mov ecx, 0xa
lea esi, [esp + 0xf0]
rep movsd dword es:[edi], dword [esi]
lea edi, [eax + 0xc8]
mov ecx, 0xa
lea esi, [esp + 0x118]
rep movsd dword es:[edi], dword [esi]
lea edi, [eax + 0xf0]
mov ecx, 0xa
lea esi, [esp + 0x140]
rep movsd dword es:[edi], dword [esi]
lea edi, [eax + 0x118]
mov ecx, 0xa
lea esi, [esp + 0x168]
rep movsd dword es:[edi], dword [esi]
lea edi, [eax + 0x140]
mov ecx, 0xa
lea esi, [esp + 0x190]
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x10