Function at 0x140002a80
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
mov dword [rcx + 0x3cc], 0x10
mov rbx, rcx
mov dword [rcx + 0x3d0], 0x10
movups xmm0, xmmword [str.K6gC_ETvULY__s_]
movups xmmword [rcx + 0x3d8], xmm0
movups xmm1, xmmword [str.K6gC_ETvULY__s_]
movups xmmword [rcx + 0x3f8], xmm1
mov eax, dword [rcx + 0x3cc]
cmp eax, 0x10
je 0x140002af5
cmp eax, 0x18
mov eax, 0xe
jne 0x140002b17
cmp dword [rbx + 0x3d0], 0x20
mov ecx, 0xc
cmovne eax, ecx
jmp 0x140002b17
mov edx, dword [rcx + 0x3d0]
cmp edx, 0x10
jne 0x140002b07
mov eax, 0xa
jmp 0x140002b17
cmp edx, 0x18
mov eax, 0xe
mov ecx, 0xc
cmove eax, ecx
mov dword [rbx + 0x3d4], eax
lea rsi, [rbx + 0xc]
mov eax, dword [rbx + 0x3d0]
cdq
and edx, 3
add eax, edx
sar eax, 2
movsxd r15, eax
xor edi, edi
test r15d, r15d
jle 0x140002b4b
mov r8, r15
xor edx, edx
shl r8, 2
mov rcx, rsi
call sub.VCRUNTIME140.dll_memset
mov eax, dword [rbx + 0x3d4]
inc edi
add rsi, 0x20
cmp edi, eax
jle 0x140002b35
xor edi, edi
test eax, eax
js 0x140002b8e
lea rsi, [rbx + 0x1ec]
test r15d, r15d
jle 0x140002b7e
mov r8, r15
xor edx, edx
shl r8, 2
mov rcx, rsi
call sub.VCRUNTIME140.dll_memset
mov eax, dword [rbx + 0x3d4]
inc edi
add rsi, 0x20
cmp edi, eax
jle 0x140002b68
lea ebp, [rax + 1]
mov eax, dword [rbx + 0x3cc]
cdq
imul ebp, r15d
and edx, 3
lea rdi, [rbx + 0x418]
add eax, edx
lea rdx, str._V_8UxeHDCg_jmHJ
sar eax, 2
movsxd r12, eax
test eax, eax
jle 0x140002bff
mov r8d, r12d
nop dword [rax]
movzx ecx, byte [rdx]
lea rdi, [rdi + 4]
shl ecx, 0x18
lea rdx, [rdx + 4]
mov dword [rdi - 4], ecx
movzx eax, byte [rdx - 3]
shl eax, 0x10
or eax, ecx
mov dword [rdi - 4], eax
movzx ecx, byte [rdx - 2]
shl ecx, 8
or ecx, eax
mov dword [rdi - 4], ecx
movzx eax, byte [rdx - 1]
or eax, ecx
mov dword [rdi - 4], eax
sub r8, 1
jne 0x140002bc0
lea rdi, [rbx + 0x418]
xor r10d, r10d
lea r13, [0x140000000]
test r12d, r12d
jle 0x140002c5f
xor r9d, r9d
cmp r10d, ebp
jge 0x140002e4c
mov eax, r10d
inc r9
cdq
inc r10d
idiv r15d
movsxd rcx, eax
movsxd r8, edx
lea rdx, [r8 + rcx*8]
mov ecx, dword [rdi]
mov dword [rbx + rdx*4 + 0xc], ecx
mov ecx, dword [rbx + 0x3d4]
sub ecx, eax
movsxd rax, ecx
lea rcx, [r8 + rax*8]
mov eax, dword [rdi]
add rdi, 4
mov dword [rbx + rcx*4 + 0x1ec], eax
cmp r9, r12
jl 0x140002c11
lea rdi, [rbx + 0x418]
cmp r10d, ebp
jge 0x140002e4c
lea r13, [0x1400077f0]
lea r11, [0x140000000]
nop word [rax + rax]
mov r8d, dword [rbx + r12*4 + 0x414]
lea r13, [r13 + 1]
movsxd rdx, r8d
mov rax, rdx
sar rax, 0x10
movzx ecx, al
movsx eax, byte [r13 - 1]
movsx r9d, byte [rcx + r11 + 0x6290]
xor r9d, eax
mov rax, rdx
sar rax, 8
movzx ecx, al
shl r9d, 8
movzx eax, byte [rcx + r11 + 0x6290]
xor r9d, eax
movzx eax, dl
shl r9d, 8
movzx eax, byte [rax + r11 + 0x6290]
xor r9d, eax
mov eax, r8d
shr rax, 0x18
shl r9d, 8
movzx eax, byte [rax + r11 + 0x6290]
xor r9d, eax
xor dword [rdi], r9d
cmp r12d, 8
je 0x140002d27
cmp r12, 1
jle 0x140002de4
lea rcx, [rbx + 0x41c]
lea rdx, [r12 - 1]
nop dword [rax]
mov eax, dword [rcx - 4]
xor dword [rcx], eax
lea rcx, [rcx + 4]
sub rdx, 1
jne 0x140002d10
xor r9d, r9d
jmp 0x140002dec
lea rcx, [rbx + 0x41c]
mov edx, 3
nop dword [rax]
nop word [rax + rax]
mov eax, dword [rcx - 4]
xor dword [rcx], eax
lea rcx, [rcx + 4]
sub rdx, 1
jne 0x140002d40
mov eax, dword [rbx + 0x424]
mov ecx, eax
movsxd rdx, eax
shr rcx, 0x18
mov rax, rdx
sar rax, 0x10
movsx r8d, byte [rcx + r11 + 0x6290]
movzx ecx, al
shl r8d, 8
movzx eax, byte [rcx + r11 + 0x6290]
xor r8d, eax
mov rax, rdx
sar rax, 8
shl r8d, 8
movzx ecx, al
movzx eax, byte [rcx + r11 + 0x6290]
xor r8d, eax
movzx eax, dl
shl r8d, 8
movzx eax, byte [rax + r11 + 0x6290]
xor r8d, eax
xor dword [rbx + 0x428], r8d
cmp r12, 5
jle 0x140002de4
lea rax, [rbx + 0x42c]
lea rdx, [r12 - 5]
nop word [rax + rax]
mov ecx, dword [rax - 4]
xor dword [rax], ecx
lea rax, [rax + 4]
sub rdx, 1
jne 0x140002dd0
xor r9d, r9d
jmp 0x140002dec
xor r9d, r9d
test r12d, r12d
jle 0x140002e3c
mov r11, rdi
nop
cmp r10d, ebp
jge 0x140002e45
mov eax, r10d
inc r9
cdq
inc r10d
idiv r15d
movsxd rcx, eax
movsxd r8, edx
lea rdx, [r8 + rcx*8]
mov ecx, dword [r11]
mov dword [rbx + rdx*4 + 0xc], ecx
mov ecx, dword [rbx + 0x3d4]
sub ecx, eax
movsxd rax, ecx
lea rcx, [r8 + rax*8]
mov eax, dword [r11]
add r11, 4
mov dword [rbx + rcx*4 + 0x1ec], eax
cmp r9, r12
jl 0x140002df0
lea r11, [0x140000000]
cmp r10d, ebp
jl 0x140002c80
lea r13, [0x140000000]
mov edi, 1
cmp dword [rbx + 0x3d4], edi
jle 0x140002ed6
lea rsi, [rbx + 0x20c]
test r15d, r15d
jle 0x140002ec2
mov r10, rsi
mov r11, r15
nop dword [rax + rax]
mov eax, dword [r10]
lea r10, [r10 + 4]
mov edx, eax
movsxd r9, eax
shr rdx, 0x18
mov rax, r9
sar rax, 0x10
movzx ecx, al
mov rax, r9
sar rax, 8
mov r8d, dword [r13 + rdx*4 + 0x7c10]
xor r8d, dword [r13 + rcx*4 + 0x6390]
movzx ecx, al
movzx eax, r9b
xor r8d, dword [r13 + rcx*4 + 0x6b90]
xor r8d, dword [r13 + rax*4 + 0x7810]
mov dword [r10 - 4], r8d
sub r11, 1
jne 0x140002e70
inc edi
add rsi, 0x20
cmp edi, dword [rbx + 0x3d4]
jl 0x140002e60
mov byte [rbx + 8], 1
jmp 0x140002eda
mov byte [rbx + 8], dil
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret