Function at 0x140145cc0
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 r15, rdx
mov rsi, rcx
mov rax, qword [0x1402ef038]
xor rax, rsp
mov qword [rsp + 0xc8], rax
call fcn.140105c40
mov qword [rsp + 0x40], rax
movaps xmm0, xmmword [0x1402bb8f0]
movaps xmmword [rsp + 0xb0], xmm0
movaps xmmword [rsp + 0xa0], xmm0
xor r14d, r14d
mov qword [rsp + 0x98], r14
mov qword [rsp + 0xb0], r14
lea rax, [rsi + 0x50]
mov qword [rsp + 0x38], rax
lea rdi, [rsi + 0x48]
mov bpl, 1
lea r12, [0x140146120]
jmp 0x140145df7
mov qword [rsi + 0x38], 0xffffffffffffffff
mov ecx, 0x40
call fcn.1401d4088
mov rcx, qword [rsi + 0x20]
mov qword [rax], rcx
lea rcx, [0x1402bd810]
mov qword [rax + 8], rcx
mov qword [rax + 0x10], r13
mov byte [rax + 0x18], 0
mov qword [rax + 0x20], r15
mov qword [rax + 0x28], rdi
mov rcx, qword [rsp + 0x38]
mov qword [rax + 0x30], rcx
mov rcx, qword [rsp + 0x40]
mov qword [rax + 0x38], rcx
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor ecx, ecx
xor edx, edx
mov r8, r12
mov r9, rax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov r13, rax
lea rbx, [r14 + r14*2]
mov rcx, qword [rsp + rbx*8 + 0x98]
test rcx, rcx
je 0x140145dc7
cmp rcx, r13
je 0x140146079
test rcx, rcx
jne 0x14014602c
lea rax, [rsp + rbx*8]
add rax, 0x98
mov qword [rax], r13
test r13, r13
je 0x14014607e
mov r14d, 1
test bpl, 1
mov ebp, 0
je 0x140145e24
mov r13, qword [rsi + 0x38]
cmp r13, 0xffffffffffffffff
jne 0x140145d43
mov edx, ebp
and dl, 1
mov rcx, rsi
call fcn.140133a80
mov r13, rax
cmp rax, 0xffffffffffffffff
jne 0x140145d4b
jmp 0x1401460cb
mov rcx, r15
call fcn.1400c5c80
xor ebx, ebx
lea r13, [rsp + 0x58]
mov r15, qword [sym.imp.KERNEL32.dll_GetQueuedCompletionStatus]
mov r12, qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
lea rbp, [rsp + 0x80]
jmp 0x140145e54
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]
lea r8, [rsp + 0x48]
mov r9, r13
call r15
mov rax, qword [rsp + 0x48]
test rax, rax
je 0x140145ef0
mov qword [rsp + 0x80], rax
mov rcx, rdi
call r12
test al, al
je 0x14014601f
mov rcx, qword [rsp + 0x38]
mov rdx, rbp
call fcn.140146e10
mov r14, qword [rsp + 0x80]
test r14, r14
je 0x140145ed2
mov rcx, r14
call fcn.140146250
mov rcx, r14
call fcn.1401d40d8
cmp byte [rsi + 0x68], 0
jne 0x140145e4b
cmp qword [rsi + 0x60], 0
jne 0x140145e4b
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
xorps xmm6, xmm6
lea r14, [rsp + 0x58]
movups xmmword [r14 + 0xc], xmm6
xor eax, eax
mov qword [r14 + 0x1c], rax
mov ebp, 1
mov dword [r14], ebp
mov rbx, qword [rsp + 0x40]
mov qword [r14 + 4], rbx
movabs r12, 0xaaaaaaaaaaaaaaaa
lea r15, [rsp + 0x48]
mov qword [r15], r12
mov r13d, 0xaaaaaaaa
mov dword [r15 + 8], r13d
mov rcx, rsi
mov rdx, r14
mov r8, r15
call fcn.140133760
xor eax, eax
mov qword [r14 + 0x1c], rax
movups xmmword [r14 + 0xc], xmm6
mov dword [r14], ebp
mov qword [r14 + 4], rbx
mov qword [r15], r12
mov dword [r15 + 8], r13d
mov rcx, rsi
mov rdx, r14
mov r8, r15
call fcn.140133760
mov r14, qword [rsp + 0x98]
mov rbx, qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, r14
mov edx, 0xffffffff
call rbx
mov r15, qword [rsp + 0xb0]
mov rcx, r15
mov edx, 0xffffffff
call rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x140146036
mov rax, qword [rsi + 0x50]
mov qword [rsp + 0x58], rax
lea rbx, [rsi + 0x58]
cmp rax, rbx
jne 0x140146043
mov rdx, qword [rsi + 0x58]
mov rcx, qword [rsp + 0x38]
call fcn.14011abd0
mov qword [rsi + 0x50], rbx
xorps xmm0, xmm0
movups xmmword [rsi + 0x58], xmm0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
test r15, r15
je 0x140145fe6
mov rcx, r15
call fcn.1401349f0
test r14, r14
je 0x140145ff3
mov rcx, r14
call fcn.1401349f0
mov rcx, qword [rsp + 0xc8]
xor rcx, rsp
call fcn.1401d5680
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 rcx, rdi
call sub.KERNEL32.dll_AcquireSRWLockExclusive
jmp 0x140145ea8
call fcn.1401349f0
jmp 0x140145dd0
mov rcx, rdi
call sub.KERNEL32.dll_AcquireSRWLockExclusive
jmp 0x140145fa1
lea r12, [rsp + 0x58]
mov r13, qword [rax + 0x20]
test r13, r13
je 0x140146061
mov rcx, r13
call fcn.140146250
mov rcx, r13
call fcn.1401d40d8
mov rcx, r12
call fcn.140146350
mov rax, qword [rsp + 0x58]
cmp rax, rbx
je 0x140145fb7
jmp 0x140146048
call fcn.1401ed7b0
lea rdx, [0x1402c1fe4]
lea r8, [0x1402d95d0]
lea rbx, [rsp + 0x58]
mov rcx, rbx
mov r9d, 0x14a
call fcn.14019f4e0
lea r13, [rsp + 0x48]
mov rcx, r13
mov rdx, rbx
call fcn.14024cb30
lea rdx, [0x1402cf0df]
mov rcx, r13
call fcn.14024f150
mov rcx, r13
call fcn.14024cb60
jmp 0x140145de6
lea rdx, [0x1402c1fe4]
lea r8, [0x1402d95d0]
lea rbx, [rsp + 0x58]
mov rcx, rbx
mov r9d, 0x13b
call fcn.14019f4e0
lea r13, [rsp + 0x48]
mov rcx, r13
mov rdx, rbx
call fcn.14024cb30
lea rdx, str.CreateNamedPipe
mov rcx, r13
call fcn.14024f150
mov rcx, r13
call fcn.14024cb60
mov r13, 0xffffffffffffffff
jmp 0x140145d4b