Function at 0x180120940
Capabilities:
Find taskbar

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x78]
sub rsp, 0x150
mov qword [rbp - 0x60], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
movaps xmmword [rax - 0x58], xmm8
mov rax, qword [0x1804cc010]
xor rax, rsp
mov qword [rbp + 0x18], rax
mov r15, rcx
cmp qword [rcx + 0xe0], 0
je 0x180120bc8
xorps xmm0, xmm0
movdqu xmmword [rbp + 8], xmm0
mov rcx, qword [rcx + 8]
call qword [sym.imp.USER32.dll_GetParent]
mov rbx, rax
mov rcx, rax
call qword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x180120bc8
mov eax, dword [r15 + 0x17c]
dec eax
cmp eax, 1
jbe 0x180120bc8
lea rdx, [rbp + 8]
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetClientRect]
xor r12d, r12d
mov qword [rsp + 0x20], r12
lea rcx, [rsp + 0x20]
call qword [sym.imp.USER32.dll_GetCursorPos]
xor dil, dil
xor edx, edx
lea rcx, str.Shell_TrayWnd
call qword [sym.imp.USER32.dll_FindWindowW]
lea r13d, [r12 + 1]
test rax, rax
je 0x180120a47
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x48], xmm0
lea rdx, [rbp - 0x48]
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowRect]
test eax, eax
je 0x180120a47
mov rax, qword [rsp + 0x20]
cmp eax, dword [rbp - 0x48]
jle 0x180120a47
cmp eax, dword [rbp - 0x40]
jge 0x180120a47
mov eax, dword [rsp + 0x24]
cmp eax, dword [rbp - 0x44]
jle 0x180120a47
movzx edi, dil
cmp eax, dword [rbp - 0x3c]
cmovl edi, r13d
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x180120bc8
movzx eax, byte [0x1804cd541]
mov ebx, 0x64
test al, al
je 0x180120a72
mov r8d, ebx
jmp 0x180120a90
mov r8d, 0x60
mov edx, dword [0x1804cf338]
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_MulDiv]
mov r8d, eax
movzx eax, byte [0x1804cd541]
mov edx, dword [rbp + 8]
mov rcx, qword [rsp + 0x20]
sub edx, ecx
cmp edx, r8d
jg 0x180120b37
test al, al
je 0x180120aab
mov edx, ebx
jmp 0x180120acd
mov r8d, 0x60
mov edx, dword [0x1804cf338]
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_MulDiv]
mov edx, eax
mov rcx, qword [rsp + 0x20]
movzx eax, byte [0x1804cd541]
sub ecx, dword [rbp + 0x10]
cmp ecx, edx
jg 0x180120b37
test al, al
je 0x180120add
mov r8d, ebx
jmp 0x180120afb
mov r8d, 0x60
mov edx, dword [0x1804ce77c]
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_MulDiv]
mov r8d, eax
movzx eax, byte [0x1804cd541]
mov ecx, dword [rbp + 0xc]
mov edx, dword [rsp + 0x24]
sub ecx, edx
cmp ecx, r8d
jg 0x180120b37
test al, al
jne 0x180120b27
mov r8d, 0x60
mov edx, dword [0x1804ce77c]
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_MulDiv]
mov ebx, eax
mov edx, dword [rsp + 0x24]
sub edx, dword [rbp + 0x14]
cmp edx, ebx
jg 0x180120b37
test dil, dil
je 0x180120bc8
mov qword [rbp - 8], r12
mov qword [rbp], r12
mov qword [rbp - 8], r12
mov qword [rbp], 7
mov word [rbp - 0x18], r12w
mov rcx, qword [r15 + 0x2f8]
test rcx, rcx
je 0x180120b69
mov rax, qword [rcx]
lea rdx, [rbp - 0x18]
call qword [rax + 0xe8]
cmp qword [rbp - 8], 0
jne 0x180120c06
mov rdx, qword [rbp]
cmp rdx, 8
jb 0x180120bb7
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180120bb2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180120bb2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180386950
mov qword [rbp - 8], r12
mov qword [rbp], 7
mov word [rbp - 0x18], r12w
xor al, al
mov rcx, qword [rbp + 0x18]
xor rcx, rsp
call fcn.1803868f0
lea r11, [rsp + 0x150]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x38], r12
lea r8, [rbp - 0x18]
mov rdx, qword [rsp + 0x30]
lea rcx, [rsp + 0x28]
call fcn.180009160
mov ecx, 0x20
call fcn.180386914
mov qword [rbp - 0x38], rax
mov rcx, rax
call fcn.1800103c0
mov r14, rax
mov qword [rbp - 0x58], rax
test rax, rax
je 0x180120c53
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 8]
nop
mov ecx, 0x38
call fcn.180386914
mov rsi, rax
mov qword [rbp - 0x38], rax
lea rax, vtable.CIDataObject.0
mov qword [rsi], rax
mov qword [rsi + 8], r14
mov dword [rsi + 0x10], r12d
mov qword [rsi + 0x18], r12
mov qword [rsi + 0x20], r12
mov qword [rsi + 0x28], r12
mov qword [rsi + 0x30], r12
mov qword [rbp - 0x50], rsi
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 8]
nop
mov eax, 0xf
mov word [rsp + 0x60], ax
mov qword [rsp + 0x68], r12
mov dword [rsp + 0x70], r13d
mov dword [rsp + 0x74], 0xffffffff
mov dword [rsp + 0x78], r13d
mov dword [rsp + 0x48], r13d
xor eax, eax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rax
lea rdx, [rsp + 0x28]
call fcn.1802011a0
test rax, rax
jne 0x180120db0
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x10]
nop
test r14, r14
je 0x180120cf2
mov rax, qword [r14]
mov rcx, r14
call qword [rax + 0x10]
nop
mov rbx, qword [rsp + 0x28]
test rbx, rbx
je 0x180120d66
mov rdi, qword [rsp + 0x30]
cmp rbx, rdi
je 0x180120d1c
mov rcx, rbx
call fcn.180004e20
add rbx, 0x20
cmp rbx, rdi
jne 0x180120d06
mov rbx, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x38]
sub rdx, rbx
and rdx, 0xffffffffffffffe0
mov rax, rbx
cmp rdx, 0x1000
jb 0x180120d50
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180120d50
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.180386950
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x38], r12
mov rdx, qword [rbp]
cmp rdx, 8
jb 0x180120bb7
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180120bb2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180120bb2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov qword [rsp + 0x50], rax
mov rax, qword [rsi]
mov r9d, r13d
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x60]
mov rcx, rsi
call qword [rax + 0x38]
lea rdx, [rbp + 8]
mov rcx, qword [r15 + 8]
call qword [sym.imp.USER32.dll_GetClientRect]
mov rcx, qword [r15 + 0xe0]
mov rax, qword [rcx]
call qword [rax + 0x80]
movaps xmm8, xmm0
xorps xmm1, xmm1
movups xmmword [rbp - 0x80], xmm1
xorps xmm2, xmm2
movups xmmword [rbp - 0x70], xmm2
mov rcx, qword [r15 + 0xe0]
mov rax, qword [rcx]
lea rdx, [rbp - 0x80]
call qword [rax + 0xa0]
mov qword [rbp - 0x38], r12
movups xmm6, xmmword [rbp - 0x80]
movaps xmm0, xmm6
movsd xmm7, qword [0x1803e7250]
addsd xmm0, xmm7
call sub.api_ms_win_crt_math_l1_1_0.dll_floor
cvttsd2si ebx, xmm0
mov dword [rbp - 0x38], ebx
unpckhpd xmm6, xmm6
addsd xmm6, xmm7
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_floor
cvttsd2si edi, xmm0
mov dword [rbp - 0x34], edi
movups xmm6, xmmword [rbp - 0x70]
movaps xmm0, xmm6
addsd xmm0, xmm7
call sub.api_ms_win_crt_math_l1_1_0.dll_floor
cvttsd2si eax, xmm0
add eax, ebx
mov dword [rbp - 0x30], eax
unpckhpd xmm6, xmm6
addsd xmm6, xmm7
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_floor
cvttsd2si eax, xmm0
add eax, edi
mov dword [rbp - 0x2c], eax
lea rdx, [rbp - 0x38]
lea rcx, [rbp - 0x48]
call qword [sym.imp.USER32.dll_CopyRect]
mov eax, dword [rbp - 0x44]
add eax, dword [rbp - 0x3c]
cdq
sub eax, edx
sar eax, 1
mov r10d, eax
mov eax, dword [rbp - 0x40]
add eax, dword [rbp - 0x48]
cdq
sub eax, edx
sar eax, 1
mov r9d, eax
mov eax, dword [rbp + 0x14]
add eax, dword [rbp + 0xc]
cdq
sub eax, edx
sar eax, 1
mov r8d, eax
mov eax, dword [rbp + 0x10]
add eax, dword [rbp + 8]
cdq
sub eax, edx
sar eax, 1
sub r8d, r10d
sub eax, r9d
mov edx, eax
lea rcx, [rbp - 0x48]
call qword [sym.imp.USER32.dll_OffsetRect]
mov r8, qword [rbp - 0x48]
mov rdx, r8
shr rdx, 0x20
movd xmm1, edx
cvtdq2pd xmm1, xmm1
movd xmm0, r8d
cvtdq2pd xmm0, xmm0
movsd qword [rbp - 0x38], xmm0
movsd qword [rbp - 0x30], xmm1
mov rcx, qword [rbp - 0x40]
mov rax, rcx
shr rax, 0x20
sub eax, edx
movd xmm1, eax
cvtdq2pd xmm1, xmm1
sub ecx, r8d
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
movsd qword [rbp - 0x28], xmm0
movsd qword [rbp - 0x20], xmm1
mov rcx, qword [r15 + 0xe0]
mov rax, qword [rcx]
movaps xmm2, xmm8
lea rdx, [rbp - 0x38]
call qword [rax + 0xa8]
mov rcx, qword [r15 + 0x300]
test rcx, rcx
je 0x180120f52
mov rax, qword [rcx]
mov edx, 0x3f4
call qword [rax + 0x108]
mov r8d, r13d
xor edx, edx
mov rcx, qword [r15 + 8]
call qword [sym.imp.USER32.dll_InvalidateRect]
lea r9, [rsp + 0x40]
mov r8d, r13d
mov rdx, r14
mov rcx, rsi
call qword [sym.imp.ole32.dll_DoDragDrop]
cmp dword [rsp + 0x40], 1
jne 0x180121007
mov qword [rbp - 0x28], r12
mov qword [rbp - 0x20], r12
mov qword [rbp - 0x28], r12
mov qword [rbp - 0x20], 0xf
mov byte [rbp - 0x38], 0
mov r8d, 3
lea rdx, [0x1803c9a8c]
lea rcx, [rbp - 0x38]
call fcn.180005220
nop
lea rcx, [rbp - 0x38]
call fcn.180007750
nop
mov rdx, qword [rbp - 0x20]
cmp rdx, 0x10
jb 0x180120ff7
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180120ff2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180120ff2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180386950
mov qword [rbp - 0x28], r12
mov qword [rbp - 0x20], 0xf
mov byte [rbp - 0x38], 0
mov r8d, r13d
xor edx, edx
mov rcx, qword [r15 + 8]
call qword [sym.imp.USER32.dll_InvalidateRect]
nop
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x10]
nop
test r14, r14
je 0x180121030
mov rax, qword [r14]
mov rcx, r14
call qword [rax + 0x10]
nop
mov rbx, qword [rsp + 0x28]
test rbx, rbx
je 0x1801210a4
mov rdi, qword [rsp + 0x30]
cmp rbx, rdi
je 0x18012105a
mov rcx, rbx
call fcn.180004e20
add rbx, 0x20
cmp rbx, rdi
jne 0x180121044
mov rbx, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x38]
sub rdx, rbx
and rdx, 0xffffffffffffffe0
mov rax, rbx
cmp rdx, 0x1000
jb 0x18012108e
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18012108e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.180386950
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x38], r12
mov rdx, qword [rbp]
cmp rdx, 8
jb 0x1801210e7
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1801210e2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1801210e2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180386950
mov qword [rbp - 8], r12
mov qword [rbp], 7
mov word [rbp - 0x18], r12w
mov al, 1
jmp 0x180120bca