Function at 0x18011c620
Capabilities:
Check mutex on windows

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rax - 0xf8]
sub rsp, 0x1d0
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rax + 0x20], rbx
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
mov rax, qword [0x1802d1460]
xor rax, rsp
mov qword [rbp + 0xa0], rax
mov esi, r8d
mov rdi, rdx
mov r15, rcx
xor ebx, ebx
mov dword [rsp + 0x30], ebx
cmp qword [rcx + 0x4e8], rbx
jne 0x18011ca74
movdqa xmm0, xmmword [0x18026b300]
movdqu xmmword [rbp - 0x50], xmm0
mov word [rbp - 0x60], bx
movdqa xmm0, xmmword [0x18026b310]
movdqu xmmword [rbp - 0x30], xmm0
mov byte [rbp - 0x40], bl
lea r8d, [rbx + 6]
lea rdx, str.AppKey
lea rcx, [rbp - 0x40]
call fcn.180114020
nop
call fcn.18014ce40
mov rcx, rax
lea r8, [rbp - 0x40]
lea rdx, [rbp + 0x60]
call fcn.18014e3f0
nop
lea rcx, [rbp - 0x40]
call fcn.180114430
mov edx, esi
lea rcx, [rbp + 0x80]
call fcn.1801bfbe0
mov rsi, rax
movdqa xmm0, xmmword [0x18026b300]
movdqu xmmword [rbp - 0x70], xmm0
mov word [rbp - 0x80], bx
mov dword [rsp + 0x30], 1
mov ecx, 0x82
call fcn.1801c7d10
mov r14, rax
xor edx, edx
mov r8d, 0x82
mov rcx, rax
call fcn.1801c9e80
mov qword [rsp + 0x20], rdi
lea r9, [0x18026a9b8]
mov rdi, 0xffffffffffffffff
mov r8, rdi
lea edx, [rbx + 0x40]
mov rcx, r14
call fcn.180159f70
nop word [rax + rax]
inc rdi
cmp word [r14 + rdi*2], 0
jne 0x18011c740
mov r8, rdi
mov rdx, r14
lea rcx, [rbp - 0x80]
call fcn.1801142a0
mov rcx, r14
call fcn.1801c74d4
nop
movdqa xmm0, xmmword [0x18026b300]
movdqu xmmword [rbp + 0x50], xmm0
mov word [rbp + 0x40], bx
mov dword [rsp + 0x30], 3
lea rdx, [rbp + 0x40]
lea rcx, [rbp + 0x60]
call fcn.1801be060
mov r8d, 1
lea rdx, [0x18024dc6c]
lea rcx, [rbp + 0x40]
call fcn.1801144b0
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x70], xmm0
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x60], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x70], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], 7
mov word [rax], bx
mov dword [rsp + 0x30], 7
mov rdx, qword [rsp + 0x78]
mov rax, rdx
mov r9, qword [rsp + 0x70]
sub rax, r9
mov rcx, qword [rbp - 0x68]
mov r8, qword [rbp - 0x70]
cmp r8, rax
jbe 0x18011c814
mov rax, rcx
sub rax, r8
cmp rax, r9
jb 0x18011c814
lea r8, [rsp + 0x60]
cmp rdx, 8
cmovae r8, qword [rsp + 0x60]
xor edx, edx
lea rcx, [rbp - 0x80]
call fcn.18011eac0
jmp 0x18011c82b
lea rdx, [rbp - 0x80]
cmp rcx, 8
cmovae rdx, qword [rbp - 0x80]
lea rcx, [rsp + 0x60]
call fcn.1801144b0
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x10], xmm0
movups xmm0, xmmword [rax]
movups xmmword [rbp], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x10], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], 7
mov dword [rsp + 0x30], reloc.WS2_32.dll_ntohs
mov word [rax], bx
mov r8d, 1
lea rdx, [0x18024dc6c]
lea rcx, [rbp]
call fcn.1801144b0
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x50], xmm0
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x50], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], 7
mov word [rax], bx
mov dword [rsp + 0x30], Ordinal_32
mov r8, qword [rsi + 0x10]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
mov r9, qword [rsp + 0x50]
sub rax, r9
cmp r8, rax
jbe 0x18011c8e0
mov rax, qword [rsi + 0x18]
sub rax, r8
cmp rax, r9
jb 0x18011c8e0
lea r8, [rsp + 0x40]
cmp rcx, 8
cmovae r8, qword [rsp + 0x40]
xor edx, edx
mov rcx, rsi
call fcn.18011eac0
jmp 0x18011c8f7
cmp qword [rsi + 0x18], 8
jb 0x18011c8ea
mov rsi, qword [rsi]
mov rdx, rsi
lea rcx, [rsp + 0x40]
call fcn.1801144b0
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x10], xmm0
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x20], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x10], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], 7
mov dword [rsp + 0x30], 0x3f
mov word [rax], bx
mov r8d, 1
lea rdx, [0x18024dc6c]
lea rcx, [rbp - 0x20]
call fcn.1801144b0
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x30], xmm0
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x20], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x30], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], 7
mov word [rax], bx
mov dword [rsp + 0x30], 0x7f
mov r8d, Ordinal_41
lea rdx, str.E112CABB_F387_4CC4_BFE5_6A2277C97B20
lea rcx, [rbp + 0x20]
call fcn.1801144b0
movups xmm7, xmmword [rax]
movups xmmword [rbp - 0x40], xmm7
movups xmm6, xmmword [rax + 0x10]
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], 7
mov word [rax], bx
lea rcx, [rbp - 0x60]
call fcn.180114210
movups xmmword [rbp - 0x60], xmm7
movups xmmword [rbp - 0x50], xmm6
movdqa xmm0, xmmword [0x18026b300]
movdqu xmmword [rbp - 0x30], xmm0
mov word [rbp - 0x40], bx
lea rcx, [rbp - 0x40]
call fcn.180114210
nop
lea rcx, [rbp + 0x20]
call fcn.180114210
nop
lea rcx, [rbp - 0x20]
call fcn.180114210
nop
lea rcx, [rsp + 0x40]
call fcn.180114210
nop
lea rcx, [rbp]
call fcn.180114210
nop
lea rcx, [rsp + 0x60]
call fcn.180114210
nop
lea rcx, [rbp + 0x40]
call fcn.180114210
nop
lea rcx, [rbp - 0x80]
call fcn.180114210
nop
lea rcx, [rbp + 0x80]
call fcn.180114210
lea r8, [rbp - 0x60]
cmp qword [rbp - 0x48], 8
cmovae r8, qword [rbp - 0x60]
mov edx, 1
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov qword [r15 + 0x4e8], rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x18011ca61
mov rcx, qword [r15 + 0x4e8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [r15 + 0x4e8], rbx
mov ebx, 1
lea rcx, [rbp + 0x60]
call fcn.180114430
nop
lea rcx, [rbp - 0x60]
call fcn.180114210
mov eax, ebx
mov rcx, qword [rbp + 0xa0]
xor rcx, rsp
call fcn.1801c74b0
lea r11, [rsp + 0x1d0]
mov rbx, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret