Function at 0x1402b0dd0
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x188
mov rax, qword [0x140601e40]
xor rax, rsp
mov qword [rsp + 0x170], rax
mov rax, qword [rsp + 0x1f8]
mov rdi, r9
mov r13d, dword [rsp + 0x210]
mov ebx, r8d
mov qword [rsp + 0x80], rcx
mov esi, edx
mov ecx, r13d
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x70], r9
mov dword [rsp + 0x58], edx
call fcn.140295810
mov r15d, dword [rsp + 0x208]
mov r12d, 1
movsxd r14, eax
mov eax, ebx
cdq
mov dword [rsp + 0x54], r12d
idiv r14d
mov r8d, eax
mov dword [rsp + 0x64], eax
mov eax, ebx
xor ebx, ebx
cdq
idiv r14d
mov dword [rsp + 0x6c], edx
cmp r8d, r12d
jl 0x1402b106c
movsxd rdx, dword [rsp + 0x200]
lea rax, [rsp + 0xf0]
mov rsi, qword [rsp + 0x80]
add rax, rdx
mov ebx, dword [rsp + 0x1f0]
mov qword [rsp + 0x88], rax
lea rax, [rsp + 0xf1]
add rax, rdx
mov qword [rsp + 0x90], rax
lea rax, [rsp + 0xf2]
add rax, rdx
mov qword [rsp + 0x98], rax
lea rax, [rsp + 0xf3]
add rax, rdx
mov qword [rsp + 0xa0], rax
lea eax, [rdx + 4]
mov dword [rsp + 0x5c], eax
mov eax, r14d
neg eax
mov dword [rsp + 0x60], eax
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x50], eax
mov eax, r8d
imul eax, r14d
mov dword [rsp + 0x68], eax
nop word [rax + rax]
mov r8d, edx
lea rcx, [rsp + 0xf0]
mov rdx, qword [rsp + 0x78]
call fcn.140295270
mov rcx, qword [rsp + 0x88]
lea r8, [rsp + 0xf0]
mov r9d, dword [rsp + 0x5c]
mov eax, r12d
sar eax, 0x18
mov edx, r14d
mov dword [rsp + 0x30], r13d
mov byte [rcx], al
mov eax, r12d
mov rcx, qword [rsp + 0x90]
sar eax, 0x10
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rdi
mov byte [rcx], al
mov eax, r12d
mov rcx, qword [rsp + 0x98]
sar eax, 8
mov byte [rcx], al
lea rcx, [rsp + 0xb0]
mov rax, qword [rsp + 0xa0]
mov byte [rax], r12b
call fcn.14029b2f0
mov edx, dword [rsp + 0x50]
lea r8, [rsp + 0xb0]
mov r9d, r14d
mov rcx, rsi
call fcn.140295280
mov edi, 1
cmp r15d, edi
jle 0x1402b103a
mov r12, qword [rsp + 0x70]
mov ebx, edi
mov eax, edi
mov dword [rsp + 0x30], r13d
not eax
lea r8, [rsp + 0xb0]
and eax, 1
lea rcx, [rsp + 0xb0]
shl rax, 6
mov r9d, r14d
add r8, rax
mov edx, r14d
mov rax, rbx
and eax, 1
shl rax, 6
add rcx, rax
mov eax, dword [rsp + 0x1f0]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], r12
call fcn.14029b2f0
test r14d, r14d
jle 0x1402b1020
mov rcx, rbx
lea rdx, [rsp + 0xb0]
and ecx, 1
mov rax, rsi
shl rcx, 6
mov r8, r14
sub rcx, rsi
add rdx, rcx
nop word [rax + rax]
movzx ecx, byte [rdx + rax]
xor byte [rax], cl
lea rax, [rax + 1]
sub r8, 1
jne 0x1402b1010
inc edi
inc rbx
cmp edi, r15d
jl 0x1402b0f97
mov r12d, dword [rsp + 0x54]
mov ebx, dword [rsp + 0x1f0]
mov eax, dword [rsp + 0x60]
inc r12d
add dword [rsp + 0x50], eax
add rsi, r14
mov rdi, qword [rsp + 0x70]
mov edx, dword [rsp + 0x200]
mov dword [rsp + 0x54], r12d
cmp r12d, dword [rsp + 0x64]
jle 0x1402b0ef0
mov ebx, dword [rsp + 0x68]
mov esi, dword [rsp + 0x58]
mov ebp, dword [rsp + 0x6c]
test ebp, ebp
jle 0x1402b10de
mov eax, dword [rsp + 0x200]
lea rcx, [rsp + 0x130]
mov r9d, dword [rsp + 0x1f0]
mov r8, rdi
mov dword [rsp + 0x48], r14d
mov edx, 0x40
mov dword [rsp + 0x40], r13d
mov dword [rsp + 0x38], r12d
mov dword [rsp + 0x30], r15d
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x20], rax
call fcn.1402b1110
sub esi, ebx
movsxd rcx, ebx
add rcx, qword [rsp + 0x80]
lea r8, [rsp + 0x130]
mov r9d, ebp
mov edx, esi
call fcn.140295280
lea eax, [rbx + rbp]
jmp 0x1402b10e0
mov eax, ebx
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.140284180
add rsp, 0x188
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret