Function at 0x49681c
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 0x496c5b
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 [0x6c8edc]
mov dword [esp + 0x24], ebx
cmp eax, dword [ebx + 4]
jle 0x4968c2
mov edi, 0x6c8edc
push edi
call fcn.0049a15e
cmp dword [0x6c8edc], 0xffffffff
pop ecx
jne 0x4968c2
mov eax, dword [esp + 0x18]
sub eax, dword [esp + 0x10]
push edi
mov dword [0x6c8ee0], eax
call fcn.0049a11f
pop ecx
mov eax, dword [0x6c8ee4]
cmp eax, dword [ebx + 4]
jle 0x4968f8
mov edi, 0x6c8ee4
push edi
call fcn.0049a15e
cmp dword [0x6c8ee4], 0xffffffff
pop ecx
jne 0x4968f8
mov eax, dword [esp + 0x1c]
sub eax, dword [esp + 0x14]
push edi
mov dword [0x6c8ee8], eax
call fcn.0049a11f
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, dword [esp + 0x18]
push 0x12
pop edi
test ecx, ecx
jne 0x49690a
xor eax, eax
jmp 0x496913
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 0x496929
xor eax, eax
jmp 0x496935
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.005e1e60
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 [0x6c8eec]
cmp ecx, dword [eax + 4]
jle 0x496a21
push 0x6c8eec
call fcn.0049a15e
cmp dword [0x6c8eec], 0xffffffff
pop ecx
jne 0x496a21
lea eax, [esp + 0x30]
mov ecx, 0x6c8ef0
push eax
push dword [esp + 0xa4]
call fcn.0048e2c8
push 0x613ad3
call fcn.0049a4b5
mov dword [esp], 0x6c8eec
call fcn.0049a11f
pop ecx
mov eax, dword [ebp + 8]
test eax, eax
jne 0x496b4f
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 [0x6c8b88], ebx
mov dword [0x6c8b80], ebx
cmp dword [esp + 0x48], ecx
jne 0x496a87
cmp dword [esp + 0x4c], eax
je 0x496a97
mov ecx, dword [esp + 0x38]
cmp dword [esp + 0x40], ecx
jne 0x496aaa
cmp dword [esp + 0x4c], eax
jne 0x496aaa
sub ecx, dword [esp + 0x10]
mov eax, ecx
push 0x12
cdq
pop ecx
idiv ecx
mov dword [0x6c8b88], eax
jmp 0x496ad7
cmp dword [esp + 0x48], ecx
jne 0x496ad7
mov ecx, dword [esp + 0x34]
cmp dword [esp + 0x4c], ecx
jne 0x496ac2
sub ecx, dword [esp + 0x14]
mov eax, ecx
jmp 0x496acc
cmp dword [esp + 0x44], eax
jne 0x496ad7
sub eax, dword [esp + 0x14]
push 0x12
cdq
pop ecx
idiv ecx
mov dword [0x6c8b80], 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 [0x6c8ef0]
call ebx
push dword [esp + 0x24]
push dword [esp + 0x58]
call dword [sym.imp.USER32.dll_ReleaseDC]
mov ebx, dword [esp + 0x58]
jmp 0x496b81
push 0x12
pop ecx
cmp eax, ecx
jg 0x496b81
push 0xcc0020
push dword [0x6c8ee8]
push dword [0x6c8ee0]
push 0
push 0
push dword [0x6c8ef0]
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 [0x6c8b88]
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 [0x6c8b80]
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 [0x6a04c8]
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 0x496c54
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