Function at 0x1400eee28
Capabilities:
Create thread

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xc8
movaps xmmword [rsp + 0xb0], xmm6
mov r14, rdx
mov rsi, rcx
mov rax, qword [0x1401c1028]
xor rax, rsp
mov qword [rsp + 0xa8], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x70]
mov qword [rdi], rax
mov edx, 8
mov rcx, rdi
call fcn.1400561d0
mov rbx, qword [rdi]
movaps xmm0, xmmword [0x1401940a0]
movaps xmmword [rdi + 0x20], xmm0
movaps xmmword [rdi + 0x10], xmm0
movaps xmmword [rdi], xmm0
mov eax, 0x10
lea rbp, [0x140196028]
mov qword [rsp + rax + 0x60], rbp
mov qword [rsp + rax + 0x68], 0
mov byte [rsp + rax + 0x70], 0
add rax, 0x18
cmp rax, 0x40
jne 0x1400eee9b
lea rax, [rsi + 0x50]
mov qword [rsp + 0x30], rax
lea rdi, [rsi + 0x48]
mov r13b, 1
xor r12d, r12d
mov r15, qword [rsi + 0x38]
cmp r15, 0xffffffffffffffff
je 0x1400eeedf
mov qword [rsi + 0x38], 0xffffffffffffffff
jmp 0x1400eeefa
mov edx, r13d
and dl, 1
mov rcx, rsi
call fcn.140115e4a
mov r15, rax
cmp rax, 0xffffffffffffffff
je 0x1400eefee
mov ecx, 0x40
call fcn.14014b4a8
mov rcx, qword [rsi + 0x20]
mov qword [rax], rcx
mov qword [rax + 8], rbp
mov qword [rax + 0x10], r15
mov byte [rax + 0x18], 0
mov qword [rax + 0x20], r14
mov qword [rax + 0x28], rdi
mov rcx, qword [rsp + 0x30]
mov qword [rax + 0x30], rcx
mov qword [rax + 0x38], rbx
lea rcx, [r12 + r12*2]
lea r15, [rsp + rcx*8]
add r15, 0x70
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor ecx, ecx
xor edx, edx
lea r8, [0x1400ef360]
mov r9, rax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rsp + 0x48], rax
mov rcx, r15
lea rdx, [rsp + 0x48]
call fcn.1400ef318
cmp qword [r15 + 8], 0
je 0x1400eef91
mov r12d, 1
test r13b, 1
mov r13d, 0
jne 0x1400eeecb
jmp 0x1400ef054
lea r15, [rsp + 0x48]
mov rcx, r15
lea rdx, [0x1401a3e2a]
lea r8, [0x1401ab408]
mov r9d, 0x14b
call fcn.1400763c0
lea r12, [rsp + 0x38]
mov rcx, r12
lea rdx, [0x14019970c]
mov r8, r15
call fcn.140081390
mov rcx, qword [rsp + 0x38]
add rcx, 0x10
mov r8d, 0xc
lea rdx, [0x1401ab490]
call fcn.140027941
mov rcx, r12
call fcn.140081450
jmp 0x1400eef76
lea r15, [rsp + 0x48]
mov rcx, r15
lea rdx, [0x1401a3e2a]
lea r8, [0x1401ab408]
mov r9d, 0x13c
call fcn.1400763c0
lea rcx, [rsp + 0x38]
lea rdx, [0x14019970c]
mov r8, r15
call fcn.140081390
mov rcx, qword [rsp + 0x38]
add rcx, 0x10
mov r8d, 0xf
lea rdx, str.CreateNamedPipe
call fcn.140027941
lea rcx, [rsp + 0x38]
call fcn.140081450
mov r15, 0xffffffffffffffff
jmp 0x1400eeefa
xor eax, eax
lea r9, [rsp + 0x48]
mov qword [r9], rax
lea r14, [rsp + 0x38]
mov qword [r14], rax
lea rdx, [rsp + 0x6c]
mov dword [rdx], 0
mov rcx, qword [rsi + 0x20]
mov dword [rsp + 0x20], 0xffffffff
mov r8, r14
call qword [sym.imp.KERNEL32.dll_GetQueuedCompletionStatus]
mov r13, qword [r14]
test r13, r13
je 0x1400ef1c0
lea r14, [rsi + 0x58]
mov r12, qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
mov r15, qword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
mov rcx, rdi
call r12
test al, al
jne 0x1400ef0b4
mov rcx, rdi
call r15
mov rcx, qword [r14]
test rcx, rcx
je 0x1400ef14c
mov rbp, r14
mov rax, rcx
xor edx, edx
cmp qword [rax + 0x20], r13
setb dl
cmovae rbp, rax
mov rax, qword [rax + rdx*8]
test rax, rax
jne 0x1400ef0c6
cmp rbp, r14
je 0x1400ef14c
cmp qword [rbp + 0x20], r13
ja 0x1400ef14c
mov rdx, qword [rbp + 8]
mov r8, rbp
test rdx, rdx
je 0x1400ef100
mov rax, rdx
mov rdx, qword [rdx]
test rdx, rdx
jne 0x1400ef0f3
jmp 0x1400ef10c
mov rax, qword [r8 + 0x10]
cmp qword [rax], r8
mov r8, rax
jne 0x1400ef100
mov r15, r12
mov rdx, qword [rsp + 0x30]
cmp qword [rdx], rbp
jne 0x1400ef121
mov rdx, qword [rsp + 0x30]
mov qword [rdx], rax
lea r12, [rbp + 0x20]
dec qword [rsi + 0x60]
mov rdx, rbp
call fcn.14002c904
test r12, r12
je 0x1400ef313
mov rcx, rbp
call fcn.14014b4e4
mov r12, r15
mov r15, qword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
mov rcx, r13
call fcn.1400efaf2
mov rcx, r13
call fcn.14014b4e4
cmp byte [rsi + 0x68], 0
jne 0x1400ef169
cmp qword [rsi + 0x60], 0
je 0x1400ef1b7
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
xor eax, eax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x6c], 0
mov rcx, qword [rsi + 0x20]
mov dword [rsp + 0x20], 0xffffffff
lea rdx, [rsp + 0x6c]
lea r8, [rsp + 0x38]
lea r9, [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_GetQueuedCompletionStatus]
mov r13, qword [rsp + 0x38]
test r13, r13
jne 0x1400ef0a4
jmp 0x1400ef1c0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov bpl, 1
lea r12, [rsp + 0x54]
xorps xmm6, xmm6
lea r14, [rsp + 0x48]
lea r15, [rsp + 0x38]
movabs r13, 0xaaaaaaaaaaaaaaaa
movups xmmword [r12], xmm6
mov qword [r12 + 0x10], 0
mov dword [rsp + 0x48], 1
mov qword [rsp + 0x4c], rbx
mov qword [rsp + 0x38], r13
mov dword [rsp + 0x40], 0xaaaaaaaa
mov rcx, rsi
mov rdx, r14
mov r8, r15
call fcn.140115b3c
test bpl, 1
mov ebp, 0
jne 0x1400ef1df
mov ebx, 8
mov r14, qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + rbx + 0x70]
mov edx, 0xffffffff
call r14
add rbx, 0x18
cmp rbx, 0x38
jne 0x1400ef22c
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
jne 0x1400ef259
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
mov r15, qword [rsi + 0x50]
lea rbx, [rsi + 0x58]
cmp r15, rbx
je 0x1400ef2a9
mov r14, qword [r15 + 0x20]
test r14, r14
je 0x1400ef27f
mov rcx, r14
call fcn.1400efaf2
mov rcx, r14
call fcn.14014b4e4
mov rcx, qword [r15 + 8]
test rcx, rcx
je 0x1400ef295
mov rax, rcx
mov rcx, qword [rcx]
test rcx, rcx
jne 0x1400ef288
jmp 0x1400ef2a1
mov rax, qword [r15 + 0x10]
cmp qword [rax], r15
mov r15, rax
jne 0x1400ef295
mov r15, rax
cmp rax, rbx
jne 0x1400ef266
mov rdx, qword [rsi + 0x58]
mov rcx, qword [rsp + 0x30]
call fcn.14002f278
mov qword [rsi + 0x50], rbx
xorps xmm0, xmm0
movups xmmword [rsi + 0x58], xmm0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov esi, 0x18
lea rcx, [rsp + rsi]
add rcx, 0x70
call fcn.1400ee710
add rsi, 0xffffffffffffffe8
cmp rsi, 0xffffffffffffffe8
jne 0x1400ef2d0
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.14014c9b0
movaps xmm6, xmmword [rsp + 0xb0]
add rsp, 0xc8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
int3