Function at 0x1800aa120
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x18
mov rsi, qword [rsp + 0x80]
lea r15, [0x180000000]
mov eax, dword [r9]
add rsi, 0xc
mov ebp, dword [rcx]
mov r14d, 8
mov r12d, dword [rdx]
mov edi, eax
mov r13d, dword [r8]
nop word [rax + rax]
mov ebx, dword [rsi - 8]
mov r10d, r12d
ror r10d, 4
mov r9d, ebx
xor r10d, dword [rsi - 0xc]
xor r9d, r12d
mov eax, r10d
xor ebx, edi
shr eax, 0x18
movzx edx, al
mov eax, r10d
shr eax, 0x10
movzx ecx, al
mov eax, r10d
shr eax, 8
mov r8d, dword [r15 + rdx*4 + 0x211ae0]
xor r8d, dword [r15 + rcx*4 + 0x2122e0]
movzx ecx, al
mov eax, r9d
shr eax, 0x18
xor r8d, dword [r15 + rcx*4 + 0x212ae0]
movzx ecx, al
mov eax, r9d
shr eax, 0x10
xor r8d, dword [r15 + rcx*4 + 0x211ee0]
movzx ecx, al
mov eax, r9d
shr eax, 8
xor r8d, dword [r15 + rcx*4 + 0x2126e0]
movzx ecx, al
movzx eax, r9b
mov r9d, edi
ror r9d, 4
xor r9d, dword [rsi - 0xc]
xor r8d, dword [r15 + rcx*4 + 0x212ee0]
xor r8d, dword [r15 + rax*4 + 0x2136e0]
movzx eax, r10b
xor r8d, dword [r15 + rax*4 + 0x2132e0]
mov eax, r9d
shr eax, 0x18
xor ebp, r8d
movzx edx, al
mov r10d, ebp
mov eax, r9d
ror r10d, 4
xor r10d, dword [rsi - 4]
shr eax, 0x10
mov r8d, dword [r15 + rdx*4 + 0x211ae0]
movzx ecx, al
mov eax, r9d
shr eax, 8
xor r8d, dword [r15 + rcx*4 + 0x2122e0]
movzx ecx, al
mov eax, ebx
shr eax, 0x18
xor r8d, dword [r15 + rcx*4 + 0x212ae0]
movzx ecx, al
mov eax, ebx
shr eax, 0x10
xor r8d, dword [r15 + rcx*4 + 0x211ee0]
movzx ecx, al
mov eax, ebx
shr eax, 8
xor r8d, dword [r15 + rcx*4 + 0x2126e0]
movzx ecx, al
movzx eax, bl
mov ebx, dword [rsi]
xor r8d, dword [r15 + rcx*4 + 0x212ee0]
xor r8d, dword [r15 + rax*4 + 0x2136e0]
movzx eax, r9b
mov r9d, ebx
xor r9d, ebp
xor r8d, dword [r15 + rax*4 + 0x2132e0]
mov eax, r10d
shr eax, 0x18
xor r13d, r8d
movzx edx, al
mov eax, r10d
shr eax, 0x10
movzx ecx, al
mov r8d, dword [r15 + rdx*4 + 0x211ae0]
xor r8d, dword [r15 + rcx*4 + 0x2122e0]
lea rsi, [rsi + 0x10]
xor ebx, r13d
mov eax, r10d
shr eax, 8
movzx ecx, al
mov eax, r9d
shr eax, 0x18
xor r8d, dword [r15 + rcx*4 + 0x212ae0]
movzx ecx, al
mov eax, r9d
shr eax, 0x10
xor r8d, dword [r15 + rcx*4 + 0x211ee0]
movzx ecx, al
mov eax, r9d
shr eax, 8
xor r8d, dword [r15 + rcx*4 + 0x2126e0]
movzx ecx, al
movzx eax, r9b
mov r9d, r13d
ror r9d, 4
xor r9d, dword [rsi - 0x14]
xor r8d, dword [r15 + rcx*4 + 0x212ee0]
xor r8d, dword [r15 + rax*4 + 0x2136e0]
movzx eax, r10b
xor r8d, dword [r15 + rax*4 + 0x2132e0]
mov eax, r9d
shr eax, 0x18
xor r12d, r8d
movzx edx, al
mov eax, r9d
shr eax, 0x10
movzx ecx, al
mov eax, r9d
shr eax, 8
mov r8d, dword [r15 + rdx*4 + 0x211ae0]
xor r8d, dword [r15 + rcx*4 + 0x2122e0]
movzx ecx, al
mov eax, ebx
shr eax, 0x18
xor r8d, dword [r15 + rcx*4 + 0x212ae0]
movzx ecx, al
mov eax, ebx
shr eax, 0x10
xor r8d, dword [r15 + rcx*4 + 0x211ee0]
movzx ecx, al
mov eax, ebx
shr eax, 8
xor r8d, dword [r15 + rcx*4 + 0x2126e0]
movzx ecx, al
movzx eax, bl
xor r8d, dword [r15 + rcx*4 + 0x212ee0]
xor r8d, dword [r15 + rax*4 + 0x2136e0]
movzx eax, r9b
xor r8d, dword [r15 + rax*4 + 0x2132e0]
xor edi, r8d
sub r14, 1
jne 0x1800aa170
mov r15, qword [rsp + 0x60]
mov r14, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov dword [rsp], edi
mov rdi, qword [rsp + 0x78]
mov eax, dword [rsp]
mov dword [r15], ebp
mov dword [r14], r12d
mov dword [rsi], r13d
mov dword [rdi], eax
add rsp, 0x18
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret