Function at 0x18001bd74
Capabilities:
Connect pipe

Disassembly:
mov qword [rsp + 0x18], rbx
mov dword [rsp + 8], ecx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x60
mov ebx, dword [rsp + 0x110]
lea r9d, [rdx - 0x3b5d]
mov edx, dword [rsp + 0xe0]
add ebx, 0xffffffb5
mov r13d, dword [rsp + 0x108]
mov ecx, dword [rsp + 0xc0]
mov r15d, dword [rsp + 0xf0]
mov eax, dword [rsp + 0xc8]
lea r10d, [rdx + 0x2f]
mov rsi, qword [rsp + 0xd8]
lea r12d, [rdx - 0x3c]
mov edx, dword [rsp + 0xf8]
lea r8d, [rcx - 0x3f62]
add eax, 0xffffc56b
mov dword [rsp + 0xa8], r9d
add edx, 0xfffffb3a
mov dword [rsp + 0x108], eax
add r15d, 0xffffffa0
mov dword [rsp + 0x50], r10d
lea eax, [rbx + 0x9a]
mov dword [rsp + 0x54], r15d
mov dword [rsp + 0x110], ebx
lea edi, [r13 - 0x4f4]
mov dword [rsp + 0xe0], edx
lea ebp, [rcx - 0x4cd]
mov dword [rsp + 0xf0], r8d
lea r14, [rsi + 0x100]
mov dword [rsp + 0xa0], edi
cmp r9d, eax
jge 0x18001be7d
mov eax, dword [rsi + 0x198]
add eax, dword [rsi + 0x28]
mov dword [rsi + 0x188], eax
mov rcx, qword [rsi + 0x10]
mov rax, qword [rsi]
add rcx, 0x3b1e
xor qword [rsi + 0x140], r14
add rax, 0x3a44
or rcx, rax
or qword [rsi + 0x1e0], rcx
jmp 0x18001bf2e
mov ecx, dword [rsi + 0x168]
mov edi, ecx
mov eax, dword [rsi + 0xd0]
or edi, r12d
and eax, dword [rsi + 0x68]
and edi, edx
mov edx, dword [rsi + 0x170]
imul edx, dword [rsi + 0x10]
mov r11d, dword [rsi + 0x1b8]
mov r9d, dword [rsp + 0x108]
xor r11d, 0x3b5d
mov r8d, dword [rsp + 0x108]
and r11d, r10d
mov r10d, dword [r14]
and r8d, 0x3ed6
or r9d, dword [rsp + 0xa8]
or edx, ecx
imul ebx, eax, 0x3b1e
or r10d, 0x3cd2
imul eax, dword [rsi + 0x148], 0x3b5d
mov ecx, edi
or eax, dword [rsi + 0x80]
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x38], edx
mov rdx, rsi
mov dword [rsp + 0x30], r10d
mov dword [rsp + 0x28], r11d
mov dword [rsp + 0x20], ebx
call fcn.180014cd0
mov edx, dword [rsp + 0xe0]
mov edi, eax
mov r8d, dword [rsp + 0xf0]
mov ebx, dword [rsp + 0x110]
mov dword [rsp + 0xa0], eax
mov ecx, dword [rsp + 0x118]
add ecx, 0xfffffb3a
cmp r12d, ecx
je 0x18001c170
lea ecx, [r8 + 0x3f0a]
cmp edx, ecx
jg 0x18001bff8
mov rcx, qword [rsi + 0xd0]
mov edx, dword [rcx + 0xd8]
mov rcx, qword [rsi + 0x1e8]
add edx, 0x1c7b
mov dword [rsi + 0x78], edx
mov rax, qword [rsi + 0x1c0]
imul edx, dword [rsi + 0xd8], 0x731bac28
mov r8d, dword [rax + 0x1b8]
xor r8, 0x6bb5
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rsi + 0x48], rax
mov rax, qword [rsi + 0x1c8]
imul r8d, dword [rax + 0xe8], 0x74d32e51
cmp r8d, 0x3aff
jg 0x18001bfe7
mov rdx, qword [rsi + 0xe0]
mov eax, 0x3b00
mov rcx, qword [rsi + 0x170]
sub eax, r8d
mov r8d, eax
sub rdx, rcx
dec rcx
sub r8, 1
jne 0x18001bfcd
mov qword [rsi + 0xe0], rdx
mov qword [rsi + 0x170], rcx
lea rax, [rsi + 0xf0]
or qword [rsi + 0x38], rax
add ebp, 0x23d
lea eax, [rbp - 0x220]
cmp edi, eax
jg 0x18001c170
lea eax, [r13 - 0x405]
cmp r12d, eax
je 0x18001c04d
and dword [rsi + 0x160], 0
mov rax, qword [rsi + 0x1c8]
mov ecx, dword [rax + 0x120]
xor rcx, 0x119
cmp rcx, qword [rsi + 0x128]
jbe 0x18001c170
imul rax, qword [rsi + 0x110], 0x3d0e
mov qword [r14], rax
jmp 0x18001c170
imul eax, ebx, 0x3aed
movsxd rcx, eax
or rcx, 0x3b1e
cmp qword [rsi + 0x1c8], rcx
jae 0x18001c170
mov rcx, qword [rsi + 0x128]
mov ebx, r15d
add rcx, 0x3afd
movsxd rax, r15d
cmp rax, rcx
jb 0x18001c170
mov ebp, dword [rsp + 0xa0]
lea eax, [r13 - 0x58]
movsxd r15, dword [rsp + 0xf0]
mov r13d, dword [rsp + 0x108]
movsxd rdi, eax
mov rax, rdi
or rax, qword [rsi + 0x120]
imul rax, qword [r14]
cmp qword [rsi + 0x30], rax
ja 0x18001c14e
mov r9d, dword [rsi + 0x1b0]
mov edx, ebp
mov ecx, dword [rsi + 0xa8]
sub r9d, r13d
movzx eax, word [rsi + 0x168]
and ecx, r15d
xor edx, dword [rsp + 0xa8]
mov r10, r15
add r10, qword [rsi + 0xd0]
mov r8d, dword [rsi + 0x20]
add ax, word [rsi + 0x1c0]
or r8d, r12d
or r9d, dword [rsi + 0x140]
add edx, dword [rsi + 0x1c0]
add ecx, dword [rsi + 0x128]
mov qword [rsp + 0x28], r10
mov word [rsp + 0x20], ax
call qword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
imul rcx, qword [rsi + 0xb0], 0x3f0a
movsxd rax, dword [rsp + 0x50]
mov edx, 0x304f
sub rcx, rax
add qword [rsi + 0xe0], rcx
mov ecx, 0x1bc6
call fcn.180005ca4
movsxd rcx, eax
mov qword [0x18002f920], rcx
mov rcx, qword [rsi + 0x128]
add ebx, 2
add rcx, 0x3afd
movsxd rax, ebx
cmp rax, rcx
jae 0x18001c0a5
mov r15d, dword [rsp + 0x54]
lea eax, [r15 + 0x21]
mov rbx, qword [rsp + 0xb0]
add rsp, 0x60
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret