Function at 0x180002040
Capabilities:
Check mutex on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xa0
mov r15, rcx
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitialize]
xor edx, edx
lea rcx, [rbp - 0x41]
lea r8d, [rdx + 0x78]
mov qword [rbp - 0x49], 0
call fcn.1800076b0
movabs rax, 0xf4f7e1d09432aaa3
mov ecx, 0xc0
mov qword [rbp + 0x7f], rax
call fcn.18000301c
lea r9, [0x180014630]
lea r10, [0x180014631]
lea r11, [0x180014632]
lea rbx, [0x180014633]
lea rsi, [0x180014634]
lea r14, [0x180014635]
mov edx, 2
sub r9, rax
sub r10, rax
sub r11, rax
sub rbx, rax
sub rsi, rax
mov rdi, rax
mov rcx, rax
lea r8d, [rdx + 0x1e]
sub r14, rax
nop dword [rax]
lea rax, [rdx - 2]
lea rcx, [rcx + 6]
and eax, 7
movzx eax, byte [rbp + rax + 0x7f]
xor al, byte [r9 + rcx - 6]
mov byte [rcx - 6], al
lea rax, [rdx - 1]
and eax, 7
movzx eax, byte [rbp + rax + 0x7f]
xor al, byte [r10 + rcx - 6]
mov byte [rcx - 5], al
mov rax, rdx
and eax, 7
movzx eax, byte [rbp + rax + 0x7f]
xor al, byte [r11 + rcx - 6]
mov byte [rcx - 4], al
lea rax, [rdx + 1]
and eax, 7
movzx eax, byte [rbp + rax + 0x7f]
xor al, byte [rbx + rcx - 6]
mov byte [rcx - 3], al
lea rax, [rdx + 2]
and eax, 7
movzx eax, byte [rbp + rax + 0x7f]
xor al, byte [rsi + rcx - 6]
mov byte [rcx - 2], al
lea rax, [rdx + 3]
add rdx, 6
and eax, 7
movzx eax, byte [rbp + rax + 0x7f]
xor al, byte [r14 + rcx - 6]
mov byte [rcx - 1], al
dec r8
jne 0x1800020e0
lea r8, [rdi + 0x5d]
xor edx, edx
xor ecx, ecx
mov qword [rbp - 9], rdi
xor esi, esi
call qword [sym.imp.KERNEL32.dll_CreateMutexA]
mov rbx, rax
test rax, rax
je 0x18000218f
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x180002194
mov esi, 1
test rbx, rbx
je 0x1800021a2
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
jne 0x180002277
xor eax, eax
xor ecx, ecx
mov qword [rdi + 0x5d], rax
mov qword [rdi + 0x65], rax
call fcn.1800030ec
mov rcx, rax
call fcn.1800030d4
xor eax, eax
xor cl, cl
mov word [rbp + 0x70], ax
movzx eax, cl
mov ecx, 0x43
test r15, r15
mov word [rbp + 0x71], 0x5c
mov byte [rbp + 0x70], 0x3a
cmovne eax, ecx
lea rcx, [rdi + 0xd]
mov byte [rbp + 0x6f], al
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
xor ecx, ecx
mov qword [rdi + 0xd], rcx
mov qword [rdi + 0x15], rcx
lea rcx, [0x180001900]
mov qword [rbp - 0x49], rcx
lea rdx, [rdi + 0x1d]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, 0x100
xor ecx, ecx
mov qword [rbp - 0x41], rax
xor eax, eax
mov qword [rdi + 0x1d], rax
mov qword [rdi + 0x25], rax
mov qword [rdi + 0x2d], rax
mov dword [rbp + 0x77], eax
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
xor edx, edx
mov rcx, rax
mov r8d, 0x100
mov rbx, rax
call fcn.1800076b0
lea rax, [rbp + 0x6f]
lea rcx, [rbp - 0x49]
mov qword [rbp - 0x21], rax
lea rax, [rbp + 0x77]
mov qword [rbp - 0x19], rbx
mov qword [rbp - 0x11], rax
call qword [rbp - 0x49]
lea rcx, [rbp - 0x49]
call qword [rbp - 0x49]
lea rcx, [rbp - 0x49]
call qword [rbp - 0x49]
lea rcx, [rbp - 0x49]
call qword [rbp - 0x49]
xor eax, eax
mov rbx, qword [rsp + 0xd0]
add rsp, 0xa0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
dec edx
je 0x1800024aa
mov eax, 1
ret
jmp 0x180002040