Function at 0x495b60
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xdc
and dword [esp + 0x94], 0
push ebx
push esi
mov ebx, ecx
lea ecx, [esp + 0xa4]
push edi
push ecx
mov dword [esp + 0x30], ebx
mov eax, dword [ebx + 4]
push eax
mov dword [esp + 0xac], eax
call dword [sym.imp.USER32.dll_BeginPaint]
push eax
mov dword [esp + 0xa4], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov esi, eax
test esi, esi
je 0x495f9f
lea eax, [esp + 0x10]
xorps xmm0, xmm0
push eax
push dword [ebx + 4]
movups xmmword [esp + 0x18], xmm0
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword fs:[0x2c]
mov ebx, dword [eax]
mov eax, dword [0x6c7e5c]
mov dword [esp + 0x24], ebx
cmp eax, dword [ebx + 4]
jle 0x495c06
mov edi, 0x6c7e5c
push edi
call fcn.00499481
cmp dword [0x6c7e5c], 0xffffffff
pop ecx
jne 0x495c06
mov eax, dword [esp + 0x18]
sub eax, dword [esp + 0x10]
push edi
mov dword [0x6c7e60], eax
call fcn.00499442
pop ecx
mov eax, dword [0x6c7e64]
cmp eax, dword [ebx + 4]
jle 0x495c3c
mov edi, 0x6c7e64
push edi
call fcn.00499481
cmp dword [0x6c7e64], 0xffffffff
pop ecx
jne 0x495c3c
mov eax, dword [esp + 0x1c]
sub eax, dword [esp + 0x14]
push edi
mov dword [0x6c7e68], eax
call fcn.00499442
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, dword [esp + 0x18]
push 0x12
pop edi
test ecx, ecx
jne 0x495c4e
xor eax, eax
jmp 0x495c57
mov eax, ebx
sub eax, dword [esp + 0x10]
cdq
idiv edi
mov edi, dword [esp + 0x1c]
sub ebx, eax
sub ebx, dword [esp + 0x10]
mov dword [esp + 0x58], ebx
test ecx, ecx
jne 0x495c6d
xor eax, eax
jmp 0x495c79
mov eax, edi
sub eax, dword [esp + 0x14]
push 0x12
cdq
pop ecx
idiv ecx
and dword [esp + 0x50], 0
sub edi, eax
sub edi, dword [esp + 0x14]
lea eax, [esp + 0x78]
push 0x28
push 0
push eax
mov dword [esp + 0x34], edi
call fcn.005e1180
add esp, 0xc
mov dword [esp + 0x78], 0x28
xor eax, eax
mov dword [esp + 0x7c], ebx
inc eax
mov dword [esp + 0x80], edi
xor ecx, ecx
mov word [esp + 0x84], ax
push 0x20
pop eax
push ecx
push ecx
mov word [esp + 0x8e], ax
lea eax, [esp + 0x58]
push eax
push ecx
lea eax, [esp + 0x88]
mov dword [esp + 0x98], ecx
push eax
push ecx
call dword [sym.imp.GDI32.dll_CreateDIBSection]
mov edi, eax
push edi
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [esp + 0x18]
sub ecx, dword [esp + 0x10]
and dword [esp + 0x30], 0
and dword [esp + 0x34], 0
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0x1c]
sub ecx, dword [esp + 0x14]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x3c], ecx
mov ecx, dword [0x6c7e6c]
cmp ecx, dword [eax + 4]
jle 0x495d65
push 0x6c7e6c
call fcn.00499481
cmp dword [0x6c7e6c], 0xffffffff
pop ecx
jne 0x495d65
lea eax, [esp + 0x30]
mov ecx, 0x6c7e70
push eax
push dword [esp + 0xa4]
call fcn.0048d60a
push 0x612c9c
call fcn.004997d8
mov dword [esp], 0x6c7e6c
call fcn.00499442
pop ecx
mov eax, dword [ebp + 8]
test eax, eax
jne 0x495e93
xor ebx, ebx
push ebx
push str.Shell_TrayWnd
push ebx
push ebx
call dword [sym.imp.USER32.dll_FindWindowExW]
lea ecx, [esp + 0x40]
xorps xmm0, xmm0
push ecx
push eax
movups xmmword [esp + 0x48], xmm0
call dword [sym.imp.USER32.dll_GetWindowRect]
push ebx
lea eax, [esp + 0x34]
xorps xmm0, xmm0
push eax
push ebx
push 0x30
movups xmmword [esp + 0x40], xmm0
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x3c]
mov dword [0x6c7b14], ebx
mov dword [0x6c7b18], ebx
cmp dword [esp + 0x48], ecx
jne 0x495dcb
cmp dword [esp + 0x4c], eax
je 0x495ddb
mov ecx, dword [esp + 0x38]
cmp dword [esp + 0x40], ecx
jne 0x495dee
cmp dword [esp + 0x4c], eax
jne 0x495dee
sub ecx, dword [esp + 0x10]
mov eax, ecx
push 0x12
cdq
pop ecx
idiv ecx
mov dword [0x6c7b14], eax
jmp 0x495e1b
cmp dword [esp + 0x48], ecx
jne 0x495e1b
mov ecx, dword [esp + 0x34]
cmp dword [esp + 0x4c], ecx
jne 0x495e06
sub ecx, dword [esp + 0x14]
mov eax, ecx
jmp 0x495e10
cmp dword [esp + 0x44], eax
jne 0x495e1b
sub eax, dword [esp + 0x14]
push 0x12
cdq
pop ecx
idiv ecx
mov dword [0x6c7b18], eax
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + 0x30]
push eax
mov dword [esp + 0x58], eax
call dword [sym.imp.USER32.dll_GetDC]
mov ecx, dword [esp + 0x1c]
sub ecx, dword [esp + 0x14]
push 0xcc0020
push ebx
push ebx
push eax
push ecx
mov ecx, dword [esp + 0x2c]
sub ecx, dword [esp + 0x24]
push ecx
push ebx
push ebx
mov ebx, dword [sym.imp.GDI32.dll_BitBlt]
push esi
mov dword [esp + 0x48], eax
call ebx
mov eax, dword [esp + 0x1c]
xor ecx, ecx
sub eax, dword [esp + 0x14]
push 0xcc0020
push ecx
push ecx
push dword [esp + 0x30]
push eax
mov eax, dword [esp + 0x2c]
sub eax, dword [esp + 0x24]
push eax
push ecx
push ecx
push dword [0x6c7e70]
call ebx
push dword [esp + 0x24]
push dword [esp + 0x58]
call dword [sym.imp.USER32.dll_ReleaseDC]
mov ebx, dword [esp + 0x58]
jmp 0x495ec5
push 0x12
pop ecx
cmp eax, ecx
jg 0x495ec5
push 0xcc0020
push dword [0x6c7e68]
push dword [0x6c7e60]
push 0
push 0
push dword [0x6c7e70]
push dword [esp + 0x40]
push ebx
push 0
push 0
push esi
call dword [sym.imp.GDI32.dll_StretchBlt]
mov eax, dword [esp + 0x18]
sub eax, dword [esp + 0x10]
sub eax, ebx
mov ecx, dword [esp + 0x28]
cdq
sub eax, edx
mov dword [esp + 0x6c], ecx
sar eax, 1
add eax, dword [esp + 0x10]
add eax, dword [0x6c7b14]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x1c]
sub eax, dword [esp + 0x14]
sub eax, ecx
mov dword [esp + 0x68], ebx
cdq
sub eax, edx
mov byte [esp + 0x23], 1
sar eax, 1
add eax, dword [esp + 0x14]
add eax, dword [0x6c7b18]
mov dword [esp + 0x74], eax
xor eax, eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov word [esp + 0x20], ax
imul eax, dword [ebp + 8], 0x50
push 0x12
pop ecx
push 0x64
cdq
idiv ecx
pop ecx
sub ecx, eax
push 2
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
mulsd xmm0, qword [0x69f298]
cvttsd2si eax, xmm0
mov byte [esp + 0x26], al
lea eax, [esp + 0x24]
push eax
push 0
lea eax, [esp + 0x6c]
push eax
push esi
lea eax, [esp + 0x7c]
push eax
lea eax, [esp + 0x88]
push eax
mov eax, dword [esp + 0x48]
push dword [esp + 0xbc]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_UpdateLayeredWindow]
push dword [esp + 0x5c]
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov ebx, dword [sym.imp.GDI32.dll_DeleteObject]
push edi
call ebx
xor ecx, ecx
test eax, eax
cmovne edi, ecx
test edi, edi
je 0x495f98
push edi
call ebx
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
lea eax, [esp + 0xa8]
push eax
push dword [esp + 0xa8]
call dword [sym.imp.USER32.dll_EndPaint]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4