Function at 0x180011ed0
Capabilities:
Check mutex and terminate process on windows
Check mutex on windows
Terminate process

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x60
mov qword [rbp - 0x28], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
mov r14, r9
mov esi, r8d
mov r13, rdx
mov r12, rcx
xor r10d, r10d
mov qword [rbp - 0x20], r10
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x18], xmm0
lea r15d, [r8 + 0xcb8]
cmp r8d, r15d
ja 0x1800120d7
mov rdi, qword [rbp + 0x50]
nop word [rax + rax]
cmp esi, 0x9f9
ja 0x180011ff3
je 0x180011fd9
mov eax, esi
sub eax, 0x175
je 0x180011f83
sub eax, 0x4a
je 0x180011f7a
sub eax, 0x4a
je 0x1800121a8
cmp eax, 0x7a6
jne 0x1800120cb
mov r8, qword [rdi + 0x160]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexA]
jmp 0x1800120c7
mov byte [rbp - 0x30], 1
jmp 0x1800120cb
mov r8d, 0x70bb
lea rdx, [rbp - 0x20]
xor ecx, ecx
call fcn.18001a380
test al, al
je 0x180012135
mov dword [rdi], 0
mov r10, qword [rbp - 0x20]
mov rdx, qword [rbp - 0x18]
cmp r10, rdx
je 0x1800120cb
lea rcx, [r10 + 0x10]
cmp dword [rcx - 8], 2
jne 0x180011fc7
cmp byte [rcx], 3
jne 0x180011fc7
mov eax, dword [rcx + 4]
add dword [rdi], eax
add rcx, 0x20
lea rax, [rcx - 0x10]
cmp rax, rdx
jne 0x180011fb7
jmp 0x1800120cb
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x1800120c7
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov eax, esi
sub eax, 0x262c
je 0x180012096
sub eax, 0x4a
je 0x1800121ea
cmp eax, 0x4fb
jne 0x1800120cb
mov ebx, 0x7625
nop dword [rax]
mov eax, ebx
sub eax, 0x7625
je 0x180012174
cmp eax, 0x59
jne 0x180012195
mov rax, qword [rdi]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov ecx, 0x3fcd
call fcn.18001ba70
mov byte [rbp - 0x30], al
mov rcx, qword [rbp - 0x20]
test rcx, rcx
je 0x180012114
mov rdx, qword [rbp - 0x10]
sub rdx, rcx
and rdx, 0xffffffffffffffe0
mov rax, rcx
cmp rdx, 0x1000
jb 0x18001210f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180012271
jmp 0x18001210f
mov eax, dword [r12]
dec eax
mov dword [rbp + 0x40], eax
lea r8, [r14 + 1]
lea r9, [rbp + 0x40]
mov rdx, rdi
mov ecx, 0x681e
call fcn.18000dd30
mov ebx, eax
test eax, eax
jne 0x18001222a
cmp byte [r14], al
setne al
mov dword [rdi + 8], eax
mov r10, qword [rbp - 0x20]
add esi, 0x4a
cmp esi, r15d
jbe 0x180011f30
test r10, r10
je 0x180012114
mov rdx, qword [rbp - 0x10]
sub rdx, r10
and rdx, 0xffffffffffffffe0
mov rax, r10
cmp rdx, 0x1000
jb 0x18001210c
add rdx, 0x27
mov r10, qword [r10 - 8]
sub rax, r10
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180012283
mov rcx, r10
call fcn.18005f31c
mov eax, dword [rbp - 0x30]
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov byte [rbp - 0x30], 0
mov rcx, qword [rbp - 0x20]
test rcx, rcx
je 0x180012114
mov rdx, qword [rbp - 0x10]
sub rdx, rcx
and rdx, 0xffffffffffffffe0
mov rax, rcx
cmp rdx, 0x1000
jb 0x18001210f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180012277
jmp 0x18001210f
movzx eax, byte [r13]
mov byte [rbp + 0x40], al
mov qword [rsp + 0x20], r14
mov r9, r12
mov r8, rdi
mov edx, 0x62b4
lea rcx, [rbp + 0x40]
call fcn.18000d3f0
add ebx, 0x59
cmp ebx, 0x767e
jbe 0x180012020
mov r10, qword [rbp - 0x20]
test r10, r10
je 0x180012114
mov rdx, qword [rbp - 0x10]
sub rdx, r10
and rdx, 0xffffffffffffffe0
mov rax, r10
cmp rdx, 0x1000
jb 0x18001210c
add rdx, 0x27
mov r10, qword [r10 - 8]
sub rax, r10
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18001227d
jmp 0x18001210c
test r10, r10
je 0x180012223
mov rdx, qword [rbp - 0x10]
sub rdx, r10
and rdx, 0xffffffffffffffe0
mov rax, r10
cmp rdx, 0x1000
jb 0x18001221b
add rdx, 0x27
mov r10, qword [r10 - 8]
sub rax, r10
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180012289
mov rcx, r10
call fcn.18005f31c
xor eax, eax
jmp 0x180012117
mov rcx, qword [rbp - 0x20]
test rcx, rcx
je 0x180012264
mov rdx, qword [rbp - 0x10]
sub rdx, rcx
and rdx, 0xffffffffffffffe0
mov rax, rcx
cmp rdx, 0x1000
jb 0x18001225f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18001226b
call fcn.18005f31c
mov eax, ebx
jmp 0x180012117
call fcn.180063a04
int3
call fcn.180063a04
int3
call fcn.180063a04
int3
call fcn.180063a04
int3
call fcn.180063a04
int3
call fcn.180063a04
int3