Function at 0x140032e00
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], r9
mov qword [rax + 8], rcx
push rbp
sub rsp, 0x40
mov rbp, r9
mov r9, rcx
test rbp, rbp
je 0x14003313a
mov qword [rax + 0x10], rbx
mov qword [rax - 0x10], rsi
mov qword [rax - 0x18], rdi
mov qword [rax - 0x20], r12
mov qword [rax - 0x28], r13
mov qword [rax - 0x30], r14
mov qword [rax - 0x38], r15
lea r15, [r8 + 8]
sub r8, rdx
lea rax, [r8 - 8]
lea r14, [rdx + 8]
mov qword [rsp], rax
nop
mov eax, dword [r14 - 8]
mov ecx, dword [r14]
mov r13, qword [r9 + 8]
mov ebx, eax
rol eax, 8
lea rbp, [0x140000000]
and eax, 0xff00ff
ror ebx, 8
and ebx, 0xff00ff00
or ebx, eax
mov eax, dword [r14 - 4]
mov edi, eax
rol eax, 8
and eax, 0xff00ff
ror edi, 8
and edi, 0xff00ff00
or edi, eax
mov eax, ecx
rol ecx, 8
and ecx, 0xff00ff
ror eax, 8
and eax, 0xff00ff00
or eax, ecx
mov ecx, dword [r14 + 4]
mov esi, ecx
ror esi, 8
and esi, 0xff00ff00
rol ecx, 8
and ecx, 0xff00ff
or esi, ecx
xor r12d, r12d
mov r9d, dword [r12 + r13 + 4]
xor r9d, esi
xor r9d, eax
mov ecx, r9d
shr ecx, 0x18
movzx r8d, cl
mov ecx, r9d
mov r10d, dword [rbp + r8*4 + 0x316390]
shr ecx, 0x10
movzx edx, cl
mov ecx, r9d
xor r10d, dword [rbp + rdx*4 + 0x314570]
shr ecx, 8
movzx edx, cl
movzx ecx, r9b
mov r9d, dword [r12 + r13]
xor r10d, dword [rbp + rdx*4 + 0x323470]
xor r9d, eax
xor r10d, dword [rbp + rcx*4 + 0x30ce50]
add r9d, r10d
mov ecx, r9d
shr ecx, 0x18
movzx r8d, cl
mov ecx, r9d
mov r11d, dword [rbp + r8*4 + 0x316390]
shr ecx, 0x10
movzx edx, cl
mov ecx, r9d
xor r11d, dword [rbp + rdx*4 + 0x314570]
shr ecx, 8
movzx edx, cl
movzx ecx, r9b
xor r11d, dword [rbp + rdx*4 + 0x323470]
xor r11d, dword [rbp + rcx*4 + 0x30ce50]
add r10d, r11d
mov ecx, r10d
shr ecx, 0x18
movzx r8d, cl
mov ecx, r10d
mov r9d, dword [rbp + r8*4 + 0x316390]
shr ecx, 0x10
movzx edx, cl
mov ecx, r10d
xor r9d, dword [rbp + rdx*4 + 0x314570]
shr ecx, 8
movzx edx, cl
movzx ecx, r10b
xor r9d, dword [rbp + rdx*4 + 0x323470]
xor r9d, dword [rbp + rcx*4 + 0x30ce50]
xor edi, r9d
lea ecx, [r9 + r11]
mov r9d, dword [r12 + r13 + 0xc]
xor ebx, ecx
xor r9d, edi
xor r9d, ebx
mov ecx, r9d
shr ecx, 0x18
movzx r8d, cl
mov ecx, r9d
mov r10d, dword [rbp + r8*4 + 0x316390]
shr ecx, 0x10
movzx edx, cl
mov ecx, r9d
xor r10d, dword [rbp + rdx*4 + 0x314570]
shr ecx, 8
movzx edx, cl
movzx ecx, r9b
mov r9d, dword [r12 + r13 + 8]
xor r10d, dword [rbp + rdx*4 + 0x323470]
xor r9d, ebx
xor r10d, dword [rbp + rcx*4 + 0x30ce50]
add r9d, r10d
mov ecx, r9d
shr ecx, 0x18
movzx r8d, cl
mov ecx, r9d
mov r11d, dword [rbp + r8*4 + 0x316390]
shr ecx, 0x10
movzx edx, cl
mov ecx, r9d
xor r11d, dword [rbp + rdx*4 + 0x314570]
shr ecx, 8
add r12, 0x10
movzx edx, cl
movzx ecx, r9b
xor r11d, dword [rbp + rdx*4 + 0x323470]
xor r11d, dword [rbp + rcx*4 + 0x30ce50]
add r10d, r11d
mov ecx, r10d
shr ecx, 0x18
movzx r8d, cl
mov ecx, r10d
mov r9d, dword [rbp + r8*4 + 0x316390]
shr ecx, 0x10
movzx edx, cl
mov ecx, r10d
xor r9d, dword [rbp + rdx*4 + 0x314570]
shr ecx, 8
movzx edx, cl
movzx ecx, r10b
xor r9d, dword [rbp + rdx*4 + 0x323470]
xor r9d, dword [rbp + rcx*4 + 0x30ce50]
xor esi, r9d
lea ecx, [r9 + r11]
xor eax, ecx
cmp r12, 0x80
jne 0x140032ec2
mov r9, qword [rsp + 0x50]
mov ecx, eax
rol eax, 8
and eax, 0xff00ff
add r15, 0x10
ror ecx, 8
and ecx, 0xff00ff00
add r14, 0x10
or ecx, eax
mov rax, qword [rsp]
mov dword [rax + r14 - 0x10], ecx
mov eax, esi
rol esi, 8
and esi, 0xff00ff
ror eax, 8
and eax, 0xff00ff00
or eax, esi
mov dword [r15 - 0x14], eax
mov eax, ebx
ror eax, 8
and eax, 0xff00ff00
rol ebx, 8
and ebx, 0xff00ff
or eax, ebx
mov dword [r15 - 0x10], eax
mov eax, edi
ror eax, 8
and eax, 0xff00ff00
rol edi, 8
and edi, 0xff00ff
or eax, edi
dec qword [rsp + 0x68]
mov dword [r15 - 0xc], eax
jne 0x140032e50
mov r15, qword [rsp + 0x10]
mov r14, qword [rsp + 0x18]
mov r13, qword [rsp + 0x20]
mov r12, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rbp
ret