Function at 0x14001c060
Capabilities:
Connect pipe
Create pipe
Create thread

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x70]
sub rsp, 0x170
mov rax, qword [0x140090098]
xor rax, rsp
mov qword [rbp + 0x68], rax
mov r12, rdx
mov r15, rcx
mov qword [rbp - 0x58], rcx
mov qword [rbp - 0x18], rdx
xor r13d, r13d
mov dword [rsp + 0x40], r13d
mov qword [rbp - 0x20], r13
mov rbx, 0xffffffffffffffff
mov r14, rbx
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx + 0x10], r13
mov qword [rcx + 0x18], r13
xor r8d, r8d
lea rdx, [0x140081a40]
call fcn.140002540
mov dword [rsp + 0x40], 1
xorps xmm0, xmm0
movups xmmword [rbp + 0x18], xmm0
mov rax, qword [0x140093238]
lea rcx, [rbp + 0x18]
call rax
test eax, eax
je 0x14001c0f3
mov rcx, rbx
jmp 0x14001c434
mov rax, qword [0x140093240]
lea rdx, [rbp - 0x20]
lea rcx, [rbp + 0x18]
call rax
test eax, eax
je 0x14001c110
mov rcx, rbx
jmp 0x14001c434
mov rdi, qword [rbp - 0x20]
test rdi, rdi
jne 0x14001c121
mov rcx, rbx
jmp 0x14001c434
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x40], xmm0
movups xmmword [rbp + 0x50], xmm0
mov qword [rbp + 0x60], rax
movups xmmword [rbp + 0x28], xmm0
mov qword [rbp + 0x38], rax
mov ecx, 0x208
call fcn.140037978
mov rsi, rax
test rax, rax
je 0x14001c43a
mov r9, rdi
lea r8, str..pipe_wspipe_spoolss
mov edx, 0x104
mov rcx, rax
call fcn.14001bfa0
mov r8, qword [0x140093248]
mov edx, 1
lea rcx, [rbp + 0x40]
call r8
test eax, eax
jne 0x14001c18b
mov rcx, rsi
call fcn.1400372d0
jmp 0x14001c43a
mov rax, qword [0x140093270]
xor r9d, r9d
lea r8, [rbp + 0x30]
lea edx, [r9 + 1]
lea rcx, str.D:_A_OICI_GA___WD_
call rax
mov rcx, rsi
test eax, eax
jne 0x14001c1b7
call fcn.1400372d0
jmp 0x14001c43a
lea rax, [rbp + 0x28]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], r13d
mov dword [rsp + 0x28], 0x800
mov dword [rsp + 0x20], 0x800
mov r9d, 0xa
xor r8d, r8d
mov edx, 0x40000003
call qword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
mov rdi, rax
mov rcx, rsi
cmp rax, 0xffffffffffffffff
jne 0x14001c1ff
call fcn.1400372d0
jmp 0x14001c43a
call fcn.1400372d0
test rdi, rdi
je 0x14001c43a
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 1]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov r14, rax
mov rcx, rdi
test rax, rax
je 0x14001c258
mov qword [rbp - 0x10], r13
xorps xmm0, xmm0
movdqu xmmword [rbp - 8], xmm0
mov qword [rbp + 8], rax
lea rdx, [rbp - 0x10]
call qword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
test eax, eax
jne 0x14001c263
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
je 0x14001c263
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14001c448
mov dword [rbp + 0x10], r13d
lea rax, [rbp + 0x10]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r13d
mov r9, qword [rbp - 0x20]
lea r8, [0x14001c490]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
jne 0x14001c297
mov rbx, r13
jmp 0x14001c431
mov edx, 0x1388
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x14001c2ba
lea rcx, str.____Op._failed_or_timed_out._n
call fcn.14001bf50
jmp 0x14001c431
mov rdx, r12
lea rcx, [rbp - 0x50]
call fcn.14001c7c0
mov rsi, rax
mov qword [rsp + 0x68], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x58], xmm1
xor r8d, r8d
lea rdx, [0x140081a40]
lea rcx, [rsp + 0x48]
call fcn.140002540
mov dword [rsp + 0x40], 3
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
mov rax, qword [0x140093228]
mov rcx, rdi
call rax
test eax, eax
je 0x14001c39e
mov rdx, rsi
lea rcx, [rbp - 0x38]
call fcn.14001c7c0
mov rdx, rax
lea rcx, [rbp - 0x78]
call fcn.140021620
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0x10
jb 0x14001c33e
mov rax, qword [rax]
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.140008d00
nop
mov rdx, qword [rbp - 0x60]
cmp rdx, 0x10
jb 0x14001c387
inc rdx
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001c382
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001c48a
call fcn.1400295cc
movdqa xmm0, xmmword [0x140086e70]
movdqu xmmword [rbp - 0x68], xmm0
mov byte [rbp - 0x78], 0
call qword [0x140093268]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x14001c3c0
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x14001c3d1
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rcx, rsi
call fcn.14001bc50
lea rdx, [rsp + 0x48]
cmp qword [rsp + 0x60], 0x10
cmovae rdx, qword [rsp + 0x48]
mov r8, qword [rsp + 0x58]
mov rcx, r15
call fcn.140008d00
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x14001c431
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001c42c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001c484
call fcn.1400295cc
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test rbx, rbx
je 0x14001c452
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rcx, r12
call fcn.14001bc50
mov rax, r15
mov rcx, qword [rbp + 0x68]
xor rcx, rsp
call fcn.140029570
mov rbx, qword [rsp + 0x1c0]
add rsp, 0x170
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.14002fde4
nop
call fcn.14002fde4
int3