Function at 0x140068180
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rax - 0x68]
sub rsp, 0x140
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
movaps xmmword [rax - 0x58], xmm8
movaps xmmword [rax - 0x68], xmm9
movaps xmmword [rax - 0x78], xmm10
movaps xmmword [rax - 0x88], xmm11
movaps xmmword [rax - 0x98], xmm12
movaps xmmword [rax - 0xa8], xmm13
movaps xmmword [rax - 0xb8], xmm14
movaps xmmword [rax - 0xc8], xmm15
mov rax, qword [0x1400ae100]
xor rax, rsp
mov qword [rbp - 0x68], rax
mov esi, r9d
movsd qword [rsp + 0x60], xmm2
movaps xmm9, xmm1
mov rdi, qword [rbp + 0xa8]
mov qword [rbp - 0x70], rdi
call fcn.14000ca40
movss xmm8, dword [rax + 8]
movss xmm10, dword [0x1400719c4]
mulss xmm8, xmm10
movss dword [rsp + 0x4c], xmm8
call fcn.14000ca40
movss xmm7, dword [rax + 0xc]
mulss xmm7, xmm10
movss dword [rsp + 0x48], xmm7
xorps xmm6, xmm6
xorps xmm1, xmm1
movss dword [rsp + 0x40], xmm1
movss dword [rsp + 0x44], xmm1
movsd xmm11, qword [0x140078300]
mov r14d, 0xf
mov rax, qword [0x1400ae658]
cmp byte [rax + 0xc], 0
je 0x140068727
mov byte [rsp + 0x20], 0x92
mov byte [rsp + 0x21], 0xaf
mov byte [rsp + 0x22], 0xaa
mov byte [rsp + 0x23], 0xb9
mov byte [rsp + 0x24], 0xaa
mov byte [rsp + 0x25], 0xbb
mov byte [rsp + 0x26], 0xe0
mov byte [rsp + 0x27], 0x99
mov byte [rsp + 0x28], 0xa1
mov byte [rsp + 0x29], 0xae
mov byte [rsp + 0x2a], 0xb7
mov byte [rsp + 0x2b], 0xb4
mov byte [rsp + 0x2c], 0xae
mov byte [rsp + 0x2d], 0xf0
mov byte [rsp + 0x2e], 0x8c
mov byte [rsp + 0x2f], 0xbf
mov byte [rsp + 0x30], 0xb6
mov byte [rsp + 0x31], 0xb6
mov byte [rsp + 0x32], 0xbe
mov byte [rsp + 0x33], 0xd9
movzx eax, byte [rsp + 0x20]
xor r9d, r9d
movabs r11, 0x2d2d18926b361cc5
mov r10, r11
lea rax, [rsp + 0x20]
sub r10, rax
lea r8, [rsp + 0x20]
add r8, r9
mov rcx, r9
and ecx, r14d
cmp rcx, r14
cmovae rcx, r14
shl cl, 2
mov rdx, r11
shr rdx, cl
and dl, r14b
lea eax, [r10 + r8]
xor dl, al
movzx eax, byte [r8]
xor dl, al
mov byte [rsp + r9 + 0x20], dl
inc r9
cmp r9, 0x14
jb 0x1400682e1
lea rcx, [rsp + 0x20]
mov rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp byte [rcx + rax], 0
jne 0x140068330
mov r8, qword [rdi + 0x10]
mov rcx, rdi
cmp qword [rdi + 0x18], r14
jbe 0x140068349
mov rcx, qword [rdi]
cmp r8, rax
jne 0x140068727
lea rdx, [rsp + 0x20]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140068727
mov rbx, qword [rbp + 0x90]
movups xmm2, xmmword [rbx]
movsd xmm1, qword [rbx + 0x10]
movaps xmm0, xmm2
unpckhpd xmm0, xmm2
mov rax, qword [rbp + 0xa0]
subsd xmm0, qword [rax + 8]
subsd xmm2, qword [rax]
subsd xmm1, qword [rax + 0x10]
mulsd xmm2, xmm2
mulsd xmm0, xmm0
addsd xmm2, xmm0
mulsd xmm1, xmm1
addsd xmm2, xmm1
xorps xmm3, xmm3
cvtsd2ss xmm3, xmm2
xorps xmm0, xmm0
ucomiss xmm0, xmm3
ja 0x1400683bb
xorps xmm0, xmm0
sqrtss xmm0, xmm3
jmp 0x1400683c3
movaps xmm0, xmm3
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
xorps xmm2, xmm2
cvtss2sd xmm2, xmm0
divsd xmm2, qword [0x140078200]
mov rax, qword [rbp + 0x98]
movups xmm9, xmmword [rax]
movsd xmm8, qword [rax + 0x10]
movups xmm3, xmmword [rbx]
movss xmm0, dword [0x1400789cc]
andps xmm0, xmmword [0x1400734a0]
cvtpd2ps xmm4, xmm2
divss xmm4, xmm0
cvtps2pd xmm5, xmm4
movaps xmm0, xmm9
mulsd xmm0, xmm5
movsd xmm2, qword [0x1400789a0]
mulsd xmm0, xmm2
addsd xmm0, xmm3
movsd qword [rsp + 0x50], xmm0
unpckhpd xmm9, xmm9
mulsd xmm9, xmm5
mulsd xmm9, xmm2
unpckhpd xmm3, xmm3
addsd xmm9, xmm3
movaps xmmword [rsp + 0x20], xmm9
movss xmm1, dword [0x1400789d8]
andps xmm1, xmmword [0x1400734a0]
mulss xmm1, xmm10
mulss xmm4, dword [0x1400719e4]
mulss xmm1, xmm4
cvtps2pd xmm0, xmm1
mulsd xmm8, xmm5
mulsd xmm8, xmm2
addsd xmm8, qword [rbx + 0x10]
addsd xmm0, xmm8
movsd qword [rsp + 0x58], xmm0
movsd xmm2, qword [0x1400ae718]
movsd xmm1, qword [0x140078968]
mulsd xmm2, xmm1
movsd xmm0, qword [0x1400789a8]
divsd xmm2, xmm0
movsd xmm7, qword [0x1400ae720]
mulsd xmm7, xmm1
divsd xmm7, xmm0
movsd xmm8, qword [0x1400ae728]
mulsd xmm8, xmm1
divsd xmm8, xmm0
cvtpd2ps xmm6, xmm2
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_sinf
xorps xmm10, xmm10
cvtss2sd xmm10, xmm0
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
xorps xmm9, xmm9
cvtss2sd xmm9, xmm0
cvtpd2ps xmm6, xmm7
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_sinf
xorps xmm7, xmm7
cvtss2sd xmm7, xmm0
movsd qword [rsp + 0x60], xmm7
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
xorps xmm15, xmm15
cvtss2sd xmm15, xmm0
cvtpd2ps xmm6, xmm8
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_sinf
xorps xmm8, xmm8
cvtss2sd xmm8, xmm0
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
xorps xmm14, xmm14
cvtss2sd xmm14, xmm0
movaps xmm13, xmm8
mulsd xmm13, xmm10
cvtpd2ps xmm0, xmm10
cvtps2pd xmm4, xmm0
movaps xmm1, xmm7
mulsd xmm1, xmm9
cvtpd2ps xmm0, xmm1
cvtps2pd xmm3, xmm0
movaps xmm2, xmm8
xorps xmm2, xmm11
mulsd xmm2, xmm9
xorps xmm0, xmm0
cvtsd2ss xmm0, xmm2
cvtps2pd xmm12, xmm0
movaps xmm1, xmm13
mulsd xmm1, xmm7
movaps xmm0, xmm14
mulsd xmm0, xmm15
addsd xmm1, xmm0
cvtpd2ps xmm0, xmm1
cvtps2pd xmm11, xmm0
movsd xmm2, qword [rsp + 0x58]
subsd xmm2, qword [0x1400ae710]
movsd qword [rsp + 0x58], xmm2
movaps xmm6, xmmword [rsp + 0x20]
subsd xmm6, qword [0x1400ae708]
movaps xmmword [rsp + 0x20], xmm6
movsd xmm5, qword [rsp + 0x50]
subsd xmm5, qword [0x1400ae700]
movsd qword [rsp + 0x50], xmm5
movaps xmm0, xmm15
mulsd xmm0, xmm9
cvtpd2ps xmm0, xmm0
cvtps2pd xmm1, xmm0
mulsd xmm1, xmm5
mulsd xmm3, xmm6
addsd xmm1, xmm3
mulsd xmm4, xmm2
addsd xmm1, xmm4
movsd xmm7, qword [0x140073558]
maxsd xmm7, xmm1
mov rbx, qword [0x1400ae688]
xorps xmm6, xmm6
cvtsi2ss xmm6, dword [rbx + 0xc]
mulss xmm6, dword [0x1400719c4]
movss xmm0, dword [0x1400ae730]
mulss xmm0, dword [0x1400772e4]
divss xmm0, dword [0x140073570]
call sub.api_ms_win_crt_math_l1_1_0.dll_tanf
movaps xmm1, xmm6
divss xmm1, xmm0
cvtps2pd xmm5, xmm1
movaps xmm2, xmm14
mulsd xmm2, xmm10
movaps xmm0, xmm14
mulsd xmm0, xmm9
cvtpd2ps xmm0, xmm0
cvtps2pd xmm3, xmm0
movaps xmm1, xmm8
mulsd xmm1, xmm15
movsd xmm9, qword [rsp + 0x60]
movaps xmm0, xmm9
mulsd xmm0, xmm2
subsd xmm1, xmm0
cvtpd2ps xmm0, xmm1
cvtps2pd xmm4, xmm0
movaps xmm10, xmmword [rsp + 0x20]
mulsd xmm4, xmm10
mulsd xmm8, xmm9
movaps xmm0, xmm15
mulsd xmm0, xmm2
addsd xmm8, xmm0
cvtpd2ps xmm0, xmm8
cvtps2pd xmm1, xmm0
mulsd xmm1, qword [rsp + 0x50]
subsd xmm4, xmm1
mulsd xmm3, qword [rsp + 0x58]
addsd xmm4, xmm3
xorps xmm0, xmm0
cvtsi2ss xmm0, dword [rbx + 0x10]
mulss xmm0, dword [0x1400719c4]
cvtps2pd xmm3, xmm0
mulsd xmm4, xmm5
divsd xmm4, xmm7
subsd xmm3, xmm4
mulsd xmm13, xmm15
mulsd xmm14, xmm9
subsd xmm13, xmm14
cvtpd2ps xmm0, xmm13
cvtps2pd xmm9, xmm0
mulsd xmm9, qword [rsp + 0x50]
mulsd xmm11, xmm10
addsd xmm9, xmm11
mulsd xmm12, qword [rsp + 0x58]
addsd xmm9, xmm12
mulsd xmm9, xmm5
divsd xmm9, xmm7
cvtps2pd xmm0, xmm6
addsd xmm9, xmm0
xorps xmm6, xmm6
movss xmm7, dword [rsp + 0x48]
movss xmm8, dword [rsp + 0x4c]
movsd xmm11, qword [0x140078300]
jmp 0x14006872d
movsd xmm3, qword [rsp + 0x60]
xorps xmm4, xmm4
ucomisd xmm9, xmm4
jp 0x14006873d
je 0x1400687be
xorps xmm2, xmm2
cvtss2sd xmm2, xmm8
comisd xmm9, xmm2
jbe 0x140068789
movaps xmm0, xmm2
subsd xmm0, xmm9
xorps xmm0, xmm11
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
movd xmm0, esi
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
movss dword [rsp + 0x40], xmm1
addss xmm1, xmm8
movaps xmm0, xmm8
addss xmm0, xmm8
comiss xmm1, xmm0
jbe 0x140068789
movss dword [rsp + 0x40], xmm6
comisd xmm2, xmm9
jbe 0x1400687be
subsd xmm9, xmm2
xorps xmm10, xmm10
cvtsd2ss xmm10, xmm9
movd xmm0, esi
cvtdq2ps xmm0, xmm0
divss xmm10, xmm0
movaps xmm1, xmm10
addss xmm1, xmm8
comiss xmm6, xmm1
jbe 0x1400687c5
movaps xmm10, xmm6
jmp 0x1400687c5
movss xmm10, dword [rsp + 0x40]
ucomisd xmm3, xmm4
jp 0x1400687cd
je 0x140068841
xorps xmm2, xmm2
cvtss2sd xmm2, xmm7
comisd xmm3, xmm2
jbe 0x140068813
movaps xmm0, xmm2
subsd xmm0, xmm3
xorps xmm0, xmm11
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
movd xmm0, esi
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
movss dword [rsp + 0x44], xmm1
addss xmm1, xmm7
movaps xmm0, xmm7
addss xmm0, xmm7
comiss xmm1, xmm0
jbe 0x140068813
movss dword [rsp + 0x44], xmm6
comisd xmm2, xmm3
jbe 0x140068841
subsd xmm3, xmm2
cvtpd2ps xmm9, xmm3
movd xmm0, esi
cvtdq2ps xmm0, xmm0
divss xmm9, xmm0
movaps xmm1, xmm9
addss xmm1, xmm7
comiss xmm6, xmm1
jbe 0x140068848
movaps xmm9, xmm6
jmp 0x140068848
movss xmm9, dword [rsp + 0x44]
movaps xmm7, xmm10
movss xmm0, dword [0x1400719c8]
subss xmm7, xmm0
addss xmm10, xmm0
movaps xmm8, xmm9
subss xmm8, xmm0
addss xmm9, xmm0
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
xorps xmm0, xmm0
cvtsi2ss xmm0, eax
divss xmm0, dword [0x1400789c8]
subss xmm10, xmm7
mulss xmm10, xmm0
addss xmm10, xmm7
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
xorps xmm0, xmm0
cvtsi2ss xmm0, eax
divss xmm0, dword [0x1400789c8]
subss xmm9, xmm8
mulss xmm9, xmm0
addss xmm9, xmm8
cvttss2si eax, xmm9
xorps xmm1, xmm1
cvtsi2ss xmm1, eax
cvttss2si eax, xmm10
xorps xmm0, xmm0
cvtsi2ss xmm0, eax
call fcn.140001890
nop
mov rdx, qword [rdi + 0x18]
cmp rdx, 0xf
jbe 0x140068907
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x140068902
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14006896c
mov rcx, r8
call fcn.14006e39c
mov qword [rdi + 0x10], 0
mov qword [rdi + 0x18], r14
mov byte [rdi], 0
mov rcx, qword [rbp - 0x68]
xor rcx, rsp
call fcn.14006e7a0
lea r11, [rsp + 0x140]
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]
movaps xmm15, xmmword [r11 - 0xa0]
mov rsp, r11
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3