Function at 0x1400623b0
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x48
mov r13, r9
mov r12, r8
mov qword [rsp + 0x40], rdx
mov r14, rcx
mov rsi, qword [rsp + 0xb0]
cmp byte [rsi + 0x28], 0
jne 0x140062443
mov rcx, qword [rsi + 0x10]
mov r15, qword [rsi + 0x20]
cmp rcx, qword [rsi + 0x18]
jne 0x14006242f
lea rax, [rcx + rcx*2]
shr rax, 1
test rcx, rcx
mov edi, 0x20
cmovne rdi, rax
cmp rdi, rcx
jbe 0x14006243d
mov rax, rdi
shr rax, 0x3d
jne 0x14006243d
lea rdx, [rdi*8]
mov rcx, qword [rsi + 8]
call fcn.140094100
test rax, rax
je 0x14006243d
mov qword [rsi + 8], rax
mov qword [rsi + 0x18], rdi
mov rcx, qword [rsi + 0x10]
jmp 0x140062433
mov rax, qword [rsi + 8]
mov qword [rax + rcx*8], r15
inc qword [rsi + 0x10]
jmp 0x140062443
mov word [rsi + 0x28], 0x101
mov rcx, rsi
call fcn.140055f00
xor ebp, ebp
test rax, rax
je 0x140062d3e
mov r15, rax
lea r9, [r13 + 0x18]
mov r8, qword [r14 + 8]
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], rsi
mov rcx, rax
mov rdx, r12
call fcn.140059de0
test eax, eax
je 0x140062d3e
mov qword [rsp + 0x20], rsi
mov rcx, r15
mov rdx, r15
mov r8, r13
mov r9, r13
call fcn.140059460
test eax, eax
je 0x140062d3e
mov r8, qword [r14 + 0x10]
movsxd rax, dword [r15 + 8]
movsxd rdx, dword [r8 + 8]
cmp eax, edx
jge 0x1400624c2
mov r9, qword [r8]
mov r11, rdx
sub r11, rax
cmp r11, 4
jae 0x1400624c6
xor ecx, ecx
mov r10, rax
jmp 0x140062530
xor ecx, ecx
jmp 0x14006253c
mov rdi, r11
and rdi, 0xfffffffffffffffc
lea r10, [rdi + rax]
lea rcx, [r9 + rax*8]
add rcx, 0x10
pxor xmm0, xmm0
xor ebx, ebx
pxor xmm1, xmm1
nop word cs:[rax + rax]
movdqu xmm2, xmmword [rcx + rbx*8 - 0x10]
por xmm0, xmm2
movdqu xmm2, xmmword [rcx + rbx*8]
por xmm1, xmm2
add rbx, 4
cmp rdi, rbx
jne 0x1400624f0
por xmm1, xmm0
pshufd xmm0, xmm1, 0xee
por xmm0, xmm1
movq rcx, xmm0
cmp r11, rdi
je 0x14006253c
nop word cs:[rax + rax]
or rcx, qword [r9 + r10*8]
inc r10
cmp rdx, r10
jne 0x140062530
cmp edx, eax
jge 0x1400625cc
mov r9, qword [r15]
mov r11, rax
sub r11, rdx
cmp r11, 4
jae 0x140062558
mov r10, rdx
jmp 0x1400625c0
mov rdi, r11
and rdi, 0xfffffffffffffffc
lea r10, [rdi + rdx]
movq xmm1, rcx
lea rcx, [r9 + rdx*8]
add rcx, 0x10
pxor xmm0, xmm0
xor ebx, ebx
nop word cs:[rax + rax]
movdqu xmm2, xmmword [rcx + rbx*8 - 0x10]
por xmm1, xmm2
movdqu xmm2, xmmword [rcx + rbx*8]
por xmm0, xmm2
add rbx, 4
cmp rdi, rbx
jne 0x140062580
por xmm0, xmm1
pshufd xmm1, xmm0, 0xee
por xmm1, xmm0
movq rcx, xmm1
cmp r11, rdi
je 0x1400625cc
nop word cs:[rax + rax]
or rcx, qword [r9 + r10*8]
inc r10
cmp rax, r10
jne 0x1400625c0
cmp eax, edx
cmovl edx, eax
test edx, edx
jle 0x140062673
mov r9, qword [r15]
mov r10, qword [r8]
mov r11d, edx
cmp edx, 4
jae 0x1400625eb
xor edx, edx
jmp 0x140062660
mov edx, r11d
and edx, 0x7ffffffc
movq xmm0, rcx
mov ecx, r11d
shr ecx, 2
and ecx, 0x1fffffff
shl rcx, 5
pxor xmm1, xmm1
xor edi, edi
nop
movdqu xmm2, xmmword [r9 + rdi]
movdqu xmm3, xmmword [r9 + rdi + 0x10]
movdqu xmm4, xmmword [r10 + rdi]
pxor xmm4, xmm2
por xmm0, xmm4
movdqu xmm2, xmmword [r10 + rdi + 0x10]
pxor xmm2, xmm3
por xmm1, xmm2
add rdi, 0x20
cmp rcx, rdi
jne 0x140062610
por xmm1, xmm0
pshufd xmm0, xmm1, 0xee
por xmm0, xmm1
movq rcx, xmm0
cmp rdx, r11
je 0x140062673
nop word [rax + rax]
mov rsi, qword [r10 + rdx*8]
xor rsi, qword [r9 + rdx*8]
or rcx, rsi
inc rdx
cmp r11, rdx
jne 0x140062660
mov edx, dword [r15 + 0x10]
mov r11d, dword [r8 + 0x10]
xor r11d, edx
mov r8, qword [r14 + 0x18]
movsxd r9, dword [r8 + 8]
cmp eax, r9d
mov qword [rsp + 0x38], r13
jge 0x1400626a7
mov r12, qword [r8]
mov rbp, r9
sub rbp, rax
cmp rbp, 4
jae 0x1400626ac
xor r10d, r10d
mov r13, rax
jmp 0x140062710
xor r10d, r10d
jmp 0x14006271c
mov rdi, rbp
and rdi, 0xfffffffffffffffc
lea r13, [rdi + rax]
lea r10, [r12 + rax*8]
add r10, 0x10
pxor xmm0, xmm0
xor ebx, ebx
pxor xmm1, xmm1
nop dword [rax]
movdqu xmm2, xmmword [r10 + rbx*8 - 0x10]
por xmm0, xmm2
movdqu xmm2, xmmword [r10 + rbx*8]
por xmm1, xmm2
add rbx, 4
cmp rdi, rbx
jne 0x1400626d0
por xmm1, xmm0
pshufd xmm0, xmm1, 0xee
por xmm0, xmm1
movq r10, xmm0
cmp rbp, rdi
je 0x14006271c
nop word cs:[rax + rax]
or r10, qword [r12 + r13*8]
inc r13
cmp r9, r13
jne 0x140062710
movsxd r11, r11d
cmp r9d, eax
jge 0x1400627ac
mov r12, qword [r15]
mov rbp, rax
sub rbp, r9
cmp rbp, 4
jae 0x14006273c
mov r13, r9
jmp 0x1400627a0
mov rdi, rbp
and rdi, 0xfffffffffffffffc
lea r13, [rdi + r9]
movq xmm1, r10
lea r10, [r12 + r9*8]
add r10, 0x10
pxor xmm0, xmm0
xor ebx, ebx
nop word [rax + rax]
movdqu xmm2, xmmword [r10 + rbx*8 - 0x10]
por xmm1, xmm2
movdqu xmm2, xmmword [r10 + rbx*8]
por xmm0, xmm2
add rbx, 4
cmp rdi, rbx
jne 0x140062760
por xmm0, xmm1
pshufd xmm1, xmm0, 0xee
por xmm1, xmm0
movq r10, xmm1
cmp rbp, rdi
je 0x1400627ac
nop word cs:[rax + rax]
or r10, qword [r12 + r13*8]
inc r13
cmp rax, r13
jne 0x1400627a0
or rcx, r11
cmp eax, r9d
cmovl r9d, eax
test r9d, r9d
jle 0x1400627d6
mov rax, qword [r15]
mov r11, qword [r8]
mov r12d, r9d
cmp r9d, 4
mov r9, qword [rsp + 0x38]
jae 0x1400627e0
xor ebx, ebx
jmp 0x140062860
mov r9, qword [rsp + 0x38]
jmp 0x140062873
mov ebx, r12d
and ebx, 0x7ffffffc
movq xmm0, r10
mov r10d, r12d
shr r10d, 2
and r10d, 0x1fffffff
shl r10, 5
pxor xmm1, xmm1
xor edi, edi
nop word cs:[rax + rax]
movdqu xmm2, xmmword [rax + rdi]
movdqu xmm3, xmmword [rax + rdi + 0x10]
movdqu xmm4, xmmword [r11 + rdi]
pxor xmm4, xmm2
por xmm0, xmm4
movdqu xmm2, xmmword [r11 + rdi + 0x10]
pxor xmm2, xmm3
por xmm1, xmm2
add rdi, 0x20
cmp r10, rdi
jne 0x140062810
por xmm1, xmm0
pshufd xmm0, xmm1, 0xee
por xmm0, xmm1
movq r10, xmm0
cmp rbx, r12
je 0x140062873
nop dword [rax + rax]
mov rsi, qword [r11 + rbx*8]
xor rsi, qword [rax + rbx*8]
or r10, rsi
inc rbx
cmp r12, rbx
jne 0x140062860
test rcx, rcx
sete al
xor edx, dword [r8 + 0x10]
movsxd rcx, edx
or rcx, r10
sete cl
or cl, al
movzx r12d, cl
neg r12
cmp dword [r14 + 0x20], 2
jl 0x140062d25
mov ebp, 1
mov rsi, qword [rsp + 0xb0]
nop word [rax + rax]
cmp dword [r14 + 0x24], ebp
jne 0x1400628c0
cmp r12, 0xffffffffffffffff
jne 0x140062d2d
mov qword [rsp + 0x20], rsi
mov rcx, r15
mov rdx, r15
mov r8, r15
call fcn.140059460
test eax, eax
je 0x140062d70
mov rcx, qword [r14 + 0x18]
movsxd rax, dword [r15 + 8]
movsxd rdx, dword [rcx + 8]
cmp eax, edx
jge 0x140062910
mov r9, qword [rcx]
mov r11, rdx
sub r11, rax
cmp r11, 4
jae 0x140062920
mov r10, rax
xor r8d, r8d
jmp 0x140062980
xor r8d, r8d
jmp 0x14006298c
mov rdi, r11
and rdi, 0xfffffffffffffffc
lea r10, [rdi + rax]
lea r8, [r9 + rax*8]
add r8, 0x10
pxor xmm0, xmm0
xor ebx, ebx
pxor xmm1, xmm1
nop dword [rax]
movdqu xmm2, xmmword [r8 + rbx*8 - 0x10]
por xmm0, xmm2
movdqu xmm2, xmmword [r8 + rbx*8]
por xmm1, xmm2
add rbx, 4
cmp rdi, rbx
jne 0x140062940
por xmm1, xmm0
pshufd xmm0, xmm1, 0xee
por xmm0, xmm1
movq r8, xmm0
cmp r11, rdi
je 0x14006298c
nop word cs:[rax + rax]
or r8, qword [r9 + r10*8]
inc r10
cmp rdx, r10
jne 0x140062980
cmp edx, eax
jge 0x140062a1c
mov r9, qword [r15]
mov r11, rax
sub r11, rdx
cmp r11, 4
jae 0x1400629b0
mov r10, rdx
jmp 0x140062a10
mov rdi, r11
and rdi, 0xfffffffffffffffc
lea r10, [rdi + rdx]
movq xmm1, r8
lea r8, [r9 + rdx*8]
add r8, 0x10
pxor xmm0, xmm0
xor ebx, ebx
nop
movdqu xmm2, xmmword [r8 + rbx*8 - 0x10]
por xmm1, xmm2
movdqu xmm2, xmmword [r8 + rbx*8]
por xmm0, xmm2
add rbx, 4
cmp rdi, rbx
jne 0x1400629d0
por xmm0, xmm1
pshufd xmm1, xmm0, 0xee
por xmm1, xmm0
movq r8, xmm1
cmp r11, rdi
je 0x140062a1c
nop word cs:[rax + rax]
or r8, qword [r9 + r10*8]
inc r10
cmp rax, r10
jne 0x140062a10
cmp eax, edx
cmovl edx, eax
test edx, edx
jle 0x140062ad3
mov r9, qword [r15]
mov r10, qword [rcx]
mov r11d, edx
cmp edx, 4
jae 0x140062a40
xor edx, edx
jmp 0x140062ac0
mov edx, r11d
and edx, 0x7ffffffc
movq xmm0, r8
mov r8d, r11d
shr r8d, 2
and r8d, 0x1fffffff
shl r8, 5
pxor xmm1, xmm1
xor edi, edi
nop word cs:[rax + rax]
movdqu xmm2, xmmword [r9 + rdi]
movdqu xmm3, xmmword [r9 + rdi + 0x10]
movdqu xmm4, xmmword [r10 + rdi]
pxor xmm4, xmm2
por xmm0, xmm4
movdqu xmm2, xmmword [r10 + rdi + 0x10]
pxor xmm2, xmm3
por xmm1, xmm2
add rdi, 0x20
cmp r8, rdi
jne 0x140062a70
por xmm1, xmm0
pshufd xmm0, xmm1, 0xee
por xmm0, xmm1
movq r8, xmm0
cmp rdx, r11
je 0x140062ad3
nop word [rax + rax]
mov rsi, qword [r10 + rdx*8]
xor rsi, qword [r9 + rdx*8]
or r8, rsi
inc rdx
cmp r11, rdx
jne 0x140062ac0
mov edx, dword [r15 + 0x10]
mov ecx, dword [rcx + 0x10]
xor ecx, edx
movsxd rcx, ecx
or rcx, r8
mov rcx, r12
mov r8, 0xffffffffffffffff
cmove rcx, r8
mov r8, qword [r14 + 0x10]
movsxd r9, dword [r8 + 8]
cmp eax, r9d
jge 0x140062b20
mov r11, qword [r8]
mov rdi, r9
sub rdi, rax
cmp rdi, 4
jae 0x140062b30
mov r13, rax
xor r10d, r10d
jmp 0x140062b90
xor r10d, r10d
jmp 0x140062b9c
mov rbx, rdi
and rbx, 0xfffffffffffffffc
lea r13, [rbx + rax]
lea r10, [r11 + rax*8]
add r10, 0x10
pxor xmm0, xmm0
xor esi, esi
pxor xmm1, xmm1
nop dword [rax]
movdqu xmm2, xmmword [r10 + rsi*8 - 0x10]
por xmm0, xmm2
movdqu xmm2, xmmword [r10 + rsi*8]
por xmm1, xmm2
add rsi, 4
cmp rbx, rsi
jne 0x140062b50
por xmm1, xmm0
pshufd xmm0, xmm1, 0xee
por xmm0, xmm1
movq r10, xmm0
cmp rdi, rbx
je 0x140062b9c
nop word cs:[rax + rax]
or r10, qword [r11 + r13*8]
inc r13
cmp r9, r13
jne 0x140062b90
cmp r9d, eax
jge 0x140062c2c
mov r11, qword [r15]
mov rbx, rax
sub rbx, r9
cmp rbx, 4
jae 0x140062bc0
mov r13, r9
jmp 0x140062c20
mov rdi, rbx
and rdi, 0xfffffffffffffffc
lea r13, [rdi + r9]
movq xmm1, r10
lea r10, [r11 + r9*8]
add r10, 0x10
pxor xmm0, xmm0
xor esi, esi
nop
movdqu xmm2, xmmword [r10 + rsi*8 - 0x10]
por xmm1, xmm2
movdqu xmm2, xmmword [r10 + rsi*8]
por xmm0, xmm2
add rsi, 4
cmp rdi, rsi
jne 0x140062be0
por xmm0, xmm1
pshufd xmm1, xmm0, 0xee
por xmm1, xmm0
movq r10, xmm1
cmp rbx, rdi
je 0x140062c2c
nop word cs:[rax + rax]
or r10, qword [r11 + r13*8]
inc r13
cmp rax, r13
jne 0x140062c20
cmp eax, r9d
cmovl r9d, eax
test r9d, r9d
jle 0x140062cf3
mov rax, qword [r15]
mov r11, qword [r8]
mov r13d, r9d
cmp r9d, 4
jae 0x140062c60
xor r9d, r9d
jmp 0x140062ce0
mov r9d, r13d
and r9d, 0x7ffffffc
movq xmm0, r10
mov r10d, r13d
shr r10d, 2
and r10d, 0x1fffffff
shl r10, 5
pxor xmm1, xmm1
xor edi, edi
nop word [rax + rax]
movdqu xmm2, xmmword [rax + rdi]
movdqu xmm3, xmmword [rax + rdi + 0x10]
movdqu xmm4, xmmword [r11 + rdi]
pxor xmm4, xmm2
por xmm0, xmm4
movdqu xmm2, xmmword [r11 + rdi + 0x10]
pxor xmm2, xmm3
por xmm1, xmm2
add rdi, 0x20
cmp r10, rdi
jne 0x140062c90
por xmm1, xmm0
pshufd xmm0, xmm1, 0xee
por xmm0, xmm1
movq r10, xmm0
cmp r9, r13
je 0x140062cf3
nop dword [rax + rax]
mov rsi, qword [r11 + r9*8]
xor rsi, qword [rax + r9*8]
or r10, rsi
inc r9
cmp r13, r9
jne 0x140062ce0
xor edx, dword [r8 + 0x10]
movsxd rax, edx
or rax, r10
mov edx, ecx
and edx, 1
or rdx, rax
mov rsi, qword [rsp + 0xb0]
mov r9, qword [rsp + 0x38]
je 0x140062d2d
inc ebp
mov r12, rcx
cmp ebp, dword [r14 + 0x20]
jl 0x1400628b0
jmp 0x140062d2d
mov rsi, qword [rsp + 0xb0]
and r12d, 1
mov rax, qword [rsp + 0x40]
mov dword [rax], r12d
mov ebp, 1
cmp byte [rsi + 0x28], 0
jne 0x140062d5d
mov rax, qword [rsi + 8]
mov rcx, qword [rsi + 0x10]
lea rdx, [rcx - 1]
mov qword [rsi + 0x10], rdx
mov rax, qword [rax + rcx*8 - 8]
mov qword [rsi + 0x20], rax
mov eax, ebp
add rsp, 0x48
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
xor ebp, ebp
cmp byte [rsi + 0x28], 0
jne 0x140062d5d
jmp 0x140062d44