Function at 0x140023700
Capabilities:
Check mutex on windows

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xc8]
sub rsp, 0x1c8
movaps xmmword [rsp + 0x1b0], xmm6
mov rax, qword [0x14008e010]
xor rax, rsp
mov qword [rbp + 0xa0], rax
mov r13, r9
mov r15, r8
mov rsi, rdx
mov r12, rcx
mov dword [rsp + 0x24], 0
mov byte [rsp + 0x20], 1
mov edx, 0xffffffff
mov rcx, qword [rcx + 0x10]
call qword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
mov r14, qword [r12]
mov rdi, qword [r14 + 8]
mov rbx, r14
cmp byte [rdi + 0x19], 0
jne 0x1400237b3
movaps xmm0, xmmword [r13]
movdqa xmmword [rbp], xmm0
nop dword [rax + rax]
movups xmm0, xmmword [rdi + 0x20]
movaps xmmword [rsp + 0x30], xmm0
mov r8d, reloc.WS2_32.dll_recv
lea rdx, [rbp]
lea rcx, [rsp + 0x30]
call fcn.14003e000
test eax, eax
jns 0x1400237a7
mov rdi, qword [rdi + 0x10]
jmp 0x1400237ad
mov rbx, rdi
mov rdi, qword [rdi]
cmp byte [rdi + 0x19], 0
je 0x140023780
cmp byte [rbx + 0x19], 0
jne 0x1400237e8
movups xmm0, xmmword [rbx + 0x20]
movaps xmmword [rsp + 0x30], xmm0
movaps xmm1, xmmword [r13]
movdqa xmmword [rbp], xmm1
mov r8d, reloc.WS2_32.dll_recv
lea rdx, [rsp + 0x30]
lea rcx, [rbp]
call fcn.14003e000
test eax, eax
js 0x1400237e8
mov al, 1
jmp 0x1400237ea
xor al, al
test al, al
cmove rbx, r14
cmp rbx, r14
je 0x1400237ff
mov byte [rsp + 0x20], 0
jmp 0x140023cda
mov r14, qword [rbp + 0x138]
test r14, r14
je 0x1400237f5
xor ebx, ebx
mov qword [rbp + 0x38], rbx
mov qword [rbp + 0x40], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x28], bl
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x50], xmm0
lea ecx, [rbx + 0x20]
call fcn.140038e18
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rbp + 0x50], rax
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x60], xmm0
mov qword [rbp + 0x70], rbx
mov qword [rbp + 0x78], rbx
mov qword [rbp + 0x80], rbx
lea ecx, [rbx + 0x10]
call fcn.140038e18
mov qword [rax + 8], rbx
mov qword [rbp + 0x60], rax
lea rcx, [rbp + 0x60]
mov qword [rax], rcx
mov eax, dword [rbp + 0x130]
mov dword [rbp + 0x48], eax
mov qword [rbp + 0x20], r15
xor r15d, r15d
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x58], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x40], r15b
xor r8d, r8d
lea rdx, [0x14007b843]
lea rcx, [rsp + 0x40]
call fcn.140005d10
mov dword [rsp + 0x24], 1
mov edi, r15d
cmp qword [rsi + 0x10], rdi
jbe 0x14002391d
mov ecx, r15d
movzx ebx, byte [rsp + 0x20]
mov rax, rsi
cmp qword [rsi + 0x18], 0x10
jb 0x1400238c2
mov rax, qword [rsi]
movsx ecx, byte [rax + rcx]
call fcn.140045a24
mov rdx, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
cmp rdx, r8
jae 0x1400238fc
lea rcx, [rdx + 1]
mov qword [rsp + 0x50], rcx
lea rcx, [rsp + 0x40]
cmp r8, 0x10
cmovae rcx, qword [rsp + 0x40]
mov byte [rcx + rdx], al
mov byte [rcx + rdx + 1], r15b
jmp 0x140023913
movzx r9d, al
movzx r8d, bl
mov edx, 1
lea rcx, [rsp + 0x40]
call fcn.140007af0
inc edi
mov ecx, edi
cmp rcx, qword [rsi + 0x10]
jb 0x1400238b5
mov rdx, qword [rbp + 0x40]
cmp rdx, 0x10
jb 0x140023958
inc rdx
mov rcx, qword [rbp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140023953
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140023d1b
call fcn.140038b74
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rbp + 0x28], xmm0
movups xmm1, xmmword [rsp + 0x50]
movups xmmword [rbp + 0x38], xmm1
mov dword [rsp + 0x24], r15d
mov dword [rbp + 0x4c], r15d
mov rbx, qword [rbp + 0x50]
movabs rax, 0x7ffffffffffffff
cmp qword [rbp + 0x58], rax
je 0x140023d21
lea rax, [rbp + 0x50]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], r15
mov ecx, 0x20
call fcn.140038e18
movsd xmm0, qword [r14]
movsd qword [rax + 0x10], xmm0
mov ecx, dword [r14 + 8]
mov dword [rax + 0x18], ecx
inc qword [rbp + 0x58]
mov rcx, qword [rbx + 8]
mov qword [rax], rbx
mov qword [rax + 8], rcx
mov qword [rbx + 8], rax
mov qword [rcx], rax
movaps xmm0, xmmword [r13]
movaps xmmword [rbp + 0x10], xmm0
mov qword [rbp + 0x98], r15
lea rdx, [0x14006a078]
mov ecx, 8
call fcn.1400390e4
mov rbx, rax
test rax, rax
je 0x140023a05
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.DLL_CreateMutexW]
mov qword [rbx], rax
jmp 0x140023a19
mov rbx, r15
mov edx, 8
lea rcx, str.JHI_memory_allocation_of_size__d_failed_.
call fcn.140003170
mov qword [rbp + 0x88], rbx
mov dword [rbp + 0x90], r15d
movaps xmm0, xmmword [r13]
movaps xmmword [rsp + 0x60], xmm0
lea rdx, [rbp + 0x10]
lea rcx, [rsp + 0x70]
call fcn.1400243a0
nop
mov rsi, qword [r12]
mov rbx, qword [rsi + 8]
mov qword [rsp + 0x40], rbx
mov dword [rsp + 0x48], r15d
mov rdi, rsi
movaps xmm6, xmmword [rsp + 0x60]
cmp byte [rbx + 0x19], 0
jne 0x140023ab4
movaps xmmword [rsp + 0x30], xmm6
nop word [rax + rax]
mov qword [rsp + 0x40], rbx
movups xmm0, xmmword [rbx + 0x20]
movaps xmmword [rbp], xmm0
mov r8d, reloc.WS2_32.dll_recv
lea rdx, [rsp + 0x30]
lea rcx, [rbp]
call fcn.14003e000
test eax, eax
jns 0x140023aa0
mov dword [rsp + 0x48], r15d
mov rbx, qword [rbx + 0x10]
jmp 0x140023aae
mov dword [rsp + 0x48], 1
mov rdi, rbx
mov rbx, qword [rbx]
cmp byte [rbx + 0x19], 0
je 0x140023a70
cmp byte [rdi + 0x19], 0
jne 0x140023adf
movups xmm0, xmmword [rdi + 0x20]
movaps xmmword [rsp + 0x30], xmm0
movaps xmmword [rbp], xmm6
mov r8d, reloc.WS2_32.dll_recv
lea rdx, [rsp + 0x30]
lea rcx, [rbp]
call fcn.14003e000
test eax, eax
jns 0x140023b50
movabs rax, 0x155555555555555
cmp qword [r12 + 8], rax
je 0x140023d2e
lea r9, [rsp + 0x60]
mov r8, rsi
mov rdx, r12
lea rcx, [rbp]
call fcn.140027240
mov rbx, qword [rax + 8]
mov qword [rax + 8], r15
mov rcx, qword [rbp + 8]
test rcx, rcx
je 0x140023b35
add rcx, 0x30
call fcn.140023dd0
mov rcx, qword [rbp + 8]
test rcx, rcx
je 0x140023b35
mov edx, 0xc0
call fcn.140038b74
movups xmm0, xmmword [rsp + 0x40]
movaps xmmword [rsp + 0x30], xmm0
mov r8, rbx
lea rdx, [rsp + 0x30]
mov rcx, r12
call fcn.14000e490
nop
lea rcx, [rsp + 0x70]
call fcn.140023dd0
mov rbx, qword [r12 + 8]
movaps xmm0, xmmword [r13]
movdqa xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x58], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x40], 0
xor r8d, r8d
lea rdx, [0x14007b843]
lea rcx, [rsp + 0x40]
call fcn.140005d10
mov dword [rsp + 0x24], 2
mov qword [rbp], r15
lea rdx, [rbp]
lea rcx, [rsp + 0x30]
call qword [sym.imp.RPCRT4.dll_UuidToStringA]
test eax, eax
je 0x140023bbe
lea rcx, str.UuidToStringA_failed
call fcn.1400031b0
jmp 0x140023bee
mov rdx, qword [rbp]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x140023bd0
lea rcx, [rsp + 0x40]
call fcn.140005d10
lea rcx, [rbp]
call qword [sym.imp.RPCRT4.dll_RpcStringFreeA]
lea rdx, [rsp + 0x40]
cmp qword [rsp + 0x58], 0x10
cmovae rdx, qword [rsp + 0x40]
mov r8, rbx
lea rcx, str.session_record_added_to_session_table_session_id:___s__n_current_session_count:__d_n
call fcn.1400031b0
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x140023c4d
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140023c47
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140023d34
call fcn.140038b74
nop
lea rcx, [rbp + 0x60]
call fcn.140026e80
mov rcx, qword [rbp + 0x60]
mov qword [rbp + 0x60], r15
mov edx, reloc.WS2_32.dll_recv
call fcn.140038b74
mov rcx, qword [rbp + 0x50]
mov rax, qword [rcx + 8]
mov qword [rax], r15
mov rcx, qword [rcx]
test rcx, rcx
je 0x140023c95
nop dword [rax + rax]
mov rbx, qword [rcx]
mov edx, 0x20
call fcn.140038b74
mov rcx, rbx
test rbx, rbx
jne 0x140023c80
mov edx, 0x20
mov rcx, qword [rbp + 0x50]
call fcn.140038b74
mov rdx, qword [rbp + 0x40]
cmp rdx, 0x10
jb 0x140023cda
inc rdx
mov rcx, qword [rbp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140023cd5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140023d15
call fcn.140038b74
mov rcx, qword [r12 + 0x10]
call qword [sym.imp.KERNEL32.DLL_ReleaseMutex]
movzx eax, byte [rsp + 0x20]
mov rcx, qword [rbp + 0xa0]
xor rcx, rsp
call fcn.140038b50
movaps xmm6, xmmword [rsp + 0x1b0]
add rsp, 0x1c8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.140045708
nop
call fcn.140045708
nop
lea rcx, str.list_T__too_long
call fcn.140039fcc
nop
call fcn.140009600
nop
call fcn.140045708
int3