Function at 0x140060ae0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x48]
sub rsp, 0x110
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
mov rax, qword [0x140138040]
xor rax, rsp
mov qword [rbp - 0x58], rax
mov rsi, rdx
mov rdi, rcx
mov rbx, qword [0x1401765d0]
mov rax, qword [rbx + 0x40c8]
mov byte [rax + 0xcc], 1
mov r13, qword [rbx + 0x40c8]
movsxd r8, dword [r13 + 0x108]
mov rax, qword [r13 + 0x110]
mov r8d, dword [rax + r8*4 - 4]
xor edx, edx
call fcn.140006560
mov r14d, eax
movss xmm5, dword [rbx + 0x3968]
addss xmm5, xmm5
addss xmm5, dword [rbx + 0x3dd0]
movss xmm8, dword [r13 + 0x11c]
movaps xmm7, xmm8
addss xmm7, xmm5
movss xmm9, dword [r13 + 0x118]
movaps xmm6, xmm9
addss xmm6, dword [0x14012124c]
movss dword [rsp + 0x60], xmm9
movss dword [rsp + 0x64], xmm8
movss dword [rsp + 0x68], xmm6
movss dword [rsp + 0x6c], xmm7
movaps xmm4, xmm5
subss xmm4, dword [0x140121148]
addss xmm4, xmm8
movaps xmm3, xmm9
movss xmm2, dword [0x140121248]
addss xmm3, xmm2
movaps xmm1, xmm8
addss xmm1, dword [0x140121148]
subss xmm2, xmm5
addss xmm2, dword [0x140121178]
addss xmm2, xmm9
movss dword [rbp - 0x78], xmm2
movss dword [rbp - 0x74], xmm1
movss dword [rbp - 0x70], xmm3
movss dword [rbp - 0x6c], xmm4
subss xmm7, xmm8
subss xmm6, xmm9
movss dword [rsp + 0x50], xmm6
movss dword [rsp + 0x54], xmm7
movss xmm10, dword [0x1401212c0]
movaps xmm1, xmm10
lea rcx, [rsp + 0x50]
call fcn.140019460
mov r15, qword [r13 + 0x2b0]
mov rax, qword [0x1401765d0]
movss xmm6, dword [rax + 0x3968]
movss xmm2, dword [rax + 0x3dd0]
addss xmm6, xmm6
addss xmm6, xmm2
mov rbx, 0xffffffffffffffff
xorps xmm11, xmm11
xor r12d, r12d
movss xmm7, dword [0x140121104]
test rdi, rdi
je 0x140060d36
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], rdi
movss dword [rsp + 0x20], xmm10
movss xmm3, dword [0x140121298]
lea rdx, [rbp - 0x68]
mov rcx, qword [rax + 0x3dc8]
call fcn.14002b510
movss xmm0, dword [rbp - 0x64]
movss dword [rsp + 0x50], xmm9
mulss xmm6, xmm7
addss xmm6, xmm8
mulss xmm0, xmm7
subss xmm6, xmm0
movss dword [rsp + 0x54], xmm6
cmp byte [rdi], r12b
je 0x140060d36
mov rcx, rbx
nop dword [rax]
inc rcx
cmp byte [rdi + rcx], r12b
jne 0x140060ce0
add rcx, rdi
mov rax, qword [r15 + 0x38]
movups xmm0, xmmword [r15 + 0x60]
movups xmmword [rbp - 0x68], xmm0
mov byte [rsp + 0x48], r12b
movss dword [rsp + 0x40], xmm11
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], rdi
lea rcx, [rbp - 0x68]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0xffffffff
lea r9, [rsp + 0x50]
movss xmm2, dword [rax + 0x10]
mov rdx, r15
mov rcx, qword [rax + 8]
call fcn.14002b770
xor r9d, r9d
lea r8, [rbp - 0x78]
mov edx, r14d
lea rcx, [rsp + 0x60]
call fcn.140019210
test al, al
je 0x1400614dd
mov ecx, r14d
call fcn.140016810
lea edx, [r14 + 1]
mov dword [rsp + 0x20], r12d
lea r9, [rsp + 0x58]
lea r8, [rbp - 0x80]
lea rcx, [rbp - 0x78]
call fcn.140034d60
mov r15d, dword [0x140138098]
test al, al
jne 0x140060d8b
cmp byte [rsp + 0x58], r12b
je 0x140060f89
mov rax, qword [0x14011edf0]
mov qword [rsp + 0x50], rax
cmp byte [0x14011edf7], r12b
je 0x140060ed0
cmp r15d, 2
jl 0x140060e8e
movdqa xmm4, xmmword [0x1401217c0]
movdqa xmm2, xmmword [0x140121360]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1401213b0]
psubd xmm2, xmm0
andps xmm2, xmmword [0x140121430]
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x140121490]
movd xmm0, dword [rsp + 0x50]
xorps xmm2, xmm0
movd dword [rsp + 0x50], xmm2
movdqa xmm2, xmmword [0x140121380]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1401213b0]
psubd xmm2, xmm0
andps xmm2, xmmword [0x140121430]
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x140121490]
movd xmm0, dword [rsp + 0x54]
xorps xmm2, xmm0
movd dword [rsp + 0x54], xmm2
jmp 0x140060ed0
lea r9, [rsp + 0x50]
mov r8d, r12d
nop word [rax + rax]
mov eax, 0x4d4873ed
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x35
movzx eax, r8b
sub al, cl
add al, 0x30
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 8
jl 0x140060ea0
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x70], xmm1
lea rax, [rsp + 0x50]
mov r8, rbx
nop dword [rax]
inc r8
cmp byte [rax + r8], r12b
jne 0x140060ef0
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x60]
call fcn.140001450
nop
lea rcx, [rsp + 0x60]
mov rdi, qword [rsp + 0x60]
mov r14, qword [rsp + 0x78]
cmp r14, 0xf
cmova rcx, rdi
mov rax, qword [0x1401765d0]
mov rax, qword [rax + 0x40c8]
movsxd r8, dword [rax + 0x108]
mov rax, qword [rax + 0x110]
mov r8d, dword [rax + r8*4 - 4]
xor edx, edx
call fcn.140006560
xor edx, edx
mov ecx, eax
call fcn.14001a770
nop
cmp r14, 0xf
jbe 0x140060f89
lea rdx, [r14 + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x140060f81
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400611c1
mov rcx, rdi
call fcn.1400f6564
movss xmm8, dword [rsi]
movss xmm9, dword [rsi + 4]
movss xmm10, dword [rsi + 8]
xor eax, eax
mov dword [rsp + 0x6c], eax
mov rax, qword [0x14011edf0]
mov qword [rsp + 0x50], rax
cmp byte [0x14011edf7], 0
je 0x1400610f0
cmp r15d, 2
jl 0x1400610a9
movdqa xmm5, xmmword [0x1401217c0]
movdqa xmm3, xmmword [0x140121360]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm5
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm5
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1401213b0]
psubd xmm3, xmm0
andps xmm3, xmmword [0x140121430]
packuswb xmm3, xmm3
packuswb xmm3, xmm3
mov eax, dword [0x140121490]
movd xmm0, eax
paddb xmm3, xmm0
movd xmm1, dword [rsp + 0x50]
xorps xmm3, xmm1
movd dword [rsp + 0x50], xmm3
movdqa xmm2, xmmword [0x140121380]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm5
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm5
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1401213b0]
psubd xmm2, xmm0
andps xmm2, xmmword [0x140121430]
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
movd xmm1, dword [rsp + 0x54]
xorps xmm2, xmm1
movd dword [rsp + 0x54], xmm2
jmp 0x1400610f0
lea r9, [rsp + 0x50]
mov r8d, r12d
nop dword [rax]
nop word [rax + rax]
mov eax, 0x4d4873ed
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x35
movzx eax, r8b
sub al, cl
add al, 0x30
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 8
jl 0x1400610c0
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x70], xmm1
lea rax, [rsp + 0x50]
mov r8, rbx
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140061110
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x60]
call fcn.140001450
nop
lea r9, [rsp + 0x60]
mov rdi, qword [rsp + 0x60]
mov r14, qword [rsp + 0x78]
cmp r14, 0xf
cmova r9, rdi
mov rcx, qword [0x1401765d0]
mov eax, dword [rcx + 0x4bd0]
cmp dword [rcx + 0x4bc0], eax
jg 0x140061162
mov dword [rcx + 0x4ae8], r12d
xor r15b, r15b
jmp 0x140061196
mov rax, qword [rcx + 0x40c8]
movsxd r8, dword [rax + 0x108]
mov rax, qword [rax + 0x110]
mov r8d, dword [rax + r8*4 - 4]
xor edx, edx
mov rcx, r9
call fcn.140006560
mov edx, 0x141
mov ecx, eax
call fcn.14001ac80
movzx r15d, al
cmp r14, 0xf
jbe 0x1400611d0
lea rdx, [r14 + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x1400611c8
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400611c8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rdi
call fcn.1400f6564
test r15b, r15b
je 0x14006134f
movsd xmm0, qword [0x14011edd0]
movsd qword [rbp - 0x68], xmm0
movzx eax, byte [0x14011edd8]
mov byte [rbp - 0x68], 0x23
xor byte [rbp - 0x67], 0x31
xor byte [rbp - 0x66], 0x32
xor byte [rbp - 0x65], 0x33
xor byte [rbp - 0x64], 0x34
xor byte [rbp - 0x63], 0x35
xor byte [rbp - 0x62], 0x36
xor byte [rbp - 0x61], 0x37
xor al, 0x38
mov byte [rbp - 0x60], al
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x70], xmm1
lea rax, [rbp - 0x68]
inc rbx
cmp byte [rax + rbx], 0
jne 0x140061227
mov r8, rbx
lea rdx, [rbp - 0x68]
lea rcx, [rsp + 0x60]
call fcn.140001450
nop
lea rcx, [rsp + 0x60]
cmp qword [rsp + 0x78], 0xf
cmova rcx, qword [rsp + 0x60]
movss dword [rbp - 0x68], xmm8
movss dword [rbp - 0x64], xmm9
movss dword [rbp - 0x60], xmm10
mov dword [rbp - 0x5c], 0x3f800000
xor r9d, r9d
mov r8d, 0x400102
lea rdx, [rbp - 0x68]
call fcn.140040d60
test al, al
je 0x140061294
movss xmm8, dword [rbp - 0x68]
movss xmm9, dword [rbp - 0x64]
movss xmm10, dword [rbp - 0x60]
mov rdx, qword [rsp + 0x78]
cmp rdx, 0xf
jbe 0x1400612d4
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400612cf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400612cf
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400f6564
movdqa xmm0, xmmword [0x140121320]
movdqu xmmword [rsp + 0x70], xmm0
mov byte [rsp + 0x60], 0
movss dword [rsi], xmm8
movss dword [rsi + 4], xmm9
movss dword [rsi + 8], xmm10
mov rbx, qword [0x1401765d0]
mov rcx, qword [rbx + 0x40c8]
cmp qword [rbx + 0x4c00], rcx
jne 0x140061333
cmp byte [rbx + 0x4c99], 0
je 0x140061333
cmp dword [rbx + 0x4c10], 0
jne 0x140061333
mov eax, dword [rbx + 0x4c9c]
and eax, 0xfffffff2
or eax, 2
mov dword [rbx + 0x4c9c], eax
test dword [rcx + 0x14], 0x1000000
je 0x140061343
mov byte [rbx + 0x401e], 1
call fcn.140015330
mov byte [rbx + 0x401e], 0
mov rax, qword [0x1401765d0]
mov rcx, qword [rax + 0x40c8]
dec dword [rcx + 0x108]
mov rax, qword [0x140175558]
movss xmm0, dword [rax + 0x4e0]
movss xmm1, dword [0x14012120c]
mulss xmm0, xmm1
cvttss2si ebx, xmm0
or ebx, 0xff00
shl ebx, 8
movss xmm0, dword [rax + 0x4dc]
mulss xmm0, xmm1
cvttss2si ecx, xmm0
or ebx, ecx
shl ebx, 8
movss xmm0, dword [rax + 0x4d8]
mulss xmm0, xmm1
cvttss2si eax, xmm0
or ebx, eax
mov rdi, qword [r13 + 0x2b0]
movss xmm0, dword [rbp - 0x70]
mov dword [rsp + 0x20], r12d
movaps xmm3, xmm11
mov rcx, rdi
test byte [rdi + 0x30], 1
je 0x140061410
subss xmm0, xmm7
movss dword [rsp + 0x50], xmm0
movss xmm1, dword [rbp - 0x6c]
subss xmm1, xmm7
movss dword [rsp + 0x54], xmm1
movss xmm0, dword [rbp - 0x78]
addss xmm0, xmm7
movss dword [rbp - 0x68], xmm0
movss xmm1, dword [rbp - 0x74]
addss xmm1, xmm7
movss dword [rbp - 0x64], xmm1
lea r8, [rsp + 0x50]
lea rdx, [rbp - 0x68]
jmp 0x140061456
subss xmm0, dword [0x140121100]
movss dword [rbp - 0x68], xmm0
movss xmm0, dword [rbp - 0x6c]
subss xmm0, dword [0x140121100]
movss dword [rbp - 0x64], xmm0
movss xmm1, dword [rbp - 0x78]
addss xmm1, xmm7
movss dword [rsp + 0x50], xmm1
movss xmm0, dword [rbp - 0x74]
addss xmm0, xmm7
movss dword [rsp + 0x54], xmm0
lea r8, [rbp - 0x68]
lea rdx, [rsp + 0x50]
call fcn.1400259c0
movss xmm0, dword [0x140121158]
movss dword [rsp + 0x28], xmm0
mov dword [rsp + 0x20], 1
mov r9d, ebx
mov r8d, dword [rdi + 0x50]
mov rdx, qword [rdi + 0x58]
mov rcx, rdi
call fcn.140023d20
mov dword [rdi + 0x50], r12d
movss xmm0, dword [rsi]
movss dword [rsp + 0x60], xmm0
movss xmm1, dword [rsi + 4]
movss dword [rsp + 0x64], xmm1
movss xmm0, dword [rsi + 8]
movss dword [rsp + 0x68], xmm0
mov dword [rsp + 0x6c], 0x3f800000
lea rcx, [rsp + 0x60]
call fcn.1400069b0
mov r9d, eax
mov dword [rsp + 0x28], r12d
movss dword [rsp + 0x20], xmm11
lea r8, [rbp - 0x70]
lea rdx, [rbp - 0x78]
mov rcx, qword [r13 + 0x2b0]
call fcn.140025e90
mov rcx, qword [rbp - 0x58]
xor rcx, rsp
call fcn.1400f62c0
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x50]
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]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret