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

Disassembly:
sub esp, 0x50
push ebx
push ebp
mov ebp, dword [esp + 0x5c]
xor ebx, ebx
cmp ebp, ebx
push esi
push edi
je 0x4883ab
cmp byte [ebp], bl
je 0x4883ab
mov edi, dword [esp + 0x68]
cmp edi, ebx
je 0x4883ab
cmp byte [edi], bl
je 0x4883ab
mov eax, dword [0x6a0f40]
push eax
call dword [sym.imp.USER32.dll_GetDC]
mov esi, eax
cmp esi, ebx
je 0x4883ab
mov ecx, dword [esp + 0x70]
push edi
mov edi, dword [esp + 0x78]
push ebx
mov edx, dword [esp + 0x74]
push ebx
push ebx
push ebx
push edi
push ebx
push ebx
push ebx
push ecx
push ebx
push ebx
push ebx
neg edx
push edx
call dword [sym.imp.GDI32.dll_CreateFontA]
cmp eax, ebx
mov dword [esp + 0x1c], eax
jne 0x4883b5
mov eax, dword [0x6a0f40]
push esi
push eax
call dword [sym.imp.USER32.dll_ReleaseDC]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x50
ret
push eax
push esi
mov dword [esp + 0x2c], ebx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x18], eax
cmp dword [0x61b5c4], ebx
jne 0x4883d3
cmp dword [esp + 0x7c], ebx
je 0x4883e9
push ebp
call fcn.005868a0
add esp, 4
cmp eax, 2
mov dword [esp + 0x10], 1
je 0x4883ed
mov dword [esp + 0x10], ebx
mov eax, dword [0x693624]
cmp eax, ebx
mov dword [esp + 0x58], eax
mov dword [esp + 0x14], 0xffffffff
je 0x488410
push edi
push esi
call fcn.0049cd10
add esp, 8
mov dword [esp + 0x14], eax
mov al, byte [esp + 0x78]
test al, 0x40
je 0x488432
push 0x5f4c8c
push ebp
call fcn.005dc370
add esp, 8
test eax, eax
jne 0x488516
mov al, byte [esp + 0x78]
test al, 0x10
je 0x488516
test al, 8
jne 0x488516
cmp dword [esp + 0x10], ebx
jne 0x488516
test al, 4
jne 0x48846f
push ebx
push ebp
call fcn.0055a9c0
add esp, 8
test eax, eax
jne 0x488463
or dword [esp + 0x78], 4
mov al, byte [esp + 0x78]
test al, 4
je 0x488516
test al, 1
mov dword [esp + 0x64], ebx
je 0x4884c0
push ebx
push ebx
push ebx
push 0xffffffffffffffff
push ebp
push esi
call fcn.0052a000
mov edi, eax
mov al, byte [esp + 0x90]
add esp, 0x18
test al, 2
je 0x4884ba
push ebx
lea ecx, [esp + 0x14]
push ecx
push ebx
push esi
mov dword [esp + 0x20], ebx
call fcn.0049ab30
movzx edx, word [esp + 0x20]
movzx eax, di
shl edx, 0x10
add esp, 0x10
or edx, eax
mov dword [esp + 0x64], edx
jmp 0x4884d4
mov dword [esp + 0x64], edi
jmp 0x4884d4
test al, 2
je 0x4884d4
push ebx
lea ecx, [esp + 0x68]
push ecx
push ebx
push esi
call fcn.0049ab30
add esp, 0x10
mov eax, dword [esp + 0x14]
cmp eax, ebx
jl 0x4884e5
push eax
call fcn.005dd2dc
add esp, 4
mov edx, dword [esp + 0x18]
push edx
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ecx, dword [0x6a0f40]
push esi
push ecx
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, dword [esp + 0x64]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret
push esi
call fcn.00529df0
mov dword [esp + 0x3c], eax
mov eax, ebp
add esp, 4
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x488528
mov ebp, dword [esp + 0x80]
sub eax, edx
push ebp
mov dword [esp + 0x60], eax
mov dword [esp + 0x44], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x24], ebx
or edi, 0xffffffff
call fcn.0058ed20
add esp, 4
test eax, eax
je 0x488582
mov edi, dword [ebp + 0x1314]
push ebx
lea edx, [esp + 0x24]
push edx
push ebx
push esi
call fcn.0049ab30
mov eax, dword [esp + 0x94]
push eax
mov ecx, dword [esp + 0x30]
push ecx
mov edx, dword [esp + 0x80]
push edx
mov eax, dword [esp + 0x90]
push eax
mov ecx, dword [esp + 0x8c]
mov edx, dword [esp + 0x90]
push ecx
push edx
mov ecx, dword [esp + 0xa0]
lea eax, [esp + 0x48]
push eax
push edi
push ecx
lea edx, [esp + 0x5c]
push edx
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x54]
push ecx
push ebp
lea edx, [esp + 0x70]
push edx
lea eax, [esp + 0x78]
push eax
lea ecx, [esp + 0x80]
push ecx
push 0x270f
lea edx, [esp + 0x8c]
push edx
push esi
lea eax, [esp + 0x98]
push eax
lea ecx, [esp + 0xa0]
push ecx
lea edx, [esp + 0xa8]
push edx
lea eax, [esp + 0xb0]
push eax
lea ecx, [esp + 0xb8]
push ecx
lea edx, [esp + 0xc0]
push edx
mov edx, dword [esp + 0xd8]
lea eax, [esp + 0xc8]
push eax
mov eax, dword [esp + 0x88]
lea ecx, [esp + 0xd0]
push ecx
push edx
push eax
lea ecx, [esp + 0xe0]
push ecx
call fcn.0052a2f0
mov edi, eax
mov eax, dword [esp + 0x9c]
add esp, 0x88
cmp eax, ebx
jl 0x488673
push eax
call fcn.005dd2dc
add esp, 4
mov edx, dword [esp + 0x18]
push edx
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [esp + 0x24]
cmp eax, ebx
mov ebx, dword [sym.imp.GDI32.dll_DeleteObject]
je 0x488690
push eax
call ebx
mov eax, dword [esp + 0x1c]
push eax
call ebx
mov ecx, dword [0x6a0f40]
push esi
push ecx
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret