Function at 0x14005e5b0
Capabilities:
Create thread

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xe8
movaps xmmword [rsp + 0xd0], xmm6
mov r14, rdx
mov rsi, rcx
mov rax, qword [0x140346038]
xor rax, rsp
mov qword [rsp + 0xc8], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x90]
mov qword [rdi], rax
mov edx, 8
mov rcx, rdi
call fcn.1400717a0
mov rcx, qword [rdi]
movaps xmm0, xmmword [0x1402fccc0]
movaps xmmword [rdi + 0x20], xmm0
movaps xmmword [rdi + 0x10], xmm0
movaps xmmword [rdi], xmm0
mov eax, 0x10
lea rbx, [0x1402ff0e0]
mov qword [rsp + rax + 0x80], rbx
mov qword [rsp + rax + 0x88], 0
mov byte [rsp + rax + 0x90], 0
add rax, 0x18
cmp rax, 0x40
jne 0x14005e626
mov qword [rsp + 0x38], rcx
lea rax, [rsi + 0x50]
mov qword [rsp + 0x40], rax
lea rdi, [rsi + 0x48]
mov bpl, 1
xor r15d, r15d
lea r12, [rsp + 0x58]
mov r13, qword [rsi + 0x38]
cmp r13, 0xffffffffffffffff
jne 0x14005e68e
mov edx, ebp
and dl, 1
mov rcx, rsi
call fcn.14005ed3f
mov r13, rax
cmp rax, 0xffffffffffffffff
jne 0x14005e696
jmp 0x14005ea1e
mov qword [rsi + 0x38], 0xffffffffffffffff
mov ecx, 0x40
call fcn.140153bd4
mov rcx, qword [rsi + 0x20]
mov qword [rax], rcx
mov qword [rax + 8], rbx
mov qword [rax + 0x10], r13
mov byte [rax + 0x18], 0
mov qword [rax + 0x20], r14
mov qword [rax + 0x28], rdi
mov rcx, qword [rsp + 0x40]
mov qword [rax + 0x30], rcx
mov rcx, qword [rsp + 0x38]
mov qword [rax + 0x38], rcx
lea rcx, [r15 + r15*2]
lea r13, [rsp + rcx*8]
add r13, 0x90
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor ecx, ecx
xor edx, edx
lea r8, [0x140094440]
mov r9, rax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rsp + 0x58], rax
mov rcx, r13
mov rdx, r12
call fcn.14005ecfa
cmp qword [r13 + 8], 0
je 0x14005e9ca
mov r15d, 1
test bpl, 1
mov ebp, 0
jne 0x14005e669
xor eax, eax
lea r9, [rsp + 0x58]
mov qword [r9], rax
lea r14, [rsp + 0x48]
mov qword [r14], rax
lea rdx, [rsp + 0x8c]
mov dword [rdx], 0
mov rcx, qword [rsi + 0x20]
mov dword [rsp + 0x20], 0xffffffff
mov r8, r14
call qword [sym.imp.KERNEL32.dll_GetQueuedCompletionStatus]
mov rbp, qword [r14]
test rbp, rbp
je 0x14005e824
lea r14, [rsp + 0x80]
xor ebx, ebx
lea r12, [rsp + 0x48]
lea r13, [rsp + 0x58]
mov r15, qword [sym.imp.KERNEL32.dll_GetQueuedCompletionStatus]
mov qword [rsp + 0x80], rbp
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x14005e9a8
mov rcx, qword [rsp + 0x40]
mov rdx, r14
call fcn.14005ea78
mov rcx, rbp
call fcn.14005eb74
mov rcx, rbp
call fcn.140153bcc
cmp byte [rsi + 0x68], 0
jne 0x14005e7d0
cmp qword [rsi + 0x60], 0
je 0x14005e81b
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x48], rbx
mov dword [rsp + 0x8c], 0
mov rcx, qword [rsi + 0x20]
mov dword [rsp + 0x20], 0xffffffff
lea rdx, [rsp + 0x8c]
mov r8, r12
mov r9, r13
call r15
mov rbp, qword [rsp + 0x48]
test rbp, rbp
jne 0x14005e78d
jmp 0x14005e824
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov bpl, 1
lea r15, [rsp + 0x64]
xorps xmm6, xmm6
lea rbx, [rsp + 0x58]
lea r14, [rsp + 0x48]
movabs r12, 0xaaaaaaaaaaaaaaaa
mov r13, qword [rsp + 0x38]
movups xmmword [r15], xmm6
mov qword [r15 + 0x10], 0
mov dword [rsp + 0x58], 1
mov qword [rsp + 0x5c], r13
mov qword [rsp + 0x48], r12
mov dword [rsp + 0x50], 0xaaaaaaaa
mov rcx, rsi
mov rdx, rbx
mov r8, r14
call fcn.14005ee1c
test bpl, 1
mov ebp, 0
jne 0x14005e848
mov ebx, 8
mov r14, qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + rbx + 0x90]
mov edx, 0xffffffff
call r14
add rbx, 0x18
cmp rbx, 0x38
jne 0x14005e893
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x14005e9b6
mov r15, qword [rsi + 0x50]
lea r14, [rsi + 0x58]
cmp r15, r14
lea rbx, [0x1402ff0e0]
jne 0x14005e95b
mov rcx, qword [rsi + 0x58]
call fcn.14005ab60
mov qword [rsi + 0x50], r14
xorps xmm0, xmm0
movups xmmword [rsi + 0x58], xmm0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov esi, 0x30
mov qword [rsp + rsi + 0x78], rbx
cmp byte [rsp + rsi + 0x88], 0
jne 0x14005e9c4
mov rcx, qword [rsp + rsi + 0x80]
test rcx, rcx
je 0x14005e929
call fcn.14005ec2a
mov qword [rsp + rsi + 0x80], 0
add rsi, 0xffffffffffffffe8
jne 0x14005e8f8
mov rcx, qword [rsp + 0xc8]
xor rcx, rsp
call fcn.140156fe0
movaps xmm6, xmmword [rsp + 0xd0]
add rsp, 0xe8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rbx, qword [r15 + 0x20]
test rbx, rbx
jne 0x14005e996
test r15, r15
je 0x14005e9c7
mov rcx, qword [r15 + 8]
test rcx, rcx
jne 0x14005e989
mov rax, qword [r15 + 0x10]
cmp qword [rax], r15
mov r15, rax
jne 0x14005e972
mov r15, rax
cmp rax, r14
jmp 0x14005e8c9
mov rax, rcx
mov rcx, qword [rcx]
test rcx, rcx
je 0x14005e97e
jmp 0x14005e989
mov rcx, rbx
call fcn.14005eb74
mov rcx, rbx
call fcn.140153bcc
jmp 0x14005e964
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
jmp 0x14005e7a6
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
jmp 0x14005e8be
int3
int3
lea rdx, [0x140310e21]
lea r8, [0x14031f718]
lea r15, [rsp + 0x58]
mov rcx, r15
mov r9d, 0x14a
call fcn.1400c6940
lea rdx, [0x140304344]
lea r13, [rsp + 0x48]
mov rcx, r13
mov r8, r15
call fcn.140245db0
lea rdx, [0x14031f7a0]
mov rcx, r13
call fcn.140248aba
mov rcx, r13
call fcn.140245e80
jmp 0x14005e71c
lea rdx, [0x140310e21]
lea r8, [0x14031f718]
lea rcx, [rsp + 0x58]
mov r9d, 0x13b
call fcn.1400c6940
lea rdx, [0x140304344]
lea r13, [rsp + 0x48]
mov rcx, r13
lea r8, [rsp + 0x58]
call fcn.140245db0
lea rdx, str.CreateNamedPipe
mov rcx, r13
call fcn.140248aba
mov rcx, r13
call fcn.140245e80
mov r13, 0xffffffffffffffff
jmp 0x14005e696