Function at 0x1402b7e30
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x110
mov rax, qword [0x140462cc0]
xor rax, rsp
mov qword [rsp + 0x100], rax
mov rax, qword [rsp + 0x178]
xor ebp, ebp
mov r12d, dword [rsp + 0x170]
xor r14d, r14d
mov r15, qword [rsp + 0x190]
mov esi, 0xffffffff
mov qword [rsp + 0x60], rax
mov rdi, r8
mov rax, qword [rsp + 0x188]
movsxd rbx, r9d
mov dword [rsp + 0x34], edx
mov qword [rsp + 0x68], rcx
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x38], esi
mov dword [rsp + 0x30], 0
test rax, rax
jne 0x1402b7eb7
call fcn.1401c3810
mov qword [rsp + 0x40], rax
test r15, r15
mov rcx, rax
cmove r15, rax
mov qword [rsp + 0x48], r15
call fcn.140245490
movsxd r13, eax
cmp dword [rsp + 0x34], ebp
jle 0x1402b8630
test ebx, ebx
jle 0x1402b8630
cmp r12d, ebx
jl 0x1402b8612
lea ecx, [r13*2 + 2]
cmp r12d, ecx
jl 0x1402b8612
mov r15d, r12d
lea rdx, [0x140400661]
sub r15d, r13d
xor r8d, r8d
dec r15d
movsxd rax, r15d
mov rcx, rax
mov dword [rsp + 0x3c], r15d
mov qword [rsp + 0x70], rax
call fcn.1401ba640
mov rsi, rax
movsxd rax, r12d
mov qword [rsp + 0x50], rax
test rsi, rsi
jne 0x1402b7f55
mov edx, 0x99
mov dword [rsp + 0x20], ebp
lea r9, [0x140400661]
mov ecx, 4
lea r8d, [rdx - 0x58]
call fcn.1401d8bf0
jmp 0x1402b85b5
xor r8d, r8d
lea rdx, [0x140400661]
mov rcx, rax
call fcn.1401ba640
mov r14, rax
test rax, rax
je 0x1402b7f32
movsxd r9, r12d
add rdi, rbx
add r14, r9
mov qword [rsp + 0x58], r14
test r12d, r12d
jle 0x1402b7fc3
mov rdx, r12
nop word [rax + rax]
mov eax, ebx
lea ecx, [rbx - 1]
not eax
shr ecx, 0x1f
shr eax, 0x1f
dec r14
and ecx, eax
dec ecx
mov eax, ecx
and eax, 1
sub ebx, eax
mov eax, ecx
and eax, 1
sub rdi, rax
and cl, byte [rdi]
mov byte [r14], cl
sub rdx, 1
jne 0x1402b7f90
mov qword [rsp + 0x58], r14
movzx ebp, byte [r14]
lea r12, [r13 + 1]
mov rax, qword [rsp + 0x48]
lea rcx, [rsp + 0x80]
dec ebp
mov qword [rsp + 0x20], rax
mov rdi, r9
shr ebp, 0x1f
add r12, r14
lea rbx, [r14 + 1]
mov r9d, r15d
mov r8, r12
mov edx, r13d
neg ebp
call fcn.1402b7710
test eax, eax
jne 0x1402b85ba
xor edx, edx
test r13d, r13d
jle 0x1402b8158
cmp r13d, 8
jb 0x1402b8158
lea eax, [r13 - 1]
movsxd rcx, eax
lea r8, [rsp + 0x80]
add r8, rcx
lea rax, [rcx + rbx]
lea rcx, [rsp + 0x80]
cmp rcx, rax
ja 0x1402b8045
cmp r8, rbx
jae 0x1402b8158
cmp r13d, 0x40
jb 0x1402b8101
mov ecx, r13d
and ecx, 0x8000003f
jge 0x1402b8061
dec ecx
or ecx, 0xffffffc0
inc ecx
mov eax, r13d
sub eax, ecx
lea r8, [rsp + 0x80]
movsxd r11, eax
lea r9, [rsp + 0x90]
sub r8, rbx
sub r9, rbx
lea rcx, [rbx + 0x20]
mov r10, 0xffffffffffffffe0
sub r10, rbx
nop dword [rax]
movdqu xmm0, xmmword [r8 + rcx - 0x20]
add edx, 0x40
movdqu xmm1, xmmword [rcx - 0x20]
lea rcx, [rcx + 0x40]
lea rax, [r10 + rcx]
xorps xmm1, xmm0
movdqu xmmword [r8 + rcx - 0x60], xmm1
movdqu xmm0, xmmword [r9 + rcx - 0x60]
movdqu xmm1, xmmword [rcx - 0x50]
xorps xmm1, xmm0
movdqu xmm0, xmmword [rcx - 0x40]
movdqu xmmword [r9 + rcx - 0x60], xmm1
movdqu xmm1, xmmword [rcx + r8 - 0x40]
xorps xmm1, xmm0
movdqu xmmword [rcx + r8 - 0x40], xmm1
movdqu xmm0, xmmword [rcx + r9 - 0x40]
movdqu xmm1, xmmword [rcx - 0x30]
xorps xmm1, xmm0
movdqu xmmword [rcx + r9 - 0x40], xmm1
cmp rax, r11
jl 0x1402b8090
mov eax, r13d
and al, 0x3f
cmp al, 8
jb 0x1402b8158
mov ecx, r13d
and ecx, 0x80000007
jge 0x1402b8113
dec ecx
or ecx, 0xfffffff8
inc ecx
mov eax, r13d
sub eax, ecx
movsxd r9, eax
mov r8, rbx
lea rax, [rsp + 0x80]
movsxd rcx, edx
sub r8, rax
nop dword [rax]
lea rax, [rsp + 0x80]
add edx, 8
add rax, rcx
add rcx, 8
movq xmm0, qword [rax]
movq xmm1, qword [rax + r8]
xorps xmm1, xmm0
movq qword [rax], xmm1
cmp rcx, r9
jl 0x1402b8130
movsxd rdx, edx
cmp rdx, r13
jge 0x1402b8189
lea rax, [rsp + 0x80]
sub rbx, rax
nop dword [rax + rax]
lea rcx, [rsp + 0x80]
add rcx, rdx
inc rdx
movzx eax, byte [rcx + rbx]
xor byte [rcx], al
cmp rdx, r13
jl 0x1402b8170
mov rax, qword [rsp + 0x48]
lea r8, [rsp + 0x80]
mov rbx, qword [rsp + 0x50]
mov r9d, r13d
mov edx, r15d
mov qword [rsp + 0x20], rax
mov rcx, rsi
mov rdi, rbx
call fcn.1402b7710
test eax, eax
jne 0x1402b85ba
xor edx, edx
test r15d, r15d
jle 0x1402b82e3
cmp r15d, 8
jb 0x1402b82e3
lea eax, [r15 - 1]
movsxd rcx, eax
lea rax, [rcx + r12]
lea r8, [rcx + rsi]
cmp rsi, rax
ja 0x1402b81eb
cmp r8, r12
jae 0x1402b82e3
cmp r15d, 0x40
jb 0x1402b8298
mov ecx, r15d
and ecx, 0x8000003f
jge 0x1402b8207
dec ecx
or ecx, 0xffffffc0
inc ecx
mov eax, r15d
sub eax, ecx
mov r8, r12
movsxd r10, eax
sub r8, rsi
lea rcx, [rsi + 0x10]
mov r9, 0xfffffffffffffff0
sub r9, rsi
nop dword [rax]
nop word [rax + rax]
movdqu xmm0, xmmword [rcx - 0x10]
add edx, 0x40
movdqu xmm1, xmmword [r8 + rcx - 0x10]
movdqu xmm2, xmmword [r8 + rcx]
lea rcx, [rcx + 0x40]
xorps xmm1, xmm0
lea rax, [r9 + rcx]
movdqu xmmword [rcx - 0x50], xmm1
movdqu xmm0, xmmword [rcx - 0x40]
movdqu xmm1, xmmword [r8 + rcx - 0x30]
xorps xmm2, xmm0
movdqu xmmword [rcx - 0x40], xmm2
movdqu xmm0, xmmword [rcx - 0x30]
xorps xmm1, xmm0
movdqu xmmword [rcx - 0x30], xmm1
movdqu xmm0, xmmword [rcx - 0x20]
movdqu xmm1, xmmword [r8 + rcx - 0x20]
xorps xmm1, xmm0
movdqu xmmword [rcx - 0x20], xmm1
cmp rax, r10
jl 0x1402b8230
mov eax, r15d
and al, 0x3f
cmp al, 8
jb 0x1402b82e3
mov eax, r15d
and eax, 0x80000007
jge 0x1402b82a9
dec eax
or eax, 0xfffffff8
inc eax
mov ecx, r15d
sub ecx, eax
movsxd rax, edx
mov r8, r12
movsxd r9, ecx
sub r8, rsi
lea rcx, [rax + rsi]
nop
movq xmm0, qword [rcx]
add edx, 8
movq xmm1, qword [rcx + r8]
xorps xmm1, xmm0
movq qword [rcx], xmm1
add rcx, 8
mov rax, rcx
sub rax, rsi
cmp rax, r9
jl 0x1402b82c0
movsxd rax, edx
movsxd rcx, r15d
cmp rax, rcx
jge 0x1402b8311
sub r12, rsi
lea rdx, [rax + rsi]
mov r8, rcx
sub r8, rax
nop dword [rax + rax]
movzx eax, byte [rdx + r12]
xor byte [rdx], al
lea rdx, [rdx + 1]
sub r8, 1
jne 0x1402b8300
mov rax, qword [rsp + 0x40]
lea r8, [rsp + 0xc0]
movsxd rdx, dword [rsp + 0x180]
xor r9d, r9d
mov rcx, qword [rsp + 0x60]
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], rax
call fcn.1401c3160
test eax, eax
je 0x1402b85ba
mov r8, r13
lea rdx, [rsp + 0xc0]
mov rcx, rsi
call fcn.140244fb0
xor r9d, r9d
movsxd rbx, r15d
mov r11d, r13d
mov rdx, r13
lea ecx, [rax - 1]
not eax
shr ecx, 0x1f
shr eax, 0x1f
and ecx, eax
neg ecx
and ebp, ecx
cmp r13, rbx
jge 0x1402b83ed
mov r10, rdx
mov r15d, r9d
nop dword [rax]
nop dword [rax + rax]
movzx r8d, byte [r10 + rsi]
mov eax, r9d
not eax
mov edx, r8d
xor edx, 1
inc r10
dec edx
shr edx, 0x1f
neg edx
and eax, edx
or r9d, edx
mov dword [rsp + 0x38], eax
not eax
mov dword [rsp + 0x30], eax
mov ecx, dword [rsp + 0x38]
mov eax, dword [rsp + 0x30]
and ecx, r11d
and r15d, eax
inc r11d
lea eax, [r8 - 1]
or r15d, ecx
shr eax, 0x1f
neg eax
or eax, r9d
and ebp, eax
cmp r10, rbx
jl 0x1402b8390
mov dword [rsp + 0x30], r15d
mov rdx, r13
mov r15d, dword [rsp + 0x3c]
mov r10d, dword [rsp + 0x34]
mov ebx, r15d
sub ebx, dword [rsp + 0x30]
mov ecx, r10d
dec ebx
mov eax, r10d
sub ecx, ebx
mov dword [rsp + 0x38], ebx
xor ecx, ebx
xor eax, ebx
or ecx, eax
mov r8d, r15d
xor ecx, r10d
sub r8d, r13d
shr ecx, 0x1f
mov eax, r10d
dec ecx
mov r11d, 1
and ecx, r9d
and ebp, ecx
lea r9d, [r8 - 1]
xor eax, r9d
mov dword [rsp + 0x40], ebp
mov ecx, r9d
sub ecx, r10d
xor ecx, r10d
or ecx, eax
xor ecx, r9d
shr ecx, 0x1f
neg ecx
mov dword [rsp + 0x3c], ecx
not ecx
mov dword [rsp + 0x34], ecx
mov eax, dword [rsp + 0x3c]
mov ecx, dword [rsp + 0x34]
and eax, r9d
and ecx, r10d
or ecx, eax
mov dword [rsp + 0x48], ecx
cmp r9d, r11d
jle 0x1402b850b
sub r8d, ebx
lea r12, [rdx + 1]
mov ebp, r9d
lea r14d, [r8 - 1]
nop dword [rax]
mov eax, r14d
and eax, r11d
lea ecx, [rax - 1]
not eax
shr eax, 0x1f
shr ecx, 0x1f
and ecx, eax
mov eax, r15d
sub eax, r11d
dec ecx
movsxd r9, eax
cmp r12, r9
jge 0x1402b84f2
movzx ebx, cl
lea rax, [r12 + rsi]
mov r10d, ebx
movsxd rdi, r11d
sub r9, rdx
not r10d
dec r9
nop dword [rax]
movzx ecx, byte [rax + rdi]
lea rax, [rax + 1]
mov dword [rsp + 0x3c], ebx
mov dword [rsp + 0x34], r10d
mov r8d, dword [rsp + 0x3c]
mov edx, dword [rsp + 0x34]
and r8b, cl
movzx ecx, byte [rax - 1]
and dl, cl
or dl, r8b
mov byte [rax - 1], dl
sub r9, 1
jne 0x1402b84c0
mov rdx, r13
add r11d, r11d
cmp r11d, ebp
jl 0x1402b8480
mov ebp, dword [rsp + 0x40]
mov r14, qword [rsp + 0x58]
mov ebx, dword [rsp + 0x38]
mov ecx, dword [rsp + 0x48]
xor r8d, r8d
movsxd r10, ecx
test ecx, ecx
jle 0x1402b8589
mov r11, qword [rsp + 0x68]
mov r9d, ebx
mov rdi, r13
shr r9d, 0x1f
sub rdi, r11
add rdi, rsi
nop word [rax + rax]
mov edx, r8d
lea r11, [r11 + 1]
sub edx, ebx
mov ecx, r8d
shr ecx, 0x1f
movzx eax, r9b
xor al, cl
shr edx, 0x1f
xor dl, r9b
inc r8d
or dl, al
movzx eax, bpl
xor dl, cl
neg dl
movzx ecx, dl
and ecx, eax
movzx eax, byte [rdi + r11]
mov dword [rsp + 0x48], ecx
not ecx
mov dword [rsp + 0x40], ecx
mov edx, dword [rsp + 0x48]
mov ecx, dword [rsp + 0x40]
and dl, al
movzx eax, byte [r11 - 1]
and cl, al
or cl, dl
mov byte [r11 - 1], cl
sub r10, 1
jne 0x1402b8530
mov edx, 0x99
mov dword [rsp + 0x20], 0
lea r9, [0x140400661]
mov ecx, 4
lea r8d, [rdx - 0x20]
call fcn.1401d8bf0
mov ecx, ebp
and ecx, 1
call fcn.1401d9a40
mov rdi, qword [rsp + 0x50]
mov edx, 0x40
lea rcx, [rsp + 0x80]
call fcn.14023bdd0
mov rdx, qword [rsp + 0x70]
lea r8, [0x140400661]
xor r9d, r9d
mov rcx, rsi
call fcn.1401ba810
xor r9d, r9d
lea r8, [0x140400661]
mov rdx, rdi
mov rcx, r14
call fcn.1401ba810
mov dword [rsp + 0x48], ebp
not ebp
mov dword [rsp + 0x40], ebp
mov ecx, dword [rsp + 0x48]
and ecx, dword [rsp + 0x38]
mov eax, dword [rsp + 0x40]
or eax, ecx
jmp 0x1402b8632
mov edx, 0x99
mov dword [rsp + 0x20], ebp
lea r9, [0x140400661]
mov ecx, 4
lea r8d, [rdx - 0x20]
call fcn.1401d8bf0
mov eax, esi
mov rcx, qword [rsp + 0x100]
xor rcx, rsp
call fcn.140170e40
mov rbx, qword [rsp + 0x160]
add rsp, 0x110
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret