Function at 0x14010bab0
Capabilities:
Create thread

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xa8
movaps xmmword [rsp + 0x90], xmm6
mov r13, rdx
mov rsi, rcx
mov rax, qword [0x1403a0028]
xor rax, rsp
mov qword [rsp + 0x88], rax
call fcn.140167350
mov qword [rsp + 0x38], rax
lea r15, [rsi + 0x50]
lea rdi, [rsi + 0x48]
mov rbx, qword [rsi + 0x38]
cmp rbx, 0xffffffffffffffff
jne 0x14010bb5a
mov rcx, rsi
mov dl, 1
call fcn.1400e91b0
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x14010bb62
lea rdx, [0x140385de0]
lea rbx, [rsp + 0x60]
mov rcx, rbx
mov r8d, 0x13b
call fcn.140291d50
mov rcx, rbx
call fcn.140291d70
lea rdx, str.CreateNamedPipe
mov r8d, 0xf
mov rcx, rax
call fcn.1401f9cc0
mov rcx, rbx
call fcn.140291d80
mov rbx, 0xffffffffffffffff
jmp 0x14010bb62
mov qword [rsi + 0x38], 0xffffffffffffffff
mov ecx, 0x40
call fcn.1401b9cac
mov rcx, qword [rsi + 0x20]
mov qword [rax], rcx
lea r14, [0x14032abd8]
mov qword [rax + 8], r14
mov qword [rax + 0x10], rbx
mov byte [rax + 0x18], 0
mov qword [rax + 0x20], r13
mov qword [rax + 0x28], rdi
mov qword [rax + 0x30], r15
mov rcx, qword [rsp + 0x38]
mov qword [rax + 0x38], rcx
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
lea r8, [0x14010bff0]
xor ecx, ecx
xor edx, edx
mov r9, rax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rbp, rax
test rax, rax
je 0x14010bef7
mov rbx, qword [rsi + 0x38]
cmp rbx, 0xffffffffffffffff
jne 0x14010bc31
mov rcx, rsi
xor edx, edx
call fcn.1400e91b0
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x14010bc39
lea rdx, [0x140385de0]
lea rbx, [rsp + 0x60]
mov rcx, rbx
mov r8d, 0x13b
call fcn.140291d50
mov rcx, rbx
call fcn.140291d70
lea rdx, str.CreateNamedPipe
mov r8d, 0xf
mov rcx, rax
call fcn.1401f9cc0
mov rcx, rbx
call fcn.140291d80
mov rbx, 0xffffffffffffffff
jmp 0x14010bc39
mov qword [rsi + 0x38], 0xffffffffffffffff
mov ecx, 0x40
call fcn.1401b9cac
mov rcx, qword [rsi + 0x20]
mov qword [rax], rcx
mov qword [rax + 8], r14
mov qword [rax + 0x10], rbx
mov byte [rax + 0x18], 0
mov qword [rax + 0x20], r13
mov qword [rax + 0x28], rdi
mov qword [rax + 0x30], r15
mov rcx, qword [rsp + 0x38]
mov qword [rax + 0x38], rcx
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
lea r8, [0x14010bff0]
xor ecx, ecx
xor edx, edx
mov r9, rax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rsp + 0x40], rax
test rax, rax
je 0x14010bf3b
mov qword [rsp + 0x48], rbp
mov qword [rsp + 0x30], r15
mov rcx, r13
call fcn.1400399a0
lea r14, [rsi + 0x58]
xor r13d, r13d
mov rbp, qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
mov qword [rsp + 0x60], r13
mov qword [rsp + 0x50], r13
mov dword [rsp + 0x84], 0
mov rcx, qword [rsi + 0x20]
mov dword [rsp + 0x20], 0xffffffff
lea rdx, [rsp + 0x84]
lea r8, [rsp + 0x50]
lea r9, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetQueuedCompletionStatus]
mov r15, qword [rsp + 0x50]
test r15, r15
je 0x14010bdc6
mov rcx, rdi
call rbp
test al, al
je 0x14010beea
mov rcx, qword [r14]
test rcx, rcx
je 0x14010bd88
mov rax, rcx
mov r12, r14
lea rdx, [rax + 8]
cmp qword [rax + 0x20], r15
cmovae rdx, rax
cmovae r12, rax
mov rax, qword [rdx]
test rax, rax
jne 0x14010bd20
cmp r12, r14
je 0x14010bd88
cmp qword [r12 + 0x20], r15
ja 0x14010bd88
mov rbx, qword [r12 + 8]
mov rax, r12
test rbx, rbx
jne 0x14010bd5f
mov rdx, qword [rax + 0x10]
cmp qword [rdx], rax
mov rax, rdx
je 0x14010bd6a
jmp 0x14010bd51
mov rdx, rbx
mov rbx, qword [rbx]
test rbx, rbx
jne 0x14010bd5f
mov rax, qword [rsp + 0x30]
cmp qword [rax], r12
je 0x14010bdb3
dec qword [rsi + 0x60]
mov rdx, r12
call fcn.140157870
mov rcx, r12
call fcn.1401b9ce8
mov rcx, r15
call fcn.14010c110
mov rcx, r15
call fcn.1401b9ce8
cmp byte [rsi + 0x68], 0
jne 0x14010bda5
cmp qword [rsi + 0x60], 0
je 0x14010bdbd
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
jmp 0x14010bcbe
mov rax, qword [rsp + 0x30]
mov qword [rax], rdx
jmp 0x14010bd74
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
xorps xmm6, xmm6
lea rbx, [rsp + 0x60]
movups xmmword [rbx + 0xc], xmm6
xor eax, eax
mov qword [rbx + 0x1c], rax
mov eax, 1
mov dword [rbx], eax
mov r12, qword [rsp + 0x38]
mov qword [rbx + 4], r12
movabs r13, 0xaaaaaaaaaaaaaaaa
lea rbp, [rsp + 0x50]
mov qword [rbp], r13
mov r15d, 0xaaaaaaaa
mov dword [rbp + 8], r15d
mov rcx, rsi
mov rdx, rbx
mov r8, rbp
call fcn.1400e8e90
xor eax, eax
mov qword [rbx + 0x1c], rax
movups xmmword [rbx + 0xc], xmm6
mov eax, 1
mov dword [rbx], eax
mov qword [rbx + 4], r12
mov qword [rbp], r13
mov dword [rbp + 8], r15d
mov rcx, rsi
mov rdx, rbx
mov r8, rbp
call fcn.1400e8e90
mov r15, qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rbp, qword [rsp + 0x48]
mov rcx, rbp
mov edx, 0xffffffff
call r15
mov rbx, qword [rsp + 0x40]
mov rcx, rbx
mov edx, 0xffffffff
call r15
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x14010bf7f
mov rcx, qword [rsp + 0x30]
mov r15, qword [rcx]
cmp r15, r14
jne 0x14010bf8c
mov rdx, qword [rsi + 0x58]
call fcn.1400d5c80
mov qword [rsi + 0x50], r14
xorps xmm0, xmm0
movups xmmword [rsi + 0x58], xmm0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
test rbx, rbx
je 0x14010beb1
mov rcx, rbx
call fcn.1400eb500
test rbp, rbp
je 0x14010bebe
mov rcx, rbp
call fcn.1400eb500
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.1401bb0d0
movaps xmm6, xmmword [rsp + 0x90]
add rsp, 0xa8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rcx, rdi
call fcn.14016dd50
jmp 0x14010bd12
lea rdx, [0x140385de0]
lea rbx, [rsp + 0x60]
mov rcx, rbx
mov r8d, 0x14a
call fcn.140291d50
mov rcx, rbx
call fcn.140291d70
lea rdx, [0x14033f092]
mov r8d, ntohl
mov rcx, rax
call fcn.1401f9cc0
mov rcx, rbx
call fcn.140291d80
jmp 0x14010bbcc
lea rdx, [0x140385de0]
lea rbx, [rsp + 0x60]
mov rcx, rbx
mov r8d, 0x14a
call fcn.140291d50
mov rcx, rbx
call fcn.140291d70
lea rdx, [0x14033f092]
mov r8d, ntohl
mov rcx, rax
call fcn.1401f9cc0
mov rcx, rbx
call fcn.140291d80
jmp 0x14010bc9e
mov rcx, rdi
call fcn.14016dd50
jmp 0x14010be76
mov rbx, qword [rsp + 0x40]
mov rbp, qword [r15 + 0x20]
test rbp, rbp
je 0x14010bfaa
mov rcx, rbp
call fcn.14010c110
mov rcx, rbp
call fcn.1401b9ce8
mov rcx, qword [r15 + 8]
test rcx, rcx
je 0x14010bfc0
mov rax, rcx
mov rcx, qword [rcx]
test rcx, rcx
jne 0x14010bfb3
jmp 0x14010bfcc
mov rax, qword [r15 + 0x10]
cmp qword [rax], r15
mov r15, rax
jne 0x14010bfc0
mov r15, rax
cmp rax, r14
mov rcx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x48]
je 0x14010be87
jmp 0x14010bf91