Function at 0x1800e7a60
Capabilities:
Check mutex on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xa0
mov rax, qword [0x18029e198]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov rdi, rcx
mov qword [rbp - 0x21], rcx
xor ebx, ebx
mov qword [rcx], rbx
mov qword [rcx + 8], 0xffffffffffffffff
mov qword [rcx + 0x10], 0xffffffffffffffff
lea ecx, [rbx + 0x20]
call fcn.1801e6190
mov rsi, rax
test rax, rax
je 0x1800e7ada
add rax, 8
mov qword [rsi + 0x10], rbx
mov qword [rsi + 0x18], rbx
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov qword [rax], rbx
mov qword [rsi], rbx
jmp 0x1800e7add
mov rsi, rbx
mov eax, esi
shr eax, 2
mov dword [rbp - 0x19], eax
mov rax, rsi
shr rax, 0x20
bts eax, 0x1e
mov qword [rbp - 0x39], rax
mov qword [rbp + 0x1f], rbx
mov qword [rbp + 0x27], sendto
mov byte [rbp + 0xf], 0
mov qword [rbp - 1], rbx
mov qword [rbp + 7], sendto
mov byte [rbp - 0x11], 0
lea rcx, [rbp + 0xf]
call fcn.1800ea000
mov r8d, reloc.WS2_32.dll_send
lea rdx, [0x1800581a8]
lea rcx, [rbp - 0x11]
call fcn.180099770
lea r9, [rbp + 0xf]
mov r15, qword [rbp + 0xf]
mov r13, qword [rbp + 0x27]
cmp r13, 0x10
cmovae r9, r15
mov rcx, qword [rbp - 1]
mov rdx, qword [rbp + 7]
mov rax, rdx
sub rax, rcx
mov r14, qword [rbp + 0x1f]
cmp r14, rax
ja 0x1800e7b8b
lea rax, [rcx + r14]
mov qword [rbp - 1], rax
lea rbx, [rbp - 0x11]
cmp rdx, 0x10
cmovae rbx, qword [rbp - 0x11]
add rbx, rcx
mov r8, r14
mov rdx, r9
mov rcx, rbx
call fcn.18020b840
mov byte [r14 + rbx], 0
jmp 0x1800e7bab
mov qword [rsp + 0x20], r14
xor r8d, r8d
mov rdx, r14
lea rcx, [rbp - 0x11]
call fcn.18008f920
mov r13, qword [rbp + 0x27]
mov r14, qword [rbp + 0x1f]
mov r15, qword [rbp + 0xf]
lea r8, [rbp - 0x11]
cmp qword [rbp + 7], 0x10
cmovae r8, qword [rbp - 0x11]
cmp qword [rdi], 0
jne 0x1800e7bd5
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexA]
mov qword [rdi], rax
test rax, rax
setne r12b
jmp 0x1800e7bd8
xor r12b, r12b
mov r8d, reloc.WS2_32.dll_sendto
lea rdx, [0x1800581c0]
lea rcx, [rbp - 0x11]
call fcn.180099770
lea r9, [rbp + 0xf]
cmp r13, 0x10
cmovae r9, r15
mov rcx, qword [rbp - 1]
mov rdx, qword [rbp + 7]
mov rax, rdx
sub rax, rcx
cmp r14, rax
ja 0x1800e7c3a
lea rax, [rcx + r14]
mov qword [rbp - 1], rax
lea rbx, [rbp - 0x11]
cmp rdx, 0x10
cmovae rbx, qword [rbp - 0x11]
add rbx, rcx
mov r8, r14
mov rdx, r9
mov rcx, rbx
call fcn.18020b840
mov byte [r14 + rbx], 0
jmp 0x1800e7c5a
mov qword [rsp + 0x20], r14
xor r8d, r8d
mov rdx, r14
lea rcx, [rbp - 0x11]
call fcn.18008f920
mov r13, qword [rbp + 0x27]
mov r14, qword [rbp + 0x1f]
mov r15, qword [rbp + 0xf]
xorps xmm0, xmm0
movups xmmword [rbp - 0x31], xmm0
mov qword [rbp - 0x31], rdi
mov edx, 0xffffffff
mov rcx, qword [rdi]
call fcn.1800e9410
mov byte [rbp - 0x29], 1
test r12b, r12b
je 0x1800e7cb6
lea r9, [rbp - 0x11]
cmp qword [rbp + 7], 0x10
cmovae r9, qword [rbp - 0x11]
cmp qword [rdi + 0x10], 0xffffffffffffffff
jne 0x1800e7cb6
xor edx, edx
xor ecx, ecx
mov r8d, 0x7fffffff
call qword [sym.imp.KERNEL32.dll_CreateSemaphoreA]
mov qword [rdi + 0x10], rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp qword [rdi + 0x10], 0xffffffffffffffff
je 0x1800e7cb6
mov r12b, 1
jmp 0x1800e7cb9
xor r12b, r12b
mov r8d, reloc.WS2_32.dll_select
lea rdx, [0x1800581d8]
lea rcx, [rbp - 0x11]
call fcn.180099770
lea r9, [rbp + 0xf]
cmp r13, 0x10
cmovae r9, r15
mov rcx, qword [rbp - 1]
mov rdx, qword [rbp + 7]
mov rax, rdx
sub rax, rcx
cmp r14, rax
ja 0x1800e7d1b
lea rax, [rcx + r14]
mov qword [rbp - 1], rax
lea rbx, [rbp - 0x11]
cmp rdx, 0x10
cmovae rbx, qword [rbp - 0x11]
add rbx, rcx
mov r8, r14
mov rdx, r9
mov rcx, rbx
call fcn.18020b840
mov byte [r14 + rbx], 0
jmp 0x1800e7d37
mov qword [rsp + 0x20], r14
xor r8d, r8d
mov rdx, r14
lea rcx, [rbp - 0x11]
call fcn.18008f920
mov r13, qword [rbp + 0x27]
mov r15, qword [rbp + 0xf]
test r12b, r12b
je 0x1800e7e7b
lea r9, [rbp - 0x11]
cmp qword [rbp + 7], 0x10
cmovae r9, qword [rbp - 0x11]
cmp qword [rdi + 8], 0xffffffffffffffff
jne 0x1800e7e7b
mov r8d, dword [rbp - 0x39]
mov edx, dword [rbp - 0x19]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateSemaphoreA]
mov qword [rdi + 8], rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
setne al
cmp qword [rdi + 8], 0xffffffffffffffff
je 0x1800e7e7b
test al, al
jne 0x1800e7da3
test rsi, rsi
je 0x1800e7da3
mov rcx, rsi
call fcn.1800e7ed0
mov edx, 0x20
mov rcx, rsi
call fcn.1801e61d0
lea r8, [rbp - 0x19]
mov edx, 1
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
nop
lea rcx, [rbp - 0x31]
call fcn.1800e7f70
nop
mov rdx, qword [rbp + 7]
cmp rdx, 0x10
jb 0x1800e7dfd
inc rdx
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800e7df7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800e7ea5
call fcn.1801e61d0
nop
mov qword [rbp - 1], 0
mov qword [rbp + 7], sendto
mov byte [rbp - 0x11], 0
cmp r13, 0x10
jb 0x1800e7e45
lea rdx, [r13 + 1]
mov rax, r15
cmp rdx, 0x1000
jb 0x1800e7e3c
add rdx, 0x27
mov r15, qword [r15 - 8]
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800e7e75
mov rcx, r15
call fcn.1801e61d0
nop
mov rax, rdi
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.1801e68c0
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.18010fa40
nop
test rsi, rsi
je 0x1800e7e8d
mov edx, 1
mov rcx, rsi
call fcn.1800e87e0
mov dword [rbp - 0x19], 0
lea rdx, [0x18027ec38]
lea rcx, [rbp - 0x19]
call fcn.18020aad0
nop
call fcn.18010fa40
int3