Function at 0x140025690
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 - 0xd8]
sub rsp, 0x1d8
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov rax, qword [0x140092008]
xor rax, rsp
mov qword [rbp + 0xc0], rax
mov r12, r9
mov qword [rsp + 0x38], r8
mov rdi, rdx
mov r15, rcx
mov dword [rsp + 0x30], 0
mov r13b, 1
mov edx, 0xffffffff
mov rcx, qword [rcx + 0x10]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_WaitForSingleObject]
mov r14, qword [r15]
mov rbx, qword [r14 + 8]
mov rsi, r14
cmp byte [rbx + 0x19], 0
jne 0x140025777
movaps xmm0, xmmword [r12]
movdqa xmmword [rbp], xmm0
nop dword [rax + rax]
movups xmm0, xmmword [rbx + 0x20]
movaps xmmword [rbp - 0x20], xmm0
mov r8d, reloc.WS2_32.dll_recv
lea rdx, [rbp]
lea rcx, [rbp - 0x20]
call fcn.140042040
test eax, eax
jns 0x140025735
mov rbx, qword [rbx + 0x10]
jmp 0x14002573b
mov rsi, rbx
mov rbx, qword [rbx]
cmp byte [rbx + 0x19], 0
je 0x140025710
cmp rsi, r14
je 0x140025777
movups xmm0, xmmword [rsi + 0x20]
movaps xmmword [rbp - 0x20], xmm0
movaps xmm1, xmmword [r12]
movdqa xmmword [rbp], xmm1
mov r8d, reloc.WS2_32.dll_recv
lea rdx, [rbp - 0x20]
lea rcx, [rbp]
call fcn.140042040
test eax, eax
js 0x140025777
xor r13b, r13b
jmp 0x140025a6f
mov rsi, qword [rbp + 0x148]
test rsi, rsi
je 0x14002576f
xor r14d, r14d
mov qword [rsp + 0x78], r14
mov qword [rbp - 0x80], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x68], r14b
mov qword [rbp - 0x70], r14
mov qword [rbp - 0x68], r14
xor r8d, r8d
xor edx, edx
call fcn.14002ac40
mov qword [rbp - 0x70], rax
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x60], xmm0
mov qword [rbp - 0x50], r14
mov qword [rbp - 0x48], r14
mov qword [rbp - 0x40], r14
lea ecx, [r14 + 0x10]
call fcn.14003d1a0
mov qword [rbp - 0x60], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
lea rcx, [rbp - 0x60]
mov rax, qword [rbp - 0x60]
mov qword [rax], rcx
mov eax, dword [rbp + 0x140]
mov dword [rbp - 0x78], eax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x60], rax
mov qword [rbp - 0x10], r14
mov qword [rbp - 8], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x20], r14b
xor r8d, r8d
lea rdx, [0x14007b5e5]
lea rcx, [rbp - 0x20]
call fcn.1400068a0
mov dword [rsp + 0x30], 1
mov ebx, r14d
cmp qword [rdi + 0x10], rbx
jbe 0x140025889
mov eax, r14d
nop word [rax + rax]
mov rcx, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x14002583d
mov rcx, qword [rdi]
movsx ecx, byte [rax + rcx]
call fcn.14004793c
mov rdx, qword [rbp - 0x10]
mov r8, qword [rbp - 8]
cmp rdx, r8
jae 0x140025872
lea rcx, [rdx + 1]
mov qword [rbp - 0x10], rcx
lea rcx, [rbp - 0x20]
cmp r8, 0x10
cmovae rcx, qword [rbp - 0x20]
mov byte [rcx + rdx], al
mov byte [rcx + rdx + 1], 0
jmp 0x14002587f
movzx r9d, al
lea rcx, [rbp - 0x20]
call fcn.140008720
inc ebx
mov eax, ebx
cmp rax, qword [rdi + 0x10]
jb 0x140025830
lea rcx, [rsp + 0x68]
call fcn.140003130
movups xmm0, xmmword [rbp - 0x20]
movups xmmword [rsp + 0x68], xmm0
movups xmm1, xmmword [rbp - 0x10]
movups xmmword [rsp + 0x78], xmm1
mov dword [rsp + 0x30], r14d
mov dword [rbp - 0x74], r14d
mov rbx, qword [rbp - 0x70]
mov rdi, qword [rbx + 8]
mov r9, rsi
mov r8, rdi
mov rdx, rbx
call fcn.14002add0
movabs rcx, 0x7fffffffffffffe
mov rdx, qword [rbp - 0x68]
sub rcx, rdx
cmp rcx, 1
jb 0x140025aa0
inc rdx
mov qword [rbp - 0x68], rdx
mov qword [rbx + 8], rax
mov qword [rdi], rax
movaps xmm0, xmmword [r12]
movaps xmmword [rsp + 0x50], xmm0
mov qword [rbp - 0x28], r14
lea rdx, [0x14006aa60]
mov ecx, 8
call fcn.14003d4cc
mov rbx, rax
test rax, rax
je 0x140025926
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_CreateMutexW]
mov qword [rbx], rax
jmp 0x14002593a
mov rbx, r14
mov edx, 8
lea rcx, str.JHI_memory_allocation_of_size__d_failed_.
call fcn.140003010
mov qword [rbp - 0x38], rbx
mov dword [rbp - 0x30], r14d
movaps xmm0, xmmword [r12]
movaps xmmword [rbp + 0x20], xmm0
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x30]
call fcn.1400265b0
nop
lea rdx, [rbp + 0x20]
mov rcx, r15
call fcn.14002aeb0
lea r9, [rax + 0x20]
mov qword [rsp + 0x20], rax
lea rdx, [rbp - 0x20]
mov rcx, r15
call fcn.14002b050
nop
lea rcx, [rbp + 0x30]
call fcn.140025b60
movaps xmm0, xmmword [r12]
movdqa xmmword [rbp - 0x20], xmm0
movdqa xmm0, xmmword [0x140081a30]
movdqu xmmword [rbp + 0x10], xmm0
mov byte [rbp], 0
xor r8d, r8d
lea rdx, [0x14007b5e5]
lea rcx, [rbp]
call fcn.1400068a0
mov dword [rsp + 0x30], 2
mov qword [rsp + 0x38], r14
lea rdx, [rsp + 0x38]
lea rcx, [rbp - 0x20]
call qword [sym.imp.RPCRT4.dll_UuidToStringA]
test eax, eax
je 0x1400259e1
lea rcx, str.UuidToStringA_failed
call fcn.140003050
jmp 0x140025a0e
mov rdx, qword [rsp + 0x38]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x1400259f0
lea rcx, [rbp]
call fcn.1400068a0
lea rcx, [rsp + 0x38]
call qword [sym.imp.RPCRT4.dll_RpcStringFreeA]
lea rdx, [rbp]
cmp qword [rbp + 0x18], 0x10
cmovae rdx, qword [rbp]
mov r8, qword [r15 + 8]
lea rcx, str.session_record_added_to_session_table_session_id:___s__n_current_session_count:__d_n
call fcn.140003050
nop
mov rdx, qword [rbp + 0x18]
cmp rdx, 0x10
jb 0x140025a65
inc rdx
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140025a5f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140025aad
call fcn.14003ce44
nop
lea rcx, [rsp + 0x50]
call fcn.140025b60
mov rcx, qword [r15 + 0x10]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_ReleaseMutex]
movzx eax, r13b
mov rcx, qword [rbp + 0xc0]
xor rcx, rsp
call fcn.14003ce20
add rsp, 0x1d8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
lea rcx, str.list_T__too_long
call fcn.14003e900
int3
call fcn.140046814
int3