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

Disassembly:
push 0xffffffffffffffff
push 0x51ab26
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x160
push ebx
push ebp
push esi
push edi
mov ebx, edx
lea eax, [esp + 0x48]
mov edi, ecx
mov ecx, dword [ebx + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
mov edx, dword [0x56bf3c]
mov eax, dword [0x56bf4c]
lea esi, [esp + 0xe8]
mov ecx, ebx
mov dword [esp + 0x10], edx
mov dword [esp + 0x2c], eax
call fcn.00490250
push 0xffffff
lea ecx, [esp + 0x44]
call fcn.004ffce5
xor esi, esi
mov dword [esp + 0x178], esi
mov ecx, dword [esp + 0x44]
mov eax, dword [edi + 4]
push ecx
lea edx, [esp + 0xec]
push edx
push eax
call dword [sym.imp.USER32.dll_FillRect]
cmp dword [ebx + 0x50], esi
mov ebp, dword [sym.imp.GDI32.dll_GetObjectA]
jne 0x48ff14
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], 4
mov ecx, dword [esp + 0x20]
cmp ecx, dword [ebx + 0x1bc]
jg 0x48fd3d
mov eax, dword [0x56bdd4]
lea edx, [esp + 0x158]
push edx
push 0x18
push eax
call ebp
mov eax, dword [0x56be1c]
mov ecx, dword [esp + 0x160]
lea edx, [esp + 0x110]
push edx
push 0x18
push eax
mov dword [esp + 0x20], ecx
call ebp
mov esi, dword [esp + 0x118]
imul esi, dword [esp + 0x20]
add esi, dword [esp + 0x14]
jmp 0x48fd7e
mov edx, dword [0x56bdfc]
lea ecx, [esp + 0xf8]
push ecx
push 0x18
push edx
call ebp
mov ecx, dword [0x56be1c]
lea eax, [esp + 0x140]
push eax
push 0x18
push ecx
call ebp
mov edx, dword [esp + 0x18]
imul edx, dword [esp + 0x148]
mov esi, dword [esp + 0x54]
mov eax, dword [esp + 0x100]
sub esi, edx
sub esi, eax
mov ecx, dword [0x56bde4]
lea eax, [esp + 0x128]
push eax
push 0x18
push ecx
call ebp
mov edx, dword [ebx + 0x1c0]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x12c]
mov dword [eax + edx], ecx
mov edx, dword [esp + 0x50]
sub edx, dword [esp + 0x10]
mov ecx, dword [ebx + 0x1c0]
mov dword [eax + ecx + 8], edx
mov edx, dword [ebx + 0x1c0]
mov dword [eax + edx + 4], esi
mov ecx, dword [0x56be2c]
lea eax, [esp + 0xd0]
push eax
push 0x18
push ecx
call ebp
mov edx, dword [esp + 0xd8]
mov ecx, dword [ebx + 0x1c0]
mov eax, dword [esp + 0x1c]
add edx, esi
mov dword [eax + ecx + 0xc], edx
mov edx, dword [ebx + 0x1c0]
mov ecx, dword [eax + edx + 4]
add eax, edx
mov edx, dword [eax]
push ecx
push edx
mov esi, 0x56be18
call fcn.0040c9c0
mov ecx, dword [0x56be24]
add esp, 8
lea eax, [esp + 0x88]
push eax
push 0x18
push ecx
call ebp
mov edx, dword [ebx + 0x1c0]
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + edx + 4]
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x10]
push ecx
sub edx, dword [esp + 0x90]
sub edx, eax
push edx
mov esi, 0x56be20
call fcn.0040c9c0
mov ecx, dword [0x56be2c]
add esp, 8
lea eax, [esp + 0xa0]
push eax
push 0x18
push ecx
call ebp
mov eax, dword [0x56be24]
lea edx, [esp + 0x58]
push edx
push 0x18
push eax
call ebp
mov edx, dword [0x56bde4]
lea ecx, [esp + 0xb8]
push ecx
push 0x18
push edx
call ebp
mov ecx, dword [0x56be1c]
mov esi, dword [esp + 0xbc]
lea eax, [esp + 0x70]
push eax
push 0x18
push ecx
call ebp
mov edx, dword [ebx + 0x1c0]
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + edx + 4]
mov edx, dword [esp + 0xa8]
lea eax, [ecx + edx]
mov edx, dword [esp + 0x5c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x50]
sub eax, edx
sub eax, dword [esp + 0x10]
mov edx, dword [esp + 0x74]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x14]
add edx, esi
mov dword [esp + 0x34], ecx
push 0x56be28
lea ecx, [esp + 0x34]
mov dword [esp + 0x34], edx
mov dword [esp + 0x40], eax
call fcn.0040c900
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
add esp, 4
inc eax
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x18]
dec eax
add edx, 0x10
test eax, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], edx
jg 0x48fcf0
jmp 0x490057
mov edx, dword [0x56bdd4]
lea ecx, [esp + 0x70]
push ecx
push 0x18
push edx
call ebp
mov ecx, dword [0x56bde4]
lea eax, [esp + 0x58]
push eax
push 0x18
push ecx
call ebp
mov edx, dword [esp + 0x78]
mov eax, dword [esp + 0x5c]
push edx
push eax
mov esi, 0x56be18
call fcn.0040c9c0
mov edx, dword [0x56bdd4]
add esp, 8
lea ecx, [esp + 0x70]
push ecx
push 0x18
push edx
call ebp
mov ecx, dword [0x56be24]
lea eax, [esp + 0x58]
push eax
push 0x18
push ecx
call ebp
mov edx, dword [esp + 0x78]
mov esi, dword [esp + 0x5c]
mov eax, dword [esp + 0x50]
push edx
mov edx, dword [esp + 0x14]
sub eax, esi
sub eax, edx
push eax
mov esi, 0x56be20
call fcn.0040c9c0
mov edx, dword [0x56bdd4]
add esp, 8
lea ecx, [esp + 0x70]
push ecx
push 0x18
push edx
call ebp
mov ecx, dword [0x56be2c]
mov esi, dword [esp + 0x78]
lea eax, [esp + 0xa0]
push eax
push 0x18
push ecx
call ebp
mov eax, dword [0x56be24]
lea edx, [esp + 0xb8]
push edx
push 0x18
push eax
call ebp
mov edx, dword [0x56bdd4]
lea ecx, [esp + 0xd0]
push ecx
push 0x18
push edx
call ebp
mov ecx, dword [0x56bde4]
lea eax, [esp + 0x58]
push eax
push 0x18
push ecx
call ebp
mov ecx, dword [0x56be1c]
mov edx, dword [esp + 0x5c]
lea eax, [esp + 0x88]
push eax
push 0x18
push ecx
mov dword [esp + 0x20], edx
call ebp
mov edx, dword [esp + 0xa8]
mov eax, dword [esp + 0x50]
lea ecx, [edx + esi]
mov esi, dword [esp + 0xbc]
mov edx, dword [esp + 0x10]
sub eax, esi
mov esi, dword [esp + 0x14]
sub eax, edx
mov edx, dword [esp + 0x8c]
add edx, esi
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0xd8]
mov dword [esp + 0x3c], ecx
push 0x56be28
lea ecx, [esp + 0x34]
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], eax
call fcn.0040c900
add esp, 4
xor esi, esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x24], vtable.CFont.0
push 0x53d360
push esi
push esi
push esi
push esi
push 1
push esi
push esi
push esi
push 0x190
push esi
push esi
push esi
push 0xc
mov byte [esp + 0x1b0], 1
call dword [sym.imp.GDI32.dll_CreateFontA]
push eax
lea ecx, [esp + 0x28]
call fcn.004ffb1f
push 1
mov ecx, edi
call fcn.004ff23e
mov eax, dword [edi]
lea ecx, [esp + 0x24]
push ecx
mov ecx, edi
call dword [eax + 0x28]
cmp dword [ebx + 0x50], esi
jne 0x4901b0
mov dword [esp + 0x10], esi
mov dword [esp + 0x18], 4
nop
mov edx, dword [esp + 0x10]
cmp edx, dword [ebx + 0x1bc]
jg 0x490103
mov ecx, dword [0x56bdd4]
lea eax, [esp + 0x70]
push eax
push 0x18
push ecx
call ebp
mov ecx, dword [0x56be1c]
mov edx, dword [esp + 0x78]
lea eax, [esp + 0x58]
push eax
push 0x18
push ecx
mov dword [esp + 0x20], edx
call ebp
mov esi, dword [esp + 0x60]
imul esi, dword [esp + 0x10]
add esi, dword [esp + 0x14]
jmp 0x490141
mov eax, dword [0x56bdfc]
lea edx, [esp + 0xb8]
push edx
push 0x18
push eax
call ebp
mov edx, dword [0x56be1c]
lea ecx, [esp + 0xa0]
push ecx
push 0x18
push edx
call ebp
mov eax, dword [esp + 0x18]
imul eax, dword [esp + 0xa8]
mov esi, dword [esp + 0x54]
sub esi, eax
sub esi, dword [esp + 0xc0]
mov eax, dword [0x56beec]
mov edx, dword [edi]
push eax
mov ecx, edi
call dword [edx + 0x30]
mov edx, dword [0x56bde4]
lea ecx, [esp + 0x88]
push ecx
push 0x18
push edx
call ebp
mov eax, dword [ebx + 0x54]
mov ecx, dword [esp + 0x10]
lea eax, [eax + ecx*4]
mov eax, dword [eax]
mov edx, dword [eax - 0xc]
mov ecx, dword [esp + 0x8c]
mov dword [esp + 0x14], edx
push dword [esp + 0x14]
mov edx, dword [edi]
push eax
mov eax, dword [esp + 0x34]
lea eax, [eax + esi - 5]
add ecx, 0xc
push eax
push ecx
mov ecx, edi
call dword [edx + 0x5c]
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
inc esi
dec eax
test eax, eax
mov dword [esp + 0x10], esi
mov dword [esp + 0x18], eax
jg 0x4900c0
jmp 0x490203
mov eax, dword [0x56beec]
mov edx, dword [edi]
push eax
mov ecx, edi
call dword [edx + 0x30]
mov edx, dword [0x56bdd4]
lea ecx, [esp + 0x70]
push ecx
push 0x18
push edx
call ebp
mov ecx, dword [0x56bde4]
lea eax, [esp + 0x58]
push eax
push 0x18
push ecx
call ebp
mov edx, dword [esp + 0x78]
mov ebx, dword [ebx + 0x54]
mov eax, dword [esp + 0x2c]
lea ecx, [edx + eax - 5]
mov eax, dword [ebx]
mov esi, dword [eax - 0xc]
mov edx, dword [esp + 0x5c]
mov ebx, dword [edi]
push esi
push eax
push ecx
add edx, 0xc
push edx
mov ecx, edi
call dword [ebx + 0x5c]
mov byte [esp + 0x178], 0
mov esi, vtable.CGdiObject.0
lea ecx, [esp + 0x24]
mov dword [esp + 0x24], esi
call fcn.004ffb76
mov dword [esp + 0x178], 0xffffffff
lea ecx, [esp + 0x40]
mov dword [esp + 0x40], esi
call fcn.004ffb76
mov ecx, dword [esp + 0x170]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x16c
ret