Function at 0x140006580
Capabilities:
Find taskbar

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x60
mov rax, qword [0x140061010]
xor rax, rsp
mov qword [rsp + 0x50], rax
movsxd rsi, dword [0x140065f1c]
xor edi, edi
mov rbx, rcx
cmp esi, 8
ja case.default.0x1400065bd
lea rdx, [0x140000000]
mov ecx, dword [rdx + rsi*4 + 0x6964]
add rcx, rdx
jmp rcx
mov rcx, qword [0x140064bd0]
mov edx, 2
mov dword [rsp + 0x28], edi
mov dword [rbx + 0x228], 4
mov dword [rsp + 0x20], 0x10
lea r9d, [rdx + 0xe]
lea r8d, [rdx - 1]
call qword [sym.imp.USER32.dll_LoadImageW]
mov edx, 1
mov rcx, rbx
mov r8, rax
call fcn.140007300
mov r8d, 1
xor r9d, r9d
xor edx, edx
mov rcx, rbx
call fcn.140006b50
test eax, eax
je case.default.0x1400065bd
jmp 0x140006946
mov rcx, qword [0x140064bd0]
mov edx, 2
mov dword [rsp + 0x28], edi
mov dword [rbx + 0x228], 4
mov dword [rsp + 0x20], 0x10
lea r9d, [rdx + 0xe]
lea r8d, [rdx - 1]
call qword [sym.imp.USER32.dll_LoadImageW]
mov edx, 1
mov rcx, rbx
mov r8, rax
call fcn.140007300
test byte [0x140065cf4], 0x20
je 0x14000677e
movd xmm0, dword [0x140068064]
movsd xmm1, qword [0x140048130]
cvtdq2pd xmm0, xmm0
divsd xmm1, xmm0
cvttsd2si rsi, xmm1
call qword [sym.imp.USER32.dll_GetForegroundWindow]
test rax, rax
jne 0x14000669f
call qword [sym.imp.USER32.dll_GetForegroundWindow]
test rax, rax
je 0x140006694
mov qword [0x140065ac8], rax
test rax, rax
je case.default.0x1400065bd
mov rcx, rax
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je case.default.0x1400065bd
mov rcx, qword [0x140065ac8]
lea rdx, [rbx + 0x270]
call fcn.140024d30
test al, al
je case.default.0x1400065bd
mov eax, dword [0x140067180]
mov edx, 1
imul eax, dword [0x140068064]
mov rcx, rbx
mov dword [rbx + 0x320], eax
call fcn.140004540
xor r9d, r9d
mov dword [0x140067168], eax
mov r8d, esi
mov rcx, rbx
lea edx, [r9 + 3]
call fcn.140004420
test rax, rax
setne dil
cmp dword [0x140067198], 0
mov dword [0x14006716c], edi
je 0x140006946
xor edx, edx
lea rcx, str.Shell_TrayWnd
call qword [sym.imp.USER32.dll_FindWindowW]
xor r8d, r8d
mov rcx, rbx
mov rdi, rax
lea edx, [r8 + 2]
call fcn.140007300
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetDC]
xor r9d, r9d
mov rcx, rdi
mov r8, rax
mov rbx, rax
lea edx, [r9 + 0xf]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.USER32.dll_ReleaseDC]
jmp 0x140006946
xor r8d, r8d
jmp 0x140006605
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 1]
jmp 0x14000660a
mov r9d, dword [0x1400660cc]
xor r8d, r8d
lea edx, [r8 + 1]
jmp 0x14000660a
mov qword [rsp + 0x88], rbp
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rcx, qword [0x140064bd0]
mov edx, 2
mov dword [rsp + 0x28], edi
mov rbp, rax
mov dword [rbx + 0x228], 3
mov dword [rsp + 0x20], 0x10
lea r9d, [rdx + 0xe]
lea r8d, [rdx - 1]
call qword [sym.imp.USER32.dll_LoadImageW]
mov edx, 1
mov rcx, rbx
mov r8, rax
call fcn.140007300
test rbp, rbp
je 0x140006813
mov rcx, rbp
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x140006813
mov rdx, rbp
call fcn.140007ad0
mov rcx, rbx
call fcn.1400073c0
cmp dword [0x140067194], edi
mov rbp, qword [rsp + 0x88]
je 0x1400068e4
movdqa xmm0, xmmword [0x1400481b0]
lea rdx, [0x140065ac8]
mov qword [rsp + 0x90], r14
lea r14, [rbx + 0x328]
mov rcx, r14
movdqu xmmword [rsp + 0x40], xmm0
call fcn.140027260
call qword [sym.imp.USER32.dll_GetDesktopWindow]
mov rcx, rax
call qword [sym.imp.mfc140u.dll_CMFCRibbonComboBox::FindItem]
mov r10, qword [r14]
lea r8, case.0x140010aed.70
mov qword [rsp + 0x38], rdi
mov r9d, 0x440000
mov dword [rsp + 0x30], 1
xor edx, edx
mov qword [rsp + 0x28], rax
mov rcx, r14
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
call qword [r10 + 0xb8]
test eax, eax
je 0x1400068dc
test r14, r14
je 0x1400068c8
mov rax, qword [r14 + 0x40]
test rax, rax
je 0x1400068c3
test r14, r14
mov rdx, rdi
cmovne rdx, rax
call fcn.140007ad0
test r14, r14
jne 0x1400068d1
mov qword [0x1400682a0], rdi
jmp 0x1400068dc
mov rax, qword [r14 + 0x40]
mov qword [0x1400682a0], rax
mov r14, qword [rsp + 0x90]
mov rdx, qword [rbx + 0x40]
call fcn.140007ad0
cmp esi, 3
jne 0x1400068fb
movups xmm0, xmmword [rbx + 0x280]
jmp 0x140006915
cmp esi, 4
jne 0x140006909
movups xmm0, xmmword [rbx + 0x290]
jmp 0x140006915
cmp esi, 5
jne 0x14000691c
movups xmm0, xmmword [rbx + 0x2a0]
movups xmmword [rbx + 0x270], xmm0
mov rax, qword [0x1400698f0]
lea r9, [rbx + 0x270]
mov rcx, qword [rbx + 0x40]
lea rdx, [0x140065ac8]
mov r8d, 1
mov qword [rsp + 0x20], rax
call qword [sym.imp.CAPHK.dll_SetMouseHook]
mov edi, 1
mov eax, edi
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1400334c0
add rsp, 0x60
pop rdi
pop rsi
pop rbx
ret