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

Disassembly:
push 0xffffffffffffffff
push 0x5a9c55
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push ebx
push ebp
push esi
push edi
mov eax, dword [0x615370]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [esp + 0x98]
test eax, 0x400
je 0x55c68c
mov ecx, dword [esp + 0x90]
mov edx, dword [esp + 0x8c]
push eax
mov eax, dword [esp + 0x98]
push edi
push eax
push ecx
push edx
call dword [sym.imp.USER32.dll_DrawTextW]
jmp 0x55c99d
test edi, edi
je 0x55c7c6
mov eax, dword [esp + 0x8c]
push eax
call dword [sym.imp.GDI32.dll_GetTextColor]
push 0x2c
lea ecx, [esp + 0x50]
push 0
push ecx
mov ebx, eax
mov dword [esp + 0x28], 0
call fcn.0058e300
mov eax, dword [edi + 0xc]
sub eax, dword [edi + 4]
mov edx, dword [edi + 8]
sub edx, dword [edi]
add esp, 0xc
push 0
push 0
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x24]
push eax
mov ecx, 1
mov word [esp + 0x64], cx
push 0
lea ecx, [esp + 0x5c]
mov dword [esp + 0x60], edx
push ecx
mov edx, 0x20
push 0
mov dword [esp + 0x64], 0x28
mov word [esp + 0x72], dx
call dword [sym.imp.GDI32.dll_CreateDIBSection]
cmp dword [esp + 0x1c], 0
mov ebp, eax
mov dword [esp + 0x2c], ebp
je 0x55c7c6
mov esi, dword [esp + 0x88]
mov ecx, ebx
shr ecx, 0x10
movzx ecx, cl
mov edx, ebx
shr edx, 8
cmp dword [esi + 0x78], 0
mov dword [esp + 0x18], ecx
mov cl, 2
movzx eax, bl
movzx edx, dl
mov byte [esp + 0x17], cl
jne 0x55c77b
mov cl, byte [esp + 0x18]
mov byte [esp + 0x1a], cl
mov byte [esp + 0x18], al
lea ecx, [esp + 0x30]
lea eax, [esp + 0x18]
mov byte [esp + 0x19], dl
call fcn.0055c310
fld dword [0x5e7a50]
fcomp dword [esp + 0x38]
mov byte [esp + 0x17], 0
fnstsw ax
test ah, 5
jnp 0x55c777
mov byte [esp + 0x17], 0xff
mov cl, byte [esp + 0x17]
mov edx, dword [esp + 0x54]
imul edx, dword [esp + 0x50]
xor esi, esi
test edx, edx
jle 0x55c7ab
mov eax, dword [esp + 0x1c]
lea eax, [eax + esi*4]
mov byte [eax + 3], 2
mov byte [eax], cl
mov byte [eax + 1], cl
mov byte [eax + 2], cl
mov edx, dword [esp + 0x54]
imul edx, dword [esp + 0x50]
inc esi
cmp esi, edx
jl 0x55c78a
mov eax, dword [esp + 0x8c]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov esi, eax
push ebp
test esi, esi
jne 0x55c7cd
call dword [sym.imp.GDI32.dll_DeleteObject]
xor eax, eax
jmp 0x55c99d
mov ebp, dword [sym.imp.GDI32.dll_SelectObject]
push esi
call ebp
push 1
push esi
mov dword [esp + 0x30], eax
call dword [sym.imp.GDI32.dll_SetBkMode]
push ebx
push esi
mov dword [esp + 0x2c], eax
call dword [sym.imp.GDI32.dll_SetTextColor]
mov ecx, dword [esp + 0x9c]
push ecx
push esi
mov dword [esp + 0x28], eax
call ebp
mov ecx, dword [edi + 4]
mov ebx, dword [edi + 0xc]
mov edx, dword [edi + 8]
mov dword [esp + 0x18], eax
mov eax, dword [edi]
sub ebx, ecx
sub edx, eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0x48], ebx
xor ebx, ebx
mov dword [esp + 0x44], edx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
cmp dword [eax + 0x78], ebx
je 0x55c871
mov dword [esp + 0x9c], esi
mov dword [esp + 0x80], ebx
mov edx, dword [eax + 0x74]
mov eax, dword [eax + 0x70]
mov ecx, dword [esp + 0x98]
push edx
push eax
mov eax, dword [esp + 0x9c]
push ecx
mov ecx, dword [esp + 0x9c]
lea edx, [esp + 0x48]
push edx
push eax
push ecx
lea edx, [esp + 0xb4]
push edx
call fcn.0055d600
jmp 0x55c895
mov eax, dword [esp + 0x98]
mov edx, dword [esp + 0x94]
push eax
mov eax, dword [esp + 0x94]
lea ecx, [esp + 0x40]
push ecx
push edx
push eax
push esi
call dword [sym.imp.USER32.dll_DrawTextW]
mov ecx, dword [esp + 0x18]
push ecx
push esi
mov dword [esp + 0x9c], eax
call ebp
mov edx, dword [esp + 0x20]
push edx
push esi
call dword [sym.imp.GDI32.dll_SetTextColor]
mov eax, dword [esp + 0x24]
push eax
push esi
call dword [sym.imp.GDI32.dll_SetBkMode]
mov ecx, dword [esp + 0x54]
imul ecx, dword [esp + 0x50]
xor eax, eax
cmp ecx, ebx
mov dword [esp + 0x98], eax
jle 0x55c92c
mov edx, dword [esp + 0x1c]
lea eax, [edx + eax*4]
mov dl, byte [eax + 3]
test dl, dl
jne 0x55c8e6
mov byte [eax + 3], 0xff
jmp 0x55c919
mov bl, byte [esp + 0x17]
cmp byte [eax], bl
jne 0x55c919
cmp byte [eax + 1], bl
jne 0x55c919
cmp byte [eax + 2], bl
jne 0x55c919
cmp dl, 2
jne 0x55c919
mov edx, dword [esp + 0x88]
mov byte [eax + 3], 0
cmp dword [edx + 0x78], 0
jne 0x55c919
mov byte [eax], 0
mov byte [eax + 1], 0
mov byte [eax + 2], 0
mov eax, dword [esp + 0x98]
inc eax
cmp eax, ecx
mov dword [esp + 0x98], eax
jl 0x55c8d2
mov ecx, dword [edi + 4]
mov eax, dword [edi + 0xc]
mov edx, dword [edi]
mov edi, dword [edi + 8]
mov byte [esp + 0x98], 0
mov byte [esp + 0x99], 0
mov byte [esp + 0x9a], 0xff
mov byte [esp + 0x9b], 1
mov ebx, dword [esp + 0x98]
push ebx
sub eax, ecx
push eax
sub edi, edx
push edi
push 0
push 0
push esi
push eax
mov eax, dword [esp + 0xa8]
push edi
push ecx
push edx
push eax
call dword [sym.imp.MSIMG32.dll_AlphaBlend]
mov ecx, dword [esp + 0x28]
push ecx
push esi
call ebp
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
mov edx, dword [esp + 0x2c]
push edx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [esp + 0x94]
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x70
ret 0x18