Function at 0x180120930
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 [0x1804ca010]
xor rax, rsp
mov qword [rbp + 0x18], rax
mov r15, rcx
cmp qword [rcx + 0xe0], 0
je 0x180120bb8
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 0x180120bb8
mov eax, dword [r15 + 0x17c]
dec eax
cmp eax, 1
jbe 0x180120bb8
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, [0x1803c8ac0]
call qword [sym.imp.USER32.dll_FindWindowW]
lea r13d, [r12 + 1]
test rax, rax
je 0x180120a37
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 0x180120a37
mov rax, qword [rsp + 0x20]
cmp eax, dword [rbp - 0x48]
jle 0x180120a37
cmp eax, dword [rbp - 0x40]
jge 0x180120a37
mov eax, dword [rsp + 0x24]
cmp eax, dword [rbp - 0x44]
jle 0x180120a37
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 0x180120bb8
movzx eax, byte [0x1804cb541]
mov ebx, 0x64
test al, al
je 0x180120a62
mov r8d, ebx
jmp 0x180120a80
mov r8d, 0x60
mov edx, dword [0x1804cd338]
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_MulDiv]
mov r8d, eax
movzx eax, byte [0x1804cb541]
mov edx, dword [rbp + 8]
mov rcx, qword [rsp + 0x20]
sub edx, ecx
cmp edx, r8d
jg 0x180120b27
test al, al
je 0x180120a9b
mov edx, ebx
jmp 0x180120abd
mov r8d, 0x60
mov edx, dword [0x1804cd338]
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_MulDiv]
mov edx, eax
mov rcx, qword [rsp + 0x20]
movzx eax, byte [0x1804cb541]
sub ecx, dword [rbp + 0x10]
cmp ecx, edx
jg 0x180120b27
test al, al
je 0x180120acd
mov r8d, ebx
jmp 0x180120aeb
mov r8d, 0x60
mov edx, dword [0x1804cc77c]
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_MulDiv]
mov r8d, eax
movzx eax, byte [0x1804cb541]
mov ecx, dword [rbp + 0xc]
mov edx, dword [rsp + 0x24]
sub ecx, edx
cmp ecx, r8d
jg 0x180120b27
test al, al
jne 0x180120b17
mov r8d, 0x60
mov edx, dword [0x1804cc77c]
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 0x180120b27
test dil, dil
je 0x180120bb8
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 0x180120b59
mov rax, qword [rcx]
lea rdx, [rbp - 0x18]
call qword [rax + 0xe8]
cmp qword [rbp - 8], 0
jne 0x180120bf6
mov rdx, qword [rbp]
cmp rdx, 8
jb 0x180120ba7
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180120ba2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180120ba2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180385c70
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.180385c10
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.180009130
mov ecx, 0x20
call fcn.180385c34
mov qword [rbp - 0x38], rax
mov rcx, rax
call fcn.180010380
mov r14, rax
mov qword [rbp - 0x58], rax
test rax, rax
je 0x180120c43
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 8]
nop
mov ecx, 0x38
call fcn.180385c34
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.1802013b0
test rax, rax
jne 0x180120da0
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x10]
nop
test r14, r14
je 0x180120ce2
mov rax, qword [r14]
mov rcx, r14
call qword [rax + 0x10]
nop
mov rbx, qword [rsp + 0x28]
test rbx, rbx
je 0x180120d56
mov rdi, qword [rsp + 0x30]
cmp rbx, rdi
je 0x180120d0c
mov rcx, rbx
call fcn.180004df0
add rbx, 0x20
cmp rbx, rdi
jne 0x180120cf6
mov rbx, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x38]
sub rdx, rbx
and rdx, 0xffffffffffffffe0
mov rax, rbx
cmp rdx, 0x1000
jb 0x180120d40
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180120d40
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.180385c70
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x38], r12
mov rdx, qword [rbp]
cmp rdx, 8
jb 0x180120ba7
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180120ba2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180120ba2
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 [0x1803e6390]
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 0x180120f42
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 0x180120ff7
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, [0x1803c8ab8]
lea rcx, [rbp - 0x38]
call fcn.1800051f0
nop
lea rcx, [rbp - 0x38]
call fcn.180007720
nop
mov rdx, qword [rbp - 0x20]
cmp rdx, 0x10
jb 0x180120fe7
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180120fe2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180120fe2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180385c70
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 0x180121020
mov rax, qword [r14]
mov rcx, r14
call qword [rax + 0x10]
nop
mov rbx, qword [rsp + 0x28]
test rbx, rbx
je 0x180121094
mov rdi, qword [rsp + 0x30]
cmp rbx, rdi
je 0x18012104a
mov rcx, rbx
call fcn.180004df0
add rbx, 0x20
cmp rbx, rdi
jne 0x180121034
mov rbx, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x38]
sub rdx, rbx
and rdx, 0xffffffffffffffe0
mov rax, rbx
cmp rdx, 0x1000
jb 0x18012107e
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18012107e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.180385c70
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x38], r12
mov rdx, qword [rbp]
cmp rdx, 8
jb 0x1801210d7
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1801210d2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1801210d2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180385c70
mov qword [rbp - 8], r12
mov qword [rbp], 7
mov word [rbp - 0x18], r12w
mov al, 1
jmp 0x180120bba