Function at 0x47ee70
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x51388c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xcc
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x20]
call fcn.004e0436
push 0
mov dword [esp + 0xe0], 0
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esp + 0x24]
call fcn.004e04ed
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], vtable.CFont.0
mov byte [esp + 0xdc], 1
call fcn.004f7db8
mov eax, dword [eax + 4]
add eax, 0x754
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
push eax
lea ecx, [esp + 0x14]
call fcn.004e1093
lea eax, [esp + 0x10]
lea ecx, [esp + 0x20]
push eax
call fcn.004e0681
mov edi, eax
call fcn.004f7db8
mov eax, dword [eax + 4]
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0x20]
push 0x5a
neg ecx
sbb ecx, ecx
and ecx, edx
mov edx, dword [eax + 0x754]
neg edx
mov dword [esp + 0xc], edx
push ecx
fild dword [esp + 0x10]
fmul qword [0x524438]
fstp qword [esp + 0x20]
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
mov dword [esp + 8], eax
fild dword [esp + 8]
fdivr qword [esp + 0x18]
fst qword [esp + 0x18]
fld st(0)
call fcn.004c3940
mov ecx, eax
mov dword [esp + 8], ecx
fild dword [esp + 8]
fsubr st(1)
fcomp qword [0x524430]
fnstsw ax
test ah, 1
fstp st(0)
jne 0x47ef8b
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
push eax
push ecx
call fcn.004c55b4
add esp, 8
call fcn.004c3940
lea edx, [eax + eax*4]
shl edx, 2
mov dword [esi + 0x18c], edx
jmp 0x47ef97
lea eax, [ecx + ecx*4]
shl eax, 2
mov dword [esi + 0x18c], eax
mov edx, dword [esp + 0x28]
lea ecx, [esi + 0x1bc]
push ecx
push edx
call dword [sym.imp.GDI32.dll_GetTextMetricsA]
lea eax, [esp + 8]
push 0xab
push eax
call fcn.0042e080
mov eax, dword [eax]
mov edx, dword [esp + 0x30]
add esp, 8
lea ecx, [esp + 0x18]
push ecx
push 9
push eax
push edx
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
lea ecx, [esp + 8]
call fcn.004dd111
mov eax, dword [esp + 0x18]
test edi, edi
mov dword [esi + 0x1f8], eax
je 0x47efea
mov edi, dword [edi + 4]
mov ecx, dword [esp + 0x24]
push edi
push ecx
call fcn.004e062e
lea edx, [esp + 0x10]
mov ecx, esi
push edx
call fcn.0047f110
mov eax, dword [0x5580a0]
mov dword [esp + 0xc], eax
lea ecx, [esp + 0xc]
mov byte [esp + 0xdc], 2
push ecx
mov ecx, esi
call fcn.004da4ed
lea edx, [esp + 0x34]
lea eax, [esp + 0x30]
push edx
push eax
mov ecx, esi
call fcn.004d69db
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx - 8]
mov ecx, esi
push eax
push 0
call fcn.004d6929
mov eax, dword [esi + 0x1f8]
mov ecx, esi
mov dword [esp + 0x38], 0x9c
mov dword [esp + 0x3c], 0x10
lea edx, [eax + eax*4]
lea eax, [esp + 0x38]
shl edx, 2
push eax
mov word [esp + 0x56], 2
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], edx
call fcn.004f3a6b
lea ecx, [esi + 0x180]
push ecx
mov ecx, esi
call fcn.004d6a8f
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
push edx
push eax
mov ecx, esi
call fcn.004d6929
mov edi, dword [esi + 0x184]
mov ecx, dword [esi + 0x1c]
push 1
or edi, 0x40000000
push 0
push ecx
mov dword [esi + 0x184], edi
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0xc]
mov byte [esp + 0xdc], 1
call fcn.004dd111
mov dword [esp + 0x10], vtable.CGdiObject.0
lea ecx, [esp + 0x10]
mov byte [esp + 0xdc], 3
call fcn.004e10ea
lea ecx, [esp + 0x20]
mov dword [esp + 0xdc], 0xffffffff
call fcn.004e056b
mov ecx, dword [esp + 0xd4]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0xd8
ret