Function at 0x14013fc60
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x168]
sub rsp, 0x230
movaps xmmword [rax - 0x48], xmm6
movaps xmmword [rax - 0x58], xmm7
movaps xmmword [rax - 0x68], xmm8
movaps xmmword [rax - 0x78], xmm9
movaps xmmword [rax - 0x88], xmm10
movaps xmmword [rax - 0x98], xmm11
movaps xmmword [rax - 0xa8], xmm12
movaps xmmword [rax - 0xb8], xmm13
movaps xmmword [rax - 0xc8], xmm14
mov rax, qword [0x1401be040]
xor rax, rsp
mov qword [rbp + 0x90], rax
mov r15, r8
mov rsi, rdx
mov rdi, rcx
xor r13d, r13d
movss xmm10, dword [rcx]
subss xmm10, dword [rcx + 0x104]
addss xmm10, dword [rcx + 8]
movss xmm11, dword [rcx + 4]
xorps xmm12, xmm12
addss xmm11, xmm12
lea rcx, [rbp + 8]
call fcn.1400ddba0
mov rbx, rax
mov rcx, rax
cmp qword [rax + 0x18], 0xf
jbe 0x14013fd13
mov rcx, qword [rax]
mov rax, qword [0x140241980]
movss xmm7, dword [0x1401af19c]
test rcx, rcx
jne 0x14013fd2c
xorps xmm6, xmm6
jmp 0x14013fd76
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x28], rcx
movss dword [rsp + 0x20], xmm7
movss xmm3, dword [0x1401af180]
movss xmm2, dword [rax + 0x3bf8]
lea rdx, [rsp + 0x40]
mov rcx, qword [rax + 0x3bf0]
call fcn.140103e70
movss xmm0, dword [rsp + 0x40]
addss xmm0, dword [0x1401aefb8]
cvttss2si eax, xmm0
movd xmm6, eax
cvtdq2ps xmm6, xmm6
mov rcx, rbx
call fcn.1400de030
addss xmm6, dword [0x1401af080]
movss xmm13, dword [0x1401af098]
addss xmm6, xmm13
mov rax, qword [0x140241980]
movss xmm2, dword [rax + 0xdf4]
comiss xmm2, xmm11
jbe 0x14013fdf9
movss xmm1, dword [rax + 0xdf8]
comiss xmm1, xmm10
jbe 0x14013fdf9
movaps xmm0, xmm11
addss xmm0, xmm6
comiss xmm0, xmm2
jbe 0x14013fdf9
movaps xmm0, xmm10
addss xmm0, xmm13
comiss xmm0, xmm1
jbe 0x14013fdf9
cmp qword [0x14023cd18], r13
jne 0x14013fdf9
mov r12b, 1
movss xmm0, dword [rax + 0x3760]
ucomiss xmm0, xmm12
jp 0x14013fdfc
jne 0x14013fdfc
cmp byte [r15], r13b
sete al
mov byte [r15], al
jmp 0x14013fdfc
xor r12b, r12b
mov rcx, qword [rsi + 0x10]
mov rdx, qword [0x14023d6d8]
movabs rax, 0x7fffffffffffffff
sub rax, rcx
cmp rax, rdx
jb 0x1401407a2
mov r9, rsi
cmp qword [rsi + 0x18], 0xf
jbe 0x14013fe2a
mov r9, qword [rsi]
lea r14, [0x14023d6c8]
mov rax, r14
cmp qword [0x14023d6e0], 0xf
cmova rax, qword [0x14023d6c8]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea rcx, [rbp - 0x40]
call fcn.140139c60
lea r8, [rbp - 0x40]
lea rdx, [rsp + 0x78]
call fcn.14013dfe0
movss xmm9, dword [0x1401aefc0]
cmp byte [r15], r13b
je 0x14013fe7e
movaps xmm0, xmm9
jmp 0x14013fe81
movaps xmm0, xmm7
mov rax, qword [0x140241980]
movss xmm1, dword [rax + 0x18]
movss xmm6, dword [0x1401af064]
mulss xmm1, xmm6
mulss xmm1, dword [0x1401aef6c]
movss xmm14, dword [0x1401af058]
mulss xmm1, xmm14
mulss xmm1, xmm0
addss xmm1, dword [rsp + 0x78]
mov r8b, 1
lea rcx, [rsp + 0x78]
call fcn.14013dde0
mov word [rsp + 0x48], 0x23
mov byte [rsp + 0x4a], r13b
lea r8, [rsp + 0x49]
lea rdx, [rsp + 0x48]
lea rcx, [rbp - 0x40]
call fcn.1401383f0
nop
lea r8, [rbp - 0x40]
mov rdx, rsi
lea rcx, [rbp + 0x50]
call fcn.14013f030
nop
lea rcx, [rbp - 0x40]
call fcn.1400de030
nop
mov rdx, r14
cmp qword [0x14023d6e0], 0xf
cmova rdx, qword [0x14023d6c8]
mov r8, qword [0x14023d6d8]
lea rcx, [rbp + 0x50]
call fcn.1400de200
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x40], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x30], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
lea rdx, [rbp - 0x40]
movq rcx, xmm0
psrldq xmm1, 8
movq rax, xmm1
cmp rax, 0xf
cmova rdx, rcx
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], r13
mov qword [rsp + 0x68], r13
mov rbx, 0xffffffffffffffff
mov r8, rbx
nop dword [rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x14013ff80
lea rcx, [rsp + 0x50]
call fcn.1400defe0
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x70]
call fcn.14013dfe0
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 0xf
jbe 0x14013ffe3
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14013ffdd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14013ffdd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14014b9a4
nop
lea rcx, [rbp + 0x50]
call fcn.1400de030
test r12b, r12b
je 0x14013fff5
movaps xmm7, xmm9
mov rax, qword [0x140241980]
movss xmm1, dword [rax + 0x18]
mulss xmm1, xmm6
mulss xmm1, dword [0x1401aef74]
mulss xmm1, xmm14
mulss xmm1, xmm7
addss xmm1, dword [rsp + 0x70]
mov r8b, 1
lea rcx, [rsp + 0x70]
call fcn.14013dde0
movdqa xmm0, xmmword [0x1401af8c0]
movdqu xmmword [rbp + 0x28], xmm0
movdqa xmm1, xmmword [0x1401af890]
movdqu xmmword [rbp + 0x38], xmm1
mov word [rbp + 0x48], 0x100
mov rcx, r13
nop dword [rax]
lea eax, [rcx - 0x3d]
xor byte [rbp + rcx + 0x28], al
inc rcx
cmp rcx, 0x20
jb 0x140140050
mov byte [rbp + 0x49], 0
lea r8, [rbp + 0x48]
lea rdx, [rbp + 0x28]
lea rcx, [rbp - 0x40]
call fcn.1401383f0
nop
lea r8, [rbp - 0x40]
mov rdx, rsi
lea rcx, [rbp + 0x70]
call fcn.14013f030
nop
lea rcx, [rbp - 0x40]
call fcn.1400de030
nop
mov rdx, r14
cmp qword [0x14023d6e0], 0xf
cmova rdx, qword [0x14023d6c8]
mov r8, qword [0x14023d6d8]
lea rcx, [rbp + 0x70]
call fcn.1400de200
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x40], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x30], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
lea rdx, [rbp - 0x40]
movq rcx, xmm0
psrldq xmm1, 8
movq rax, xmm1
cmp rax, 0xf
cmova rdx, rcx
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], r13
mov qword [rbp - 0x68], r13
mov r8, rbx
nop
inc r8
cmp byte [rdx + r8], 0
jne 0x140140100
lea rcx, [rbp - 0x80]
call fcn.1400defe0
lea r8, [rbp - 0x80]
lea rdx, [rsp + 0x40]
call fcn.14013dfe0
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 0xf
jbe 0x140140161
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14014015b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14014015b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14014b9a4
nop
lea rcx, [rbp + 0x70]
call fcn.1400de030
movdqa xmm0, xmmword [0x1401af8c0]
movdqu xmmword [rbp - 0x20], xmm0
movdqa xmm1, xmmword [0x1401af8e0]
movdqu xmmword [rbp - 0x10], xmm1
mov dword [rbp], 0x9284888c
mov dword [rbp + 4], 0x1008c82
mov rcx, r13
nop word [rax + rax]
lea eax, [rcx - 0x3d]
xor byte [rbp + rcx - 0x20], al
inc rcx
cmp rcx, 0x26
jb 0x1401401a0
mov byte [rbp + 7], 0
lea r8, [rbp + 6]
lea rdx, [rbp - 0x20]
lea rcx, [rbp - 0x40]
call fcn.1401383f0
nop
lea r8, [rbp - 0x40]
mov rdx, rsi
lea rcx, [rbp + 8]
call fcn.14013f030
nop
lea rcx, [rbp - 0x40]
call fcn.1400de030
nop
cmp qword [0x14023d6e0], 0xf
cmova r14, qword [0x14023d6c8]
mov r8, qword [0x14023d6d8]
mov rdx, r14
lea rcx, [rbp + 8]
call fcn.1400de200
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x40], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x30], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
lea rdx, [rbp - 0x40]
movq rcx, xmm0
psrldq xmm1, 8
movq rax, xmm1
cmp rax, 0xf
cmova rdx, rcx
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
mov qword [rbp - 0x50], r13
mov qword [rbp - 0x48], r13
nop dword [rax]
inc rbx
cmp byte [rdx + rbx], 0
jne 0x140140250
mov r8, rbx
lea rcx, [rbp - 0x60]
call fcn.1400defe0
lea r8, [rbp - 0x60]
lea rdx, [rsp + 0x48]
call fcn.14013dfe0
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 0xf
jbe 0x1401402b3
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401402ad
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1401402ad
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14014b9a4
nop
lea rcx, [rbp + 8]
call fcn.1400de030
movzx eax, byte [r15]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
xor r8d, r8d
lea rcx, [rsp + 0x40]
call fcn.14013dde0
movss xmm8, dword [rsp + 0x48]
movss xmm0, dword [rsp + 0x40]
ucomiss xmm8, xmm0
jp 0x1401402e9
je 0x14014031a
subss xmm0, xmm8
mulss xmm0, dword [0x1401aef54]
addss xmm8, xmm0
movss dword [rsp + 0x48], xmm8
xor r8d, r8d
movaps xmm1, xmm8
lea rcx, [rsp + 0x48]
call fcn.14013dde0
movss xmm8, dword [rsp + 0x48]
movaps xmm3, xmm11
addss xmm3, xmm9
movaps xmm2, xmm10
addss xmm2, xmm9
movss xmm0, dword [rdi + 0x74]
movss dword [rsp + 0x50], xmm0
movss xmm1, dword [rdi + 0x78]
movss dword [rsp + 0x54], xmm1
movss xmm0, dword [rdi + 0x7c]
movss dword [rsp + 0x58], xmm0
movss xmm1, dword [0x14023cd10]
movss dword [rsp + 0x5c], xmm1
movss dword [rsp + 0x48], xmm3
movss dword [rsp + 0x4c], xmm2
addss xmm3, dword [0x1401af090]
movss dword [rsp + 0x40], xmm3
addss xmm2, dword [0x1401af090]
movss dword [rsp + 0x44], xmm2
lea rcx, [rsp + 0x50]
call fcn.1400e1850
mov r9d, eax
mov dword [rsp + 0x28], r13d
movss dword [rsp + 0x20], xmm14
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x48]
mov rcx, qword [0x140241c08]
call fcn.1400fff50
movss xmm0, dword [rdi + 0x84]
movss dword [rsp + 0x50], xmm0
movss xmm1, dword [rdi + 0x88]
movss dword [rsp + 0x54], xmm1
movss xmm0, dword [rdi + 0x8c]
movss dword [rsp + 0x58], xmm0
movss xmm1, dword [0x14023cd10]
movss dword [rsp + 0x5c], xmm1
movss dword [rsp + 0x48], xmm11
movss dword [rsp + 0x4c], xmm10
movaps xmm7, xmm11
addss xmm7, xmm13
movss dword [rsp + 0x40], xmm7
movaps xmm6, xmm10
addss xmm6, xmm13
movss dword [rsp + 0x44], xmm6
lea rcx, [rsp + 0x50]
call fcn.1400e1850
mov r9d, eax
movss dword [rsp + 0x30], xmm12
mov dword [rsp + 0x28], r13d
movss dword [rsp + 0x20], xmm14
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x48]
mov rcx, qword [0x140241c08]
call fcn.1400ffe40
mov dword [rsp + 0x50], 0x3e48c8c9
mov dword [rsp + 0x54], 0x3e48c8c9
mov dword [rsp + 0x58], 0x3e48c8c9
movss xmm13, dword [rsp + 0x70]
movaps xmm0, xmm13
mulss xmm0, dword [0x14023cd10]
movss dword [rsp + 0x5c], xmm0
movss dword [rsp + 0x70], xmm11
movss dword [rsp + 0x74], xmm10
movss dword [rsp + 0x40], xmm7
movss dword [rsp + 0x44], xmm6
lea rcx, [rsp + 0x50]
call fcn.1400e1850
mov r9d, eax
movss dword [rsp + 0x30], xmm12
mov dword [rsp + 0x28], r13d
movss dword [rsp + 0x20], xmm14
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x70]
mov rcx, qword [0x140241c08]
call fcn.1400ffe40
cmp byte [r15], 0
je 0x140140514
subss xmm8, xmm9
cvtps2pd xmm0, xmm8
movsd xmm1, qword [0x1401af018]
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
movsd xmm6, qword [0x1401af008]
movaps xmm1, xmm6
subsd xmm1, xmm0
xorps xmm0, xmm0
ucomisd xmm0, xmm1
ja 0x140140507
sqrtpd xmm5, xmm1
jmp 0x14014053d
movaps xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrt
movaps xmm5, xmm0
jmp 0x14014053d
subss xmm9, xmm8
xorps xmm0, xmm0
cvtss2sd xmm0, xmm9
movsd xmm1, qword [0x1401af038]
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
movsd xmm6, qword [0x1401af008]
movaps xmm5, xmm6
subsd xmm5, xmm0
xorps xmm4, xmm4
cvtsd2ss xmm4, xmm5
subsd xmm6, xmm5
movaps xmm0, xmm6
mulsd xmm0, qword [0x1401af048]
cvtpd2ps xmm1, xmm0
movaps xmm3, xmm11
addss xmm3, xmm4
addss xmm3, xmm1
movaps xmm2, xmm4
addss xmm2, xmm10
addss xmm2, xmm1
movss xmm0, dword [rdi + 0xb4]
movss dword [rsp + 0x50], xmm0
movss xmm1, dword [rdi + 0xb8]
movss dword [rsp + 0x54], xmm1
movss xmm0, dword [rdi + 0xbc]
movss dword [rsp + 0x58], xmm0
movss xmm1, dword [0x14023cd10]
cvtps2pd xmm1, xmm1
mulsd xmm1, xmm5
cvtpd2ps xmm0, xmm1
movss dword [rsp + 0x5c], xmm0
movss dword [rsp + 0x70], xmm3
movss dword [rsp + 0x74], xmm2
mulss xmm4, dword [0x1401af090]
movaps xmm0, xmm4
addss xmm0, xmm3
movss dword [rsp + 0x40], xmm0
addss xmm4, xmm2
movss dword [rsp + 0x44], xmm4
mulsd xmm6, qword [0x1401af050]
addsd xmm6, qword [0x1401af028]
cvtpd2ps xmm6, xmm6
lea rcx, [rsp + 0x50]
call fcn.1400e1850
mov r9d, eax
mov dword [rsp + 0x28], r13d
movss dword [rsp + 0x20], xmm6
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x70]
mov rcx, qword [0x140241c08]
call fcn.1400fff50
movss xmm6, dword [0x14023cd10]
mov rdx, rsi
lea rcx, [rbp + 8]
call fcn.1400ddba0
addss xmm11, dword [0x1401af0a8]
subss xmm10, dword [0x1401af010]
mov dword [rsp + 0x50], 0x3e48c8c9
mov dword [rsp + 0x54], 0x3e48c8c9
mov dword [rsp + 0x58], 0x3e48c8c9
movss dword [rsp + 0x5c], xmm6
lea r9, [rsp + 0x50]
mov r8, rax
movaps xmm0, xmm11
unpcklps xmm0, xmm10
movq rdx, xmm0
call fcn.140148230
mulss xmm13, dword [0x14023cd10]
mov rdx, rsi
lea rcx, [rbp + 8]
call fcn.1400ddba0
mov dword [rsp + 0x50], 0x3e828283
mov dword [rsp + 0x54], 0x3e828283
mov dword [rsp + 0x58], 0x3e828283
movss dword [rsp + 0x5c], xmm13
lea r9, [rsp + 0x50]
mov r8, rax
movaps xmm0, xmm11
unpcklps xmm0, xmm10
movq rdx, xmm0
call fcn.140148230
movss xmm6, dword [rdi + 0xa4]
movss xmm7, dword [rdi + 0xa8]
movss xmm8, dword [rdi + 0xac]
movss xmm9, dword [rsp + 0x78]
mulss xmm9, dword [0x14023cd10]
mov rdx, rsi
lea rcx, [rbp + 8]
call fcn.1400ddba0
movss dword [rsp + 0x50], xmm6
movss dword [rsp + 0x54], xmm7
movss dword [rsp + 0x58], xmm8
movss dword [rsp + 0x5c], xmm9
lea r9, [rsp + 0x50]
mov r8, rax
movaps xmm0, xmm11
unpcklps xmm0, xmm10
movq rdx, xmm0
call fcn.140148230
movss xmm0, dword [rdi]
addss xmm0, dword [0x1401af0a4]
movss dword [rdi], xmm0
movzx eax, byte [r15]
mov rcx, qword [rbp + 0x90]
xor rcx, rsp
call fcn.14014b630
lea r11, [rsp + 0x230]
mov rbx, qword [r11 + 0x58]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
movaps xmm10, xmmword [r11 - 0x50]
movaps xmm11, xmmword [r11 - 0x60]
movaps xmm12, xmmword [r11 - 0x70]
movaps xmm13, xmmword [r11 - 0x80]
movaps xmm14, xmmword [r11 - 0x90]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.1400d9c60
int3