Function at 0x180004acc
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
mov eax, dword [rsp + 0x78]
mov rbx, rdx
mov edi, dword [rsp + 0x80]
add edi, 0x9c7
lea ecx, [rax - 0x324b]
lea edx, [rax + 0x158]
lea eax, [rdi - 0x886]
cmp ecx, eax
je 0x180004e26
mov rax, qword [rbx + 0x118]
imul ecx, dword [rax + 0x168], 0xd75ad839
mov rax, qword [rbx + 0x358]
mov dword [rax + 8], ecx
mov rax, qword [rbx + 0x118]
xor qword [rax + 0x30], 0x33eb
mov rax, qword [rbx + 0x2a8]
add rax, 0x3182
mov qword [rbx + 0x2d0], rax
mov rax, qword [rbx + 0x128]
mov ecx, dword [rax + 0x168]
mov rax, qword [rbx + 0x358]
add ecx, 0x31cea6
mov dword [rax + 0xc], ecx
mov rax, qword [rbx + 0x128]
mov ecx, dword [rax + 0x168]
mov rax, qword [rbx + 0x358]
add ecx, 0x63cea1
mov dword [rax + 0x10], ecx
mov rax, qword [rbx + 0x190]
mov edx, dword [rax + 0x280]
xor edx, 0x1d1
jmp 0x180004baf
mov rax, qword [rbx + 0x128]
add qword [rax + 0x360], 0xfffffffff5bf22f0
inc edx
mov rax, qword [rbx + 0xe8]
mov ecx, dword [rax + 0x168]
xor rcx, 0xf
movsxd rax, edx
cmp rax, rcx
jb 0x180004b9b
mov rax, qword [rbx + 0x290]
cmp qword [rbx + 0x380], rax
ja 0x180004bf4
mov rax, qword [rbx + 0x118]
mov rcx, 0xffffffffffffce74
sub rcx, qword [rax + 0x230]
add qword [rbx + 0x160], rcx
mov rax, qword [rbx + 0x190]
mov r8, 0xfffffffffffff99e
mov ecx, dword [rax + 0x280]
mov rax, qword [rbx + 0x358]
xor ecx, 0x6c303f
mov dword [rax + 0x14], ecx
mov rcx, qword [rbx + 0x128]
cmp rcx, qword [rbx + 0x550]
jae 0x180004c2f
add qword [rbx + 0x4e8], r8
mov edx, 0x3c32
cmp qword [rbx + 0x4b0], rdx
jbe 0x180004c4b
lea rax, [rbx + 0x108]
add qword [rbx + 0xf8], rax
mov rax, qword [rcx + 0xb8]
mov r9d, 0x33a3
or rax, r9
xor qword [rbx + 0x250], rax
mov rax, qword [rbx + 0x358]
and dword [rax + 0x18], 0
mov rcx, qword [rbx + 0x128]
cmp rcx, qword [rbx + 0x550]
jae 0x180004c84
add qword [rbx + 0x4e8], r8
cmp qword [rbx + 0x4b0], rdx
jbe 0x180004c9b
lea rax, [rbx + 0x108]
add qword [rbx + 0xf8], rax
mov rax, qword [rcx + 0xb8]
lea rdi, [rbx + 0x138]
or rax, r9
mov byte [rsp + 0x30], 1
xor qword [rbx + 0x250], rax
mov ebp, 0x3197
mov r9, qword [rbx + 0x568]
mov r8d, 0x3053
mov eax, dword [rbx + 0x168]
mov rdx, rbx
xor eax, ebp
mov ecx, 0x32ec
mov dword [rsp + 0x28], eax
mov r9, qword [r9 + 0x60]
mov qword [rsp + 0x20], rdi
call fcn.18000162c
test eax, eax
je 0x180004df3
mov esi, 0x30f3
mov rax, qword [rbx + 0x568]
mov rcx, qword [rax]
mov qword [rbx + 0x568], rcx
imul ecx, dword [rbx + 0x4f8], 0x2d968d82
cmp qword [rbx + 0x90], rcx
jb 0x180004d31
mov rax, qword [rbx + 0x340]
xor rax, 0x2f79
mov qword [rbx + 0x160], rax
mov rax, qword [rbx + 0x128]
imul edx, dword [rax + 0x328], 0x9b12596
cmp edx, 0x3182
jge 0x180004d78
mov r8, qword [rbx + 0xe8]
mov eax, 0x3182
mov rcx, qword [rbx + 0x230]
add r8, 0xd8
sub eax, edx
mov edx, eax
xor rcx, r8
sub rdx, 1
jne 0x180004d68
mov qword [rbx + 0x230], rcx
mov r8, qword [rbx + 0x510]
mov edx, esi
imul eax, dword [r8 + 0x168], 0xc6290c7f
cmp eax, esi
jb 0x180004db7
mov r9, qword [rbx + 0x380]
add r9, 0x3523
inc edx
mov qword [rbx + 0x30], r9
imul ecx, dword [r8 + 0x168], 0xc6290c7f
movsxd rax, edx
cmp rax, rcx
jbe 0x180004d9e
mov r9, qword [rbx + 0x568]
mov r8d, 0x3053
mov eax, dword [rbx + 0x168]
mov rdx, rbx
xor eax, ebp
mov byte [rsp + 0x30], 1
mov dword [rsp + 0x28], eax
mov ecx, 0x32ec
mov r9, qword [r9 + 0x60]
mov qword [rsp + 0x20], rdi
call fcn.18000162c
test eax, eax
jne 0x180004cf9
mov rax, qword [rbx + 0x118]
mov rcx, qword [rax + 0x188]
or rcx, 0x338c
add qword [rbx + 0x170], rcx
cmp qword [rbx + 0x1d0], 0x3c12
je 0x180004e79
xor qword [rbx + 0x30], 0xb9df324
jmp 0x180004e79
mov rcx, qword [rbx + 0x28]
imul eax, edi, 0x378a
movsxd rsi, eax
add rcx, rsi
movsxd rax, edi
cmp rax, rcx
ja 0x180004e79
movsxd rbp, edx
mov rdx, qword [rbx + 0x188]
mov rcx, rbp
imul rcx, qword [rbx + 0x1c8]
add rdx, qword [rbx + 0x380]
xor rcx, 0x3523
call qword [sym.imp.KERNEL32.dll_WaitNamedPipeA]
mov rcx, qword [rbx + 0x28]
add edi, 3
add rcx, rsi
movsxd rax, edi
cmp rax, rcx
jbe 0x180004e41
mov eax, dword [rsp + 0x88]
mov rbx, qword [rsp + 0x50]
add eax, 0x20d
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret