Function at 0x1402b4bf0
Capabilities:
Check mutex on windows
Get session user name

Disassembly:
mov rcx, qword [rcx]
jmp 0x1402b4c00
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x7d0]
sub rsp, 0x8d0
mov rax, qword [0x14065ef68]
xor rax, rsp
mov qword [rbp + 0x7c0], rax
mov rbx, rcx
xor esi, esi
mov dword [rsp + 0x20], esi
mov byte [rcx], sil
cmp qword [rcx + 0x28], rsi
jne 0x1402b4e25
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor edx, edx
mov r8d, 0x802
lea rcx, [rbp - 0x50]
call sub.VCRUNTIME140.dll_memset
mov dword [rsp + 0x24], 0x401
lea rdx, [rsp + 0x24]
lea rcx, [rbp - 0x50]
call qword [sym.imp.ADVAPI32.dll_GetUserNameW]
lea rcx, [rbx + 8]
cmp qword [rbx + 0x20], 8
jb 0x1402b4c85
mov rcx, qword [rbx + 8]
mov rax, qword [rbx + 0x18]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x38], rax
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x40], xmm0
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x70]
call fcn.1402b4790
nop
lea rcx, [rbp - 0x50]
mov qword [rbp - 0x70], rcx
mov rcx, rax
cmp qword [rax + 0x18], 8
jb 0x1402b4cc3
mov rcx, qword [rax]
mov rax, qword [rax + 0x10]
mov qword [rbp - 0x60], rcx
mov qword [rbp - 0x58], rax
mov qword [rsp + 0x30], 0x1cd
lea rax, [rbp - 0x70]
mov qword [rsp + 0x38], rax
lea rax, str.Local::
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], ntohs
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
movaps xmm1, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm1
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x50]
call fcn.1402538a0
mov edi, 1
mov dword [rsp + 0x20], edi
mov rdx, qword [rbp - 0x78]
cmp rdx, 8
jb 0x1402b4d66
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
cmp rdx, 0x1000
jb 0x1402b4d61
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1402b4db4
mov rcx, r8
call fcn.1402f1e30
mov qword [rbp - 0x80], rsi
mov qword [rbp - 0x78], 7
mov word [rsp + 0x70], si
lea r8, [rsp + 0x50]
cmp qword [rsp + 0x68], 8
cmovae r8, qword [rsp + 0x50]
mov edx, edi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov qword [rbx + 0x28], rax
test rax, rax
je 0x1402b4dbb
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x1402b4dcd
mov rcx, qword [rbx + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1402b4dc6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x1402b4dcd
mov byte [rbx], 1
mov qword [rbx + 0x28], rsi
and edi, 0xfffffffe
mov dword [rsp + 0x20], edi
mov rdx, qword [rsp + 0x68]
cmp rdx, 8
jb 0x1402b4e12
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
cmp rdx, 0x1000
jb 0x1402b4e0d
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1402b4e50
mov rcx, r8
call fcn.1402f1e30
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x68], 7
mov word [rsp + 0x50], si
movzx eax, byte [rbx]
mov rcx, qword [rbp + 0x7c0]
xor rcx, rsp
call fcn.1402f2210
lea r11, [rsp + 0x8d0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3