Function at 0x14007e0b0
Capabilities:
Create thread

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xb8
movaps xmmword [rsp + 0xa0], xmm6
mov r13, rdx
mov rsi, rcx
mov rax, qword [0x1401c8018]
xor rax, rsp
mov qword [rsp + 0x98], rax
call fcn.1400b4260
mov r15, rax
lea rax, [rsi + 0x50]
mov qword [rsp + 0x30], rax
lea rbx, [rsi + 0x48]
mov rdi, qword [rsi + 0x38]
cmp rdi, 0xffffffffffffffff
jne 0x14007e15d
mov rcx, rsi
mov dl, 1
call fcn.1400932f0
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x14007e165
lea rdx, [0x1401b4f10]
lea rdi, [rsp + 0x60]
mov rcx, rdi
mov r8d, 0x13c
call fcn.14015fb70
mov rcx, rdi
call fcn.14015faa0
lea rdx, str.CreateNamedPipe
mov r8d, 0xf
mov rcx, rax
call fcn.1400a5d10
mov rcx, rdi
call fcn.14015fab0
mov rdi, 0xffffffffffffffff
jmp 0x14007e165
mov qword [rsi + 0x38], 0xffffffffffffffff
mov ecx, 0x40
call fcn.1400d4eb8
mov rcx, qword [rsi + 0x20]
mov qword [rax], rcx
lea r14, [0x1401a1478]
mov qword [rax + 8], r14
mov qword [rax + 0x10], rdi
mov byte [rax + 0x18], 0
mov qword [rax + 0x20], r13
mov qword [rax + 0x28], rbx
mov rcx, qword [rsp + 0x30]
mov qword [rax + 0x30], rcx
mov qword [rax + 0x38], r15
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
lea r8, [0x14007e5b0]
xor ecx, ecx
xor edx, edx
mov r9, rax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rbp, rax
test rax, rax
je 0x14007e4b7
mov rdi, qword [rsi + 0x38]
cmp rdi, 0xffffffffffffffff
jne 0x14007e234
mov rcx, rsi
xor edx, edx
call fcn.1400932f0
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x14007e23c
lea rdx, [0x1401b4f10]
lea rdi, [rsp + 0x60]
mov rcx, rdi
mov r8d, 0x13c
call fcn.14015fb70
mov rcx, rdi
call fcn.14015faa0
lea rdx, str.CreateNamedPipe
mov r8d, 0xf
mov rcx, rax
call fcn.1400a5d10
mov rcx, rdi
call fcn.14015fab0
mov rdi, 0xffffffffffffffff
jmp 0x14007e23c
mov qword [rsi + 0x38], 0xffffffffffffffff
mov qword [rsp + 0x40], rbp
mov ecx, 0x40
call fcn.1400d4eb8
mov rcx, qword [rsi + 0x20]
mov qword [rax], rcx
mov qword [rax + 8], r14
mov qword [rax + 0x10], rdi
mov byte [rax + 0x18], 0
mov qword [rax + 0x20], r13
mov qword [rax + 0x28], rbx
mov rcx, qword [rsp + 0x30]
mov qword [rax + 0x30], rcx
mov qword [rsp + 0x48], r15
mov qword [rax + 0x38], r15
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
lea r8, [0x14007e5b0]
xor ecx, ecx
xor edx, edx
mov r9, rax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rsp + 0x38], rax
test rax, rax
je 0x14007e4fb
mov rcx, r13
call fcn.1400396e0
xor r14d, r14d
mov r15, qword [sym.imp.KERNEL32.dll_GetQueuedCompletionStatus]
mov r13, qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
lea rdi, [rsp + 0x88]
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x50], r14
mov dword [rsp + 0x94], 0
mov rcx, qword [rsi + 0x20]
mov dword [rsp + 0x20], 0xffffffff
lea rdx, [rsp + 0x94]
lea r8, [rsp + 0x50]
lea r9, [rsp + 0x60]
call r15
mov rax, qword [rsp + 0x50]
test rax, rax
je 0x14007e4a2
mov qword [rsp + 0x88], rax
mov rbp, rbx
mov rcx, rbx
call r13
test al, al
je 0x14007e4aa
mov rcx, qword [rsp + 0x30]
mov rdx, rdi
call fcn.14007f190
mov r12, qword [rsp + 0x88]
test r12, r12
je 0x14007e353
mov rcx, r12
call fcn.14007e6c0
mov rcx, r12
call fcn.1400d4ef4
cmp byte [rsi + 0x68], 0
jne 0x14007e360
cmp qword [rsi + 0x60], 0
je 0x14007e371
mov rbx, rbp
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
jmp 0x14007e2cc
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
xorps xmm6, xmm6
lea rdi, [rsp + 0x60]
movups xmmword [rdi + 0xc], xmm6
xor eax, eax
mov qword [rdi + 0x1c], rax
mov r15d, 1
mov dword [rdi], r15d
mov r14, qword [rsp + 0x48]
mov qword [rdi + 4], r14
movabs r12, 0xaaaaaaaaaaaaaaaa
lea rbx, [rsp + 0x50]
mov qword [rbx], r12
mov r13d, 0xaaaaaaaa
mov dword [rbx + 8], r13d
mov rcx, rsi
mov rdx, rdi
mov r8, rbx
call fcn.140092fd0
xor eax, eax
mov qword [rdi + 0x1c], rax
movups xmmword [rdi + 0xc], xmm6
mov dword [rdi], r15d
mov qword [rdi + 4], r14
mov qword [rbx], r12
mov dword [rbx + 8], r13d
mov rcx, rsi
mov rdx, rdi
mov r8, rbx
call fcn.140092fd0
mov r14, qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rbx, qword [rsp + 0x40]
mov rcx, rbx
mov edx, 0xffffffff
call r14
mov rdi, qword [rsp + 0x38]
mov rcx, rdi
mov edx, 0xffffffff
call r14
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
mov r14, rbp
je 0x14007e53f
mov r15, qword [rsi + 0x50]
lea rbp, [rsi + 0x58]
cmp r15, rbp
jne 0x14007e54c
mov rdx, qword [rsi + 0x58]
mov rcx, qword [rsp + 0x30]
call fcn.14006a480
mov qword [rsi + 0x50], rbp
xorps xmm0, xmm0
movups xmmword [rsi + 0x58], xmm0
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
test rdi, rdi
je 0x14007e469
mov rcx, rdi
call fcn.14008f1d0
test rbx, rbx
je 0x14007e476
mov rcx, rbx
call fcn.14008f1d0
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.1400d5720
movaps xmm6, xmmword [rsp + 0xa0]
add rsp, 0xb8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rbp, rbx
jmp 0x14007e37a
mov rcx, rbp
call fcn.1400b91e0
jmp 0x14007e329
lea rdx, [0x1401b4f10]
lea rdi, [rsp + 0x60]
mov rcx, rdi
mov r8d, 0x14b
call fcn.14015fb70
mov rcx, rdi
call fcn.14015faa0
lea rdx, [0x1401b4f98]
mov r8d, 0xc
mov rcx, rax
call fcn.1400a5d10
mov rcx, rdi
call fcn.14015fab0
jmp 0x14007e1cf
lea rdx, [0x1401b4f10]
lea rdi, [rsp + 0x60]
mov rcx, rdi
mov r8d, 0x14b
call fcn.14015fb70
mov rcx, rdi
call fcn.14015faa0
lea rdx, [0x1401b4f98]
mov r8d, 0xc
mov rcx, rax
call fcn.1400a5d10
mov rcx, rdi
call fcn.14015fab0
jmp 0x14007e2ab
mov rcx, r14
call fcn.1400b91e0
jmp 0x14007e429
mov rbx, qword [rsp + 0x40]
mov rdi, qword [r15 + 0x20]
test rdi, rdi
je 0x14007e56a
mov rcx, rdi
call fcn.14007e6c0
mov rcx, rdi
call fcn.1400d4ef4
mov rcx, qword [r15 + 8]
test rcx, rcx
je 0x14007e591
mov rax, rcx
mov rcx, qword [rcx]
test rcx, rcx
jne 0x14007e573
mov r15, rax
cmp rax, rbp
mov rdi, qword [rsp + 0x38]
je 0x14007e43a
jmp 0x14007e551
mov rax, qword [r15 + 0x10]
cmp qword [rax], r15
je 0x14007e57e
add r15, 0x10
mov rcx, qword [r15]
lea r15, [rcx + 0x10]
mov rax, qword [rcx + 0x10]
cmp qword [rax], rcx
jne 0x14007e59e
jmp 0x14007e57e