Function at 0x47eeb0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5138cc
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.004e0476
push 0
mov dword [esp + 0xe0], 0
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esp + 0x24]
call fcn.004e052d
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], vtable.CFont.0
mov byte [esp + 0xdc], 1
call fcn.004f7df8
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.004e10d3
lea eax, [esp + 0x10]
lea ecx, [esp + 0x20]
push eax
call fcn.004e06c1
mov edi, eax
call fcn.004f7df8
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.004c3980
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 0x47efcb
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
push eax
push ecx
call fcn.004c55f4
add esp, 8
call fcn.004c3980
lea edx, [eax + eax*4]
shl edx, 2
mov dword [esi + 0x18c], edx
jmp 0x47efd7
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.0042e0a0
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.004dd151
mov eax, dword [esp + 0x18]
test edi, edi
mov dword [esi + 0x1f8], eax
je 0x47f02a
mov edi, dword [edi + 4]
mov ecx, dword [esp + 0x24]
push edi
push ecx
call fcn.004e066e
lea edx, [esp + 0x10]
mov ecx, esi
push edx
call fcn.0047f150
mov eax, dword [0x5581a0]
mov dword [esp + 0xc], eax
lea ecx, [esp + 0xc]
mov byte [esp + 0xdc], 2
push ecx
mov ecx, esi
call fcn.004da52d
lea edx, [esp + 0x34]
lea eax, [esp + 0x30]
push edx
push eax
mov ecx, esi
call fcn.004d6a1b
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx - 8]
mov ecx, esi
push eax
push 0
call fcn.004d6969
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.004f3aab
lea ecx, [esi + 0x180]
push ecx
mov ecx, esi
call fcn.004d6acf
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
push edx
push eax
mov ecx, esi
call fcn.004d6969
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.004dd151
mov dword [esp + 0x10], vtable.CGdiObject.0
lea ecx, [esp + 0x10]
mov byte [esp + 0xdc], 3
call fcn.004e112a
lea ecx, [esp + 0x20]
mov dword [esp + 0xdc], 0xffffffff
call fcn.004e05ab
mov ecx, dword [esp + 0xd4]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0xd8
ret