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

Disassembly:
sub esp, 0x70
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x78]
call dword [sym.imp.USER32.dll_GetIconInfo]
test eax, eax
je 0x57fa5a
push ebx
push ebp
push esi
push edi
xor ebx, ebx
push ebx
mov ebp, ebx
call dword [sym.imp.USER32.dll_GetDC]
push 0x2c
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x58]
push ebx
push eax
call fcn.0062e010
xor eax, eax
mov dword [esp + 0x60], 0x28
add esp, 0xc
mov dword [esp + 0x64], ebx
inc eax
mov word [esp + 0x60], ax
mov eax, dword [esp + 0x88]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x8c]
push 0x20
mov dword [esp + 0x60], eax
pop eax
mov word [esp + 0x62], ax
lea eax, [esp + 0x3c]
push eax
push 0x18
push dword [esp + 0x40]
call dword [sym.imp.GDI32.dll_GetObjectA]
mov edi, dword [esp + 0x5c]
imul edi, dword [esp + 0x58]
shl edi, 2
push edi
call fcn.0045b411
push edi
mov dword [esp + 0x20], eax
call fcn.0045b411
push edi
mov dword [esp + 0x18], eax
call fcn.0045b411
mov ebx, eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x20], ebx
test eax, eax
je 0x57fa12
cmp dword [esp + 0x14], ebp
je 0x57fa12
test ebx, ebx
je 0x57fa12
mov esi, dword [sym.imp.GDI32.dll_GetDIBits]
lea ecx, [esp + 0x54]
push ebp
push ecx
push eax
push dword [esp + 0x68]
push ebp
push dword [esp + 0x4c]
push dword [esp + 0x30]
call esi
cmp eax, dword [esp + 0x5c]
jne 0x57fa12
push ebp
lea eax, [esp + 0x58]
push eax
push dword [esp + 0x1c]
push dword [esp + 0x68]
push ebp
push dword [esp + 0x48]
push dword [esp + 0x30]
call esi
mov ecx, dword [esp + 0x5c]
cmp eax, ecx
jne 0x57fa12
mov ebp, dword [esp + 0x1c]
xor ah, ah
mov edx, dword [esp + 0x58]
xor al, al
mov byte [esp + 0x13], ah
mov esi, ebx
mov byte [esp + 0x12], al
test ecx, ecx
je 0x57f97d
mov ebx, dword [esp + 0x14]
test edx, edx
je 0x57f96c
mov eax, dword [ebx]
add ebx, 4
test eax, eax
je 0x57f943
and dword [esi], 0
mov al, 1
mov byte [esp + 0x12], al
jmp 0x57f95d
mov eax, dword [ebp]
test eax, 0xff000000
je 0x57f952
mov byte [esp + 0x13], 1
or eax, 0xff000000
mov dword [esi], eax
mov al, byte [esp + 0x12]
add ebp, 4
add esi, 4
sub edx, 1
jne 0x57f92f
mov edx, dword [esp + 0x58]
sub ecx, 1
jne 0x57f92b
mov ecx, dword [esp + 0x5c]
mov ebx, dword [esp + 0x20]
mov ah, byte [esp + 0x13]
push 0x20
pop esi
cmp word [esp + 0x4e], si
jne 0x57f9f3
test al, al
jne 0x57f9f3
test ah, ah
jne 0x57f995
mov ebp, dword [esp + 0x38]
jmp 0x57fa12
lea eax, [esp + 0x24]
neg ecx
push eax
push esi
push ecx
push edx
call fcn.0057ece3
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 + 0x98]
push dword [esp + 0x98]
push dword [esp + 0x98]
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 0x57fa12
lea eax, [esp + 0x20]
neg ecx
push eax
push esi
push ecx
push edx
call fcn.0057ece3
push edi
push ebx
push dword [esp + 0x28]
mov ebp, eax
call fcn.0062bfc0
add esp, 0xc
push 1
push dword [esp + 0x20]
call fcn.0045b404
push 1
push dword [esp + 0x18]
call fcn.0045b404
push 1
push ebx
call fcn.0045b404
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 + 0x38]
je 0x57fa4e
push dword [esp + 0x38]
call esi
push dword [esp + 0x34]
call esi
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
add esp, 0x70
ret 0xc