Function at 0x1400769c0
Capabilities:
Check mutex on windows

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x718]
sub rsp, 0x7f0
mov qword [rbp + 0xa0], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1400c7228]
xor rax, rsp
mov qword [rbp + 0x6e0], rax
mov r15, rcx
xor r13d, r13d
mov esi, r13d
mov dword [rsp + 0x58], r13d
mov qword [rbp + 0x18], r13
mov qword [rbp + 0x20], r13
mov qword [rbp + 0x28], r13
mov dword [rbp + 0x30], r13d
mov qword [rbp - 0x28], r13
mov r12d, r13d
mov qword [rbp - 0x20], r13
mov qword [rbp - 0x18], r13
mov dword [rbp - 0x10], r13d
mov qword [rbp - 8], r13
mov qword [rbp], r13
mov qword [rbp + 8], r13
mov dword [rbp + 0x10], r13d
lea r8, str.CSM_Policy_Key_Mutex
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_CreateMutexW]
mov rbx, rax
mov qword [rsp + 0x70], rax
inc rax
test rax, 0xfffffffffffffffe
jne 0x140076a81
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov r14d, eax
test eax, eax
jle 0x140076ae4
movzx r14d, ax
or r14d, 0x80070000
jmp 0x140076ae4
or edx, 0xffffffff
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_WaitForSingleObject]
lea r8, [rbp + 0x18]
lea rdx, str.DefaultExcludedPaths
mov rcx, r15
call fcn.140076060
mov r14d, eax
test eax, eax
js 0x140076adb
lea r8, [rbp - 0x28]
lea rdx, str.DefaultIndexedPaths
mov rcx, r15
call fcn.140076060
mov r14d, eax
test eax, eax
js 0x140076ad7
lea r8, [rbp - 8]
lea rdx, str.PreventIndexingCertainPaths
mov rcx, r15
call fcn.140076060
mov r14d, eax
mov r12, qword [rbp - 0x20]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_ReleaseMutex]
test r14d, r14d
js 0x140077474
lea r8, [r15 + 0x50]
lea rdx, [r15 + 0x58]
lea rcx, [rbp + 0x60]
call fcn.14001f0a4
nop
jmp 0x140076b31
mov rdi, rax
mov rdx, rax
call fcn.1400044b8
cmp dword [rdi + 0x68], r13d
je 0x140076b40
lea r8, [rdi + 0x38]
mov rdx, rdi
lea rcx, [rbp + 0x60]
call fcn.14007b858
mov rdx, rdi
mov rcx, qword [r15 + 0xa8]
call fcn.140078808
mov rcx, qword [r15 + 0xa8]
mov rdx, qword [rcx]
call fcn.140004510
test rax, rax
jne 0x140076b01
mov edi, r13d
mov dword [rsp + 0x54], r13d
test r12, r12
je 0x140076e4c
mov rax, r13
mov qword [rbp - 0x48], r13
mov qword [rbp - 0x40], r13
mov qword [rbp - 0x38], r13
mov dword [rbp - 0x30], r13d
mov rdx, rax
lea rcx, [rbp - 0x28]
call fcn.14005f5fc
mov rdx, rax
lea r8, [rbp - 0x48]
mov rcx, r15
call fcn.14007baec
mov r14d, eax
test eax, eax
js 0x140076e43
mov dword [rsp + 0x50], r13d
cmp qword [rbp - 0x40], r13
jbe 0x140076e27
xor ebx, ebx
mov edi, ebx
lea r12, [0x14008c3c0]
lea rdx, [0x1400c80c8]
lea rcx, [rsp + 0x60]
call fcn.14001a844
nop
mov rdx, rdi
lea rcx, [rbp - 0x48]
call fcn.14005f5fc
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.140004050
mov rdi, qword [rsp + 0x60]
mov r13d, 2
cmp dword [rdi - 0x10], r13d
jl 0x140076c81
mov r8d, r13d
lea rdx, [rbp + 0x40]
lea rcx, [rsp + 0x60]
call fcn.14001c82c
nop
or esi, 1
mov dword [rsp + 0x58], esi
mov rdx, qword [rax]
movzx ecx, word [rdx]
movzx eax, word [0x140096050]
sub ecx, eax
jne 0x140076c2f
movzx ecx, word [rdx + 2]
movzx eax, word [0x140096052]
sub ecx, eax
jne 0x140076c2f
movzx ecx, word [rdx + 4]
movzx eax, word [0x140096054]
sub ecx, eax
test ecx, ecx
je 0x140076c7c
mov r8d, r13d
lea rdx, [rbp + 0x38]
lea rcx, [rsp + 0x60]
call fcn.14001c82c
or esi, r13d
mov dword [rsp + 0x58], esi
mov rdx, qword [rax]
movzx ecx, word [rdx]
movzx eax, word [0x140096058]
sub ecx, eax
jne 0x140076c78
movzx ecx, word [rdx + 2]
movzx eax, word [0x14009605a]
sub ecx, eax
jne 0x140076c78
movzx ecx, word [rdx + 4]
movzx eax, word [0x14009605c]
sub ecx, eax
test ecx, ecx
jne 0x140076c81
mov r13b, 1
jmp 0x140076c84
mov r13b, bl
test sil, 2
je 0x140076c9f
and esi, 0xfffffffd
mov dword [rsp + 0x58], esi
mov rcx, qword [rbp + 0x38]
add rcx, 0xffffffffffffffe8
call fcn.140017860
nop
test sil, 1
je 0x140076cb9
and esi, 0xfffffffe
mov dword [rsp + 0x58], esi
mov rcx, qword [rbp + 0x40]
add rcx, 0xffffffffffffffe8
call fcn.140017860
test r13b, r13b
je 0x140076cd2
mov edx, dword [rdi - 0x10]
dec edx
lea rcx, [rsp + 0x60]
call fcn.1400718e0
mov rdi, qword [rsp + 0x60]
lea rax, [rbp + 0x218]
mov qword [rbp + 0x208], rax
mov qword [rbp + 0x210], 0xc1
mov word [rbp + 0x218], bx
mov qword [rbp + 0x200], r12
mov rcx, rdi
call fcn.1400178a0
test al, al
je 0x140076d35
lea r8, [rbp + 0x200]
mov rdx, rdi
mov rcx, qword [r15 + 0xf8]
call fcn.1400127fc
test eax, eax
js 0x140076d35
mov rdx, qword [rbp + 0x208]
lea rcx, [rsp + 0x60]
call fcn.1400163ec
mov rdi, qword [rsp + 0x60]
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x118]
call fcn.14001d444
nop
mov dword [rsp + 0x40], ebx
mov eax, 1
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], eax
xor r9d, r9d
mov r8d, eax
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x188]
call fcn.14006ea64
nop
lea r9, [rbp + 0x188]
lea r8, [rbp + 0x118]
lea rdx, [rbp + 0x60]
call fcn.140078d8c
lea rdx, [rbp + 0x118]
mov rcx, qword [r15 + 0xa8]
call fcn.140006294
test rax, rax
je 0x140076db2
add rax, 0x38
je 0x140076db2
cmp dword [rax + 0x24], ebx
je 0x140076dcd
lea r8, [rbp + 0x188]
lea rdx, [rbp + 0x118]
mov rcx, qword [r15 + 0xa8]
call fcn.14007b858
nop
lea rcx, [rbp + 0x188]
call fcn.140006fdc
nop
lea rcx, [rbp + 0x118]
call fcn.140014fb8
nop
lea rcx, [rbp + 0x200]
call fcn.14001a800
nop
lea rcx, [rdi - 0x18]
call fcn.140017860
mov r13d, dword [rsp + 0x50]
inc r13d
mov dword [rsp + 0x50], r13d
mov edi, r13d
cmp rdi, qword [rbp - 0x40]
jb 0x140076ba9
mov rbx, qword [rsp + 0x70]
mov r12, qword [rbp - 0x20]
mov edi, dword [rsp + 0x54]
xor r13d, r13d
lea rcx, [rbp - 0x48]
call fcn.140013930
inc edi
mov dword [rsp + 0x54], edi
mov eax, edi
cmp rax, r12
jb 0x140076b59
jmp 0x140076e4c
lea rcx, [rbp - 0x48]
call fcn.140013930
mov dword [rsp + 0x50], r13d
xor r12d, r12d
cmp qword [rbp + 0x20], r12
jbe 0x140077063
mov eax, r12d
mov qword [rsp + 0x78], r12
mov qword [rbp - 0x80], r12
mov qword [rbp - 0x78], r12
mov dword [rbp - 0x70], r12d
mov rdx, rax
lea rcx, [rbp + 0x18]
call fcn.14005f5fc
mov rdx, rax
lea r8, [rsp + 0x78]
mov rcx, r15
call fcn.14007baec
mov r14d, eax
test eax, eax
js 0x140077059
mov edi, r12d
mov dword [rsp + 0x54], r12d
cmp qword [rbp - 0x80], r12
jbe 0x140077038
xor ebx, ebx
lea r13, [0x14008c3c0]
lea rax, [rbp + 0x3b8]
mov qword [rbp + 0x3a8], rax
mov qword [rbp + 0x3b0], 0xc1
mov word [rbp + 0x3b8], bx
mov qword [rbp + 0x3a0], r13
mov rdx, r12
lea rcx, [rsp + 0x78]
call fcn.14005f5fc
mov rcx, qword [rax]
call fcn.1400178a0
test al, al
je 0x140076f3e
mov rdx, r12
lea rcx, [rsp + 0x78]
call fcn.14005f5fc
lea r8, [rbp + 0x3a0]
mov rdx, qword [rax]
mov rcx, qword [r15 + 0xf8]
call fcn.1400127fc
test eax, eax
js 0x140076f3e
mov rdi, qword [rbp + 0x3a8]
mov rdx, r12
lea rcx, [rsp + 0x78]
call fcn.14005f5fc
mov rdx, rdi
mov rcx, rax
call fcn.1400163ec
mov edi, dword [rsp + 0x54]
mov rdx, r12
lea rcx, [rsp + 0x78]
call fcn.14005f5fc
mov rdx, rax
lea rcx, [rbp + 0xa8]
call fcn.14001d444
nop
mov rdx, r12
lea rcx, [rsp + 0x78]
call fcn.14005f5fc
mov rdx, rax
mov dword [rsp + 0x40], ebx
mov r12d, 1
mov dword [rsp + 0x38], r12d
mov dword [rsp + 0x30], r12d
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
lea rcx, [rbp + 0x150]
call fcn.14006ea64
nop
lea r9, [rbp + 0x150]
lea r8, [rbp + 0xa8]
lea rdx, [rbp + 0x60]
call fcn.140078d8c
lea rdx, [rbp + 0xa8]
mov rcx, qword [r15 + 0xa8]
call fcn.140006294
test rax, rax
je 0x140076fd6
add rax, 0x38
je 0x140076fd6
cmp dword [rax + 0x24], ebx
je 0x140076ff1
lea r8, [rbp + 0x150]
lea rdx, [rbp + 0xa8]
mov rcx, qword [r15 + 0xa8]
call fcn.14007b858
nop
lea rcx, [rbp + 0x150]
call fcn.140006fdc
nop
lea rcx, [rbp + 0xa8]
call fcn.140014fb8
nop
lea rcx, [rbp + 0x3a0]
call fcn.14001a800
add edi, r12d
mov dword [rsp + 0x54], edi
mov r12d, edi
cmp r12, qword [rbp - 0x80]
jb 0x140076eb4
mov rbx, qword [rsp + 0x70]
mov r13d, dword [rsp + 0x50]
xor r12d, r12d
lea rcx, [rsp + 0x78]
call fcn.140013930
inc r13d
mov dword [rsp + 0x50], r13d
mov eax, r13d
cmp rax, qword [rbp + 0x20]
jb 0x140076e61
jmp 0x140077063
lea rcx, [rsp + 0x78]
call fcn.140013930
mov r13d, r12d
mov dword [rsp + 0x50], r12d
cmp qword [rbp], r12
jbe 0x1400773ee
mov rax, r12
mov rdx, rax
lea rcx, [rbp - 8]
call fcn.14005f5fc
mov r14, qword [rax]
lea rbx, [r14 - 0x18]
mov rcx, qword [rbx]
mov rax, qword [rcx]
mov rax, qword [rax + 0x20]
call qword [case.0x1400022d4.0]
mov r9, rax
mov ecx, dword [rbx + 0x10]
shr ecx, 0x1f
test cl, cl
jne 0x1400770b7
cmp rax, qword [rbx]
jne 0x1400770b7
lock inc dword [rbx + 0x10]
mov esi, dword [rsp + 0x58]
jmp 0x1400770fd
lea rdi, [rbx + 8]
mov rax, qword [rax]
mov r8d, 2
mov edx, dword [rdi]
mov rcx, r9
mov rax, qword [rax]
call qword [case.0x1400022d4.0]
mov rbx, rax
test rax, rax
je 0x1400774d8
mov ecx, dword [rdi]
mov dword [rax + 8], ecx
mov ecx, dword [rdi]
inc ecx
movsxd rdx, ecx
add rdx, rdx
lea rcx, [rax + 0x18]
mov r9, rdx
mov r8, r14
call qword [sym.imp.msvcrt.dll_memcpy_s]
add rbx, 0x18
mov qword [rsp + 0x68], rbx
mov edi, 2
mov r8d, edi
lea rdx, [rbp + 0x50]
lea rcx, [rsp + 0x68]
call fcn.14001c82c
nop
or esi, 4
mov dword [rsp + 0x58], esi
mov rdx, qword [rax]
movzx ecx, word [rdx]
movzx eax, word [0x140096058]
sub ecx, eax
jne 0x140077151
movzx ecx, word [rdx + 2]
movzx eax, word [0x14009605a]
sub ecx, eax
jne 0x140077151
movzx ecx, word [rdx + 4]
movzx eax, word [0x14009605c]
sub ecx, eax
test ecx, ecx
je 0x14007719d
mov r8d, edi
lea rdx, [rbp + 0x48]
lea rcx, [rsp + 0x68]
call fcn.14001c82c
or esi, 8
mov rdx, qword [rax]
movzx ecx, word [rdx]
movzx eax, word [0x140096050]
sub ecx, eax
jne 0x140077196
movzx ecx, word [rdx + 2]
movzx eax, word [0x140096052]
sub ecx, eax
jne 0x140077196
movzx ecx, word [rdx + 4]
movzx eax, word [0x140096054]
sub ecx, eax
test ecx, ecx
mov dil, r12b
jne 0x1400771a0
mov dil, 1
test sil, 8
je 0x1400771b7
and esi, 0xfffffff7
mov rcx, qword [rbp + 0x48]
add rcx, 0xffffffffffffffe8
call fcn.140017860
nop
and esi, 0xfffffffb
mov dword [rsp + 0x58], esi
mov rcx, qword [rbp + 0x50]
add rcx, 0xffffffffffffffe8
call fcn.140017860
test dil, dil
je 0x1400771e4
mov edx, dword [rbx - 0x10]
dec edx
lea rcx, [rsp + 0x68]
call fcn.1400718e0
mov rbx, qword [rsp + 0x68]
mov qword [rbp - 0x68], r12
mov qword [rbp - 0x60], r12
mov qword [rbp - 0x58], r12
mov dword [rbp - 0x50], r12d
lea r8, [rbp - 0x68]
lea rdx, [rsp + 0x68]
mov rcx, r15
call fcn.14007baec
mov r14d, eax
test eax, eax
js 0x1400773d6
mov edi, r12d
mov dword [rsp + 0x54], r12d
cmp qword [rbp - 0x60], r12
jbe 0x1400773ac
xor ebx, ebx
lea r13, [0x14008c3c0]
lea rax, [rbp + 0x558]
mov qword [rbp + 0x548], rax
mov qword [rbp + 0x550], 0xc1
mov word [rbp + 0x558], bx
mov qword [rbp + 0x540], r13
mov rdx, r12
lea rcx, [rbp - 0x68]
call fcn.14005f5fc
mov rcx, qword [rax]
call fcn.1400178a0
test al, al
je 0x1400772b2
mov rdx, r12
lea rcx, [rbp - 0x68]
call fcn.14005f5fc
lea r8, [rbp + 0x540]
mov rdx, qword [rax]
mov rcx, qword [r15 + 0xf8]
call fcn.1400127fc
test eax, eax
js 0x1400772b2
mov rdi, qword [rbp + 0x548]
mov rdx, r12
lea rcx, [rbp - 0x68]
call fcn.14005f5fc
mov rdx, rdi
mov rcx, rax
call fcn.1400163ec
mov edi, dword [rsp + 0x54]
mov rdx, r12
lea rcx, [rbp - 0x68]
call fcn.14005f5fc
mov rdx, rax
lea rcx, [rbp + 0xe0]
call fcn.14001d444
nop
mov rdx, r12
lea rcx, [rbp - 0x68]
call fcn.14005f5fc
mov rdx, rax
mov dword [rsp + 0x40], ebx
mov r12d, 1
mov dword [rsp + 0x38], r12d
mov dword [rsp + 0x30], r12d
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
lea rcx, [rbp + 0x1c0]
call fcn.14006ea64
nop
lea r9, [rbp + 0x1c0]
lea r8, [rbp + 0xe0]
lea rdx, [rbp + 0x60]
call fcn.140078d8c
lea rdx, [rbp + 0xe0]
mov rcx, qword [r15 + 0xa8]
call fcn.140078808
lea rdx, [rbp + 0xe0]
mov rcx, qword [r15 + 0xa8]
call fcn.14007837c
lea r8, [rbp + 0x1c0]
lea rdx, [rbp + 0xe0]
mov rcx, qword [r15 + 0xa8]
call fcn.14007b858
nop
lea rcx, [rbp + 0x1c0]
call fcn.140006fdc
nop
lea rcx, [rbp + 0xe0]
call fcn.140014fb8
nop
lea rcx, [rbp + 0x540]
call fcn.14001a800
add edi, r12d
mov dword [rsp + 0x54], edi
mov r12d, edi
cmp r12, qword [rbp - 0x60]
jb 0x14007722b
mov rbx, qword [rsp + 0x68]
mov r13d, dword [rsp + 0x50]
xor r12d, r12d
lea rcx, [rbp - 0x68]
call fcn.140013930
nop
lea rcx, [rbx - 0x18]
call fcn.140017860
inc r13d
mov dword [rsp + 0x50], r13d
mov eax, r13d
cmp rax, qword [rbp]
jb 0x140077078
jmp 0x1400773e9
lea rcx, [rbp - 0x68]
call fcn.140013930
nop
lea rcx, [rbx - 0x18]
call fcn.140017860
mov rbx, qword [rsp + 0x70]
cmp qword [rbp + 0x68], r12
jbe 0x1400773fc
mov byte [r15 + 0xea], 1
mov rdx, qword [rbp + 0x60]
lea rcx, [rbp + 0x60]
call fcn.140004510
mov rdi, rax
test rax, rax
je 0x140077438
mov r9, rdi
mov rdx, rdi
lea rcx, [rbp + 0x60]
call fcn.1400044b8
mov rdi, rax
mov rdx, qword [r9 + 0x28]
lea rcx, [r15 + 0x80]
call fcn.140069fbc
test rdi, rdi
jne 0x140077411
mov rcx, qword [rbp + 0x98]
add rcx, 0xffffffffffffffe8
call fcn.140017860
mov rcx, qword [rbp + 0x90]
add rcx, 0xffffffffffffffe8
call fcn.140017860
lea rcx, [rbp + 0x60]
call fcn.140014ab8
mov rcx, qword [rbp + 0x88]
test rcx, rcx
je 0x140077474
call qword [sym.imp.msvcrt.dll_free]
nop
lea rax, [rbx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140077488
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
nop
lea rcx, [rbp - 8]
call fcn.140013930
nop
lea rcx, [rbp - 0x28]
call fcn.140013930
nop
lea rcx, [rbp + 0x18]
call fcn.140013930
mov eax, r14d
mov rcx, qword [rbp + 0x6e0]
xor rcx, rsp
call fcn.14002c150
lea r11, [rsp + 0x7f0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.140052bac
nop
lea rcx, [rdx + 0x118]
jmp fcn.140013930