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

Disassembly:
push 0xffffffffffffffff
push 0x490cc0
mov eax, dword fs:[0]
push eax
sub esp, 0x80
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4bb028]
xor eax, esp
push eax
lea eax, [esp + 0x94]
mov dword fs:[0], eax
mov ebx, ecx
mov edi, edx
xor eax, eax
mov dword [esp + 0x9c], eax
mov dword [esp + 0x1c], eax
cmp ebx, eax
jne 0x47e52c
mov eax, dword [edi + 0x20]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call sub.mfc90u.dll_CDC::FromHandle
mov ebx, eax
mov dword [esp + 0x1c], 1
mov ecx, dword [edi + 0x58]
push ecx
lea ecx, [esp + 0x3c]
call sub.mfc90u.dll_CBrush::CBrush
mov byte [esp + 0x9c], 1
mov edx, dword [edi + 0x60]
push edx
lea ecx, [esp + 0x34]
call sub.mfc90u.dll_CBrush::CBrush
lea esi, [esp + 0x60]
call fcn.004013e0
mov byte [esp + 0x9c], 3
mov ecx, dword [esp + 0xa8]
mov eax, dword [esp + 0xac]
mov esi, dword [esp + 0xb4]
mov edx, dword [esp + 0xb0]
mov dword [esp + 0x54], eax
inc dword [esp + 0x54]
mov dword [esp + 0x44], eax
mov eax, dword [edi + 0x54]
sub dword [esp + 0x44], eax
mov ebp, ecx
mov dword [esp + 0x4c], esi
add dword [esp + 0x4c], eax
mov dword [esp + 0x58], edx
add edx, eax
sub ebp, eax
mov eax, dword [esp + 0xe8]
mov dword [esp + 0x50], ecx
mov dword [esp + 0x5c], esi
mov dword [esp + 0x40], ecx
inc ecx
xor esi, esi
mov dword [esp + 0x48], edx
mov dword [esp + 0x50], ecx
cmp dword [eax - 0xc], esi
je 0x47e686
push eax
lea eax, [esp + 0x64]
push eax
call fcn.004016b0
cmp dword [esp + 0x64], esi
je 0x47e686
cmp dword [esp + 0xf4], esi
je 0x47e634
cmp ebx, esi
jne 0x47e5ef
mov dword [esp + 0x18], esi
jmp 0x47e5f6
mov ecx, dword [ebx + 4]
mov dword [esp + 0x18], ecx
mov edx, dword [esp + 0xac]
mov eax, dword [esp + 0xb4]
mov esi, dword [esp + 0xa4]
mov ecx, dword [esp + 0xb0]
push esi
sub eax, edx
sub ecx, dword [esp + 0xac]
push eax
push ecx
push 2
push 2
push eax
mov eax, dword [esp + 0x30]
push ecx
push edx
mov edx, dword [esp + 0xc8]
push edx
push eax
jmp 0x47e678
cmp ebx, esi
jne 0x47e63c
xor edx, edx
jmp 0x47e63f
mov edx, dword [ebx + 4]
mov ecx, dword [esp + 0xa4]
mov eax, dword [esp + 0x70]
push ecx
mov ecx, dword [esp + 0x70]
push eax
mov eax, dword [esp + 0xb4]
push ecx
mov ecx, dword [esp + 0xc0]
push esi
push esi
mov esi, dword [esp + 0xc4]
sub ecx, eax
push ecx
mov ecx, dword [esp + 0xc0]
sub esi, ecx
push esi
push eax
push ecx
push edx
lea esi, [esp + 0x88]
call fcn.004014d0
xor esi, esi
mov edx, dword [edi + 0x58]
mov eax, dword [edi + 0x54]
push edx
push eax
push esi
lea ecx, [esp + 0x34]
call sub.mfc90u.dll_CPen::CPen
mov byte [esp + 0x9c], 4
mov ecx, dword [edi + 0x60]
mov edx, dword [edi + 0x5c]
push ecx
push edx
push esi
lea ecx, [esp + 0x2c]
call sub.mfc90u.dll_CPen::CPen
push 5
mov byte [esp + 0xa0], 5
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
call sub.mfc90u.dll_CGdiObject::FromHandle
push eax
mov ecx, ebx
call sub.mfc90u.dll_CDC::SelectObject_1
mov dword [esp + 0x18], eax
lea eax, [esp + 0x28]
push eax
mov ecx, ebx
call sub.mfc90u.dll_CDC::SelectObject
cmp dword [edi + 0x64], esi
je 0x47e6ff
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x44]
push ecx
mov ecx, dword [ebx + 4]
push edx
push eax
push ebp
push ecx
call dword [sym.imp.GDI32.dll_Rectangle]
lea edx, [esp + 0x20]
push edx
mov ecx, ebx
call sub.mfc90u.dll_CDC::SelectObject
mov ebp, eax
cmp dword [esp + 0xec], esi
je 0x47e734
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x54]
push eax
mov eax, dword [esp + 0x54]
push ecx
mov ecx, dword [ebx + 4]
push edx
push eax
push ecx
call dword [sym.imp.GDI32.dll_Rectangle]
mov edx, dword [esp + 0x18]
push edx
mov ecx, ebx
call sub.mfc90u.dll_CDC::SelectObject_1
push ebp
mov ecx, ebx
call sub.mfc90u.dll_CDC::SelectObject
cmp dword [esp + 0xf0], esi
je 0x47e7ab
cmp dword [edi + 0xa4], esi
je 0x47e7ab
mov eax, dword [edi + 0xb0]
mov ecx, dword [edi + 0xac]
cmp ebx, esi
jne 0x47e76d
xor edx, edx
jmp 0x47e770
mov edx, dword [ebx + 4]
movzx ebp, byte [edi + 0x70]
push ebp
push eax
mov eax, dword [esp + 0xb4]
push ecx
mov ecx, dword [esp + 0xc0]
push esi
push esi
mov esi, dword [esp + 0xc4]
sub ecx, eax
push ecx
mov ecx, dword [esp + 0xc0]
sub esi, ecx
push esi
push eax
push ecx
push edx
lea esi, [edi + 0xa0]
call fcn.004014d0
xor esi, esi
cmp dword [esp + 0x1c], esi
je 0x47e7c7
cmp ebx, esi
jne 0x47e7b9
xor ebx, ebx
jmp 0x47e7bc
mov ebx, dword [ebx + 4]
mov edx, dword [edi + 0x20]
push ebx
push edx
call dword [sym.imp.USER32.dll_ReleaseDC]
mov byte [esp + 0x9c], 4
mov edi, vtable.CPen.0
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], edi
call fcn.004066b0
mov byte [esp + 0x9c], 3
lea ecx, [esp + 0x28]
mov dword [esp + 0x28], edi
call fcn.004066b0
mov eax, dword [esp + 0x64]
mov edi, dword [sym.imp.GDI32.dll_DeleteObject]
mov ebp, vtable.ATL::CImage.0
mov dword [esp + 0x60], ebp
cmp eax, esi
je 0x47e843
push eax
mov dword [esp + 0x68], esi
mov dword [esp + 0x6c], esi
mov dword [esp + 0x70], esi
mov dword [esp + 0x74], esi
mov dword [esp + 0x7c], esi
mov dword [esp + 0x78], esi
mov dword [esp + 0x84], 0xffffffff
mov byte [esp + 0x81], 0
mov byte [esp + 0x80], 0
call edi
call fcn.00401330
mov byte [esp + 0x9c], 1
mov ebx, vtable.CBrush.0
lea ecx, [esp + 0x30]
mov dword [esp + 0x30], ebx
call fcn.004066b0
mov byte [esp + 0x9c], 0
lea ecx, [esp + 0x38]
mov dword [esp + 0x38], ebx
call fcn.004066b0
lea ecx, [esp + 0xe8]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov eax, dword [esp + 0xbc]
mov dword [esp + 0xb8], ebp
cmp eax, esi
je 0x47e8de
push eax
mov dword [esp + 0xc0], esi
mov dword [esp + 0xc4], esi
mov dword [esp + 0xc8], esi
mov dword [esp + 0xcc], esi
mov dword [esp + 0xd4], esi
mov dword [esp + 0xd0], esi
mov dword [esp + 0xdc], 0xffffffff
mov byte [esp + 0xd9], 0
mov byte [esp + 0xd8], 0
call edi
call fcn.00401330
mov ecx, dword [esp + 0x94]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x8c
ret 0x54