Function at 0x140054fdc
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 r14, rdx
mov rsi, rcx
mov rax, qword [0x1402e0038]
xor rax, rsp
mov qword [rsp + 0xc8], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x90]
mov qword [rdi], rax
mov edx, 8
mov rcx, rdi
call fcn.140061990
mov rcx, qword [rdi]
movaps xmm0, xmmword [0x14029bb90]
movaps xmmword [rdi + 0x20], xmm0
movaps xmmword [rdi + 0x10], xmm0
movaps xmmword [rdi], xmm0
mov eax, 0x10
lea rbx, [0x14029d580]
mov qword [rsp + rax + 0x80], rbx
mov qword [rsp + rax + 0x88], 0
mov byte [rsp + rax + 0x90], 0
add rax, 0x18
cmp rax, 0x40
jne 0x140055052
mov qword [rsp + 0x38], rcx
lea rax, [rsi + 0x50]
mov qword [rsp + 0x40], rax
lea rdi, [rsi + 0x48]
mov bpl, 1
xor r15d, r15d
lea r12, [rsp + 0x58]
mov r13, qword [rsi + 0x38]
cmp r13, 0xffffffffffffffff
jne 0x1400550ba
mov edx, ebp
and dl, 1
mov rcx, rsi
call fcn.140055784
mov r13, rax
cmp rax, 0xffffffffffffffff
jne 0x1400550c2
jmp 0x140055442
mov qword [rsi + 0x38], 0xffffffffffffffff
mov ecx, 0x40
call fcn.14010cc14
mov rcx, qword [rsi + 0x20]
mov qword [rax], rcx
mov qword [rax + 8], rbx
mov qword [rax + 0x10], r13
mov byte [rax + 0x18], 0
mov qword [rax + 0x20], r14
mov qword [rax + 0x28], rdi
mov rcx, qword [rsp + 0x40]
mov qword [rax + 0x30], rcx
mov rcx, qword [rsp + 0x38]
mov qword [rax + 0x38], rcx
lea rcx, [r15 + r15*2]
lea r13, [rsp + rcx*8]
add r13, 0x90
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor ecx, ecx
xor edx, edx
lea r8, [0x14006d780]
mov r9, rax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rsp + 0x58], rax
mov rcx, r13
mov rdx, r12
call fcn.140055740
cmp qword [r13 + 8], 0
je 0x1400553ee
mov r15d, 1
test bpl, 1
mov ebp, 0
jne 0x140055095
xor eax, eax
lea r9, [rsp + 0x58]
mov qword [r9], rax
lea r14, [rsp + 0x48]
mov qword [r14], rax
lea rdx, [rsp + 0x8c]
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 rbp, qword [r14]
test rbp, rbp
je 0x140055250
lea r14, [rsp + 0x80]
xor ebx, ebx
lea r12, [rsp + 0x48]
lea r13, [rsp + 0x58]
mov r15, qword [sym.imp.KERNEL32.dll_GetQueuedCompletionStatus]
mov qword [rsp + 0x80], rbp
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x1400553cf
mov rcx, qword [rsp + 0x40]
mov rdx, r14
call fcn.14005549c
mov rcx, rbp
call fcn.1400555ba
mov rcx, rbp
call fcn.14010cc0c
cmp byte [rsi + 0x68], 0
jne 0x1400551fc
cmp qword [rsi + 0x60], 0
je 0x140055247
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]
mov r8, r12
mov r9, r13
call r15
mov rbp, qword [rsp + 0x48]
test rbp, rbp
jne 0x1400551b9
jmp 0x140055250
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov bpl, 1
lea r15, [rsp + 0x64]
xorps xmm6, xmm6
lea rbx, [rsp + 0x58]
lea r14, [rsp + 0x48]
movabs r12, 0xaaaaaaaaaaaaaaaa
mov r13, qword [rsp + 0x38]
movups xmmword [r15], xmm6
mov qword [r15 + 0x10], 0
mov dword [rsp + 0x58], 1
mov qword [rsp + 0x5c], r13
mov qword [rsp + 0x48], r12
mov dword [rsp + 0x50], 0xaaaaaaaa
mov rcx, rsi
mov rdx, rbx
mov r8, r14
call fcn.140055861
test bpl, 1
mov ebp, 0
jne 0x140055274
mov ebx, 8
mov r14, qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + rbx + 0x90]
mov edx, 0xffffffff
call r14
add rbx, 0x18
cmp rbx, 0x38
jne 0x1400552bf
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x1400553e0
mov r15, qword [rsi + 0x50]
lea r14, [rsi + 0x58]
cmp r15, r14
lea rbx, [0x14029d580]
jne 0x140055387
mov rcx, qword [rsi + 0x58]
call fcn.140051da8
mov qword [rsi + 0x50], r14
xorps xmm0, xmm0
movups xmmword [rsi + 0x58], xmm0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov esi, 0x30
mov qword [rsp + rsi + 0x78], rbx
cmp byte [rsp + rsi + 0x88], 0
jne 0x1400553dd
mov rcx, qword [rsp + rsi + 0x80]
test rcx, rcx
je 0x140055355
call fcn.140055670
mov qword [rsp + rsi + 0x80], 0
add rsi, 0xffffffffffffffe8
jne 0x140055324
mov rcx, qword [rsp + 0xc8]
xor rcx, rsp
call fcn.14010fba0
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 rbx, qword [r15 + 0x20]
test rbx, rbx
jne 0x1400553bd
mov rcx, qword [r15 + 8]
test rcx, rcx
je 0x1400553af
mov rax, rcx
mov rcx, qword [rcx]
test rcx, rcx
jne 0x140055399
mov r15, rax
cmp rax, r14
jmp 0x1400552f5
mov rax, qword [r15 + 0x10]
cmp qword [rax], r15
mov r15, rax
jne 0x1400553af
jmp 0x1400553a4
mov rcx, rbx
call fcn.1400555ba
mov rcx, rbx
call fcn.14010cc0c
jmp 0x140055390
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
jmp 0x1400551d2
int3
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
jmp 0x1400552ea
lea rdx, [0x1402ab381]
lea r8, [0x1402bad58]
lea r15, [rsp + 0x58]
mov rcx, r15
mov r9d, 0x14b
call fcn.14009b140
lea rdx, [0x1402a1d44]
lea r13, [rsp + 0x48]
mov rcx, r13
mov r8, r15
call fcn.1401cf310
lea rdx, [0x1402bade0]
mov rcx, r13
call fcn.1401d175a
mov rcx, r13
call fcn.1401cf450
jmp 0x140055148
lea rdx, [0x1402ab381]
lea r8, [0x1402bad58]
lea rcx, [rsp + 0x58]
mov r9d, 0x13c
call fcn.14009b140
lea rdx, [0x1402a1d44]
lea r13, [rsp + 0x48]
mov rcx, r13
lea r8, [rsp + 0x58]
call fcn.1401cf310
lea rdx, str.CreateNamedPipe
mov rcx, r13
call fcn.1401d175a
mov rcx, r13
call fcn.1401cf450
mov r13, 0xffffffffffffffff
jmp 0x1400550c2