Function at 0x180002980
Capabilities:
Find taskbar

Disassembly:
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x58
mov qword [rbp - 0x30], 0xfffffffffffffffe
mov rbx, r8
mov r14, rdx
mov edi, ecx
xor r12d, r12d
mov qword [r8], r12
mov r13d, r12d
test byte [rdx], 1
je 0x1800029d5
mov rdx, rbx
call fcn.180002860
test eax, eax
je 0x1800029d5
cmp qword [rbx], r12
je 0x1800029d5
lea r13d, [r12 + 1]
jmp 0x180002c66
test byte [r14], 2
je 0x180002b8d
call fcn.180069d10
cmp eax, edi
jne 0x180002b8d
xor r9d, r9d
lea r8, str.Shell_TrayWnd
xor edx, edx
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowExA]
test rax, rax
je 0x180002a3d
mov dword [rbp + 0x60], r12d
lea rdx, [rbp + 0x60]
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ecx, dword [rbp + 0x60]
call fcn.1800026d0
test eax, eax
je 0x180002a3d
mov ecx, dword [rbp + 0x60]
call fcn.18005a030
mov qword [rbx], rax
test rax, rax
je 0x180002a3d
mov r13d, 2
jmp 0x180002c66
lea rcx, [rbp - 0x28]
call fcn.180047390
nop
lea rdx, [rbp - 0x28]
xor ecx, ecx
call fcn.18006c1a0
mov dword [rbp + 0x58], r12d
mov edi, r12d
cmp dword [rbp - 0x20], r12d
jle 0x180002aac
mov rsi, r12
nop word [rax + rax]
mov dword [rbp + 0x58], r12d
mov rax, qword [rbp - 0x28]
mov ecx, dword [rsi + rax]
lea rdx, [rbp + 0x58]
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ecx, dword [rbp + 0x58]
call fcn.1800026d0
test eax, eax
je 0x180002aa1
mov ecx, dword [rbp + 0x58]
call fcn.18005a030
mov qword [rbx], rax
test rax, rax
jne 0x180002ab2
inc edi
add rsi, 4
cmp edi, dword [rbp - 0x20]
jl 0x180002a70
cmp qword [rbx], 0
je 0x180002abd
mov r13d, 2
jmp 0x180002c5d
lea rdx, [0x1800e2938]
lea rcx, [rbp - 0x38]
call fcn.1800423d0
nop
or r8d, 0xffffffff
xor edx, edx
lea rcx, [rbp - 0x28]
call fcn.1800473b0
lea rcx, [rbp - 0x38]
call fcn.18006bd70
test eax, eax
je 0x180002b0e
lea rdx, str.Default
mov rcx, qword [rbp - 0x38]
call fcn.180070300
test eax, eax
je 0x180002b0e
lea rdx, [rbp - 0x28]
lea rcx, str.Default
call fcn.18006c1a0
mov edi, r12d
cmp dword [rbp - 0x20], r12d
jle 0x180002b5c
mov rsi, r12
nop word [rax + rax]
mov dword [rbp + 0x58], r12d
mov rax, qword [rbp - 0x28]
mov ecx, dword [rsi + rax]
lea rdx, [rbp + 0x58]
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ecx, dword [rbp + 0x58]
call fcn.1800026d0
test eax, eax
je 0x180002b51
mov ecx, dword [rbp + 0x58]
call fcn.18005a030
mov qword [rbx], rax
test rax, rax
jne 0x180002b62
inc edi
add rsi, 4
cmp edi, dword [rbp - 0x20]
jl 0x180002b20
cmp qword [rbx], 0
je 0x180002b77
mov r13d, 2
lea rcx, [rbp - 0x38]
call fcn.18003ecb0
nop
jmp 0x180002c5d
lea rcx, [rbp - 0x38]
call fcn.18003ecb0
nop
lea rcx, [rbp - 0x28]
call fcn.1800473a0
mov edi, dword [rbp + 0x48]
test byte [r14], 4
je 0x180002c66
lea rcx, [rbp - 0x28]
call fcn.180047390
nop
mov r8d, edi
lea rdx, [0x1800e2830]
lea rcx, [rbp - 0x28]
call fcn.180053cf0
cmp dword [rbp - 0x20], 0
jle 0x180002c5d
mov r14d, r12d
call fcn.180069d10
mov ecx, r12d
mov r15d, 1
cmp eax, edi
cmove ecx, r15d
mov esi, r12d
movsxd rax, ecx
mov qword [rbp + 0x58], rax
cmp dword [rbp - 0x20], r12d
jle 0x180002c4f
mov rdi, r12
nop dword [rax + rax]
mov rax, qword [rbp - 0x28]
mov ecx, dword [rdi + rax]
call fcn.1800026d0
test eax, eax
je 0x180002c44
mov rax, qword [rbp - 0x28]
mov ecx, dword [rdi + rax]
call fcn.18005a030
mov qword [rbx], rax
test rax, rax
jne 0x180002c55
cmp qword [rbp + 0x58], rax
jne 0x180002c3e
test r14d, r14d
jne 0x180002c3e
mov r14d, r15d
call fcn.180002000
mov ecx, eax
call fcn.18005c050
mov r11, qword [rbp - 0x28]
mov ecx, dword [rdi + r11]
call fcn.18005a030
mov qword [rbx], rax
cmp qword [rbx], 0
jne 0x180002c55
inc esi
add rdi, 4
cmp esi, dword [rbp - 0x20]
jl 0x180002bf0
cmp qword [rbx], 0
je 0x180002c5d
mov r13d, 4
jmp 0x180002c5d
lea rcx, [rbp - 0x28]
call fcn.1800473a0
mov rax, qword [rbp + 0x50]
mov dword [rax], r13d
cmp qword [rbx], 0
setne r12b
mov eax, r12d
add rsp, 0x58
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret