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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x458
push esi
mov eax, ecx
lea ecx, [esp + 0xb4]
push edi
push ecx
mov dword [esp + 0x2c], eax
push dword [eax]
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0xc0]
mov esi, dword [esp + 0xc4]
push 0
mov dword [esp + 0x24], eax
mov dword [esp + 0x30], esi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push 0
mov edi, eax
mov dword [esp + 0x44], 0x28
mov eax, dword [esp + 0x24]
xorps xmm0, xmm0
movups xmmword [esp + 0x48], xmm0
push 0
mov dword [esp + 0x4c], eax
lea eax, [esi + esi*2]
push 0
mov dword [esp + 0x54], eax
lea eax, [esp + 0x4c]
push 0
push eax
push 0
mov dword [esp + 0x34], edi
movups xmmword [esp + 0x6c], xmm0
mov dword [esp + 0x64], 0x200001
movq qword [esp + 0x7c], xmm0
call dword [sym.imp.GDI32.dll_CreateDIBSection]
push eax
push edi
mov dword [esp + 0x44], eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x38], eax
mov edi, 0x19
call fcn.10030c00
imul ecx, eax, 0x31
mov eax, 0x80808081
mul ecx
mov esi, edx
shr esi, 7
cmp dword [0x1005dc18], 0
je 0x1004851a
mov edi, 0x70
call fcn.10030c00
imul ecx, eax, 0x62
mov eax, 0x80808081
mul ecx
mov esi, edx
shr esi, 7
mov ecx, dword [esp + 0x1c]
xor edx, edx
push 0xff
shl edi, 0x18
or edi, 0xffffff
push edi
mov edi, dword [esp + 0x34]
push edi
push dword [esp + 0x2c]
push edi
call fcn.1004c620
mov ecx, dword [esp + 0x30]
lea eax, [edi + edi]
add esp, 0x14
shl esi, 0x18
or esi, 0xffffff
mov dword [esp + 0x30], eax
xor edx, edx
push 0xff
push esi
push edi
push dword [esp + 0x2c]
push eax
call fcn.1004c620
mov eax, dword [0x1005e0a0]
add esp, 0x14
neg eax
sbb eax, eax
add eax, 2
mov dword [esp + 0x14], eax
lea eax, [esp + 0x18]
push eax
push eax
mov eax, dword [esp + 0x30]
push 0
push 1
push dword [eax]
call dword [sym.imp.USER32.dll_MonitorFromWindow]
push eax
call dword [sym.imp.api_ms_win_shcore_scaling_l1_1_1.dll_GetDpiForMonitor]
test eax, eax
js 0x100485a2
mov eax, dword [esp + 0x18]
jmp 0x100485d4
mov eax, dword [0x1005e1fc]
mov dword [esp + 0x10], eax
test eax, eax
jne 0x100485d8
push eax
call dword [sym.imp.USER32.dll_GetDC]
mov esi, eax
push 0x58
push esi
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push esi
push 0
mov dword [0x1005e1fc], eax
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, dword [0x1005e1fc]
mov dword [esp + 0x10], eax
mov ecx, dword [0x1005e0a8]
cmp ecx, 1
jne 0x100485f2
cmp dword [0x1005e0a0], 0
jne 0x10048616
mov dword [esp + 0x14], ecx
jmp 0x10048607
test ecx, ecx
je 0x10048616
cmp dword [0x1005e0a0], 0
jne 0x10048616
mov dword [esp + 0x14], 2
push 4
push 7
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov dword [esp + 0x10], eax
xor ecx, ecx
mov eax, 0xffffff
cmp dword [0x1005dc18], ecx
push ecx
push ecx
push ecx
cmovne eax, ecx
push ecx
mov dword [esp + 0x28], eax
lea eax, [esp + 0x268]
push 0x104
push eax
call dword [sym.imp.UxTheme.dll_GetCurrentThemeName]
push 0x100530fc
mov dword [esp + 0x38], str.TaskbarPearl
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
push 0x45
push edi
call esi
push 7
push edi
mov dword [0x1005e180], eax
call esi
push 0x64
lea ecx, [esp + 0x194]
mov dword [0x1005e17c], eax
push ecx
push 0x64
lea ecx, [esp + 0xd4]
push ecx
lea ecx, [esp + 0x268]
push ecx
call eax
mov eax, dword [esp + 0x14]
xorps xmm0, xmm0
movaps xmmword [esp + 0x40], xmm0
mov dword [esp + 0x40], eax
lea eax, [esp + 0x34]
mov dword [esp + 0x98], eax
lea eax, [esp + 0x258]
mov dword [esp + 0x8c], eax
lea eax, [esp + 0xc8]
mov dword [esp + 0x90], eax
lea eax, [esp + 0x190]
mov dword [esp + 0x94], eax
lea eax, [esp + 0x40]
mov dword [esp + 0xb0], eax
mov eax, dword [0x1005e180]
movaps xmmword [esp + 0x50], xmm0
movq qword [esp + 0x60], xmm0
mov dword [esp + 0x88], 0
movlpd qword [esp + 0xa0], xmm0
movlpd qword [esp + 0xa8], xmm0
mov dword [esp + 0x9c], 1
mov dword [esp + 0xb4], 0x100320b0
test eax, eax
je 0x10048792
lea ecx, [esp + 0x88]
push ecx
call eax
mov ecx, dword [esp + 0x10]
mov edx, 0xbbb
cmp dword [esp + 0x48], ecx
mov eax, 0xbba
cmovbe eax, edx
cmp dword [esp + 0x4c], ecx
mov edx, 0xbbc
cmovbe eax, edx
cmp dword [esp + 0x50], ecx
mov edx, 0xbbd
cmovbe eax, edx
cmp dword [esp + 0x54], ecx
mov edx, 0xbbe
cmovbe eax, edx
cmp dword [esp + 0x58], ecx
mov edx, 0xbc1
cmovbe eax, edx
cmp dword [esp + 0x5c], ecx
mov edx, 0xbc2
cmovbe eax, edx
mov dword [esp + 0x60], eax
lea eax, [esp + 0x88]
push eax
call dword [0x1005e180]
mov esi, dword [esp + 0x64]
mov dword [esp + 0x28], esi
test esi, esi
je 0x100487b1
mov edx, dword [esp + 0x18]
cmp edx, 0xffffff
je 0x100487b1
mov ecx, esi
call fcn.1004c4e0
push 0
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push esi
push eax
mov dword [esp + 0x1c], eax
call dword [sym.imp.GDI32.dll_SelectObject]
lea eax, [esp + 0x70]
push eax
push 0x18
push esi
call dword [sym.imp.GDI32.dll_GetObjectW]
mov edi, dword [esp + 0x74]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x78]
sub eax, edi
cdq
sub eax, edx
mov dword [esp + 0x20], 0x1ff0000
mov esi, dword [esp + 0x20]
push esi
push ecx
push edi
sar eax, 1
push 0
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x3c]
push 0
push dword [esp + 0x28]
sub eax, ecx
cdq
push ecx
push edi
mov edi, dword [sym.imp.GDI32.dll_GdiAlphaBlend]
sub eax, edx
sar eax, 1
push eax
push dword [esp + 0x34]
mov dword [esp + 0x40], eax
push dword [esp + 0x44]
call edi
mov ecx, dword [esp + 0x78]
mov eax, dword [esp + 0x74]
push esi
push ecx
push eax
push 0
push 0
push dword [esp + 0x28]
push ecx
push eax
mov eax, dword [esp + 0x38]
add eax, dword [esp + 0x50]
push eax
push dword [esp + 0x34]
push dword [esp + 0x44]
call edi
xor eax, eax
cmp dword [0x1005dc18], eax
push 0
setne al
add eax, 3
mov dword [esp + 0x34], eax
lea eax, [esp + 0x24]
push eax
call dword [0x1005dc7c]
push 0
push 0
push dword [esp + 0x38]
lea eax, [esp + 0x2c]
push eax
call dword [0x1005dc78]
movzx edx, al
shl edx, 8
movzx ecx, ax
shr ecx, 8
or edx, ecx
mov ecx, eax
shr ecx, 0x10
shl edx, 8
movzx ecx, cl
or edx, ecx
mov ecx, dword [esp + 0x28]
and eax, 0xff000000
or edx, eax
call fcn.1004c4e0
mov ecx, dword [esp + 0x78]
mov eax, dword [esp + 0x74]
push esi
mov esi, dword [esp + 0x18]
push ecx
push eax
push 0
push 0
push esi
push ecx
push eax
mov eax, dword [esp + 0x38]
add eax, dword [esp + 0x4c]
push eax
push dword [esp + 0x34]
push dword [esp + 0x44]
call edi
push dword [esp + 0x28]
call dword [sym.imp.GDI32.dll_DeleteObject]
push esi
mov esi, dword [sym.imp.GDI32.dll_DeleteDC]
call esi
push dword [esp + 0x38]
mov edi, dword [esp + 0x20]
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
push edi
call esi
mov eax, dword [esp + 0x3c]
pop edi
pop esi
mov esp, ebp
pop ebp
ret