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

Disassembly:
push 0xffffffffffffffff
push 0x4ce798
mov eax, dword fs:[0]
push eax
sub esp, 0x88
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4f87d8]
xor eax, esp
push eax
lea eax, [esp + 0x9c]
mov dword fs:[0], eax
mov ebx, dword [esp + 0xbc]
mov ebp, dword [esp + 0xb4]
mov edx, dword [ecx]
mov esi, dword [ecx + 4]
mov eax, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
add eax, 6
sub eax, edx
add ecx, 6
sub ecx, esi
mov dword [esp + 0x4c], edx
mov edx, eax
xor eax, eax
mov dword [esp + 0x50], esi
xor esi, esi
or ebx, 0x24
mov dword [esp + 0x38], edx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], 1
mov dword [esp + 0x44], edx
mov dword [esp + 0x48], ecx
mov dword [esp + 0x5c], esi
mov dword [esp + 0x60], esi
mov dword [esp + 0x64], esi
mov dword [esp + 0x90], esi
mov dword [esp + 0x94], esi
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
push ecx
mov ecx, dword [esp + 0xb0]
push edx
lea eax, [esp + 0x64]
push eax
mov dword [esp + 0xb0], esi
call fcn.00488420
mov eax, dword [esp + 0x90]
cmp eax, esi
je 0x487ddd
mov esi, dword [esp + 0x70]
imul esi, dword [esp + 0x6c]
add esi, esi
add esi, esi
push eax
mov edi, 0x1000000
call fcn.00488820
mov ecx, dword [esp + 0x60]
add esp, 4
push 1
push ecx
call dword [sym.imp.GDI32.dll_SetBkMode]
mov edx, dword [esp + 0x5c]
push 0xa0a0a
push edx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov eax, dword [esp + 0xb0]
mov ecx, dword [esp + 0xb8]
mov esi, dword [esp + 0x5c]
push eax
call fcn.0044e4d0
mov ecx, dword [eax]
push ecx
push esi
mov esi, dword [sym.imp.GDI32.dll_SelectObject]
call esi
test bl, 0x10
mov edi, eax
je 0x487e4f
mov eax, dword [esp + 0x5c]
push 0
and ebx, 0xffffffef
push ebx
lea edx, [esp + 0x44]
push edx
push eax
mov edx, ebp
call fcn.00482010
add esp, 0x10
jmp 0x487e63
mov edx, dword [esp + 0x5c]
push ebx
lea ecx, [esp + 0x40]
push ecx
push 0xffffffffffffffff
push ebp
push edx
call dword [sym.imp.USER32.dll_DrawTextW]
mov eax, dword [esp + 0x5c]
push edi
push eax
call esi
mov edi, dword [esp + 0x90]
test edi, edi
jne 0x487e7a
xor esi, esi
jmp 0x487e87
mov esi, dword [esp + 0x70]
imul esi, dword [esp + 0x6c]
add esi, esi
add esi, esi
call fcn.00488510
test eax, eax
push edi
je 0x487e98
call fcn.004886a0
jmp 0x487e9f
mov eax, esi
call fcn.00488710
mov ecx, dword [esp + 0x94]
add esp, 4
cmp dword [esp + 0x5c], 0
mov dword [esp + 0x18], ecx
jne 0x487eba
xor ecx, ecx
xor eax, eax
jmp 0x487ec2
mov ecx, dword [esp + 0x70]
mov eax, dword [esp + 0x6c]
mov ebp, 1
add ecx, 0xffffffff
xor esi, esi
cmp ecx, ebp
lea edx, [eax*4]
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ecx
jle 0x487f92
add eax, 0xffffffff
mov dword [esp + 0x30], eax
mov ebx, 1
xor edi, edi
cmp eax, ebx
mov dword [esp + 0x1c], ebx
jle 0x487f7b
xor edx, edx
cmp ebp, 1
jl 0x487f6d
cmp ebp, ecx
jge 0x487f6d
cmp ebx, 1
jl 0x487f6d
cmp ebx, eax
jge 0x487f6d
lea ebx, [edx + 3]
mov ecx, dword [esp + 0x18]
lea eax, [esi + edi]
lea eax, [eax + ecx + 3]
mov ecx, 3
movzx ebp, byte [eax]
add edx, ebp
add eax, 4
sub ecx, 1
jne 0x487f28
add esi, dword [esp + 0x20]
sub ebx, 1
jne 0x487f18
mov esi, dword [esp + 0x24]
mov ebp, dword [esp + 0x28]
mov ebx, dword [esp + 0x1c]
mov eax, 0x38e38e39
imul edx
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, dword [esp + 0x18]
lea eax, [edi + esi]
mov byte [eax + edx + 3], cl
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
add ebx, 1
add edi, 4
cmp ebx, eax
mov dword [esp + 0x1c], ebx
jl 0x487f01
add esi, dword [esp + 0x20]
add ebp, 1
cmp ebp, ecx
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], ebp
jl 0x487ef2
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x5c]
xor eax, eax
mov word [esp + 0x19], ax
mov byte [esp + 0x1b], al
mov byte [esp + 0x18], 0
mov byte [esp + 0x1b], 1
mov byte [esp + 0x1a], 0xff
mov eax, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x3c]
push ecx
push eax
push 0
push 0
push edx
mov edx, dword [esp + 0xc4]
push ecx
mov ecx, dword [esp + 0x68]
push eax
mov eax, dword [esp + 0x70]
add eax, 0xfffffffc
push eax
add ecx, 0xffffffff
push ecx
push edx
call dword [sym.imp.MSIMG32.dll_AlphaBlend]
lea esi, [esp + 0x5c]
call fcn.00488380
mov ecx, dword [esp + 0x9c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x94
ret