Function at 0x1401a97fe
Capabilities:
Create thread

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xd8
movaps xmmword [rsp + 0xc0], xmm6
mov r15, rdx
mov rsi, rcx
mov rax, qword [0x14030c028]
xor rax, rsp
mov qword [rsp + 0xb8], rax
call fcn.1400fbf10
mov r12, rax
movaps xmm0, xmmword [0x14029de10]
movaps xmmword [rsp + 0xa0], xmm0
movaps xmmword [rsp + 0x90], xmm0
movaps xmmword [rsp + 0x80], xmm0
mov eax, 0x10
lea rdi, [0x1402a12b0]
mov qword [rsp + rax + 0x70], rdi
mov qword [rsp + rax + 0x78], 0
mov byte [rsp + rax + 0x80], 0
add rax, 0x18
cmp rax, 0x40
jne 0x1401a9864
lea rax, [rsi + 0x50]
mov qword [rsp + 0x30], rax
lea r13, [rsi + 0x48]
mov bl, 1
xor r14d, r14d
mov rbp, qword [rsi + 0x38]
cmp rbp, 0xffffffffffffffff
je 0x1401a98aa
mov qword [rsi + 0x38], 0xffffffffffffffff
jmp 0x1401a98c4
mov edx, ebx
and dl, 1
mov rcx, rsi
call fcn.14019ca5c
mov rbp, rax
cmp rax, 0xffffffffffffffff
je 0x1401a999d
mov ecx, 0x40
call fcn.140255d40
mov rcx, qword [rsi + 0x20]
mov qword [rax], rcx
mov qword [rax + 8], rdi
mov qword [rax + 0x10], rbp
mov byte [rax + 0x18], 0
mov qword [rax + 0x20], r15
mov qword [rax + 0x28], r13
mov rcx, qword [rsp + 0x30]
mov qword [rax + 0x30], rcx
mov qword [rax + 0x38], r12
lea rcx, [r14 + r14*2]
lea rbp, [rsp + rcx*8]
add rbp, 0x80
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor ecx, ecx
xor edx, edx
lea r8, [0x1401a9c00]
mov r9, rax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rsp + 0x48], rax
mov rcx, rbp
lea rdx, [rsp + 0x48]
call fcn.14014272c
cmp qword [rbp + 8], 0
je 0x1401a995c
mov r14d, 1
test bl, 1
mov ebx, 0
jne 0x1401a9896
jmp 0x1401a99e8
lea rbp, [rsp + 0x48]
mov rcx, rbp
lea rdx, [0x1402bfa30]
mov r8d, 0x14a
call fcn.14019aad0
mov rcx, rbp
call fcn.14019ab60
mov r8d, 0xc
mov rcx, rax
lea rdx, [0x1402b6361]
call fcn.14001eb4a
mov rcx, rbp
call fcn.14019ab70
jmp 0x1401a9943
lea rbp, [rsp + 0x48]
mov rcx, rbp
lea rdx, [0x1402bfa30]
mov r8d, 0x13b
call fcn.14019aad0
mov rcx, rbp
call fcn.14019ab60
mov r8d, 0xf
mov rcx, rax
lea rdx, str.CreateNamedPipe
call fcn.14001eb4a
mov rcx, rbp
call fcn.14019ab70
mov rbp, 0xffffffffffffffff
jmp 0x1401a98c4
mov rcx, r15
call fcn.140019da0
xor ebx, ebx
lea rdi, [rsp + 0x48]
mov r14, qword [sym.imp.KERNEL32.dll_GetQueuedCompletionStatus]
lea rbp, [rsp + 0x70]
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x7c], 0
mov rcx, qword [rsi + 0x20]
mov dword [rsp + 0x20], 0xffffffff
lea rdx, [rsp + 0x7c]
lea r8, [rsp + 0x38]
mov r9, rdi
call r14
mov rax, qword [rsp + 0x38]
test rax, rax
je 0x1401a9aa2
mov qword [rsp + 0x70], rax
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x1401a9a8f
mov rcx, qword [rsp + 0x30]
mov rdx, rbp
call fcn.1401aa6f6
mov r15, qword [rsp + 0x70]
test r15, r15
je 0x1401a9a74
mov rcx, r15
call fcn.1401a9d04
mov rcx, r15
call fcn.140255d7c
cmp byte [rsi + 0x68], 0
jne 0x1401a9a81
cmp qword [rsi + 0x60], 0
je 0x1401a9a99
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
jmp 0x1401a9a03
mov rcx, r13
call fcn.140111020
jmp 0x1401a9a4d
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov bpl, 1
lea rdi, [rsp + 0x54]
xorps xmm6, xmm6
movabs r15, 0xaaaaaaaaaaaaaaaa
lea r14, [rsp + 0x48]
lea rbx, [rsp + 0x38]
movups xmmword [rdi], xmm6
mov qword [rdi + 0x10], 0
mov dword [rsp + 0x48], 1
mov qword [rsp + 0x4c], r12
mov qword [rsp + 0x38], r15
mov dword [rsp + 0x40], 0xaaaaaaaa
mov rcx, rsi
mov rdx, r14
mov r8, rbx
call fcn.14019c744
test bpl, 1
mov ebp, 0
jne 0x1401a9ac1
mov edi, 8
mov rbx, qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + rdi + 0x80]
mov edx, 0xffffffff
call rbx
add rdi, 0x18
cmp rdi, 0x38
jne 0x1401a9b0b
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x1401a9be4
mov rax, qword [rsi + 0x50]
mov qword [rsp + 0x48], rax
lea rbx, [rsi + 0x58]
cmp rax, rbx
je 0x1401a9b77
lea r14, [rsp + 0x48]
mov rbp, qword [rax + 0x20]
test rbp, rbp
je 0x1401a9b65
mov rcx, rbp
call fcn.1401a9d04
mov rcx, rbp
call fcn.140255d7c
mov rcx, r14
call fcn.1400286c8
mov rax, qword [rsp + 0x48]
cmp rax, rbx
jne 0x1401a9b4c
mov rdx, qword [rsi + 0x58]
mov rcx, qword [rsp + 0x30]
call fcn.14003da90
mov qword [rsi + 0x50], rbx
xorps xmm0, xmm0
movups xmmword [rsi + 0x58], xmm0
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov esi, 0x18
lea rcx, [rsp + rsi]
add rcx, 0x80
call fcn.14014223e
add rsi, 0xffffffffffffffe8
cmp rsi, 0xffffffffffffffe8
jne 0x1401a9b9e
mov rcx, qword [rsp + 0xb8]
xor rcx, rsp
call fcn.140257200
movaps xmm6, xmmword [rsp + 0xc0]
add rsp, 0xd8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rcx, r13
call fcn.140111020
jmp 0x1401a9b35