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

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
mov r15d, dword [rsp + 0xb0]
lea r13d, [r8 + 0xbc2]
mov r12d, r15d
mov dword [rsp + 0x44], r13d
mov ebx, r15d
lea eax, [r13 - 0x9c8]
xor ebx, 0x3994
mov r10d, edx
xor r10d, 0x7ae
mov dword [rsp + 0xb0], ebx
mov r14d, r8d
mov dword [rsp + 0x40], r10d
lea esi, [r15 - 0x3994]
xor r14d, 0x3877
xor r15d, 0x264
xor r12d, 0x7a3f
mov rbp, r9
cmp r14d, eax
je 0x18004543e
mov eax, r12d
xor eax, 0x7d91
cmp r13d, eax
jle 0x1800451f3
mov rcx, qword [section..data]
add r14d, 0x405a
add esi, 0x3a71
cmp dword [rcx + 0x28], 0x14888
ja 0x180045148
mov eax, dword [rcx + 0x50]
add eax, 0xc5f9c
xor dword [rcx + 0x14], eax
mov rcx, qword [section..data]
mov eax, dword [rcx + 0x94]
lea r9d, [r12 - 0x571]
xor eax, dword [0x1801ba09c]
lea edx, [r13 - 0xadc]
xor eax, 0x1f43d3
mov dword [rsp + 0x28], r10d
mov dword [0x1801ba09c], eax
xor r14d, 0x7d0d
imul eax, dword [rcx + 0x94], 0x7e210
xor esi, 0xcf
sub esi, 0x247
mov qword [rsp + 0x20], rbp
xor esi, 0x2eb
lea r8d, [r14 - 0x167]
mov dword [rcx + 0x94], eax
lea ecx, [r14 - 0x3fa]
call fcn.180042344
mov rcx, qword [section..data]
mov eax, dword [rcx + 0x50]
sub eax, dword [rbp + 0x94]
add eax, 0x31a11f1d
or dword [rcx + 0x14], eax
cmp dword [0x1801ba038], 0xc54
ja 0x18004543e
mov ecx, dword [rbp + 0x50]
add ecx, 0x20738
add ecx, dword [rbp + 0x48]
add dword [rbp + 0x94], ecx
jmp 0x18004543e
mov rax, qword [section..data]
mov edx, esi
mov ecx, dword [rax + 0xf4]
xor ecx, r13d
or ecx, 0x4872
cmp esi, ecx
jmp 0x180045431
lea eax, [r12 - 0x3ae3]
and eax, 0x4014
cmp esi, eax
mov eax, dword [rbp + 0xc]
jge 0x18004540d
and eax, r15d
mov dword [rsp + 0x98], esi
xor eax, 0x3a71
cmp esi, eax
je 0x180045416
mov r13d, dword [rsp + 0x40]
mov rax, qword [section..data]
mov r12d, dword [rbp + 0x8c]
mov ecx, dword [rax + 0x74]
mov eax, dword [rbp + 0x9c]
xor ecx, 0x395d
imul eax, ecx
mov dword [rbp + 0x9c], eax
mov eax, dword [rbp + 0x16c]
xor eax, 0x4439
sub eax, dword [0x1801ba0ec]
xor dword [rbp + 0x14], eax
mov rax, qword [section..data]
imul r12d, dword [0x1801ba144]
mov ecx, dword [rax + 0x10c]
mov eax, dword [rbp + 0xf8]
or ecx, r15d
imul eax, ecx
sub r12d, r15d
mov dword [rbp + 0xf8], eax
lea eax, [r12 + r13]
movsxd rcx, eax
call qword [sym.imp.KERNEL32.dll_ConvertThreadToFiber]
mov eax, dword [rbp + 0x74]
mov edi, r12d
mov rcx, qword [section..data]
xor rdi, rax
mov eax, dword [rsp + 0xb0]
mov ebx, esi
imul r8d, dword [rbp + 0x28], 0x3e3a
or ebx, 0x3994
mov r11d, dword [rbp + 0x10c]
sub ebx, 0x4872
mov r9d, dword [rcx + 0x16c]
xor r11d, dword [0x1801ba0bc]
xor r9d, dword [rsp + 0xb0]
mov ecx, dword [rcx + 0x64]
xor r9d, r14d
imul eax, r12d
add r8d, 0x451d
mov qword [rsp + 0x38], rdi
xor rcx, 0x7fa3
mov dword [rsp + 0x30], ebx
mov dword [rsp + 0x28], r11d
imul r10d, eax, 0x3994
mov eax, r14d
or eax, esi
imul edx, eax, 0x3e3a
mov dword [rsp + 0x20], r10d
call qword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
lea ecx, [r13 + 0x3a9c]
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rax, qword [section..data]
mov r8d, dword [0x1801ba060]
mov edx, dword [0x1801ba07c]
mov r9d, dword [0x1801ba0ec]
and edx, r15d
mov ecx, dword [rax + 0x10]
add r9d, r15d
imul ecx, dword [0x1801ba0a4]
xor edx, 0x3bf0
imul r8d, r15d
add ecx, 0x4872
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
mov rax, qword [section..data]
mov edx, dword [rsp + 0xb0]
mov r9d, dword [rbp + 0xb0]
add r9d, edx
imul r8d, esi, 0x3d57
mov ecx, dword [rax + 0x8c]
sub edx, dword [rbp + 0x18]
add ecx, r15d
mov eax, dword [rbp + 0x16c]
or ecx, r15d
xor eax, r12d
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], edx
mov rdx, rbp
call fcn.180045650
mov esi, eax
mov eax, dword [rsp + 0x98]
inc eax
mov ecx, dword [rbp + 0xc]
and ecx, r15d
mov dword [rsp + 0x98], eax
xor ecx, 0x3a71
cmp eax, ecx
jne 0x180045246
mov r13d, dword [rsp + 0x44]
mov edx, dword [rsp + 0xa0]
jmp 0x180045416
or eax, r15d
sub dword [rbp + 0x108], eax
mov rax, qword [section..data]
add edx, 2
mov ecx, dword [rax + 0xf4]
xor ecx, r13d
or ecx, 0x4872
cmp edx, ecx
mov dword [rsp + 0xa0], edx
jne 0x180045212
lea eax, [rsi - 0x108]
mov rbx, qword [rsp + 0x90]
add rsp, 0x50
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret