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

Disassembly:
sub esp, 0x78
lea eax, [esp + 0x20]
push eax
mov eax, dword [esp + 0x80]
push eax
call dword [sym.imp.USER32.dll_GetIconInfo]
test eax, eax
je 0x5c0224
push ebx
push ebp
push esi
push edi
xor ebx, ebx
push ebx
mov ebp, ebx
call dword [sym.imp.USER32.dll_GetDC]
mov dword [esp + 0x18], eax
xor eax, eax
inc eax
mov dword [esp + 0x70], ebx
mov word [esp + 0x68], ax
mov eax, dword [esp + 0x90]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x94]
push 0x20
mov dword [esp + 0x2c], eax
mov dword [esp + 0x68], eax
pop eax
mov word [esp + 0x6a], ax
lea eax, [esp + 0x44]
push eax
push 0x18
push dword [esp + 0x48]
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], ebx
mov dword [esp + 0x88], ebx
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x90], ebx
mov dword [esp + 0x68], 0x28
mov dword [esp + 0x78], ebx
call dword [sym.imp.GDI32.dll_GetObjectA]
mov edi, dword [esp + 0x64]
imul edi, dword [esp + 0x60]
shl edi, 2
push edi
call fcn.0046f1ab
push edi
mov dword [esp + 0x20], eax
call fcn.0046f1ab
push edi
mov dword [esp + 0x18], eax
call fcn.0046f1ab
mov ebx, eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x20], ebx
test eax, eax
je 0x5c01dc
cmp dword [esp + 0x14], ebp
je 0x5c01dc
test ebx, ebx
je 0x5c01dc
mov esi, dword [sym.imp.GDI32.dll_GetDIBits]
lea ecx, [esp + 0x5c]
push ebp
push ecx
push eax
push dword [esp + 0x70]
push ebp
push dword [esp + 0x54]
push dword [esp + 0x30]
call esi
cmp eax, dword [esp + 0x64]
jne 0x5c01dc
push ebp
lea eax, [esp + 0x60]
push eax
push dword [esp + 0x1c]
push dword [esp + 0x70]
push ebp
push dword [esp + 0x50]
push dword [esp + 0x30]
call esi
mov ecx, dword [esp + 0x64]
cmp eax, ecx
jne 0x5c01dc
mov esi, dword [esp + 0x1c]
xor al, al
mov ebp, dword [esp + 0x14]
xor ah, ah
mov edx, dword [esp + 0x60]
mov byte [esp + 0x12], al
mov byte [esp + 0x13], ah
test ecx, ecx
je 0x5c014d
test edx, edx
je 0x5c0138
mov eax, dword [ebp]
add ebp, 4
test eax, eax
je 0x5c0114
mov byte [esp + 0x13], 1
xor eax, eax
jmp 0x5c0127
mov eax, dword [esi]
test eax, 0xff000000
je 0x5c0122
mov byte [esp + 0x12], 1
or eax, 0xff000000
mov dword [ebx], eax
add esi, 4
add ebx, 4
sub edx, 1
jne 0x5c0101
mov edx, dword [esp + 0x60]
sub ecx, 1
jne 0x5c00fd
mov ecx, dword [esp + 0x64]
mov ebx, dword [esp + 0x20]
mov al, byte [esp + 0x12]
mov ah, byte [esp + 0x13]
push 0x20
pop esi
cmp word [esp + 0x56], si
jne 0x5c01bd
test ah, ah
jne 0x5c01bd
test al, al
jne 0x5c0165
mov ebp, dword [esp + 0x40]
jmp 0x5c01dc
lea eax, [esp + 0x24]
neg ecx
push eax
push esi
push ecx
push edx
call fcn.005be603
push dword [esp + 0x18]
mov ebp, eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edi, dword [sym.imp.GDI32.dll_SelectObject]
mov ebx, eax
push ebp
push ebx
call edi
push 3
mov esi, eax
xor eax, eax
push eax
push eax
push dword [esp + 0x34]
push dword [esp + 0x3c]
push dword [esp + 0xa0]
push eax
push eax
push ebx
call dword [sym.imp.USER32.dll_DrawIconEx]
push esi
push ebx
call edi
push ebx
call dword [sym.imp.GDI32.dll_DeleteDC]
mov ebx, dword [esp + 0x20]
jmp 0x5c01dc
lea eax, [esp + 0x2c]
neg ecx
push eax
push esi
push ecx
push edx
call fcn.005be603
push edi
push ebx
push dword [esp + 0x34]
mov ebp, eax
call fcn.0068b600
add esp, 0xc
push 1
push dword [esp + 0x20]
call fcn.0046f19e
push 1
push dword [esp + 0x18]
call fcn.0046f19e
push 1
push ebx
call fcn.0046f19e
push dword [esp + 0x18]
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
cmp ebp, dword [esp + 0x40]
je 0x5c0218
push dword [esp + 0x40]
call esi
push dword [esp + 0x3c]
call esi
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
add esp, 0x78
ret 0xc