Function at 0x14000a000
Capabilities:
Check mutex and terminate process on windows
Check mutex on windows
Create thread
Terminate process

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xb0
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov rax, qword [0x14005c018]
xor rax, rsp
mov qword [rsp + 0xa8], rax
mov rdi, rcx
mov qword [rsp + 0x40], rcx
xor r13d, r13d
mov qword [rcx + 0x10], r13
mov qword [rcx + 0x18], send
mov byte [rcx], r13b
mov qword [rcx + 0x38], r13
mov qword [rcx + 0x40], send
mov byte [rcx + 0x28], r13b
add rcx, 0x50
call qword [sym.imp.KERNEL32.dll_InitializeSRWLock]
lea r15, [rdi + 0x60]
mov qword [r15 + 0x10], r13
mov qword [r15 + 0x18], 7
mov word [r15], r13w
mov qword [rdi + 0x90], r13
mov qword [rdi + 0x98], 7
mov word [rdi + 0x80], r13w
lea rbx, [rdi + 0xa0]
mov qword [rsp + 0x98], rbx
mov qword [rbx], r13
mov qword [rbx + 8], r13
mov qword [rbx + 0x10], r13
mov qword [rbx + 0x18], r13
mov qword [rbx + 0x20], r13
lea ecx, [r13 + 0x10]
call fcn.1400111ec
mov qword [rax + 8], r13
mov qword [rbx], rax
mov qword [rax], rbx
lea rcx, [rdi + 0xc8]
call qword [sym.imp.KERNEL32.dll_InitializeSRWLock]
lea rbx, [rdi + 0xd0]
mov qword [rsp + 0x98], rbx
mov qword [rbx], r13
mov qword [rbx + 8], r13
mov qword [rbx + 0x10], r13
mov qword [rbx + 0x18], r13
mov qword [rbx + 0x20], r13
lea ecx, [r13 + 0x10]
call fcn.1400111ec
mov qword [rax + 8], r13
mov qword [rbx], rax
mov qword [rax], rbx
lea rcx, [rdi + 0xf8]
call qword [sym.imp.KERNEL32.dll_InitializeSRWLock]
lea rcx, [rdi + 0x108]
call qword [sym.imp.KERNEL32.dll_InitializeSRWLock]
mov rsi, 0xffffffffffffffff
mov qword [rdi + 0x110], rsi
lea rcx, [rdi + 0x118]
call qword [sym.imp.KERNEL32.dll_InitializeSRWLock]
lea rbx, [rdi + 0x120]
mov rcx, rbx
call fcn.140007e10
nop
lea r14, [rdi + 0x138]
mov qword [rsp + 0x98], r14
mov rax, qword [rbx]
test rax, rax
je 0x14000a68f
cmp byte [rbx + 8], r13b
je 0x14000a186
cmp byte [rax + 0xb8], r13b
jne 0x14000a68f
cmp byte [rbx + 0x10], 0
jne 0x14000a6a7
mov byte [rbx + 0x10], 1
mov qword [r14], r13
cmp r14, rbx
je 0x14000a1bb
mov rax, qword [rbx]
test rax, rax
jne 0x14000a1a9
mov qword [r14], r13
jmp 0x14000a1bb
lock inc dword [rax + 8]
mov rax, qword [rbx]
mov qword [r14], rax
movzx eax, byte [rbx + 8]
mov byte [r14 + 8], al
mov byte [r14 + 8], 1
mov qword [rdi + 0x160], r13
mov qword [rdi + 0x168], 7
mov word [rdi + 0x150], r13w
mov qword [rdi + 0x180], r13
mov qword [rdi + 0x188], send
mov byte [rdi + 0x170], 0
mov qword [rdi + 0x1a0], r13
mov qword [rdi + 0x1a8], send
mov byte [rdi + 0x190], 0
mov qword [rdi + 0x1c0], r13
mov qword [rdi + 0x1c8], send
mov byte [rdi + 0x1b0], 0
mov qword [rdi + 0x1e0], r13
mov qword [rdi + 0x1e8], 7
mov word [rdi + 0x1d0], r13w
mov qword [rdi + 0x200], r13
mov qword [rdi + 0x208], 7
mov word [rdi + 0x1f0], r13w
mov dword [rdi + 0x210], r13d
mov qword [rdi + 0x228], r13
mov qword [rdi + 0x230], 7
mov word [rdi + 0x218], r13w
mov qword [rdi + 0x248], r13
mov qword [rdi + 0x250], 7
mov word [rdi + 0x238], r13w
lea rbx, [rdi + 0x268]
mov qword [rsp + 0x50], rbx
mov rcx, rbx
call fcn.140007e10
nop
lea rcx, [rbx + 0x18]
mov qword [rsp + 0x30], rcx
mov rax, qword [rbx]
test rax, rax
je 0x14000a674
cmp byte [rbx + 8], 0
je 0x14000a2d1
cmp byte [rax + 0xb8], 0
jne 0x14000a674
cmp byte [rbx + 0x10], 0
jne 0x14000a6bf
mov byte [rbx + 0x10], 1
mov qword [rcx], r13
cmp rcx, rbx
je 0x14000a305
mov rax, qword [rbx]
test rax, rax
jne 0x14000a2f4
mov qword [rcx], r13
jmp 0x14000a305
lock inc dword [rax + 8]
mov rax, qword [rbx]
mov qword [rcx], rax
movzx eax, byte [rbx + 8]
mov byte [rcx + 8], al
mov byte [rcx + 8], 1
mov qword [rbx + 0x28], rdi
mov qword [rbx + 0x30], r13
lea rcx, [rbx + 0x40]
call qword [sym.imp.KERNEL32.dll_InitializeSRWLock]
nop
mov qword [rdi + 0x2b0], r13
mov qword [rdi + 0x2b8], r13
mov qword [rdi + 0x2c0], r13
lea rcx, [rdi + 0x2c8]
call qword [sym.imp.KERNEL32.dll_InitializeSRWLock]
mov qword [rdi + 0x2d0], rdi
call fcn.140002820
mov dword [rdi + 0x58], eax
mov rcx, rdi
call fcn.14000a720
cmp qword [r15 + 0x10], 0
jbe 0x14000a66b
cmp qword [r15 + 0x18], 8
jb 0x14000a36a
mov r15, qword [r15]
mov r8, r15
mov edx, 1
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexA]
mov rbx, rax
test rax, rax
je 0x14000a3a1
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x14000a3a1
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov edx, r13d
cmp byte [str.bG9jYWxob3N0], r13b
je 0x14000a3bf
lea rax, str.bG9jYWxob3N0
inc edx
lea rax, [rax + 1]
cmp byte [rax], 0
jne 0x14000a3b4
movsxd rdx, edx
lea rcx, str.bG9jYWxob3N0
call fcn.140001bd0
mov rbp, rax
mov r8d, r13d
cmp byte [str.MTIzNDU2], r13b
je 0x14000a3f0
lea rdx, str.MTIzNDU2
inc r8d
lea rdx, [rdx + 1]
cmp byte [rdx], 0
jne 0x14000a3e4
movsxd rdx, r8d
lea rcx, str.MTIzNDU2
call fcn.140001bd0
mov rbx, rax
mov r8d, r13d
cmp byte [str.MjI3MDA], r13b
je 0x14000a42c
lea rdx, str.MjI3MDA
nop word [rax + rax]
inc r8d
lea rdx, [rdx + 1]
cmp byte [rdx], 0
jne 0x14000a420
movsxd rdx, r8d
lea rcx, str.MjI3MDA
call fcn.140001bd0
mov r13, rax
xor r8d, r8d
cmp byte [str.MTAwMDA], r8b
je 0x14000a45d
lea rdx, str.MTAwMDA
inc r8d
lea rdx, [rdx + 1]
cmp byte [rdx], 0
jne 0x14000a451
movsxd rdx, r8d
lea rcx, str.MTAwMDA
call fcn.140001bd0
mov r15, rax
mov r8, rsi
inc r8
cmp byte [r8 + rbp], 0
jne 0x14000a472
mov rdx, rbp
mov rcx, rdi
call fcn.1400052c0
inc rsi
cmp byte [rbx + rsi], 0
jne 0x14000a487
mov r8, rsi
mov rdx, rbx
lea rcx, [rdi + 0x28]
call fcn.1400052c0
mov rcx, r13
call fcn.140033f68
mov word [rdi + 0x20], ax
mov rcx, r15
call fcn.140033f68
mov dword [rdi + 0x48], eax
test rbp, rbp
je 0x14000a4cd
mov r8, rbp
xor edx, edx
mov rcx, qword [0x1400600f8]
call qword [sym.imp.KERNEL32.dll_HeapFree]
test rbx, rbx
je 0x14000a4e4
mov r8, rbx
xor edx, edx
mov rcx, qword [0x1400600f8]
call qword [sym.imp.KERNEL32.dll_HeapFree]
test r13, r13
je 0x14000a4fb
mov r8, r13
xor edx, edx
mov rcx, qword [0x1400600f8]
call qword [sym.imp.KERNEL32.dll_HeapFree]
test r15, r15
je 0x14000a512
mov r8, r15
xor edx, edx
mov rcx, qword [0x1400600f8]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov ecx, reloc.WS2_32.dll_recv
call fcn.1400111ec
mov rbx, rax
mov qword [rsp + 0x30], rax
mov ecx, reloc.WS2_32.dll_recv
call fcn.1400111ec
mov qword [rax], rdi
lea rcx, [0x14000adb0]
mov qword [rax + 8], rcx
mov qword [rsp + 0x98], rax
lea rsi, [rbx + 8]
mov qword [rsp + 0x28], rsi
xor ebp, ebp
mov dword [rsp + 0x20], ebp
mov r9, rax
lea r8, [0x14000e0e0]
xor edx, edx
xor ecx, ecx
call fcn.140033b4c
mov qword [rbx], rax
test rax, rax
je 0x14000a6da
mov qword [rdi + 0x258], rbx
mov esi, ebp
mov qword [rsp + 0x98], 0xa
nop word [rax + rax]
mov rdx, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x14000a59d
mov rdx, qword [rdi]
movzx r8d, word [rdi + 0x20]
mov rcx, rdi
call fcn.14000c280
test al, al
je 0x14000a5cf
lea rcx, [rdi + 0x50]
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockShared]
mov ebx, dword [rdi + 0x48]
lea rcx, [rdi + 0x50]
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockShared]
mov qword [rsp + 0x88], rbx
jmp 0x14000a5f4
inc esi
cmp esi, 3
jb 0x14000a601
mov esi, ebp
mov dword [rsp + 0x88], ebp
lea rcx, [rsp + 0x88]
call fcn.1400339b4
mov qword [rsp + 0x88], rbp
lea rcx, [rsp + 0x88]
call fcn.14000d210
mov rcx, qword [r14]
test rcx, rcx
je 0x14000a6e7
cmp byte [r14 + 8], 0
je 0x14000a621
cmp byte [rcx + 0xb8], 0
jne 0x14000a6e7
lea rdx, [rsp + 0x98]
call fcn.14000e120
cmp eax, 1
je 0x14000a590
mov rax, rdi
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.1400111c0
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov edx, 4
lea rcx, [rsp + 0x88]
call fcn.140006450
mov rcx, rax
call fcn.1400107f4
nop
mov edx, 4
lea rcx, [rsp + 0x78]
call fcn.140006450
mov rcx, rax
call fcn.1400107f4
int3
mov edx, 2
lea rcx, [rsp + 0x58]
call fcn.140006450
mov rcx, rax
call fcn.1400107f4
nop
mov edx, 2
lea rcx, [rsp + 0x98]
call fcn.140006450
mov rcx, rax
call fcn.1400107f4
nop
mov dword [rsi], ebp
mov ecx, 6
call fcn.14000fe90
nop
mov edx, 4
lea rcx, [rsp + 0x68]
call fcn.140006450
mov rcx, rax
call fcn.1400107f4
int3