Function at 0x14011a950
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 [0x140274038]
xor rax, rsp
mov qword [rsp + 0xb8], rax
call fcn.1400d8b40
mov qword [rsp + 0x40], rax
movaps xmm0, xmmword [0x14023d7d0]
movaps xmmword [rsp + 0x90], xmm0
movaps xmmword [rsp + 0xa0], xmm0
lea rbp, [0x14023f7e8]
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 0x14011aa0f
mov edx, r13d
and dl, 1
mov rcx, rsi
call fcn.140108c20
mov r14, rax
cmp rax, 0xffffffffffffffff
jne 0x14011aa17
jmp 0x14011ae41
mov qword [rsi + 0x38], 0xffffffffffffffff
mov ecx, 0x40
call fcn.14018bb3c
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 + 0x40]
mov qword [rax + 0x38], rcx
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor ecx, ecx
xor edx, edx
lea r8, [0x14011aea0]
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 0x14011aa8b
cmp rcx, r14
je 0x14011ad97
test rcx, rcx
jne 0x14011adea
lea rax, [rsp + r12*8]
add rax, 0x88
mov qword [rax], r14
test r14, r14
je 0x14011adf4
mov r12d, 1
test r13b, 1
mov r13d, 0
jne 0x14011a9e9
mov rcx, r15
call fcn.1400b44b0
movabs r12, 0xfffffffc00000000
and r12, rdi
lea r13, [rsi + 0x58]
jmp 0x14011abb8
mov rax, rdx
mov rdx, qword [rdx]
test rdx, rdx
je 0x14011ab53
jmp 0x14011aade
mov qword [rbx], rax
jmp 0x14011ab58
mov rcx, rdi
call fcn.1401599c0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x14011ad6a
mov rcx, qword [r13]
test rcx, rcx
je 0x14011ab79
mov rax, rcx
mov r14, r13
lea rdx, [rax + 8]
cmp qword [rax + 0x20], rbp
cmovae rdx, rax
cmovae r14, rax
mov rax, qword [rdx]
test rax, rax
jne 0x14011ab18
cmp r14, r13
je 0x14011ab79
cmp qword [r14 + 0x20], rbp
ja 0x14011ab79
mov rdx, qword [r14 + 8]
mov r8, r14
test rdx, rdx
jne 0x14011aade
mov rax, qword [r8 + 0x10]
cmp qword [rax], r8
mov r8, rax
jne 0x14011ab47
cmp qword [rbx], r14
je 0x14011aaeb
lea r15, [r14 + 0x20]
dec qword [rsi + 0x60]
mov rdx, r14
call fcn.140138450
test r15, r15
je 0x14011ad84
mov rcx, r14
call fcn.14018bb78
mov rcx, rbp
call fcn.14011afc0
mov rcx, rbp
call fcn.14018bb78
cmp byte [rsi + 0x68], 0
jne 0x14011ab96
cmp qword [rsi + 0x60], 0
je 0x14011ac09
mov bpl, 1
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
cmp r12, qword [0x140276788]
jne 0x14011abb3
mov rcx, rdi
call fcn.140159b20
test bpl, bpl
je 0x14011ac0d
xor eax, eax
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x48], rax
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 0x14011ac0d
cmp r12, qword [0x140276788]
jne 0x14011aaf8
jmp 0x14011aaf0
xor ebp, ebp
jmp 0x14011ab99
mov qword [rsp + 0x38], rbx
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 rbx, qword [rsp + 0x40]
mov qword [r14 + 4], rbx
movabs rax, 0xaaaaaaaaaaaaaaaa
lea r15, [rsp + 0x48]
mov qword [r15], rax
mov ebp, 0xaaaaaaaa
mov dword [r15 + 8], ebp
mov rcx, rsi
mov rdx, r14
mov r8, r15
call fcn.140108910
xor eax, eax
mov qword [r14 + 0x1c], rax
movups xmmword [r14 + 0xc], xmm6
mov eax, 1
mov dword [r14], eax
mov qword [r14 + 4], rbx
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [r15], rax
mov dword [r15 + 8], ebp
mov rcx, rsi
mov rdx, r14
mov r8, r15
call fcn.140108910
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
cmp r12, qword [0x140276788]
jne 0x14011acd1
mov rcx, rdi
call fcn.1401599c0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
mov rbx, qword [rsp + 0x38]
je 0x14011ad77
mov rbp, qword [rbx]
cmp rbp, r13
jne 0x14011ad9c
mov rdx, qword [rsi + 0x58]
mov rcx, rbx
call fcn.1400eabf0
mov qword [rsi + 0x50], r13
xorps xmm0, xmm0
movups xmmword [rsi + 0x58], xmm0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
cmp r12, qword [0x140276788]
jne 0x14011ad24
mov rcx, rdi
call fcn.140159b20
test r15, r15
je 0x14011ad31
mov rcx, r15
call fcn.14010a3a0
test r14, r14
je 0x14011ad3e
mov rcx, r14
call fcn.14010a3a0
mov rcx, qword [rsp + 0xb8]
xor rcx, rsp
call fcn.14018d030
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 0x14011ab09
mov rcx, rdi
call sub.KERNEL32.dll_AcquireSRWLockExclusive
jmp 0x14011ace7
lea rcx, [0x140242e90]
lea rdx, str....._third_partylibc_srcinclude__memoryconstruct_at.h:66:_assertion___loc___nullptr_failed:_null_pointer_given_to_destroy_at_n
call fcn.1401c7f00
call fcn.1401a4f50
mov rbx, qword [rbp + 0x20]
test rbx, rbx
je 0x14011adb5
mov rcx, rbx
call fcn.14011afc0
mov rcx, rbx
call fcn.14018bb78
mov rcx, qword [rbp + 8]
test rcx, rcx
je 0x14011addc
mov rax, rcx
mov rcx, qword [rcx]
test rcx, rcx
jne 0x14011adbe
mov rbp, rax
cmp rax, r13
mov rbx, qword [rsp + 0x38]
je 0x14011acf3
jmp 0x14011ad9c
mov rax, qword [rbp + 0x10]
cmp qword [rax], rbp
mov rbp, rax
jne 0x14011addc
jmp 0x14011adc9
call fcn.14010a3a0
jmp 0x14011aa94
lea rdx, [0x14024345a]
lea r8, [0x14025eab0]
lea r12, [rsp + 0x58]
mov rcx, r12
mov r9d, 0x14b
call fcn.1401552d0
lea r14, [rsp + 0x48]
mov rcx, r14
mov rdx, r12
call fcn.1401e7c70
lea rdx, [0x1402549ff]
mov rcx, r14
call fcn.1401eb750
mov rcx, r14
call fcn.1401e7d30
jmp 0x14011aaaa
lea rdx, [0x14024345a]
lea r8, [0x14025eab0]
lea rcx, [rsp + 0x58]
mov r9d, 0x13c
call fcn.1401552d0
lea r14, [rsp + 0x48]
mov rcx, r14
lea rdx, [rsp + 0x58]
call fcn.1401e7c70
lea rdx, str.CreateNamedPipe
mov rcx, r14
call fcn.1401eb750
mov rcx, r14
call fcn.1401e7d30
mov r14, 0xffffffffffffffff
jmp 0x14011aa17