Function at 0x47f1d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x513c0c
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.004e0772
push 0
mov dword [esp + 0xe0], 0
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esp + 0x24]
call fcn.004e0829
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], vtable.CFont.0
mov byte [esp + 0xdc], 1
call fcn.004f80f4
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.004e13cf
lea eax, [esp + 0x10]
lea ecx, [esp + 0x20]
push eax
call fcn.004e09bd
mov edi, eax
call fcn.004f80f4
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 [0x524430]
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.004c3c70
mov ecx, eax
mov dword [esp + 8], ecx
fild dword [esp + 8]
fsubr st(1)
fcomp qword [0x524428]
fnstsw ax
test ah, 1
fstp st(0)
jne 0x47f2eb
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
push eax
push ecx
call fcn.004c58e4
add esp, 8
call fcn.004c3c70
lea edx, [eax + eax*4]
shl edx, 2
mov dword [esi + 0x18c], edx
jmp 0x47f2f7
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.0042e2e0
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.004dd44d
mov eax, dword [esp + 0x18]
test edi, edi
mov dword [esi + 0x1f8], eax
je 0x47f34a
mov edi, dword [edi + 4]
mov ecx, dword [esp + 0x24]
push edi
push ecx
call fcn.004e096a
lea edx, [esp + 0x10]
mov ecx, esi
push edx
call fcn.0047f470
mov eax, dword [0x5580c0]
mov dword [esp + 0xc], eax
lea ecx, [esp + 0xc]
mov byte [esp + 0xdc], 2
push ecx
mov ecx, esi
call fcn.004da829
lea edx, [esp + 0x34]
lea eax, [esp + 0x30]
push edx
push eax
mov ecx, esi
call fcn.004d6d17
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx - 8]
mov ecx, esi
push eax
push 0
call fcn.004d6c65
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.004f3da2
lea ecx, [esi + 0x180]
push ecx
mov ecx, esi
call fcn.004d6dcb
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
push edx
push eax
mov ecx, esi
call fcn.004d6c65
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.004dd44d
mov dword [esp + 0x10], vtable.CGdiObject.0
lea ecx, [esp + 0x10]
mov byte [esp + 0xdc], 3
call fcn.004e1426
lea ecx, [esp + 0x20]
mov dword [esp + 0xdc], 0xffffffff
call fcn.004e08a7
mov ecx, dword [esp + 0xd4]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0xd8
ret