Function at 0x14001ba10
Capabilities:
Encode data using xor

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x168
lea rbp, [rsp + 0x80]
movaps xmmword [rbp + 0xd0], xmm15
movaps xmmword [rbp + 0xc0], xmm14
movaps xmmword [rbp + 0xb0], xmm13
movaps xmmword [rbp + 0xa0], xmm12
movaps xmmword [rbp + 0x90], xmm11
movaps xmmword [rbp + 0x80], xmm10
movaps xmmword [rbp + 0x70], xmm9
movaps xmmword [rbp + 0x60], xmm8
movaps xmmword [rbp + 0x50], xmm7
movaps xmmword [rbp + 0x40], xmm6
mov r15, r9
mov rsi, r8
mov rbx, rdx
cmp rdx, 0x21
jb 0x14001bee7
mov rax, qword [rbp + 0x158]
mov qword [rbp + 0x30], rax
mov edi, dword [rbp + 0x150]
lea rax, [rsi - 0x20]
mov qword [rbp + 0x10], rax
mov qword [rbp + 0x18], r15
mov qword [rbp + 0x38], rcx
lea rax, [rcx + 0x20]
mov qword [rbp - 0x28], rax
mov r14, rbx
nop dword [rax]
sub edi, 1
jb 0x14001bec7
mov dword [rbp + 0x20], edi
mov r9, r14
shr r9, 3
mov r12, r9
shl r12, 7
mov rdi, qword [rbp + 0x38]
add r12, rdi
imul r8, r9, 0xe0
add r8, rdi
cmp r14, 0x40
jae 0x14001bb10
mov rax, qword [rdi]
mov rcx, qword [r12]
cmp rax, rcx
setb dl
mov r9, qword [r8]
cmp rax, r9
setb al
xor al, dl
cmp rcx, r9
setb cl
xor cl, dl
cmovne r12, r8
test al, al
cmovne r12, rdi
jmp 0x14001bb1e
mov rcx, rdi
mov rdx, r12
call fcn.140017ed0
mov r12, rax
mov r10, r12
sub r10, rdi
shr r10, 5
movups xmm0, xmmword [r12]
movups xmm1, xmmword [r12 + 0x10]
movaps xmmword [rbp - 0x40], xmm1
movaps xmmword [rbp - 0x50], xmm0
cmp qword [rbp + 0x30], 0
je 0x14001bb53
mov rax, qword [rbp + 0x30]
mov rax, qword [rax]
cmp rax, qword [r12]
jae 0x14001bd20
cmp r14, r15
ja 0x14001c479
mov r15, r14
shl r15, 5
lea rdi, [rsi + r15]
xor ebx, ebx
mov r11, qword [rbp + 0x38]
mov rax, r11
mov rcx, rdi
mov qword [rbp + 0x28], r10
mov rdx, r10
nop word [rax + rax]
mov r8, rdx
shl r8, 5
add r8, r11
cmp rax, r8
jae 0x14001bbc8
nop
mov r9, qword [rax]
add rcx, 0xffffffffffffffe0
mov r10, rbx
shl r10, 5
cmp r9, qword [r12]
mov r9, rcx
cmovb r9, rsi
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
movups xmmword [r9 + r10 + 0x10], xmm1
movups xmmword [r9 + r10], xmm0
adc rbx, 0
add rax, 0x20
cmp rax, r8
jb 0x14001bb90
cmp rdx, r14
je 0x14001bc00
mov rdx, rbx
shl rdx, 5
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rcx + rdx - 0x10], xmm1
movups xmmword [rcx + rdx - 0x20], xmm0
add rcx, 0xffffffffffffffe0
add rax, 0x20
mov rdx, r14
jmp 0x14001bb80
mov rcx, r11
mov r13, rbx
shl r13, 5
mov rdx, rsi
mov r8, r13
call sub.msvcrt.dll_memcpy
mov rax, r14
sub rax, rbx
movabs r10, 0x7fffffffffffffe
je 0x14001bccd
lea rcx, [rbx + 1]
cmp r14, rcx
jne 0x14001bc40
xor ecx, ecx
jmp 0x14001bca2
mov rdx, rax
and rdx, 0xfffffffffffffffe
mov rcx, qword [rbp - 0x28]
lea r8, [rcx + r13]
add r15, qword [rbp + 0x10]
xor r9d, r9d
nop word cs:[rax + rax]
movups xmm0, xmmword [r15]
movups xmm1, xmmword [r15 + 0x10]
movups xmmword [r8 - 0x10], xmm1
movups xmmword [r8 - 0x20], xmm0
lea rcx, [r9 + 2]
xor r9, r10
shl r9, 5
movups xmm0, xmmword [rdi + r9]
movups xmm1, xmmword [rdi + r9 + 0x10]
movups xmmword [r8], xmm0
movups xmmword [r8 + 0x10], xmm1
add r8, 0x40
add r15, 0xffffffffffffffc0
mov r9, rcx
cmp rdx, rcx
jne 0x14001bc60
test al, 1
je 0x14001bccd
mov rax, qword [rbp + 0x38]
add rax, r13
mov rdx, rcx
not rdx
shl rdx, 5
shl rcx, 5
movups xmm0, xmmword [rdi + rdx]
movups xmm1, xmmword [rdi + rdx + 0x10]
movups xmmword [rax + rcx + 0x10], xmm1
movups xmmword [rax + rcx], xmm0
test rbx, rbx
mov r15, qword [rbp + 0x18]
mov r10, qword [rbp + 0x28]
je 0x14001bd20
sub r14, rbx
jb 0x14001c430
add r13, qword [rbp + 0x38]
lea rax, [rbp - 0x50]
mov qword [rsp + 0x28], rax
mov edi, dword [rbp + 0x20]
mov dword [rsp + 0x20], edi
mov rcx, r13
mov rdx, r14
mov r8, rsi
mov r9, r15
call fcn.14001ba10
mov r14, rbx
cmp rbx, 0x21
jae 0x14001bab0
jmp 0x14001bee3
cmp r14, r15
ja 0x14001c479
mov rdi, r15
mov r15, r14
shl r15, 5
lea rcx, [rsi + r15]
xor r13d, r13d
mov rax, qword [rbp + 0x38]
mov qword [rbp + 0x28], rcx
nop word cs:[rax + rax]
mov rdx, r10
shl rdx, 5
add rdx, qword [rbp + 0x38]
cmp rax, rdx
jae 0x14001bd98
mov r8, qword [r12]
add rcx, 0xffffffffffffffe0
mov r9, r13
shl r9, 5
cmp r8, qword [rax]
mov r8, rcx
cmovae r8, rsi
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
movups xmmword [r8 + r9 + 0x10], xmm1
movups xmmword [r8 + r9], xmm0
sbb r13, 0xffffffffffffffff
add rax, 0x20
cmp rax, rdx
jb 0x14001bd60
cmp r10, r14
je 0x14001bdd0
add rcx, 0xffffffffffffffe0
mov rdx, r13
shl rdx, 5
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsi + rdx + 0x10], xmm1
movups xmmword [rsi + rdx], xmm0
inc r13
add rax, 0x20
mov r10, r14
jmp 0x14001bd50
mov r12, r13
shl r12, 5
mov rcx, qword [rbp + 0x38]
mov rdx, rsi
mov r8, r12
call sub.msvcrt.dll_memcpy
movabs r9, 0x7fffffffffffffe
mov rbx, r14
sub rbx, r13
mov r10, qword [rbp + 0x28]
je 0x14001be9c
lea rax, [r13 + 1]
cmp r14, rax
jne 0x14001be0d
xor eax, eax
jmp 0x14001be6e
mov rcx, rbx
and rcx, 0xfffffffffffffffe
mov rax, qword [rbp + 0x38]
lea rdx, [rax + r12]
add rdx, 0x20
add r15, qword [rbp + 0x10]
xor r8d, r8d
nop word [rax + rax]
movups xmm0, xmmword [r15]
movups xmm1, xmmword [r15 + 0x10]
movups xmmword [rdx - 0x10], xmm1
movups xmmword [rdx - 0x20], xmm0
lea rax, [r8 + 2]
xor r8, r9
shl r8, 5
movups xmm0, xmmword [r10 + r8]
movups xmm1, xmmword [r10 + r8 + 0x10]
movups xmmword [rdx], xmm0
movups xmmword [rdx + 0x10], xmm1
add rdx, 0x40
add r15, 0xffffffffffffffc0
mov r8, rax
cmp rcx, rax
jne 0x14001be30
test bl, 1
je 0x14001be9c
mov rcx, qword [rbp + 0x38]
add rcx, r12
mov rdx, rax
not rdx
shl rdx, 5
shl rax, 5
movups xmm0, xmmword [r10 + rdx]
movups xmm1, xmmword [r10 + rdx + 0x10]
movups xmmword [rcx + rax + 0x10], xmm1
movups xmmword [rcx + rax], xmm0
cmp r14, r13
jb 0x14001c462
mov rcx, qword [rbp + 0x38]
add rcx, r12
mov eax, 0
mov qword [rbp + 0x30], rax
cmp rbx, 0x21
mov r15, rdi
mov edi, dword [rbp + 0x20]
jae 0x14001ba9d
jmp 0x14001bee7
mov byte [rsp + 0x20], 1
mov rcx, qword [rbp + 0x38]
mov rdx, r14
mov r8, rsi
mov r9, r15
call fcn.140019260
jmp 0x14001c3da
mov rcx, qword [rbp + 0x38]
cmp rbx, 2
jb 0x14001c3da
lea rax, [rbx + 0x10]
cmp rax, r15
ja 0x14001c479
mov r15, rbx
shr r15, 1
cmp rbx, 7
mov qword [rbp + 0x38], rcx
jbe 0x14001c114
mov rax, qword [rcx + 0x20]
mov rdx, qword [rcx + 0x60]
xor r11d, r11d
xor r10d, r10d
cmp rax, qword [rcx]
setae r11b
setb r10b
xor r9d, r9d
cmp rdx, qword [rcx + 0x40]
setb r9b
shl r10d, 5
lea r12, [rcx + r10]
shl r11d, 5
lea rdx, [rcx + r11]
mov eax, r9d
shl eax, 5
lea r8, [rcx + rax]
add r8, 0x40
xor r9d, 3
shl r9d, 5
mov rax, qword [rcx + rax + 0x40]
mov rdi, qword [rcx + r9]
mov r11, qword [rcx + r11]
cmp rdi, r11
mov r14, rdx
cmovb r14, r8
cmp rax, qword [rcx + r10]
cmovb r14, r12
cmovb r12, r8
mov qword [rbp + 0x30], r12
lea rax, [rcx + r9]
cmovb r8, rdx
cmp rdi, r11
cmovae rdx, rax
mov qword [rbp + 0x28], rdx
cmovb r8, rax
mov rax, qword [r8]
cmp rax, qword [r14]
mov r10, r14
cmovb r10, r8
cmovb r8, r14
mov r9, r15
shl r9, 5
lea rdi, [rcx + r9]
mov rax, qword [rcx + r9 + 0x20]
xor r13d, r13d
xor r12d, r12d
mov rcx, qword [rbp + 0x38]
cmp rax, qword [rcx + r9]
mov rax, qword [rbp + 0x38]
mov rax, qword [rax + r9 + 0x60]
setae r13b
setb r12b
mov qword [rbp + 0x20], r15
xor r15d, r15d
mov rcx, qword [rbp + 0x38]
cmp rax, qword [rcx + r9 + 0x40]
setb r15b
shl r12d, 5
shl r13d, 5
lea r11, [rdi + r13]
mov eax, r15d
shl eax, 5
lea r14, [rax + rdi]
add r14, 0x40
xor r15d, 3
shl r15d, 5
mov rdx, qword [rdi + rax + 0x40]
mov rcx, qword [r15 + rdi]
mov rax, qword [r13 + rdi]
cmp rcx, rax
mov r13, r11
cmovb r13, r14
cmp rdx, qword [r12 + rdi]
lea rdx, [rdi + r12]
cmovb r13, rdx
cmovb rdx, r14
cmovb r14, r11
cmp rcx, rax
mov rax, qword [rbp + 0x30]
movups xmm0, xmmword [rax]
movups xmm2, xmmword [rax + 0x10]
lea rax, [rdi + r15]
mov r15, qword [rbp + 0x20]
movups xmm1, xmmword [r10]
cmovae r11, rax
movups xmm3, xmmword [r10 + 0x10]
cmovb r14, rax
movups xmm4, xmmword [r8]
movups xmm5, xmmword [r8 + 0x10]
mov rax, qword [r14]
cmp rax, qword [r13]
mov rcx, qword [rbp + 0x28]
movups xmm6, xmmword [rcx]
mov rax, r13
cmovb rax, r14
movups xmm7, xmmword [rcx + 0x10]
cmovb r14, r13
mov rcx, qword [rbp + 0x38]
movups xmm8, xmmword [rdx]
movups xmm9, xmmword [rdx + 0x10]
movups xmm10, xmmword [rax]
movups xmm11, xmmword [rax + 0x10]
movups xmm12, xmmword [r14]
movups xmm13, xmmword [r14 + 0x10]
movups xmm14, xmmword [r11]
movups xmm15, xmmword [r11 + 0x10]
movups xmmword [rsi + 0x10], xmm2
movups xmmword [rsi], xmm0
movups xmmword [rsi + 0x30], xmm3
movups xmmword [rsi + 0x20], xmm1
movups xmmword [rsi + 0x50], xmm5
movups xmmword [rsi + 0x40], xmm4
movups xmmword [rsi + 0x70], xmm7
movups xmmword [rsi + 0x60], xmm6
movups xmmword [rsi + r9 + 0x10], xmm9
movups xmmword [rsi + r9], xmm8
movups xmmword [rsi + r9 + 0x20], xmm10
movups xmmword [rsi + r9 + 0x30], xmm11
movups xmmword [rsi + r9 + 0x40], xmm12
movups xmmword [rsi + r9 + 0x50], xmm13
movups xmmword [rsi + r9 + 0x60], xmm14
movups xmmword [rsi + r9 + 0x70], xmm15
mov edx, 4
mov r14, rbx
sub r14, r15
cmp rdx, r15
jb 0x14001c14f
jmp 0x14001c1f3
movups xmm0, xmmword [rcx]
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi], xmm0
mov rax, r15
shl rax, 5
movups xmm0, xmmword [rcx + rax]
movups xmm1, xmmword [rcx + rax + 0x10]
movups xmmword [rsi + rax + 0x10], xmm1
movups xmmword [rsi + rax], xmm0
mov edx, 1
mov r14, rbx
sub r14, r15
cmp rdx, r15
jae 0x14001c1f3
mov r8d, edx
shl r8d, 5
mov r9, rdx
jmp 0x14001c182
mov rax, rsi
mov qword [rax], r10
movaps xmm0, xmmword [rbp - 0x20]
movups xmmword [rax + 8], xmm0
mov r10, qword [rbp - 0x10]
mov qword [rax + 0x18], r10
inc r9
add r8, 0x20
cmp r9, r15
je 0x14001c1f3
mov rax, r9
shl rax, 5
movups xmm0, xmmword [rcx + rax]
movups xmm1, xmmword [rcx + rax + 0x10]
movups xmmword [rsi + rax], xmm0
movups xmmword [rsi + rax + 0x10], xmm1
mov r10, qword [rsi + rax]
cmp r10, qword [rsi + rax - 0x20]
jae 0x14001c176
add rax, rcx
mov r11, qword [rax + 0x18]
mov qword [rbp - 0x10], r11
movups xmm0, xmmword [rax + 8]
movaps xmmword [rbp - 0x20], xmm0
mov r11, r8
nop dword [rax]
movups xmm0, xmmword [rsi + r11 - 0x20]
movups xmm1, xmmword [rsi + r11 - 0x10]
movups xmmword [rsi + r11 + 0x10], xmm1
movups xmmword [rsi + r11], xmm0
cmp r11, 0x20
je 0x14001c160
lea rax, [r11 - 0x20]
cmp r10, qword [rsi + r11 - 0x40]
mov r11, rax
jb 0x14001c1c0
add rax, rsi
jmp 0x14001c163
mov r9, r15
shl r9, 5
lea r8, [rsi + r9]
cmp rdx, r14
jae 0x14001c2b3
add r9, rcx
mov r10d, edx
shl r10d, 5
jmp 0x14001c242
mov rax, r8
mov qword [rax], r11
movaps xmm0, xmmword [rbp - 0x20]
movups xmmword [rax + 8], xmm0
mov r11, qword [rbp - 0x10]
mov qword [rax + 0x18], r11
inc rdx
add r10, 0x20
cmp rdx, r14
je 0x14001c2b3
mov rax, rdx
shl rax, 5
movups xmm0, xmmword [r9 + rax]
movups xmm1, xmmword [r9 + rax + 0x10]
movups xmmword [r8 + rax], xmm0
movups xmmword [r8 + rax + 0x10], xmm1
mov r11, qword [r8 + rax]
cmp r11, qword [r8 + rax - 0x20]
jae 0x14001c236
add rax, r9
mov rdi, qword [rax + 0x18]
mov qword [rbp - 0x10], rdi
movups xmm0, xmmword [rax + 8]
movaps xmmword [rbp - 0x20], xmm0
mov rdi, r10
movups xmm0, xmmword [r8 + rdi - 0x20]
movups xmm1, xmmword [r8 + rdi - 0x10]
movups xmmword [r8 + rdi + 0x10], xmm1
movups xmmword [r8 + rdi], xmm0
cmp rdi, 0x20
je 0x14001c220
lea rax, [rdi - 0x20]
cmp r11, qword [r8 + rdi - 0x40]
mov rdi, rax
jb 0x14001c280
add rax, r8
jmp 0x14001c223
lea r14, [r8 - 0x20]
mov rax, rbx
shl rax, 5
lea rdx, [rsi + rax]
add rdx, 0xffffffffffffffe0
mov qword [rbp + 0x18], rax
lea r11, [rcx + rax]
add r11, 0xffffffffffffffe0
mov r9, rsi
mov r10, rcx
jmp 0x14001c333
movzx eax, byte [rbp + 0x30]
mov r15b, al
mov eax, 0
sbb rax, rax
shl r15d, 5
add r8, r15
movzx r15d, byte [rbp + 0x28]
mov dil, r15b
shl edi, 5
add r9, rdi
add r10, 0x20
movups xmm0, xmmword [rcx]
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [r11 + 0x10], xmm1
movups xmmword [r11], xmm0
shl r12, 5
add rdx, r12
shl rax, 5
add r14, rax
add r11, 0xffffffffffffffe0
mov r15, qword [rbp + 0x20]
dec r15
je 0x14001c389
mov qword [rbp + 0x20], r15
mov rax, qword [r8]
xor edi, edi
xor r15d, r15d
mov rcx, r8
cmp rax, qword [r9]
setae byte [rbp + 0x28]
setb byte [rbp + 0x30]
jb 0x14001c352
mov rcx, r9
movups xmm0, xmmword [rcx]
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [r10 + 0x10], xmm1
movups xmmword [r10], xmm0
mov r13, qword [rdx]
mov rax, qword [r14]
cmp r13, rax
mov r12d, 0
adc r12, 0xffffffffffffffff
mov rcx, r14
cmp r13, rax
jb 0x14001c2e0
mov rcx, rdx
jmp 0x14001c2e0
add r14, 0x20
test bl, 1
je 0x14001c3c4
xor eax, eax
xor ecx, ecx
cmp r9, r14
setae al
setb cl
mov r11, r8
cmovb r11, r9
movups xmm0, xmmword [r11]
movups xmm1, xmmword [r11 + 0x10]
movups xmmword [r10 + 0x10], xmm1
movups xmmword [r10], xmm0
shl ecx, 5
add r9, rcx
shl eax, 5
add r8, rax
cmp r9, r14
jne 0x14001c474
add rdx, 0x20
cmp r8, rdx
jne 0x14001c474
movaps xmm6, xmmword [rbp + 0x40]
movaps xmm7, xmmword [rbp + 0x50]
movaps xmm8, xmmword [rbp + 0x60]
movaps xmm9, xmmword [rbp + 0x70]
movaps xmm10, xmmword [rbp + 0x80]
movaps xmm11, xmmword [rbp + 0x90]
movaps xmm12, xmmword [rbp + 0xa0]
movaps xmm13, xmmword [rbp + 0xb0]
movaps xmm14, xmmword [rbp + 0xc0]
movaps xmm15, xmmword [rbp + 0xd0]
add rsp, 0x168
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
lea rax, [0x140a963c0]
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], 1
mov qword [rbp - 0x10], 8
xorps xmm0, xmm0
movups xmmword [rbp - 8], xmm0
lea rdx, [0x140a96430]
lea rcx, [rbp - 0x20]
call fcn.140094aa0
lea r8, [0x140a96448]
mov rcx, r13
mov rdx, r14
call fcn.14009b3d0
call fcn.14009aed0
ud2