Function at 0x14014a1f0
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 [0x1402ea038]
xor rax, rsp
mov qword [rsp + 0xb8], rax
call fcn.1400fd3e0
mov qword [rsp + 0x38], rax
movaps xmm0, xmmword [0x1402af0f0]
movaps xmmword [rsp + 0x90], xmm0
movaps xmmword [rsp + 0xa0], xmm0
lea rbp, str._o_
mov qword [rsp + 0x80], rbp
xor r12d, r12d
mov qword [rsp + 0x88], r12
mov byte [rsp + 0x90], r12b
mov qword [rsp + 0x98], rbp
mov qword [rsp + 0xa0], r12
mov byte [rsp + 0xa8], r12b
lea rbx, [rsi + 0x50]
lea rdi, [rsi + 0x48]
mov r13b, 1
mov r14, qword [rsi + 0x38]
cmp r14, 0xffffffffffffffff
jne 0x14014a2af
mov edx, r13d
and dl, 1
mov rcx, rsi
call fcn.14013cf30
mov r14, rax
cmp rax, 0xffffffffffffffff
jne 0x14014a2b7
jmp 0x14014a69f
mov qword [rsi + 0x38], 0xffffffffffffffff
mov ecx, 0x40
call fcn.1401abf00
mov rcx, qword [rsi + 0x20]
mov qword [rax], rcx
mov qword [rax + 8], rbp
mov qword [rax + 0x10], r14
mov byte [rax + 0x18], 0
mov qword [rax + 0x20], r15
mov qword [rax + 0x28], rdi
mov qword [rax + 0x30], rbx
mov rcx, qword [rsp + 0x38]
mov qword [rax + 0x38], rcx
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor ecx, ecx
xor edx, edx
lea r8, [0x14014a700]
mov r9, rax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov r14, rax
lea r12, [r12 + r12*2]
mov rcx, qword [rsp + r12*8 + 0x88]
test rcx, rcx
je 0x14014a32b
cmp rcx, r14
je 0x14014a617
test rcx, rcx
jne 0x14014a648
lea rax, [rsp + r12*8]
add rax, 0x88
mov qword [rax], r14
test r14, r14
je 0x14014a652
mov r12d, 1
test r13b, 1
mov r13d, 0
jne 0x14014a289
mov rcx, r15
call fcn.1400b2720
lea r12, [rsi + 0x58]
xor r15d, r15d
mov qword [rsp + 0x40], rbx
jmp 0x14014a3d7
mov qword [rbx], rax
jmp 0x14014a38c
mov rax, qword [r8 + 0x10]
cmp qword [rax], r8
mov r8, rax
jne 0x14014a37b
cmp qword [rbx], r14
je 0x14014a376
lea r13, [r14 + 0x20]
dec qword [rsi + 0x60]
mov rdx, r14
call fcn.14016b720
test r13, r13
je 0x14014a61c
mov rcx, r14
call fcn.1401abf3c
mov rcx, rbp
call fcn.14014a830
mov rcx, rbp
call fcn.1401abf3c
cmp byte [rsi + 0x68], 0
jne 0x14014a3ce
cmp qword [rsi + 0x60], 0
je 0x14014a484
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x48], r15
mov dword [rsp + 0x7c], 0
mov rcx, qword [rsi + 0x20]
mov dword [rsp + 0x20], 0xffffffff
lea rdx, [rsp + 0x7c]
lea r8, [rsp + 0x48]
lea r9, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_GetQueuedCompletionStatus]
mov rbp, qword [rsp + 0x48]
test rbp, rbp
je 0x14014a48d
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x14014a5ae
mov rcx, qword [r12]
test rcx, rcx
je 0x14014a3ad
mov rax, rcx
mov r14, r12
lea rdx, [rax + 8]
cmp qword [rax + 0x20], rbp
cmovae rdx, rax
cmovae r14, rax
mov rax, qword [rdx]
test rax, rax
jne 0x14014a438
cmp r14, r12
je 0x14014a3ad
cmp qword [r14 + 0x20], rbp
ja 0x14014a3ad
mov rdx, qword [r14 + 8]
mov r8, r14
test rdx, rdx
je 0x14014a37b
mov rax, rdx
mov rdx, qword [rdx]
test rdx, rdx
je 0x14014a387
jmp 0x14014a473
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 eax, 1
mov dword [r14], eax
mov rbp, qword [rsp + 0x38]
mov qword [r14 + 4], rbp
movabs r13, 0xaaaaaaaaaaaaaaaa
lea r15, [rsp + 0x48]
mov qword [r15], r13
mov ebx, 0xaaaaaaaa
mov dword [r15 + 8], ebx
mov rcx, rsi
mov rdx, r14
mov r8, r15
call fcn.14013cc10
xor eax, eax
mov qword [r14 + 0x1c], rax
movups xmmword [r14 + 0xc], xmm6
mov eax, 1
mov dword [r14], eax
mov qword [r14 + 4], rbp
mov qword [r15], r13
mov dword [r15 + 8], ebx
mov rcx, rsi
mov rdx, r14
mov r8, r15
call fcn.14013cc10
mov r14, qword [rsp + 0x88]
mov rbx, qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, r14
mov edx, 0xffffffff
call rbx
mov r15, qword [rsp + 0xa0]
mov rcx, r15
mov edx, 0xffffffff
call rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x14014a5bb
mov rcx, qword [rsp + 0x40]
mov rbp, qword [rcx]
cmp rbp, r12
jne 0x14014a5c8
mov rdx, qword [rsi + 0x58]
call fcn.140127760
mov qword [rsi + 0x50], r12
xorps xmm0, xmm0
movups xmmword [rsi + 0x58], xmm0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
test r15, r15
je 0x14014a575
mov rcx, r15
call fcn.14013de90
test r14, r14
je 0x14014a582
mov rcx, r14
call fcn.14013de90
mov rcx, qword [rsp + 0xb8]
xor rcx, rsp
call fcn.1401ad700
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, rdi
call sub.KERNEL32.dll_AcquireSRWLockExclusive
jmp 0x14014a425
mov rcx, rdi
call sub.KERNEL32.dll_AcquireSRWLockExclusive
jmp 0x14014a53e
mov rbx, rcx
mov r13, qword [rbp + 0x20]
test r13, r13
je 0x14014a5e4
mov rcx, r13
call fcn.14014a830
mov rcx, r13
call fcn.1401abf3c
mov rcx, qword [rbp + 8]
test rcx, rcx
je 0x14014a609
mov rax, rcx
mov rcx, qword [rcx]
test rcx, rcx
jne 0x14014a5ed
mov rbp, rax
cmp rax, r12
mov rcx, rbx
je 0x14014a54b
jmp 0x14014a5c8
mov rax, qword [rbp + 0x10]
cmp qword [rax], rbp
mov rbp, rax
jne 0x14014a609
jmp 0x14014a5f8
call fcn.1401c6400
lea rax, str.null_pointer_given_to_destroy_at
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s_n
lea rdx, str....._third_partylibc_srcinclude__memoryconstruct_at.h
lea r9, str.__loc___nullptr
mov r8d, 0x44
call fcn.1401f6bb0
call fcn.14013de90
jmp 0x14014a334
lea rdx, [0x1402c17d7]
lea r8, [0x1402d2160]
lea r12, [rsp + 0x58]
mov rcx, r12
mov r9d, 0x14a
call fcn.14018d210
lea r14, [rsp + 0x48]
mov rcx, r14
mov rdx, r12
call fcn.1402297b0
lea rdx, [0x1402c7161]
mov rcx, r14
call fcn.140236e80
mov rcx, r14
call fcn.1402297e0
jmp 0x14014a34a
lea rdx, [0x1402c17d7]
lea r8, [0x1402d2160]
lea rcx, [rsp + 0x58]
mov r9d, 0x13b
call fcn.14018d210
lea r14, [rsp + 0x48]
mov rcx, r14
lea rdx, [rsp + 0x58]
call fcn.1402297b0
lea rdx, str.CreateNamedPipe
mov rcx, r14
call fcn.140236e80
mov rcx, r14
call fcn.1402297e0
mov r14, 0xffffffffffffffff
jmp 0x14014a2b7