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

Disassembly:
push 0xffffffffffffffff
push 0x4ce7c8
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4f87d8]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x98]
mov ebp, dword [esp + 0x90]
mov eax, ebx
shr eax, 0x18
cmp al, 0xff
mov byte [esp + 0x16], 1
mov byte [esp + 0x98], 1
mov byte [esp + 0x17], al
jne 0x48285d
cmp byte [esp + 0xac], 0
jne 0x48285d
mov edi, dword [esp + 0x88]
push 1
push edi
call dword [sym.imp.GDI32.dll_SetBkMode]
movzx eax, bh
mov ah, bl
shr ebx, 0x10
movzx ecx, bl
shl eax, 8
or eax, ecx
push eax
push edi
call dword [sym.imp.GDI32.dll_SetTextColor]
mov edx, dword [esp + 0x8c]
mov ecx, dword [esp + 0xa0]
push edx
call fcn.0044e4d0
mov eax, dword [eax]
mov esi, dword [sym.imp.GDI32.dll_SelectObject]
push eax
push edi
call esi
mov edx, dword [esp + 0x94]
mov ebx, eax
mov eax, dword [esp + 0xa4]
test al, 0x10
je 0x482840
mov ecx, dword [esp + 0xa8]
push ecx
and eax, 0xffffffef
push eax
push ebp
push edi
call fcn.00482010
add esp, 0x10
push ebx
push edi
mov byte [esp + 0x1e], al
call esi
jmp 0x482a49
push eax
push ebp
push 0xffffffffffffffff
push edx
push edi
call dword [sym.imp.USER32.dll_DrawTextW]
push ebx
push edi
mov byte [esp + 0xa0], 0
call esi
jmp 0x482a49
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
sub ecx, dword [ebp]
sub edx, dword [ebp + 4]
xor eax, eax
xor esi, esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], edx
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], esi
mov dword [esp + 0x70], esi
mov dword [esp + 0x74], esi
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
push edx
push ecx
mov ecx, dword [esp + 0x90]
lea eax, [esp + 0x44]
push eax
mov dword [esp + 0x8c], esi
call fcn.00488420
mov eax, dword [esp + 0x70]
cmp eax, esi
je 0x4828e8
mov esi, dword [esp + 0x50]
imul esi, dword [esp + 0x4c]
add esi, esi
add esi, esi
mov edi, dword [esp + 0x9c]
push eax
call fcn.00488820
mov ecx, dword [esp + 0x40]
add esp, 4
push 1
push ecx
call dword [sym.imp.GDI32.dll_SetBkMode]
mov ecx, dword [esp + 0x3c]
movzx edx, bh
mov dh, bl
shr ebx, 0x10
movzx eax, bl
shl edx, 8
or edx, eax
push edx
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov edx, dword [esp + 0x8c]
mov ecx, dword [esp + 0xa0]
mov esi, dword [esp + 0x3c]
push edx
call fcn.0044e4d0
mov eax, dword [eax]
push eax
push esi
mov esi, dword [sym.imp.GDI32.dll_SelectObject]
call esi
mov edi, eax
mov eax, dword [esp + 0xa4]
test al, 0x10
je 0x48297d
mov ecx, dword [esp + 0xa8]
push ecx
and eax, 0xffffffef
push eax
mov eax, dword [esp + 0x44]
lea edx, [esp + 0x24]
push edx
mov edx, dword [esp + 0xa0]
push eax
call fcn.00482010
add esp, 0x10
mov byte [esp + 0x16], al
jmp 0x4829a0
mov edx, dword [esp + 0x94]
push eax
mov eax, dword [esp + 0x40]
lea ecx, [esp + 0x20]
push ecx
push 0xffffffffffffffff
push edx
push eax
call dword [sym.imp.USER32.dll_DrawTextW]
mov byte [esp + 0x98], 0
mov ecx, dword [esp + 0x3c]
push edi
push ecx
call esi
mov edi, dword [esp + 0x70]
test edi, edi
jne 0x4829b4
xor esi, esi
jmp 0x4829c1
mov esi, dword [esp + 0x50]
imul esi, dword [esp + 0x4c]
add esi, esi
add esi, esi
call fcn.00488510
test eax, eax
push edi
je 0x4829d2
call fcn.004886a0
jmp 0x4829d9
mov eax, esi
call fcn.00488710
mov dl, byte [esp + 0x1b]
add esp, 4
xor eax, eax
mov word [esp + 0x19], ax
mov byte [esp + 0x1b], al
mov eax, dword [ebp]
mov byte [esp + 0x1a], dl
mov edx, dword [esp + 0x24]
mov byte [esp + 0x18], 0
mov byte [esp + 0x1b], 1
mov ecx, dword [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x2c]
push ecx
push edx
mov edx, dword [esp + 0x48]
push 0
push 0
push edx
mov edx, dword [ebp + 4]
push ecx
mov ecx, dword [ebp + 8]
sub ecx, eax
push ecx
push edx
push eax
mov eax, dword [esp + 0xb0]
push eax
call dword [sym.imp.MSIMG32.dll_AlphaBlend]
lea esi, [esp + 0x3c]
mov dword [esp + 0x80], 0xffffffff
call fcn.00488380
mov edi, dword [esp + 0x88]
cmp byte [esp + 0x98], 0
jne 0x482aaf
mov ecx, dword [esp + 0x94]
mov edx, dword [esp + 0x8c]
mov ebx, dword [ebp + 8]
sub ebx, dword [ebp]
push 0x800
push ecx
mov ecx, dword [esp + 0xa8]
push edx
lea esi, [esp + 0x38]
call fcn.00481f90
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov dword [esp + 0x2c], ecx
mov ecx, dword [eax + 8]
mov eax, dword [eax + 0xc]
sub ecx, edx
add esp, 0xc
cmp ecx, ebx
mov dword [esp + 0x28], eax
setle al
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x70
ret
mov al, byte [esp + 0x16]
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x70
ret