Function at 0x1402a2550
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
lea rbp, [rsp - 0x21d0]
mov eax, 0x22d0
call fcn.140109240
sub rsp, rax
mov rax, qword [0x14040f040]
xor rax, rsp
mov qword [rbp + 0x21c0], rax
xorps xmm0, xmm0
mov dword [rbp + 0x1c0], 1
xor eax, eax
mov dword [rbp + 0x240], 1
mov edi, 4
mov qword [rbp + 0x234], rax
mov dword [rbp + 0x23c], eax
mov r13, r8
mov qword [rbp + 0x2b4], rax
mov rbx, rcx
mov qword [rbp + 0x2bc], rax
lea rcx, [rbp + 0x340]
mov qword [rbp + 0x2c4], rax
mov rsi, r9
mov qword [rbp + 0x2cc], rax
mov r8d, edi
mov qword [rbp + 0x2d4], rax
mov qword [rbp + 0x2dc], rax
mov qword [rbp + 0x2e4], rax
mov qword [rbp + 0x2ec], rax
mov qword [rbp + 0x2f4], rax
mov qword [rbp + 0x2fc], rax
mov qword [rbp + 0x304], rax
mov qword [rbp + 0x30c], rax
mov qword [rbp + 0x314], rax
mov qword [rbp + 0x31c], rax
mov qword [rbp + 0x324], rax
mov qword [rbp + 0x32c], rax
mov qword [rbp + 0x334], rax
mov dword [rbp + 0x33c], eax
mov rax, rdx
movups xmmword [rbp + 0x140], xmm0
movups xmmword [rbp + 0x150], xmm0
movups xmmword [rbp + 0x160], xmm0
movups xmmword [rbp + 0x170], xmm0
movups xmmword [rbp + 0x180], xmm0
movups xmmword [rbp + 0x190], xmm0
movups xmmword [rbp + 0x1a0], xmm0
movups xmmword [rbp + 0x1b0], xmm0
movups xmmword [rbp + 0x1c4], xmm0
movups xmmword [rbp + 0x1d4], xmm0
movups xmmword [rbp + 0x1e4], xmm0
movups xmmword [rbp + 0x1f4], xmm0
movups xmmword [rbp + 0x204], xmm0
movups xmmword [rbp + 0x214], xmm0
movups xmmword [rbp + 0x224], xmm0
movups xmmword [rbp + 0x244], xmm0
movups xmmword [rbp + 0x254], xmm0
movups xmmword [rbp + 0x264], xmm0
movups xmmword [rbp + 0x274], xmm0
movups xmmword [rbp + 0x284], xmm0
movups xmmword [rbp + 0x294], xmm0
movups xmmword [rbp + 0x2a4], xmm0
nop
lea rcx, [rcx + 0x80]
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
lea rax, [rax + 0x80]
movups xmmword [rcx - 0x80], xmm0
movups xmm0, xmmword [rax - 0x60]
movups xmmword [rcx - 0x70], xmm1
movups xmm1, xmmword [rax - 0x50]
movups xmmword [rcx - 0x60], xmm0
movups xmm0, xmmword [rax - 0x40]
movups xmmword [rcx - 0x50], xmm1
movups xmm1, xmmword [rax - 0x30]
movups xmmword [rcx - 0x40], xmm0
movups xmm0, xmmword [rax - 0x20]
movups xmmword [rcx - 0x30], xmm1
movups xmm1, xmmword [rax - 0x10]
movups xmmword [rcx - 0x20], xmm0
movups xmmword [rcx - 0x10], xmm1
sub r8, 1
jne 0x1402a26e0
lea rcx, [rsp + 0x40]
call fcn.1402a0c90
lea r8, [rbp + 0xc0]
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x540]
call fcn.1402a1b30
lea r8, [rbp - 0x40]
lea rdx, [rbp + 0x40]
lea rcx, [rbp + 0x5c0]
call fcn.1402a1b30
lea r8, [rbp + 0xc0]
lea rdx, [rbp - 0x40]
lea rcx, [rbp + 0x640]
call fcn.1402a1b30
lea r8, [rbp + 0x40]
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x6c0]
call fcn.1402a1b30
lea r8, [rbp + 0x540]
lea rdx, [rbp + 0x340]
lea rcx, [rsp + 0x40]
call fcn.14029f7c0
lea r8, [rbp + 0xc0]
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x740]
call fcn.1402a1b30
lea r8, [rbp - 0x40]
lea rdx, [rbp + 0x40]
lea rcx, [rbp + 0x7c0]
call fcn.1402a1b30
lea r8, [rbp + 0xc0]
lea rdx, [rbp - 0x40]
lea rcx, [rbp + 0x840]
call fcn.1402a1b30
lea r8, [rbp + 0x40]
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x8c0]
call fcn.1402a1b30
mov rax, rsi
lea rcx, [rbp + 0x940]
mov rdx, rdi
lea rcx, [rcx + 0x80]
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
lea rax, [rax + 0x80]
movups xmmword [rcx - 0x80], xmm0
movups xmm0, xmmword [rax - 0x60]
movups xmmword [rcx - 0x70], xmm1
movups xmm1, xmmword [rax - 0x50]
movups xmmword [rcx - 0x60], xmm0
movups xmm0, xmmword [rax - 0x40]
movups xmmword [rcx - 0x50], xmm1
movups xmm1, xmmword [rax - 0x30]
movups xmmword [rcx - 0x40], xmm0
movups xmm0, xmmword [rax - 0x20]
movups xmmword [rcx - 0x30], xmm1
movups xmm1, xmmword [rax - 0x10]
movups xmmword [rcx - 0x20], xmm0
movups xmmword [rcx - 0x10], xmm1
sub rdx, 1
jne 0x1402a2812
lea r8, [rbp + 0x940]
lea rdx, [rbp + 0x340]
lea rcx, [rsp + 0x40]
call fcn.14029f7c0
lea r8, [rbp + 0xc0]
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0xb40]
call fcn.1402a1b30
lea r8, [rbp - 0x40]
lea rdx, [rbp + 0x40]
lea rcx, [rbp + 0xbc0]
call fcn.1402a1b30
lea r8, [rbp + 0xc0]
lea rdx, [rbp - 0x40]
lea rcx, [rbp + 0xc40]
call fcn.1402a1b30
lea r8, [rbp + 0x40]
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0xcc0]
call fcn.1402a1b30
lea r8, [rbp + 0x940]
lea rdx, [rbp + 0x540]
lea rcx, [rsp + 0x40]
call fcn.14029f7c0
lea r8, [rbp + 0xc0]
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0xd40]
call fcn.1402a1b30
lea r8, [rbp - 0x40]
lea rdx, [rbp + 0x40]
lea rcx, [rbp + 0xdc0]
call fcn.1402a1b30
lea r8, [rbp + 0xc0]
lea rdx, [rbp - 0x40]
lea rcx, [rbp + 0xe40]
call fcn.1402a1b30
lea r8, [rbp + 0x40]
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0xec0]
call fcn.1402a1b30
lea r8, [rbp + 0x940]
lea rdx, [rbp + 0x740]
lea rcx, [rsp + 0x40]
call fcn.14029f7c0
lea r8, [rbp + 0xc0]
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0xf40]
call fcn.1402a1b30
lea r8, [rbp - 0x40]
lea rdx, [rbp + 0x40]
lea rcx, [rbp + 0xfc0]
call fcn.1402a1b30
lea r8, [rbp + 0xc0]
lea rdx, [rbp - 0x40]
lea rcx, [rbp + 0x1040]
call fcn.1402a1b30
lea r8, [rbp + 0x40]
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x10c0]
call fcn.1402a1b30
mov rdx, rsi
lea rcx, [rsp + 0x40]
call fcn.1402a0c90
lea r8, [rbp + 0xc0]
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x1140]
call fcn.1402a1b30
lea r8, [rbp - 0x40]
lea rdx, [rbp + 0x40]
lea rcx, [rbp + 0x11c0]
call fcn.1402a1b30
lea r8, [rbp + 0xc0]
lea rdx, [rbp - 0x40]
lea rcx, [rbp + 0x1240]
call fcn.1402a1b30
lea r8, [rbp + 0x40]
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x12c0]
call fcn.1402a1b30
lea r8, [rbp + 0x1140]
lea rdx, [rbp + 0x340]
lea rcx, [rsp + 0x40]
call fcn.14029f7c0
lea r8, [rbp + 0xc0]
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x1340]
call fcn.1402a1b30
lea r8, [rbp - 0x40]
lea rdx, [rbp + 0x40]
lea rcx, [rbp + 0x13c0]
call fcn.1402a1b30
lea r8, [rbp + 0xc0]
lea rdx, [rbp - 0x40]
lea rcx, [rbp + 0x1440]
call fcn.1402a1b30
lea r8, [rbp + 0x40]
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x14c0]
call fcn.1402a1b30
lea rdx, [rbp + 0xb40]
lea rcx, [rsp + 0x40]
call fcn.1402a0c90
lea r8, [rbp + 0xc0]
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x1540]
call fcn.1402a1b30
lea r8, [rbp - 0x40]
lea rdx, [rbp + 0x40]
lea rcx, [rbp + 0x15c0]
call fcn.1402a1b30
lea r8, [rbp + 0xc0]
lea rdx, [rbp - 0x40]
lea rcx, [rbp + 0x1640]
call fcn.1402a1b30
lea r8, [rbp + 0x40]
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x16c0]
call fcn.1402a1b30
lea r8, [rbp + 0x1140]
lea rdx, [rbp + 0x740]
lea rcx, [rsp + 0x40]
call fcn.14029f7c0
lea r8, [rbp + 0xc0]
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x1740]
call fcn.1402a1b30
lea r8, [rbp - 0x40]
lea rdx, [rbp + 0x40]
lea rcx, [rbp + 0x17c0]
call fcn.1402a1b30
lea r8, [rbp + 0xc0]
lea rdx, [rbp - 0x40]
lea rcx, [rbp + 0x1840]
call fcn.1402a1b30
lea r8, [rbp + 0x40]
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x18c0]
call fcn.1402a1b30
lea r8, [rbp + 0x1140]
lea rdx, [rbp + 0x940]
lea rcx, [rsp + 0x40]
call fcn.14029f7c0
lea r8, [rbp + 0xc0]
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x1940]
call fcn.1402a1b30
lea r8, [rbp - 0x40]
lea rdx, [rbp + 0x40]
lea rcx, [rbp + 0x19c0]
call fcn.1402a1b30
lea r8, [rbp + 0xc0]
lea rdx, [rbp - 0x40]
lea rcx, [rbp + 0x1a40]
call fcn.1402a1b30
lea r8, [rbp + 0x40]
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x1ac0]
call fcn.1402a1b30
lea r8, [rbp + 0x1940]
lea rdx, [rbp + 0x340]
lea rcx, [rsp + 0x40]
call fcn.14029f7c0
lea r8, [rbp + 0xc0]
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x1b40]
call fcn.1402a1b30
lea r8, [rbp - 0x40]
lea rdx, [rbp + 0x40]
lea rcx, [rbp + 0x1bc0]
call fcn.1402a1b30
lea r8, [rbp + 0xc0]
lea rdx, [rbp - 0x40]
lea rcx, [rbp + 0x1c40]
call fcn.1402a1b30
lea r8, [rbp + 0x40]
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x1cc0]
call fcn.1402a1b30
lea r8, [rbp + 0x1940]
lea rdx, [rbp + 0x540]
lea rcx, [rsp + 0x40]
call fcn.14029f7c0
lea r8, [rbp + 0xc0]
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x1d40]
call fcn.1402a1b30
lea r8, [rbp - 0x40]
lea rdx, [rbp + 0x40]
lea rcx, [rbp + 0x1dc0]
call fcn.1402a1b30
lea r8, [rbp + 0xc0]
lea rdx, [rbp - 0x40]
lea rcx, [rbp + 0x1e40]
call fcn.1402a1b30
lea r8, [rbp + 0x40]
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x1ec0]
call fcn.1402a1b30
lea r8, [rbp + 0x1940]
lea rdx, [rbp + 0x740]
lea rcx, [rsp + 0x40]
call fcn.14029f7c0
lea r8, [rbp + 0xc0]
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x1f40]
call fcn.1402a1b30
lea r8, [rbp - 0x40]
lea rdx, [rbp + 0x40]
lea rcx, [rbp + 0x1fc0]
call fcn.1402a1b30
lea r8, [rbp + 0xc0]
lea rdx, [rbp - 0x40]
lea rcx, [rbp + 0x2040]
call fcn.1402a1b30
lea r8, [rbp + 0x40]
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x20c0]
call fcn.1402a1b30
mov rax, qword [rbp + 0x2230]
lea r11, [rbp + 0x2140]
mov rsi, r13
lea r14, [rbp + 0x2141]
lea r15, [rbp + 0x2142]
sub r11, rax
sub rsi, rax
lea r12, [rbp + 0x2143]
sub r14, rax
sub r15, rax
sub r12, rax
mov r9, rax
mov r10d, 0x1f
nop dword [rax]
nop word [rax + rax]
mov r8d, dword [r9]
mov edx, dword [r9 + rsi]
movzx ecx, byte [r9]
movzx eax, byte [r9 + rsi]
lea r9, [r9 + 4]
and cl, 3
and al, 3
shl cl, 2
xor cl, al
mov eax, edx
mov byte [r11 + r9 - 4], cl
mov ecx, r8d
shr ecx, 2
and cl, 3
shr eax, 2
shl cl, 2
and al, 3
xor cl, al
mov eax, edx
mov byte [r14 + r9 - 4], cl
mov ecx, r8d
shr ecx, 4
shr r8d, 6
and cl, 3
and r8b, 3
shr eax, 4
shr edx, 6
and al, 3
shl cl, 2
and dl, 3
shl r8b, 2
xor cl, al
xor r8b, dl
mov byte [r15 + r9 - 4], cl
mov byte [r9 + r12 - 4], r8b
sub r10, 1
jne 0x1402a2d70
movzx eax, byte [r13 + 0x7c]
mov r8, qword [rbp + 0x2230]
and al, 3
mov edx, dword [r13 + 0x7c]
movzx ecx, byte [r8 + 0x7c]
mov r8d, dword [r8 + 0x7c]
and cl, 3
shl cl, 2
xor cl, al
mov eax, edx
mov byte [rbp + 0x21bc], cl
mov ecx, r8d
shr ecx, 2
shr r8d, 4
and cl, 3
shr eax, 2
and r8b, 3
and al, 3
shl cl, 2
xor cl, al
shr edx, 4
shl r8b, 2
and dl, 3
xor r8b, dl
mov byte [rbp + 0x21bd], cl
movzx eax, r8b
mov rcx, rbx
mov byte [rbp + 0x21be], al
shl rax, 9
lea rax, [rbp + rax + 0x140]
nop dword [rax]
lea rcx, [rcx + 0x80]
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
lea rax, [rax + 0x80]
movups xmmword [rcx - 0x80], xmm0
movups xmm0, xmmword [rax - 0x60]
movups xmmword [rcx - 0x70], xmm1
movups xmm1, xmmword [rax - 0x50]
movups xmmword [rcx - 0x60], xmm0
movups xmm0, xmmword [rax - 0x40]
movups xmmword [rcx - 0x50], xmm1
movups xmm1, xmmword [rax - 0x30]
movups xmmword [rcx - 0x40], xmm0
movups xmm0, xmmword [rax - 0x20]
movups xmmword [rcx - 0x30], xmm1
movups xmm1, xmmword [rax - 0x10]
movups xmmword [rcx - 0x20], xmm0
movups xmmword [rcx - 0x10], xmm1
sub rdi, 1
jne 0x1402a2e60
lea r14d, [rdi + 0x7d]
lea rdi, [rbx + 0x80]
lea r12, [rbx + 0x180]
lea rsi, [rbx + 0x100]
nop dword [rax]
mov rdx, rbx
lea rcx, [rsp + 0x40]
call fcn.1402a0c90
lea r8, [rbp + 0xc0]
mov rcx, rbx
lea rdx, [rsp + 0x40]
call fcn.1402a1b30
lea r8, [rbp - 0x40]
mov rcx, rdi
lea rdx, [rbp + 0x40]
call fcn.1402a1b30
lea r8, [rbp + 0xc0]
mov rcx, rsi
lea rdx, [rbp - 0x40]
call fcn.1402a1b30
mov rdx, rbx
lea rcx, [rsp + 0x40]
call fcn.1402a0c90
movzx r15d, byte [rbp + r14 + 0x2140]
test r15b, r15b
je 0x1402a2f95
lea r8, [rbp + 0xc0]
mov rcx, rbx
lea rdx, [rsp + 0x40]
call fcn.1402a1b30
lea r8, [rbp - 0x40]
mov rcx, rdi
lea rdx, [rbp + 0x40]
call fcn.1402a1b30
lea r8, [rbp + 0xc0]
mov rcx, rsi
lea rdx, [rbp - 0x40]
call fcn.1402a1b30
lea r8, [rbp + 0x40]
mov rcx, r12
lea rdx, [rsp + 0x40]
call fcn.1402a1b30
mov eax, r15d
lea r8, [rbp + 0x140]
shl rax, 9
lea rcx, [rsp + 0x40]
add r8, rax
mov rdx, rbx
call fcn.14029f7c0
lea rdx, [rsp + 0x40]
mov rcx, rbx
lea r8, [rbp + 0xc0]
test r14, r14
je 0x1402a2fcb
lea rax, [rbp + 0x40]
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], rax
lea r12, [rbp - 0x40]
lea rax, [rbp - 0x40]
mov r15, rsi
lea r13, [rbp + 0xc0]
jmp 0x1402a2ffc
call fcn.1402a1b30
lea rax, [rbp - 0x40]
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rax
lea r13, [rbp + 0x40]
mov r15, r12
lea rax, [rbp + 0xc0]
lea r12, [rsp + 0x40]
mov rcx, rdi
lea rdx, [rbp + 0x40]
lea r8, [rbp - 0x40]
mov qword [rsp + 0x20], rax
call fcn.1402a1b30
mov r8, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x30]
call fcn.1402a1b30
mov r8, r13
mov rdx, r12
mov rcx, r15
call fcn.1402a1b30
sub r14, 1
lea r12, [rbx + 0x180]
jns 0x1402a2ed0
mov rcx, qword [rbp + 0x21c0]
xor rcx, rsp
call fcn.140109210
mov rbx, qword [rsp + 0x2320]
add rsp, 0x22d0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret