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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x88
mov eax, dword [0x1036a00c]
xor eax, esp
mov dword [esp + 0x84], eax
mov eax, ecx
mov dword [esp + 0x38], 0
mov dword [esp + 0x18], eax
xorps xmm0, xmm0
movaps xmmword [esp + 0x28], xmm0
push esi
push edi
test eax, eax
je 0x10028151
lea ecx, [esp + 0x30]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetIconInfo]
test eax, eax
je 0x10028151
cmp dword [esp + 0x30], 0
je 0x10028151
mov eax, dword [esp + 0x40]
xor edi, edi
xor esi, esi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x10], esi
test eax, eax
je 0x10027f61
lea ecx, [esp + 0x50]
xorps xmm0, xmm0
push ecx
push 0x18
push eax
movaps xmmword [esp + 0x5c], xmm0
movq qword [esp + 0x6c], xmm0
call dword [sym.imp.GDI32.dll_GetObjectW]
mov eax, dword [esp + 0x40]
mov edi, dword [esp + 0x54]
mov esi, dword [esp + 0x58]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x10], esi
test eax, eax
je 0x10027f61
push eax
mov eax, dword [sym.imp.GDI32.dll_DeleteObject]
call eax
mov dword [esp + 0x40], 0
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x10027f78
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [esp + 0x3c], 0
test edi, edi
jle 0x10028151
test esi, esi
jle 0x10028151
push 0
imul esi, edi
call dword [sym.imp.USER32.dll_GetDC]
mov ecx, eax
mov dword [esp + 0x2c], 0
mov eax, dword [esp + 0x10]
xorps xmm0, xmm0
push 0
neg eax
mov dword [esp + 0x28], ecx
push 0
mov dword [esp + 0x60], eax
lea eax, [esp + 0x34]
push eax
push 0
lea eax, [esp + 0x60]
mov byte [esp + 0x1f], 0
push eax
push ecx
movlpd qword [esp + 0x7c], xmm0
movlpd qword [esp + 0x84], xmm0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x68], 0x28
mov dword [esp + 0x6c], edi
mov dword [esp + 0x74], 0x200001
mov dword [esp + 0x78], 0
call dword [sym.imp.GDI32.dll_CreateDIBSection]
mov dword [esp + 0x18], eax
test eax, eax
je 0x1002812e
lea eax, [esi*4]
push eax
push 0
push dword [esp + 0x34]
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
push dword [esp + 0x24]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [esp + 0x14], eax
test eax, eax
je 0x1002812e
push dword [esp + 0x18]
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
push 1
push 0
push 0
push dword [esp + 0x1c]
mov dword [esp + 0x38], eax
push edi
push dword [esp + 0x34]
push 0
push 0
push dword [esp + 0x34]
call dword [sym.imp.USER32.dll_DrawIconEx]
push 0x1036e680
push esi
call fcn.102affab
mov edi, eax
add esp, 8
test edi, edi
je 0x10028118
xor ecx, ecx
test esi, esi
jle 0x10028095
mov eax, dword [esp + 0x2c]
cmp dword [eax + ecx*4], 0
sete al
mov byte [ecx + edi], al
inc ecx
cmp ecx, esi
jl 0x10028082
lea eax, [esi*4]
push eax
push 0
push dword [esp + 0x34]
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
push 3
push 0
push 0
push dword [esp + 0x1c]
push dword [esp + 0x2c]
push dword [esp + 0x34]
push 0
push 0
push dword [esp + 0x34]
call dword [sym.imp.USER32.dll_DrawIconEx]
mov eax, dword [esp + 0x2c]
xor edx, edx
mov ecx, eax
test esi, esi
jle 0x100280e7
test dword [ecx], 0xff000000
jne 0x1002810a
inc edx
add ecx, 4
cmp edx, esi
jl 0x100280d7
xor ecx, ecx
test esi, esi
jle 0x1002810a
nop dword [eax]
cmp byte [ecx + edi], 0
je 0x100280fe
or dword [eax], 0xff000000
jmp 0x10028102
mov byte [eax + 3], 0
inc ecx
add eax, 4
cmp ecx, esi
jl 0x100280f0
push edi
mov byte [esp + 0x13], 1
call fcn.102aff7a
add esp, 4
push dword [esp + 0x28]
mov esi, dword [esp + 0x18]
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
push dword [esp + 0x24]
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
cmp byte [esp + 0xf], 0
mov eax, dword [esp + 0x18]
jne 0x10028153
test eax, eax
je 0x10028153
push eax
mov eax, dword [sym.imp.GDI32.dll_DeleteObject]
call eax
xor eax, eax
mov ecx, dword [esp + 0x8c]
pop edi
pop esi
xor ecx, esp
call fcn.102af9d5
mov esp, ebp
pop ebp
ret