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

Disassembly:
sub esp, 0x50
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x64]
xor ebp, ebp
cmp edi, ebp
je 0x486c2c
cmp byte [edi], 0
je 0x486c2c
mov ebx, dword [esp + 0x68]
cmp ebx, ebp
je 0x486c2c
cmp byte [ebx], 0
je 0x486c2c
mov eax, dword [0x645324]
push eax
call dword [sym.imp.USER32.dll_GetDC]
mov esi, eax
cmp esi, ebp
je 0x486c2c
mov ecx, dword [esp + 0x70]
push ebx
mov ebx, dword [esp + 0x78]
push ebp
mov edx, dword [esp + 0x74]
push ebp
push ebp
push ebp
push ebx
push ebp
push ebp
push ebp
push ecx
push ebp
push ebp
push ebp
neg edx
push edx
call dword [sym.imp.GDI32.dll_CreateFontA]
cmp eax, ebp
mov dword [esp + 0x1c], eax
jne 0x486c36
mov eax, dword [0x645324]
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], ebp
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x18], eax
cmp dword [0x60a514], ebp
jne 0x486c54
cmp dword [esp + 0x7c], ebp
je 0x486c6a
push edi
call fcn.0057ab30
add esp, 4
cmp eax, 2
mov dword [esp + 0x10], 1
je 0x486c6e
mov dword [esp + 0x10], ebp
mov eax, dword [0x642ee4]
cmp eax, ebp
mov dword [esp + 0x58], eax
mov dword [esp + 0x14], 0xffffffff
je 0x486c91
push ebx
push esi
call fcn.0049a850
add esp, 8
mov dword [esp + 0x14], eax
mov ebx, dword [esp + 0x78]
test bl, 0x40
je 0x486cb0
push 0x5e6c94
push edi
call fcn.005ccdf0
add esp, 8
test eax, eax
jne 0x486d88
test bl, 0x10
je 0x486d88
test bl, 8
jne 0x486d88
cmp dword [esp + 0x10], ebp
jne 0x486d88
test bl, 4
jne 0x486ceb
push ebp
push edi
call fcn.00551dc0
add esp, 8
test eax, eax
jne 0x486ce2
or ebx, 4
test bl, 4
je 0x486d88
xor edi, edi
test bl, 1
je 0x486d2d
mov edi, dword [esp + 0x64]
push ebp
push ebp
push ebp
push 0xffffffffffffffff
push edi
push esi
call fcn.00522d60
add esp, 0x18
test bl, 2
mov dword [esp + 0x64], eax
je 0x486d46
push 1
push ebp
push ebp
push 0xffffffffffffffff
push edi
push esi
call fcn.00522d60
movzx ecx, word [esp + 0x7c]
movzx edi, ax
shl edi, 0x10
add esp, 0x18
or edi, ecx
jmp 0x486d48
test bl, 2
je 0x486d48
mov edx, dword [esp + 0x64]
push 1
push ebp
push ebp
push 0xffffffffffffffff
push edx
push esi
call fcn.00522d60
add esp, 0x18
mov edi, eax
mov eax, dword [esp + 0x14]
cmp eax, ebp
jl 0x486d59
push eax
call fcn.005cf6ab
add esp, 4
mov eax, dword [esp + 0x18]
push eax
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [esp + 0x1c]
push ecx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov edx, dword [0x645324]
push esi
push edx
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret
push esi
call fcn.00522d40
mov dword [esp + 0x3c], eax
mov eax, edi
add esp, 4
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x486da0
mov dword [esp + 0x40], ebp
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x44], ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x34], ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x54], ebp
mov dword [esp + 0x50], ebp
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x48], ebp
mov dword [esp + 0x28], ebp
mov dword [esp + 0x20], ebp
mov ebp, dword [esp + 0x80]
sub eax, edx
push ebp
mov dword [esp + 0x60], eax
or edi, 0xffffffff
call fcn.00582ac0
add esp, 4
test eax, eax
je 0x486dfa
mov edi, dword [ebp + 0x71c]
push 0
lea eax, [esp + 0x24]
push eax
push 0
push esi
call fcn.00498990
mov ecx, dword [esp + 0x94]
push ecx
mov edx, dword [esp + 0x30]
push edx
mov eax, dword [esp + 0x80]
push eax
mov ecx, dword [esp + 0x90]
push ecx
mov edx, dword [esp + 0x8c]
mov eax, dword [esp + 0x90]
push edx
push eax
lea ecx, [esp + 0x48]
push ecx
push edi
push ebx
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.00522fd0
mov edi, eax
mov eax, dword [esp + 0x9c]
add esp, 0x88
test eax, eax
jl 0x486ee6
push eax
call fcn.005cf6ab
add esp, 4
mov edx, dword [esp + 0x18]
push edx
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [esp + 0x24]
test eax, eax
mov ebx, dword [sym.imp.GDI32.dll_DeleteObject]
je 0x486f03
push eax
call ebx
mov eax, dword [esp + 0x1c]
push eax
call ebx
mov ecx, dword [0x645324]
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