Function at 0x140068df0
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
mov rdi, r9
mov r12, r8
mov rsi, rdx
mov r15, rcx
mov rbx, qword [rsp + 0xb0]
mov r14, qword [rsp + 0xa8]
mov rbp, qword [rsp + 0xa0]
mov rax, qword [0x14039fd98]
xor rax, rsp
mov qword [rsp + 0x30], rax
cmp dword [rsp + 0xb8], 0
mov edx, dword [rbx]
mov ecx, dword [rbx + 4]
je 0x140068fca
cmp r12, 8
jb 0x140068ec5
lea r13, [rsp + 0x28]
nop word cs:[rax + rax]
xor edx, dword [r15]
xor ecx, dword [r15 + 4]
add r15, 8
mov dword [rsp + 0x28], edx
mov dword [rsp + 0x2c], ecx
mov rcx, r13
mov rdx, rdi
mov r8, rbp
mov r9, r14
call fcn.140066300
mov edx, dword [rsp + 0x28]
mov ecx, dword [rsp + 0x2c]
mov byte [rsi], dl
mov byte [rsi + 1], dh
mov eax, edx
shr eax, 0x10
mov byte [rsi + 2], al
mov eax, edx
shr eax, 0x18
mov byte [rsi + 3], al
mov byte [rsi + 4], cl
mov byte [rsi + 5], ch
mov eax, ecx
shr eax, 0x10
mov byte [rsi + 6], al
mov eax, ecx
shr eax, 0x18
mov byte [rsi + 7], al
add rsi, 8
add r12, 0xfffffffffffffff8
cmp r12, 7
ja 0x140068e60
mov r11d, ecx
test r12, r12
je 0x14006913a
mov r10d, edx
xor eax, eax
lea rcx, [r12 - 1]
cmp rcx, 6
ja case.default.0x140068efd
add r15, r12
lea rdx, [0x1402e35b0]
movsxd r9, dword [rdx + rcx*4]
add r9, rdx
xor ecx, ecx
xor r8d, r8d
xor edx, edx
jmp r9
movzx eax, byte [r15 - 1]
dec r15
shl eax, 0x10
movzx ecx, byte [r15 - 1]
dec r15
shl ecx, 8
or eax, ecx
movzx ecx, byte [r15 - 1]
dec r15
or eax, ecx
mov ecx, eax
movzx eax, byte [r15 - 1]
dec r15
shl eax, 0x18
movzx edx, byte [r15 - 1]
dec r15
shl edx, 0x10
or eax, edx
mov r8d, ecx
movzx ecx, byte [r15 - 1]
dec r15
shl ecx, 8
or eax, ecx
mov edx, r8d
movzx ecx, byte [r15 - 1]
or eax, ecx
xor eax, r10d
xor edx, r11d
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x2c], edx
lea rcx, [rsp + 0x28]
mov rdx, rdi
mov r8, rbp
mov r9, r14
call fcn.140066300
mov r10d, dword [rsp + 0x28]
mov r11d, dword [rsp + 0x2c]
mov byte [rsi], r10b
mov eax, r10d
shr eax, 8
mov byte [rsi + 1], al
mov ecx, r10d
shr ecx, 0x10
mov byte [rsi + 2], cl
mov edx, r10d
shr edx, 0x18
mov byte [rsi + 3], dl
mov byte [rsi + 4], r11b
mov r8d, r11d
shr r8d, 8
mov byte [rsi + 5], r8b
mov r9d, r11d
shr r9d, 0x10
mov byte [rsi + 6], r9b
mov edi, r11d
shr edi, 0x18
mov ebp, edi
mov byte [rsi + 7], dil
jmp 0x140069160
cmp r12, 8
jb 0x140069075
nop word cs:[rax + rax]
mov ebx, edx
mov r13d, ecx
mov ebp, dword [r15]
mov r14d, dword [r15 + 4]
add r15, 8
mov dword [rsp + 0x28], ebp
mov dword [rsp + 0x2c], r14d
lea rcx, [rsp + 0x28]
mov rdx, rdi
mov r8, qword [rsp + 0xa0]
mov r9, qword [rsp + 0xa8]
call fcn.140067670
mov ecx, r14d
mov edx, ebp
xor ebx, dword [rsp + 0x28]
xor r13d, dword [rsp + 0x2c]
mov byte [rsi], bl
mov byte [rsi + 1], bh
mov eax, ebx
shr eax, 0x10
mov byte [rsi + 2], al
shr ebx, 0x18
mov byte [rsi + 3], bl
mov ebx, r13d
mov byte [rsi + 4], bl
mov byte [rsi + 5], bh
mov eax, r13d
shr eax, 0x10
mov byte [rsi + 6], al
shr ebx, 0x18
mov byte [rsi + 7], bl
add rsi, 8
add r12, 0xfffffffffffffff8
cmp r12, 7
ja 0x140068fe0
mov rbx, qword [rsp + 0xb0]
mov r14, qword [rsp + 0xa8]
mov rbp, qword [rsp + 0xa0]
test r12, r12
je 0x140069114
mov r8, rbp
mov ebp, ecx
mov r13d, edx
mov ecx, dword [r15]
mov eax, dword [r15 + 4]
mov dword [rsp + 0x24], ecx
mov dword [rsp + 0x28], ecx
mov r15d, eax
mov dword [rsp + 0x2c], eax
lea rcx, [rsp + 0x28]
mov rdx, rdi
mov r9, r14
call fcn.140067670
lea rax, [r12 - 1]
cmp rax, 6
ja case.default.0x1400690d5
mov edx, r13d
xor edx, dword [rsp + 0x28]
xor ebp, dword [rsp + 0x2c]
add rsi, r12
lea rcx, [0x1402e35cc]
movsxd rax, dword [rcx + rax*4]
add rax, rcx
mov ecx, ebp
jmp rax
mov eax, ecx
shr eax, 0x10
mov byte [rsi - 1], al
dec rsi
mov byte [rsi - 1], ch
dec rsi
mov byte [rsi - 1], cl
dec rsi
mov eax, edx
shr eax, 0x18
mov byte [rsi - 1], al
dec rsi
mov eax, edx
shr eax, 0x10
mov byte [rsi - 1], al
dec rsi
mov byte [rsi - 1], dh
dec rsi
mov byte [rsi - 1], dl
mov ecx, r15d
mov edx, dword [rsp + 0x24]
mov byte [rbx], dl
mov byte [rbx + 1], dh
mov eax, edx
shr eax, 0x10
mov byte [rbx + 2], al
shr edx, 0x18
mov byte [rbx + 3], dl
mov byte [rbx + 4], cl
mov byte [rbx + 5], ch
mov eax, ecx
shr eax, 0x10
mov byte [rbx + 6], al
shr ecx, 0x18
jmp 0x14006917a
mov eax, edx
shr eax, 8
mov ecx, edx
shr ecx, 0x10
mov r10d, edx
shr edx, 0x18
mov r8d, r11d
shr r8d, 8
mov r9d, r11d
shr r9d, 0x10
mov esi, r11d
shr esi, 0x18
mov ebp, esi
mov byte [rbx], r10b
mov byte [rbx + 1], al
mov byte [rbx + 2], cl
mov byte [rbx + 3], dl
mov byte [rbx + 4], r11b
mov byte [rbx + 5], r8b
mov byte [rbx + 6], r9b
mov ecx, ebp
mov byte [rbx + 7], cl
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140265fe0
nop
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
xor edx, edx
jmp 0x140068f56