Function at 0x1400a3430
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push r12
push r14
push r15
sub rsp, 0xc8
mov rax, qword [0x140121218]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0x120]
xor ebp, ebp
mov esi, dword [rsp + 0x138]
mov r12d, ebp
mov qword [rsp + 0x40], rcx
mov r14, r8
mov ecx, dword [rsp + 0x128]
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x30], r9d
mov ebx, edx
call fcn.140099750
mov r15d, eax
test eax, eax
js 0x1400a3547
cmp ebx, eax
je 0x1400a34a0
mov eax, 0xffffff53
jmp 0x1400a3547
mov ecx, dword [rsp + 0x140]
lea eax, [rcx - 1]
and eax, 7
mov dword [rsp + 0x38], eax
jne 0x1400a34c1
mov byte [r14], bpl
inc r14
dec r9d
mov dword [rsp + 0x30], r9d
cmp esi, 0xffffffff
jne 0x1400a34dd
mov esi, r15d
cmp ecx, 0x400
jne 0x1400a34ef
cmp r15d, 0x40
jne 0x1400a34ef
lea esi, [r15 - 2]
jmp 0x1400a34ef
cmp esi, r15d
jg 0x1400a37ee
cmp esi, 0xffffffff
jl 0x1400a37ee
mov ecx, r9d
lea eax, [rsi + 2]
sub ecx, r15d
cmp ecx, eax
jl 0x1400a37ee
lea eax, [rbx + 8]
mov qword [rsp + 0xb8], r13
add eax, esi
lea r13d, [rcx - 1]
mov dword [rsp + 0x34], r13d
cmp r9d, eax
jae 0x1400a356d
mov ecx, eax
mov rax, qword [0x1401bb498]
test rax, rax
je 0x1400a352d
call rax
jmp 0x1400a3532
call fcn.1400d0660
mov r12, rax
test rax, rax
jne 0x1400a3568
lea eax, [r12 - 0x7d]
mov r13, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.1400bf510
add rsp, 0xc8
pop r15
pop r14
pop r12
pop rsi
pop rbp
pop rbx
ret
mov rax, r12
jmp 0x1400a3570
mov rax, r14
mov rdx, qword [rsp + 0x40]
xor ecx, ecx
mov qword [rax], rcx
mov r8, rbx
mov qword [rsp + 0xc0], rdi
lea rdi, [rax + 8]
mov rcx, rdi
mov qword [rsp + 0x48], rax
call fcn.1400c1bc0
add rdi, rbx
test esi, esi
jle 0x1400a35cf
mov rcx, qword [rsp + 0x50]
lea rdx, [rsp + 0x60]
mov r8d, esi
call fcn.1400b45a0
test eax, eax
jne 0x1400a37b3
movsxd rbx, esi
lea rdx, [rsp + 0x60]
mov r8, rbx
mov rcx, rdi
call fcn.1400c1bc0
add rdi, rbx
jmp 0x1400a35d2
movsxd rbx, esi
mov rdx, qword [rsp + 0x48]
mov ecx, dword [rsp + 0x128]
sub edi, edx
movsxd r13, r13d
mov r8d, edi
mov dword [rsp + 0x20], r15d
lea r9, [r14 + r13]
call fcn.140099890
mov edi, eax
test eax, eax
jne 0x1400a37b5
mov eax, dword [rsp + 0x30]
lea rdx, [r14 + r13]
mov ecx, dword [rsp + 0x130]
dec eax
mov r9, r14
mov r8d, r15d
mov byte [rax + r14], 0xbc
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x20], eax
call fcn.1400a3070
mov edi, eax
test eax, eax
jne 0x1400a37b5
mov ecx, dword [rsp + 0x38]
test ecx, ecx
je 0x1400a3645
mov eax, 1
shl al, cl
dec al
and byte [r14], al
sub r13, rbx
xor byte [r14 + r13 - 1], 1
lea rdx, [r14 + r13]
test esi, esi
jle 0x1400a3784
cmp esi, 8
jb 0x1400a3784
lea eax, [rsi - 1]
movsxd rcx, eax
lea rax, [rsp + 0x60]
add rax, rcx
lea r8, [rdx + rcx]
cmp rdx, rax
ja 0x1400a3688
lea rax, [rsp + 0x60]
cmp r8, rax
jae 0x1400a3784
cmp esi, 0x40
jb 0x1400a373b
mov ecx, esi
and ecx, 0x8000003f
jge 0x1400a36a2
dec ecx
or ecx, 0xffffffc0
inc ecx
mov eax, esi
sub eax, ecx
lea r8, [rsp + 0x60]
movsxd r11, eax
lea r9, [rsp + 0x70]
sub r8, rdx
sub r9, rdx
lea rcx, [rdx + 0x20]
mov r10, 0xffffffffffffffe0
sub r10, rdx
nop word [rax + rax]
movdqu xmm0, xmmword [rcx - 0x20]
add ebp, 0x40
movdqu xmm1, xmmword [r8 + rcx - 0x20]
movdqu xmm2, xmmword [r8 + rcx]
lea rcx, [rcx + 0x40]
pxor xmm1, xmm0
lea rax, [r10 + rcx]
movdqu xmmword [rcx - 0x60], xmm1
movdqu xmm0, xmmword [rcx - 0x50]
movdqu xmm1, xmmword [r9 + rcx - 0x60]
pxor xmm1, xmm0
movdqu xmmword [rcx - 0x50], xmm1
movdqu xmm0, xmmword [rcx - 0x40]
movdqu xmm1, xmmword [r9 + rcx - 0x40]
pxor xmm2, xmm0
movdqu xmmword [rcx - 0x40], xmm2
movdqu xmm0, xmmword [rcx - 0x30]
pxor xmm1, xmm0
movdqu xmmword [rcx - 0x30], xmm1
cmp rax, r11
jl 0x1400a36d0
mov eax, esi
and al, 0x3f
cmp al, 8
jb 0x1400a3784
mov eax, esi
and eax, 0x80000007
jge 0x1400a374b
dec eax
or eax, 0xfffffff8
inc eax
sub esi, eax
movsxd rcx, ebp
lea r8, [rsp + 0x60]
add rcx, rdx
movsxd r9, esi
sub r8, rdx
nop
movq xmm0, qword [rcx]
add ebp, 8
movq xmm1, qword [rcx + r8]
pxor xmm1, xmm0
movq qword [rcx], xmm1
add rcx, 8
mov rax, rcx
sub rax, rdx
cmp rax, r9
jl 0x1400a3760
movsxd rcx, ebp
cmp rcx, rbx
jge 0x1400a37b5
lea r8, [rsp + 0x60]
sub r8, rdx
lea rax, [rcx + rdx]
sub rbx, rcx
nop dword [rax + rax]
movzx edx, byte [rax + r8]
xor byte [rax], dl
lea rax, [rax + 1]
sub rbx, 1
jne 0x1400a37a0
jmp 0x1400a37b5
mov edi, eax
test r12, r12
je 0x1400a37df
mov rax, qword [0x1401bb488]
mov rcx, r12
test rax, rax
je 0x1400a37da
call rax
mov eax, edi
mov rdi, qword [rsp + 0xc0]
jmp 0x1400a353f
call fcn.1400c734c
mov eax, edi
mov rdi, qword [rsp + 0xc0]
jmp 0x1400a353f
mov eax, 0xffffff06
jmp 0x1400a3547