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

Disassembly:
push 0xffffffffffffffff
push 0x5e4950
mov eax, dword fs:[0]
push eax
sub esp, 0x88
push ebx
push ebp
push esi
push edi
mov eax, dword [0x72d630]
xor eax, esp
push eax
lea eax, [esp + 0x9c]
mov dword fs:[0], eax
mov ebp, ecx
mov dword [esp + 0x20], ebp
xor edi, edi
cmp dword [ebp + 0x50], edi
je 0x54d1c7
call fcn.0055ef70
push 0x1f
mov ecx, eax
call fcn.0055e830
mov ecx, eax
shr eax, 0x10
movzx edx, al
mov dword [esp + 0x14], edx
mov edx, ecx
shr edx, 8
fild dword [esp + 0x14]
movzx ecx, cl
fld qword [0x69d730]
fnstcw word [esp + 0x14]
movzx eax, word [esp + 0x14]
fmul st(1), st(0)
fxch st(1)
or eax, 0xc00
mov dword [esp + 0x18], eax
fldcw word [esp + 0x18]
fistp dword [esp + 0x18]
mov al, byte [esp + 0x18]
movzx ebx, al
movzx eax, dl
fldcw word [esp + 0x14]
mov dword [esp + 0x18], eax
shl ebx, 8
fild dword [esp + 0x18]
fnstcw word [esp + 0x14]
fmul st(1)
movzx eax, word [esp + 0x14]
or eax, 0xc00
mov dword [esp + 0x18], eax
fldcw word [esp + 0x18]
fistp dword [esp + 0x18]
movzx edx, byte [esp + 0x18]
movzx eax, dl
fldcw word [esp + 0x14]
or ebx, eax
mov dword [esp + 0x18], ecx
shl ebx, 8
lea ecx, [esp + 0x38]
fild dword [esp + 0x18]
fnstcw word [esp + 0x14]
fmulp st(1)
movzx eax, word [esp + 0x14]
or eax, 0xc00
mov dword [esp + 0x18], eax
fldcw word [esp + 0x18]
fistp dword [esp + 0x18]
movzx edx, byte [esp + 0x18]
movzx eax, dl
fldcw word [esp + 0x14]
or ebx, eax
call fcn.00549d60
mov ecx, ebp
mov dword [esp + 0xa4], edi
call fcn.0054a020
push eax
lea ecx, [esp + 0x3c]
call fcn.0054c9c0
lea ecx, [esp + 0x38]
call fcn.00548da0
test eax, eax
jne 0x54d0ed
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x3c]
call fcn.00548de0
push eax
call dword [sym.imp.USER32.dll_GetIconInfo]
test eax, eax
je 0x54d1a6
mov edx, dword [esp + 0x34]
push edx
call sub.mfc90u.dll_CGdiObject::FromHandle
push eax
push edi
lea ecx, [esp + 0x7c]
call fcn.0055cec0
mov eax, dword [esp + 0x30]
push eax
mov byte [esp + 0xa8], 1
call sub.mfc90u.dll_CGdiObject::FromHandle
push eax
push edi
lea ecx, [esp + 0x90]
call fcn.0055cec0
mov edx, dword [esp + 0x34]
lea ecx, [esp + 0x5c]
push ecx
push 0x18
push edx
call dword [sym.imp.GDI32.dll_GetObjectW]
cmp dword [esp + 0x60], edi
jle 0x54d0a2
mov ebp, dword [sym.imp.GDI32.dll_GetPixel]
mov eax, dword [esp + 0x64]
xor esi, esi
test eax, eax
jle 0x54d097
lea esp, [esp]
mov eax, dword [esp + 0x8c]
push esi
push edi
push eax
call ebp
test eax, eax
jne 0x54d08e
mov ecx, dword [esp + 0x78]
push ebx
push esi
push edi
push ecx
call dword [sym.imp.GDI32.dll_SetPixel]
mov eax, dword [esp + 0x64]
inc esi
cmp esi, eax
jl 0x54d070
inc edi
cmp edi, dword [esp + 0x60]
jl 0x54d066
mov ebp, dword [esp + 0x20]
lea ecx, [esp + 0x88]
call fcn.0055cfd0
lea ecx, [esp + 0x74]
mov byte [esp + 0xa4], 0
call fcn.0055cfd0
lea edx, [esp + 0x24]
push edx
call dword [sym.imp.USER32.dll_CreateIconIndirect]
push eax
lea ecx, [esp + 0x3c]
call fcn.0054bc40
mov eax, dword [esp + 0x30]
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
push eax
call esi
mov ecx, dword [esp + 0x34]
push ecx
call esi
jmp 0x54d1a6
lea ecx, [esp + 0x38]
call fcn.0054bf20
test eax, eax
je 0x54d1a6
lea ecx, [esp + 0x38]
call fcn.0054bf20
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x3c]
mov esi, eax
call fcn.00548df0
mov eax, dword [esp + 0x1c]
imul eax, dword [esp + 0x18]
cmp eax, edi
jbe 0x54d1a6
movzx ecx, bl
mov dword [esp + 0x18], ecx
mov cx, bx
shr cx, 8
mov word [esp + 0x14], cx
shr ebx, 0x10
mov ebp, eax
movzx edi, byte [esi + 3]
mov ecx, dword [esp + 0x18]
imul ecx, edi
mov eax, 0x80808081
imul ecx
add edx, ecx
movzx ecx, byte [esp + 0x14]
sar edx, 7
imul ecx, edi
mov eax, edx
shr eax, 0x1f
add eax, edx
mov byte [esi], al
mov eax, 0x80808081
imul ecx
add edx, ecx
sar edx, 7
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov byte [esi + 1], cl
movzx ecx, bl
imul ecx, edi
mov eax, 0x80808081
imul ecx
add edx, ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
mov byte [esi + 2], al
add esi, 4
sub ebp, 1
jne 0x54d140
mov ebp, dword [esp + 0x20]
lea ecx, [esp + 0x38]
push ecx
lea ecx, [ebp + 0x78]
call fcn.0054c9c0
lea ecx, [esp + 0x38]
mov dword [esp + 0xa4], 0xffffffff
call fcn.0054bcc0
mov ecx, dword [esp + 0x9c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x94
ret