Function at 0x140005270
Capabilities:
Encode data using xor

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
lea rbp, [rsp - 0x68]
sub rsp, 0x168
mov rbx, r8
mov edi, edx
mov rsi, rcx
xor edx, edx
mov r8d, 0xe0
lea rcx, [rsp + 0x60]
call fcn.1400221f0
movups xmm1, xmmword [rbx]
lea r10, [rsp + 0x5c]
mov r9d, 4
xorps xmm0, xmm0
lea rbx, [0x140000000]
movups xmmword [rsp + 0x50], xmm1
movups xmmword [rsp + 0x20], xmm0
mov r11d, dword [r10]
test r9b, 3
jne 0x140005336
ror r11d, 8
mov eax, r9d
shr rax, 2
mov r8d, dword [rbx + rax*4 + 0x465e4]
mov eax, r11d
shr rax, 0x18
bswap r8d
movzx edx, byte [rax + rbx + 0x46640]
mov eax, r11d
shr eax, 0x10
movzx ecx, al
shl edx, 8
movzx eax, byte [rcx + rbx + 0x46640]
or edx, eax
mov eax, r11d
shr eax, 8
shl edx, 8
movzx ecx, al
movzx eax, byte [rcx + rbx + 0x46640]
or edx, eax
movzx eax, r11b
shl edx, 8
movzx eax, byte [rax + rbx + 0x46640]
or edx, eax
xor r8d, edx
jmp 0x140005339
mov r8d, r11d
xor r8d, dword [r10 - 0xc]
inc r9d
mov dword [r10 + 4], r8d
add r10, 4
cmp r9d, 0x2c
jl 0x1400052c6
test edi, edi
jle 0x1400055cc
mov qword [rsp + 0x160], r12
lea ecx, [rdi - 1]
shr ecx, 4
inc ecx
mov qword [rsp + 0x158], r13
xor r8d, r8d
mov qword [rsp + 0x150], r14
mov qword [rbp + 0xa0], r8
mov qword [rsp + 0x148], r15
mov qword [rsp + 0x48], rcx
movups xmm0, xmmword [r8 + rsi]
xor esi, esi
mov dword [rbp + 0x98], esi
movups xmmword [rsp + 0x20], xmm0
test esi, esi
jle 0x140005527
xor ecx, ecx
nop dword [rax]
movzx eax, byte [rsp + rcx*4 + 0x20]
movzx eax, byte [rax + rbx + 0x46640]
mov byte [rsp + rcx*4 + 0x20], al
movzx eax, byte [rsp + rcx*4 + 0x21]
movzx eax, byte [rax + rbx + 0x46640]
mov byte [rsp + rcx*4 + 0x21], al
movzx eax, byte [rsp + rcx*4 + 0x22]
movzx eax, byte [rax + rbx + 0x46640]
mov byte [rsp + rcx*4 + 0x22], al
movzx eax, byte [rsp + rcx*4 + 0x23]
movzx eax, byte [rax + rbx + 0x46640]
mov byte [rsp + rcx*4 + 0x23], al
inc rcx
cmp rcx, 4
jl 0x1400053b0
mov ebx, 1
mov edi, ebx
test ebx, ebx
jle 0x14000543a
lea r9, [rsp + 0x20]
mov r10d, ebx
add r9, rdi
movzx r11d, byte [r9]
mov rax, r9
mov r8d, 4
movzx ecx, byte [rax + 4]
mov byte [rax], cl
lea rax, [rax + 4]
sub r8, 1
jne 0x140005420
mov byte [r9 + 0xc], r11b
sub r10, 1
jne 0x140005413
inc ebx
inc rdi
cmp rdi, 4
jl 0x140005404
cmp esi, 0xa
jge 0x140005520
mov dword [rsp + 0x38], 0x1010302
xor esi, esi
mov dword [rsp + 0x3c], 0x1030201
mov dword [rsp + 0x40], 0x3020101
mov dword [rsp + 0x44], 0x2010103
movzx r14d, byte [rsp + rsi*4 + 0x20]
xor edi, edi
movzx r15d, byte [rsp + rsi*4 + 0x21]
movzx r12d, byte [rsp + rsi*4 + 0x22]
movzx r13d, byte [rsp + rsi*4 + 0x23]
nop word [rax + rax]
movzx edx, byte [rsp + rdi*4 + 0x38]
movzx ecx, r14b
call fcn.140005100
movzx edx, byte [rsp + rdi*4 + 0x3b]
movzx ecx, r13b
movzx ebx, al
call fcn.140005100
movzx edx, byte [rsp + rdi*4 + 0x3a]
movzx ecx, r12b
xor bl, al
call fcn.140005100
movzx edx, byte [rsp + rdi*4 + 0x39]
movzx ecx, r15b
xor bl, al
call fcn.140005100
xor bl, al
mov byte [rbp + rdi + 0xa8], bl
inc rdi
cmp rdi, 4
jl 0x140005490
movzx eax, byte [rbp + 0xa8]
mov byte [rsp + rsi*4 + 0x20], al
movzx eax, byte [rbp + 0xa9]
mov byte [rsp + rsi*4 + 0x21], al
movzx eax, byte [rbp + 0xaa]
mov byte [rsp + rsi*4 + 0x22], al
movzx eax, byte [rbp + 0xab]
mov byte [rsp + rsi*4 + 0x23], al
inc rsi
cmp rsi, 4
jl 0x140005470
mov esi, dword [rbp + 0x98]
lea rbx, [0x140000000]
jmp 0x140062840
add rsp, 0x168
pop rdi
pop rsi
pop rbx
pop rbp
ret