Function at 0x14001f9f0
Capabilities:
Encode data using xor

Disassembly:
mov r11, rsp
push rbp
push rdi
mov rbp, rsp
sub rsp, 0x58
mov rax, qword [0x1400a5100]
xor rax, rsp
mov qword [rbp - 0x28], rax
mov qword [r11 + 0x10], rsi
lea rcx, [rbp - 0x47]
mov qword [r11 + 0x20], r12
mov edi, 4
mov qword [r11 - 0x18], r13
mov r12, r8
mov qword [r11 - 0x20], r14
add rdx, 8
mov qword [r11 - 0x28], r15
mov r10d, edi
mov r15, r9
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rdx - 8]
lea rdx, [rdx + 1]
mov byte [rcx - 1], al
lea rcx, [rcx + 4]
movzx eax, byte [rdx - 5]
mov byte [rcx - 4], al
movzx eax, byte [rdx - 1]
mov byte [rcx - 3], al
movzx eax, byte [rdx + 3]
mov byte [rcx - 2], al
sub r10, 1
jne 0x14001fa40
lea rcx, [rbp - 0x47]
mov r8, rdi
lea rdx, [r9 + 8]
nop word [rax + rax]
movzx eax, byte [rdx - 8]
lea rdx, [rdx + 1]
xor byte [rcx - 1], al
lea rcx, [rcx + 4]
movzx eax, byte [rdx - 5]
xor byte [rcx - 4], al
movzx eax, byte [rdx - 1]
xor byte [rcx - 3], al
movzx eax, byte [rdx + 3]
xor byte [rcx - 2], al
sub r8, 1
jne 0x14001fa80
mov r13d, dword [0x1400a5d94]
lea r8, [0x140000000]
mov esi, 1
lea r14d, [r13 - 1]
cmp r14d, esi
jb 0x14001fcd1
mov qword [rsp + 0x70], rbx
nop
lea rcx, [rbp - 0x47]
mov rdx, rdi
movzx eax, byte [rcx - 1]
lea rcx, [rcx + 4]
movzx eax, byte [rax + r8 + 0x94dd0]
mov byte [rcx - 5], al
movzx eax, byte [rcx - 4]
movzx eax, byte [rax + r8 + 0x94dd0]
mov byte [rcx - 4], al
movzx eax, byte [rcx - 3]
movzx eax, byte [rax + r8 + 0x94dd0]
mov byte [rcx - 3], al
movzx eax, byte [rcx - 2]
movzx eax, byte [rax + r8 + 0x94dd0]
mov byte [rcx - 2], al
sub rdx, 1
jne 0x14001fad7
movzx eax, byte [rbp - 0x43]
lea r14, [0x140000000]
mov byte [rbp - 0x54], al
xorps xmm0, xmm0
movzx eax, byte [rbp - 0x42]
xor r10d, r10d
mov byte [rbp - 0x53], al
movzx eax, byte [rbp - 0x41]
mov byte [rbp - 0x52], al
movzx eax, byte [rbp - 0x44]
mov byte [rbp - 0x51], al
mov eax, dword [rbp - 0x54]
mov dword [rbp - 0x44], eax
movzx eax, byte [rbp - 0x3e]
mov byte [rbp - 0x50], al
movzx eax, byte [rbp - 0x3d]
mov byte [rbp - 0x4f], al
movzx eax, byte [rbp - 0x40]
mov byte [rbp - 0x4e], al
movzx eax, byte [rbp - 0x3f]
mov byte [rbp - 0x4d], al
mov eax, dword [rbp - 0x50]
mov dword [rbp - 0x40], eax
movzx eax, byte [rbp - 0x39]
mov byte [rbp - 0x58], al
movzx eax, byte [rbp - 0x3c]
mov byte [rbp - 0x57], al
movzx eax, byte [rbp - 0x3b]
mov byte [rbp - 0x56], al
movzx eax, byte [rbp - 0x3a]
mov byte [rbp - 0x55], al
mov eax, dword [rbp - 0x58]
mov dword [rbp - 0x3c], eax
movups xmmword [rbp - 0x38], xmm0
nop dword [rax + rax]
xor eax, eax
lea rbx, [r14 + 0x94dc0]
add rbx, r10
nop dword [rax]
movzx ecx, byte [rbx + rax]
movzx r9d, byte [rbp + r10 - 0x38]
movzx r11d, byte [rbp + rax*4 - 0x48]
cmp cl, 1
jne 0x14001fbe8
xor r9b, r11b
mov byte [rbp + r10 - 0x38], r9b
movzx ecx, byte [rbp + rax*4 - 0x47]
xor byte [rbp + r10 - 0x37], cl
movzx ecx, byte [rbp + rax*4 - 0x46]
xor byte [rbp + r10 - 0x36], cl
movzx ecx, byte [rbp + rax*4 - 0x45]
jmp 0x14001fc43
mov rdx, rcx
mov r8, rcx
shl r8, 8
shl rdx, 8
add rdx, r11
xor r9b, byte [rdx + r14 + 0x94ed0]
mov byte [rbp + r10 - 0x38], r9b
movzx ecx, byte [rbp + rax*4 - 0x47]
add rcx, r8
movzx ecx, byte [rcx + r14 + 0x94ed0]
xor byte [rbp + r10 - 0x37], cl
movzx ecx, byte [rbp + rax*4 - 0x46]
add rcx, r8
movzx ecx, byte [rcx + r14 + 0x94ed0]
xor byte [rbp + r10 - 0x36], cl
movzx ecx, byte [rbp + rax*4 - 0x45]
add rcx, r8
movzx ecx, byte [rcx + r14 + 0x94ed0]
xor cl, byte [rbp + r10 - 0x35]
inc rax
mov byte [rbp + r10 - 0x35], cl
cmp rax, rdi
jb 0x14001fbb0
add r10, rdi
cmp r10, 0x10
jb 0x14001fba0
movaps xmm0, xmmword [rbp - 0x38]
lea rcx, [rbp - 0x47]
mov edx, esi
movdqa xmmword [rbp - 0x48], xmm0
shl edx, 4
lea r14d, [r13 - 1]
add rdx, 8
mov r8, rdi
add rdx, r15
nop word [rax + rax]
movzx eax, byte [rdx - 8]
lea rdx, [rdx + 1]
xor byte [rcx - 1], al
lea rcx, [rcx + 4]
movzx eax, byte [rdx - 5]
xor byte [rcx - 4], al
movzx eax, byte [rdx - 1]
xor byte [rcx - 3], al
movzx eax, byte [rdx + 3]
xor byte [rcx - 2], al
sub r8, 1
jne 0x14001fc90
inc esi
lea r8, [0x140000000]
cmp esi, r14d
jbe 0x14001fad0
mov rbx, qword [rsp + 0x70]
mov r14, qword [rsp + 0x48]
lea rcx, [rbp - 0x47]
mov rsi, qword [rsp + 0x78]
mov rdx, rdi
movzx eax, byte [rcx - 1]
lea rcx, [rcx + 4]
movzx eax, byte [rax + r8 + 0x94dd0]
mov byte [rcx - 5], al
movzx eax, byte [rcx - 4]
movzx eax, byte [rax + r8 + 0x94dd0]
mov byte [rcx - 4], al
movzx eax, byte [rcx - 3]
movzx eax, byte [rax + r8 + 0x94dd0]
mov byte [rcx - 3], al
movzx eax, byte [rcx - 2]
movzx eax, byte [rax + r8 + 0x94dd0]
mov byte [rcx - 2], al
sub rdx, 1
jne 0x14001fce2
movzx eax, byte [rbp - 0x43]
lea rcx, [rbp - 0x47]
mov byte [rbp - 0x58], al
add r15, 8
movzx eax, byte [rbp - 0x42]
mov r8, rdi
mov byte [rbp - 0x57], al
movzx eax, byte [rbp - 0x41]
mov byte [rbp - 0x56], al
movzx eax, byte [rbp - 0x44]
mov byte [rbp - 0x55], al
mov eax, dword [rbp - 0x58]
mov dword [rbp - 0x44], eax
movzx eax, byte [rbp - 0x3e]
mov byte [rbp - 0x58], al
movzx eax, byte [rbp - 0x3d]
mov byte [rbp - 0x57], al
movzx eax, byte [rbp - 0x40]
mov byte [rbp - 0x56], al
movzx eax, byte [rbp - 0x3f]
mov byte [rbp - 0x55], al
mov eax, dword [rbp - 0x58]
mov dword [rbp - 0x40], eax
movzx eax, byte [rbp - 0x39]
mov byte [rbp - 0x58], al
movzx eax, byte [rbp - 0x3c]
mov byte [rbp - 0x57], al
movzx eax, byte [rbp - 0x3b]
shl r13d, 4
mov byte [rbp - 0x56], al
movzx eax, byte [rbp - 0x3a]
mov edx, r13d
mov r13, qword [rsp + 0x50]
add rdx, r15
mov r15, qword [rsp + 0x40]
mov byte [rbp - 0x55], al
mov eax, dword [rbp - 0x58]
mov dword [rbp - 0x3c], eax
movzx eax, byte [rdx - 8]
lea rdx, [rdx + 1]
xor byte [rcx - 1], al
lea rcx, [rcx + 4]
movzx eax, byte [rdx - 5]
xor byte [rcx - 4], al
movzx eax, byte [rdx - 1]
xor byte [rcx - 3], al
movzx eax, byte [rdx + 3]
xor byte [rcx - 2], al
sub r8, 1
jne 0x14001fdb1
lea rdx, [r12 + 8]
mov r12, qword [rsp + 0x88]
lea rcx, [rbp - 0x47]
nop dword [rax]
movzx eax, byte [rcx - 1]
lea rcx, [rcx + 4]
mov byte [rdx - 8], al
lea rdx, [rdx + 1]
movzx eax, byte [rcx - 4]
mov byte [rdx - 5], al
movzx eax, byte [rcx - 3]
mov byte [rdx - 1], al
movzx eax, byte [rcx - 2]
mov byte [rdx + 3], al
sub rdi, 1
jne 0x14001fdf0
mov rcx, qword [rbp - 0x28]
xor rcx, rsp
call fcn.140052020
add rsp, 0x58
pop rdi
pop rbp
ret