Function at 0x140067c00
Capabilities:
Check for time delay via gettickcount
Connect pipe
Create pipe

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xc0]
sub rsp, 0x1c0
mov qword [rbp - 0x60], 0xfffffffffffffffe
mov qword [rsp + 0x210], rbx
mov rax, qword [0x1401d5e90]
xor rax, rsp
mov qword [rbp + 0xb0], rax
mov rsi, rdx
mov r15, rcx
xor ebx, ebx
mov qword [rsp + 0x70], rbx
xor eax, eax
mov qword [rsp + 0x78], rax
lea rcx, [rsp + 0x70]
call qword [sym.imp.ole32.dll_CoCreateGuid]
test eax, eax
jns 0x140067ca5
lea rax, str.Failure_to_set_pipe_name_0
mov qword [rsp + 0x68], rax
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x40]
call fcn.1400da728
nop
lea rax, vtable.CRSimpleIPCException.0
mov qword [rsp + 0x40], rax
lea rax, vtable.CRSimpleIPCExceptionServerException.0
mov qword [rsp + 0x40], rax
lea rdx, [0x1401a0318]
lea rcx, [rsp + 0x40]
call fcn.1400df178
int3
movaps xmm0, xmmword [rsp + 0x70]
movdqa xmmword [rbp - 0x10], xmm0
lea rdx, [rbp - 0x10]
lea rcx, [rbp - 0x38]
call fcn.140067a40
nop
lea r8, [rbp - 0x38]
lea rcx, [rbp - 0x58]
call fcn.14006a340
nop
lea rcx, [rbp - 0x58]
cmp qword [rbp - 0x40], 8
cmovae rcx, qword [rbp - 0x58]
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x30], ebx
mov dword [rsp + 0x28], 0x2000
mov dword [rsp + 0x20], 0x2000
mov r9d, 1
xor r8d, r8d
mov edx, 0x40000001
call qword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
mov r12, rax
mov rdi, rax
mov qword [rsp + 0x68], rax
test rax, rax
jne 0x140067d5c
lea rax, str.Failure_to_create_pipes_0
mov qword [rsp + 0x58], rax
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x40]
call fcn.1400da728
nop
lea rax, vtable.CRSimpleIPCException.0
mov qword [rsp + 0x40], rax
lea rax, vtable.CRSimpleIPCExceptionServerException.0
mov qword [rsp + 0x40], rax
lea rdx, [0x1401a0318]
lea rcx, [rsp + 0x40]
call fcn.1400df178
int3
mov qword [rbp - 0x80], rbx
xor eax, eax
mov qword [rbp - 0x78], rax
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x68], rax
mov ecx, dword [0x1401ddd80]
lea r8d, [rcx + 2]
lea eax, [rcx + 1]
imul r8d, eax
imul r8d, ecx
mov eax, 0x2aaaaaab
imul r8d
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
shl eax, 3
sub r8d, eax
cmp r8d, 0xd
jne 0x140067dae
lea rcx, [rbp]
call qword [sym.imp.KERNEL32.dll_GetTimeZoneInformation]
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 1]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov r14, rax
mov qword [rsp + 0x70], rax
mov qword [rbp - 0x68], rax
test rax, rax
jne 0x140067e17
lea rax, str.Failure_to_create_pipes_1
mov qword [rsp + 0x58], rax
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x40]
call fcn.1400da728
nop
lea rax, vtable.CRSimpleIPCException.0
mov qword [rsp + 0x40], rax
lea rax, vtable.CRSimpleIPCExceptionServerException.0
mov qword [rsp + 0x40], rax
lea rdx, [0x1401a0318]
lea rcx, [rsp + 0x40]
call fcn.1400df178
int3
lea rdx, [rbp - 0x80]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
test eax, eax
jne 0x1400680ea
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x1400680ea
lea rcx, [rbp - 0x58]
cmp qword [rbp - 0x40], 8
cmovae rcx, qword [rbp - 0x58]
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 0x40000000
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
mov edx, 0x40000000
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov r13, rax
mov rbx, rax
mov qword [rsp + 0x58], rax
test rax, rax
jne 0x140067ec7
lea rax, str.Failure_to_create_pipes_3
mov qword [rsp + 0x60], rax
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x40]
call fcn.1400da728
nop
lea rax, vtable.CRSimpleIPCException.0
mov qword [rsp + 0x40], rax
lea rax, vtable.CRSimpleIPCExceptionServerException.0
mov qword [rsp + 0x40], rax
lea rdx, [0x1401a0318]
lea rcx, [rsp + 0x40]
call fcn.1400df178
int3
mov edx, 0x7d0
mov rcx, qword [rbp - 0x68]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x140067f20
lea rax, str.Failure_to_create_pipes_4
mov qword [rsp + 0x60], rax
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x40]
call fcn.1400da728
nop
lea rax, vtable.CRSimpleIPCException.0
mov qword [rsp + 0x40], rax
lea rax, vtable.CRSimpleIPCExceptionServerException.0
mov qword [rsp + 0x40], rax
lea rdx, [0x1401a0318]
lea rcx, [rsp + 0x40]
call fcn.1400df178
int3
lea rax, [rsp + 0x58]
cmp r15, rax
je 0x140067f41
xor ebx, ebx
mov qword [rsp + 0x58], rbx
cmp r13, qword [r15]
je 0x140067f41
mov rcx, r15
call fcn.1400669e0
mov qword [r15], r13
lea rax, [rsp + 0x68]
xor r15d, r15d
cmp rsi, rax
je 0x140067f66
mov edi, r15d
mov qword [rsp + 0x68], r15
cmp r12, qword [rsi]
je 0x140067f66
mov rcx, rsi
call fcn.1400669e0
mov qword [rsi], r12
mov r9d, dword [0x1401ddd80]
lea r8d, [r9 + 2]
lea ecx, [r9 + 1]
imul r8d, ecx
imul r8d, r9d
mov eax, 0x2aaaaaab
imul r8d
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
shl eax, 2
sub r8d, eax
cmp r8d, 5
jne 0x140067fbe
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_PeekNamedPipe]
mov r9d, dword [0x1401ddd80]
test rbx, rbx
je 0x140068010
mov ecx, r9d
imul ecx, r9d
imul ecx, r9d
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
imul edx, edx, 7
sub ecx, edx
cmp ecx, 2
jne 0x140067ffa
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov r9d, eax
mov dword [0x1401ddd80], eax
cmp rbx, 0xffffffffffffffff
je 0x140068010
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r9d, dword [0x1401ddd80]
mov ecx, r9d
imul ecx, r9d
imul ecx, r9d
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
imul edx, edx, 7
sub ecx, edx
cmp ecx, 2
jne 0x140068047
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov r9d, eax
mov dword [0x1401ddd80], eax
cmp r14, 0xffffffffffffffff
je 0x14006805d
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r9d, dword [0x1401ddd80]
test rdi, rdi
je 0x1400680a6
mov ecx, r9d
imul ecx, r9d
imul ecx, r9d
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
imul edx, edx, 7
sub ecx, edx
cmp ecx, 2
jne 0x140068096
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x1401ddd80], eax
cmp rdi, 0xffffffffffffffff
je 0x1400680a6
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
cmp qword [rbp - 0x40], 8
jb 0x1400680b6
mov rcx, qword [rbp - 0x58]
call fcn.1400d7280
mov qword [rbp - 0x40], 7
mov qword [rbp - 0x48], r15
mov word [rbp - 0x58], r15w
cmp qword [rbp - 0x20], 8
jb 0x1400680d7
mov rcx, qword [rbp - 0x38]
call fcn.1400d7280
mov qword [rbp - 0x20], 7
mov qword [rbp - 0x28], r15
mov word [rbp - 0x38], r15w
jmp 0x140068130
lea rax, str.Failure_to_create_pipes_2
mov qword [rsp + 0x60], rax
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x40]
call fcn.1400da728
nop
lea rax, vtable.CRSimpleIPCException.0
mov qword [rsp + 0x40], rax
lea rax, vtable.CRSimpleIPCExceptionServerException.0
mov qword [rsp + 0x40], rax
lea rdx, [0x1401a0318]
lea rcx, [rsp + 0x40]
call fcn.1400df178
nop
mov rcx, qword [rbp + 0xb0]
xor rcx, rsp
call fcn.1400d72a0
mov rbx, qword [rsp + 0x210]
add rsp, 0x1c0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret