Function at 0x140009be0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
push rbp
push rdi
push r12
push r13
push r15
lea rbp, [rax - 0x48]
sub rsp, 0x120
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
mov rax, qword [0x140056040]
xor rax, rsp
mov qword [rbp - 0x60], rax
mov ecx, 0xb74494
call fcn.1400138c0
mov ecx, eax
mov ebx, eax
call fcn.1400138c0
lea ecx, [rbx + 4]
mov r12d, eax
call fcn.1400138c0
mov ecx, 0xb7cd98
mov r15d, eax
call fcn.1400138c0
lea ecx, [rax + 0x14]
call fcn.1400138c0
mov rcx, qword [0x14007da10]
xor r13d, r13d
mov qword [rsp + 0x68], rcx
mov ebx, eax
mov dword [rbp - 0x6c], 0
lea ecx, [rax + 0x30]
mov qword [rsp + 0x60], 4
mov qword [rsp + 0x58], rcx
lea rax, [rbp - 0x6c]
lea rcx, [rsp + 0x50]
mov dword [rsp + 0x70], 0x1000000
mov qword [rsp + 0x74], r13
mov qword [rsp + 0x7c], r13
mov qword [rbp - 0x7c], r13
mov dword [rbp - 0x74], r13d
mov qword [rsp + 0x50], rax
call fcn.140013550
mov rax, qword [0x14007da10]
lea ecx, [rbx + 0x34]
movss xmm6, dword [rbp - 0x6c]
mov qword [rsp + 0x68], rax
lea rax, [rbp - 0x6c]
mov qword [rsp + 0x58], rcx
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x50], rax
mov dword [rbp - 0x6c], r13d
mov qword [rsp + 0x60], 4
mov dword [rsp + 0x70], 0x1000000
mov qword [rsp + 0x74], r13
mov qword [rsp + 0x7c], r13
mov qword [rbp - 0x7c], r13
mov dword [rbp - 0x74], r13d
call fcn.140013550
mov rax, qword [0x14007da10]
lea ecx, [rbx + 0x38]
movss xmm7, dword [rbp - 0x6c]
mov qword [rsp + 0x68], rax
lea rax, [rbp - 0x6c]
mov qword [rsp + 0x58], rcx
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x50], rax
mov dword [rbp - 0x6c], r13d
mov qword [rsp + 0x60], 4
mov dword [rsp + 0x70], 0x1000000
mov qword [rsp + 0x74], r13
mov qword [rsp + 0x7c], r13
mov qword [rbp - 0x7c], r13
mov dword [rbp - 0x74], r13d
call fcn.140013550
movss xmm9, dword [rbp - 0x6c]
xor bl, bl
movdqa xmm11, xmmword [0x14004fa30]
movss xmm8, dword [0x14004f7e4]
movss xmm10, dword [0x14004f798]
movsd xmm12, qword [0x14004f750]
mov qword [rsp + 0x150], rsi
mov qword [rsp + 0x158], r14
nop word [rax + rax]
mov rax, qword [0x14007da10]
mov qword [rsp + 0x68], rax
lea rax, [rbp - 0x70]
movzx edi, bl
mov byte [rbp - 0x70], r13b
mov qword [rsp + 0x60], 1
mov dword [rsp + 0x70], 0x1000000
lea ecx, [rdi + r15]
mov qword [rsp + 0x74], r13
mov qword [rsp + 0x58], rcx
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x7c], r13
mov qword [rbp - 0x7c], r13
mov dword [rbp - 0x74], r13d
mov qword [rsp + 0x50], rax
call fcn.140013550
movzx eax, byte [rbp - 0x70]
dec al
cmp al, 0x7e
ja 0x14000a032
lea ecx, [r12 + 0x14]
imul esi, edi, 0xa18
add ecx, esi
call fcn.1400138c0
mov rcx, qword [0x14007da10]
mov edi, eax
mov qword [rsp + 0x68], rcx
lea rax, [rbp - 0x6c]
lea rcx, [rsp + 0x50]
mov dword [rbp - 0x6c], r13d
mov qword [rsp + 0x60], 4
mov dword [rsp + 0x70], 0x1000000
mov qword [rsp + 0x74], r13
mov qword [rsp + 0x7c], r13
mov qword [rbp - 0x7c], r13
mov dword [rbp - 0x74], r13d
mov qword [rsp + 0x58], 0xb6f980
mov qword [rsp + 0x50], rax
call fcn.140013550
mov ecx, dword [rbp - 0x6c]
add ecx, 0x14
call fcn.1400138c0
cmp eax, edi
je 0x14000a032
mov rax, qword [0x14007da10]
lea r14d, [rdi + 0x30]
mov qword [rsp + 0x68], rax
lea rcx, [rsp + 0x50]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x60], 0xc
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x70], 0x1000000
mov qword [rsp + 0x74], r13
mov qword [rsp + 0x7c], r13
mov qword [rbp - 0x7c], r13
mov dword [rbp - 0x74], r13d
mov qword [rsp + 0x58], r14
call fcn.140013550
movss xmm0, dword [rsp + 0x40]
movss xmm1, dword [rsp + 0x38]
subss xmm0, xmm9
movss xmm2, dword [rsp + 0x3c]
subss xmm1, xmm6
subss xmm2, xmm7
mulss xmm0, xmm0
mulss xmm2, xmm2
mulss xmm1, xmm1
addss xmm2, xmm1
addss xmm2, xmm0
xorps xmm0, xmm0
ucomiss xmm0, xmm2
ja 0x140009f06
xorps xmm0, xmm0
sqrtss xmm0, xmm2
jmp 0x140009f0e
movaps xmm0, xmm2
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
comiss xmm8, xmm0
jbe 0x14000a032
xorps xmm0, xmm0
addss xmm6, xmm10
cvtss2sd xmm0, xmm9
mov rcx, r14
movaps xmm1, xmm6
addss xmm7, xmm10
addsd xmm0, xmm12
cvtpd2ps xmm9, xmm0
call fcn.140013b00
lea ecx, [rdi + 0x34]
movaps xmm1, xmm7
call fcn.140013b00
lea ecx, [rdi + 0x38]
movaps xmm1, xmm9
call fcn.140013b00
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov r8d, eax
mov qword [rsp + 0x60], 4
mov eax, 0x88888889
mov dword [rsp + 0x70], r13d
imul r8d
mov rax, qword [0x14007da10]
add edx, r8d
mov qword [rsp + 0x68], rax
sar edx, 7
lea rax, [rbp - 0x68]
mov ecx, edx
mov qword [rsp + 0x75], r13
shr ecx, 0x1f
add edx, ecx
mov qword [rsp + 0x7d], r13
imul ecx, edx, 0xf0
mov qword [rbp - 0x7b], r13
mov word [rbp - 0x73], r13w
mov byte [rbp - 0x71], r13b
mov byte [rsp + 0x74], 1
sub r8d, ecx
mov qword [rsp + 0x50], rax
lea ecx, [r12 + 0x4c0]
mov dword [rbp - 0x68], r8d
add ecx, esi
mov qword [rsp + 0x58], rcx
lea rcx, [rsp + 0x50]
call fcn.140013550
mov r9, r13
mov dword [rsp + 0x30], 0xa6e945
movdqu xmmword [rsp + 0x20], xmm11
mov byte [rsp + 0x34], 1
mov r8d, r9d
lea edx, [r9 + 0x10]
xor dl, byte [rsp + r9 + 0x20]
and r8d, 7
movzx eax, dl
mov ecx, 8
sub ecx, r8d
shl al, cl
movzx ecx, r8b
shr dl, cl
or al, dl
mov byte [rsp + r9 + 0x20], al
inc r9
cmp r9, 0x13
jb 0x140009ff0
lea rcx, [rsp + 0x20]
mov byte [rsp + 0x34], r13b
call fcn.14000a0a0
inc bl
cmp bl, 0x6e
jb 0x140009da0
mov r14, qword [rsp + 0x158]
mov rsi, qword [rsp + 0x150]
mov rcx, qword [rbp - 0x60]
xor rcx, rsp
call fcn.140044810
lea r11, [rsp + 0x120]
mov rbx, qword [r11 + 0x40]
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]
mov rsp, r11
pop r15
pop r13
pop r12
pop rdi
pop rbp
ret