Function at 0x1800192d0
Capabilities:
Check mutex on windows

Disassembly:
push rbp
push rbx
lea rbp, [rsp - 0x388]
sub rsp, 0x488
mov rax, qword [0x1801003f0]
xor rax, rsp
mov qword [rbp + 0x370], rax
cmp dword [0x1801161a0], 0
mov rbx, rcx
je 0x18001931e
lea r9, str.Init2_______
lea r8, str.WatchDog
lea rcx, [0x1801160e8]
mov edx, 0x1f
call fcn.180011c50
mov rcx, rbx
call fcn.180018460
test eax, eax
je 0x180019334
mov dword [rbx + 0x8c], 1
lea rcx, [rbp + 0x151]
xor edx, edx
mov r8d, 0x103
mov byte [rbp + 0x150], 0
call fcn.1800369b0
lea rcx, [rbp + 0x41]
xor edx, edx
mov r8d, 0x103
mov byte [rbp + 0x40], 0
call fcn.1800369b0
lea rdx, [rbp + 0x40]
mov r8d, 0x104
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x1800193a6
cmp dword [0x1801161a0], eax
je 0x18001939f
lea r9, str.Init2____1
lea r8, str.WatchDog
lea edx, [rax + 0x1f]
lea rcx, [0x1801160e8]
call fcn.180011c50
xor eax, eax
jmp 0x1800197e3
mov qword [rsp + 0x4b0], rdi
call fcn.180014db0
lea rdx, [rbp + 0x150]
lea rcx, [rbp + 0x40]
mov r8d, 0x104
call fcn.180015430
lea rcx, [rbp + 0x150]
mov edx, 0x5c
call fcn.180036d58
mov rdi, rax
test rax, rax
jne 0x18001940e
cmp dword [0x1801161a0], eax
je 0x180019407
lea r9, str.Init2____2
lea r8, str.WatchDog
lea edx, [rax + 0x1f]
lea rcx, [0x1801160e8]
call fcn.180011c50
xor eax, eax
jmp 0x1800197db
mov qword [rsp + 0x4a8], rsi
mov qword [rsp + 0x4b8], r12
inc rdi
mov qword [rsp + 0x480], r13
call fcn.18006b510
xor r13d, r13d
lea rcx, [rsp + 0x31]
xor edx, edx
mov r8d, 0x103
mov r12, rax
mov qword [rbx + 0x58], r13
mov dword [rbx + 0x60], r13d
mov byte [rsp + 0x30], r13b
call fcn.1800369b0
cmp dword [0x1801161a0], r13d
je 0x180019488
call fcn.18002c4c0
lea r9, str.Init2_1___S____d_
lea r8, str.WatchDog
mov dword [rsp + 0x28], eax
lea edx, [r13 + 0x1f]
lea rcx, [0x1801160e8]
mov qword [rsp + 0x20], rdi
call fcn.180011c50
lea rsi, str.winlogon.exe
call fcn.18002c4c0
test eax, eax
je 0x1800194b8
call fcn.18002d0c0
test eax, eax
jne 0x1800194b1
call fcn.18002c7d0
lea rsi, str.wininit.exe
test eax, eax
je 0x1800194b8
lea rsi, str.lsass.exe
mov rdx, rsi
mov rcx, rdi
call fcn.180038078
mov rsi, qword [rsp + 0x4a8]
test eax, eax
jne 0x1800195c6
lea rcx, [rsp + 0x30]
xor edx, edx
mov r8d, 0x104
mov dword [rbx + 0x5c], 1
mov dword [rbx + 0x60], 1
call fcn.1800369b0
lea rdx, [rsp + 0x30]
lea rcx, str.TEC_OCULAR__AGENT_V3_MUTEX_WINWDG32_2
mov r8d, 0x104
call fcn.180008920
lea r8, [rsp + 0x30]
xor edx, edx
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CreateMutexA]
mov qword [rbx + 0x70], rax
test rax, rax
je 0x18001953e
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x180019542
mov rcx, qword [rbx + 0x70]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 0x70], r13
mov dword [rbx + 0x5c], r13d
lea rcx, [rsp + 0x30]
xor edx, edx
mov r8d, 0x104
call fcn.1800369b0
lea rdx, [rsp + 0x30]
lea rcx, str.TEC_OCULAR__AGENT_V3_MUTEX_WINWDG32_3
mov r8d, 0x104
call fcn.180008920
lea r8, [rsp + 0x30]
xor edx, edx
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CreateMutexA]
mov qword [rbx + 0x78], rax
test rax, rax
je 0x18001959f
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x1800195a3
mov rcx, qword [rbx + 0x78]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 0x78], r13
mov dword [rbx + 0x60], r13d
cmp dword [rbx + 0x60], r13d
jne 0x1800196cd
cmp dword [0x1801161a0], r13d
je 0x1800197c9
lea r9, str.Init2____3
jmp 0x1800197b1
call fcn.180005960
mov rcx, rdi
mov rdx, rax
call fcn.180038078
test eax, eax
jne 0x1800197a1
lea rcx, [rsp + 0x30]
xor edx, edx
mov r8d, 0x104
mov dword [rbx + 0x58], 1
mov dword [rbx + 0x5c], 1
call fcn.1800369b0
lea rdx, [rsp + 0x30]
lea rcx, str.TEC_OCULAR__AGENT_V3_MUTEX_WINWDG32_1
mov r8d, 0x104
call fcn.180008920
lea r8, [rsp + 0x30]
xor edx, edx
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CreateMutexA]
mov qword [rbx + 0x68], rax
test rax, rax
je 0x180019649
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x18001964d
mov rcx, qword [rbx + 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 0x68], r13
mov dword [rbx + 0x58], r13d
lea rcx, [rsp + 0x30]
xor edx, edx
mov r8d, 0x104
call fcn.1800369b0
lea rdx, [rsp + 0x30]
lea rcx, str.TEC_OCULAR__AGENT_V3_MUTEX_WINWDG32_2
mov r8d, 0x104
call fcn.180008920
lea r8, [rsp + 0x30]
xor edx, edx
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CreateMutexA]
mov qword [rbx + 0x70], rax
test rax, rax
je 0x1800196aa
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x1800196ae
mov rcx, qword [rbx + 0x70]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 0x70], r13
mov dword [rbx + 0x5c], r13d
cmp dword [rbx + 0x58], r13d
jne 0x1800196cd
cmp dword [0x1801161a0], r13d
je 0x1800197c9
lea r9, str.Init2____4
jmp 0x1800197b1
lea rcx, [rbp + 0x261]
xor edx, edx
mov r8d, 0x103
mov byte [rbp + 0x260], r13b
call fcn.1800369b0
lea rdx, [rbp + 0x260]
lea rcx, str.TEC_OCULAR__AGENT_V3_EVENT_WDGSVR_STOP
mov r8d, 0x104
call fcn.180008920
lea r9, [rbp + 0x260]
xor r8d, r8d
xor edx, edx
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CreateEventA]
mov qword [rbx + 0x50], rax
test rax, rax
jne 0x180019772
mov rcx, qword [rbx + 0x68]
mov qword [rbx + 0x58], r13
mov dword [rbx + 0x60], r13d
test rcx, rcx
je 0x18001973a
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 0x68], r13
mov rcx, qword [rbx + 0x70]
test rcx, rcx
je 0x18001974d
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 0x70], r13
mov rcx, qword [rbx + 0x78]
test rcx, rcx
je 0x180019760
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 0x78], r13
cmp dword [0x1801161a0], r13d
je 0x1800197c9
lea r9, str.Init2____6
jmp 0x1800197b1
cmp dword [0x1801161a0], r13d
je 0x18001979a
lea r9, str.Init2____0
lea r8, str.WatchDog
lea rcx, [0x1801160e8]
mov edx, 0x1f
call fcn.180011c50
mov eax, 1
jmp 0x1800197cb
cmp dword [0x1801161a0], r13d
je 0x1800197c9
lea r9, str.Init2____5
lea r8, str.WatchDog
lea rcx, [0x1801160e8]
mov edx, 0x1f
call fcn.180011c50
xor eax, eax
mov r12, qword [rsp + 0x4b8]
mov r13, qword [rsp + 0x480]
mov rdi, qword [rsp + 0x4b0]
mov rcx, qword [rbp + 0x370]
xor rcx, rsp
call fcn.180036980
add rsp, 0x488
pop rbx
pop rbp
ret