Function at 0x140010120
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
lea rbp, [rax - 0x98]
sub rsp, 0x190
movaps xmmword [rax - 0x18], xmm8
mov rax, qword [0x14009e040]
xor rax, rsp
mov qword [rbp + 0x70], rax
mov ebx, edx
mov edi, ecx
mov rax, qword [0x1400ff1a8]
movss xmm8, dword [rax + 0x10]
movsd xmm0, qword [0x140093038]
movsd qword [rsp + 0x40], xmm0
movzx eax, word [0x140093040]
mov word [rsp + 0x48], ax
cmp byte [0x140093041], 0
je 0x1400101b7
mov byte [rsp + 0x40], 0x20
xor byte [rsp + 0x41], 0x36
xor byte [rsp + 0x42], 0x37
xor byte [rsp + 0x43], 0x38
xor byte [rsp + 0x44], 0x39
xor byte [rsp + 0x45], 0x3a
xor byte [rsp + 0x46], 0x3b
xor byte [rsp + 0x47], 0x3c
xor byte [rsp + 0x48], 0x3d
xor byte [rsp + 0x49], 0x3e
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x50]
call fcn.140003c20
mov rsi, rax
mov edx, ebx
lea rcx, [rbp + 0x30]
call fcn.14000e6b0
nop
movsd xmm0, qword [0x1400930e8]
movsd qword [rsp + 0x40], xmm0
mov ecx, dword [0x1400930f0]
mov dword [rsp + 0x48], ecx
movzx eax, word [0x1400930f4]
mov word [rsp + 0x4c], ax
cmp byte [0x1400930f5], 0
je 0x1400103a0
xor r8d, r8d
cmp dword [0x14009e010], 2
jl 0x140010360
movdqa xmm5, xmmword [0x140095a30]
movdqa xmm2, xmmword [0x1400956b0]
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 [0x140095740]
psubd xmm2, xmm0
movdqa xmm4, xmmword [0x140095770]
andps xmm2, xmm4
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x1400957c0]
movd xmm0, dword [0x1400930e8]
xorps xmm2, xmm0
movd dword [rsp + 0x40], xmm2
movdqa xmm2, xmmword [0x1400956d0]
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 [0x140095740]
psubd xmm2, xmm0
andps xmm2, xmm4
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x1400957c0]
movd xmm0, dword [rsp + 0x44]
xorps xmm2, xmm0
movd dword [rsp + 0x44], xmm2
movdqa xmm3, xmmword [0x1400956e0]
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 [0x140095740]
psubd xmm3, xmm0
andps xmm3, xmm4
packuswb xmm3, xmm3
packuswb xmm3, xmm3
paddb xmm3, xmmword [0x1400957c0]
movd xmm0, ecx
xorps xmm3, xmm0
movd dword [rsp + 0x48], xmm3
mov r8d, 0xc
mov eax, r8d
lea r9, [rsp + 0x40]
add r9, rax
nop dword [rax + rax]
mov eax, 0x4bda12f7
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x36
movzx eax, r8b
sub al, cl
add al, 0x35
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0xe
jl 0x140010370
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x70]
call fcn.140003c20
mov rbx, rax
mov edx, edi
lea rcx, [rbp + 0x10]
call fcn.14000e6b0
nop
movzx ecx, word [0x1400931b8]
mov word [rsp + 0x40], cx
cmp byte [0x1400931b9], 0
je 0x1400103dc
mov byte [rsp + 0x40], 0x5b
xor byte [rsp + 0x41], 0x36
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x70]
call fcn.140003c20
nop
lea r9, [rbp + 0x10]
mov r8, rax
lea rcx, [rbp - 0x10]
call fcn.14000eb50
nop
mov r9, rbx
lea r8, [rbp - 0x10]
lea rcx, [rbp - 0x30]
call fcn.14000eb50
nop
lea r9, [rbp + 0x30]
lea r8, [rbp - 0x30]
lea rcx, [rsp + 0x50]
call fcn.14000eb50
nop
mov r9, rsi
lea r8, [rsp + 0x50]
lea rcx, [rbp + 0x50]
call fcn.14000eb50
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x140010474
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001046e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001046e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400514b4
nop
mov rdx, qword [rbp - 0x18]
cmp rdx, 0xf
jbe 0x1400104b3
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400104ad
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400104ad
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400514b4
nop
mov rdx, qword [rbp + 8]
cmp rdx, 0xf
jbe 0x1400104f2
inc rdx
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400104ec
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400104ec
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400514b4
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 0xf
jbe 0x140010531
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001052c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001052c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400514b4
movdqa xmm0, xmmword [0x1400955a0]
movdqu xmmword [rbp - 0x80], xmm0
mov byte [rsp + 0x70], 0
mov rdx, qword [rbp + 0x28]
cmp rdx, 0xf
jbe 0x140010589
inc rdx
mov rcx, qword [rbp + 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001057c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001057c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400514b4
movdqa xmm0, xmmword [0x1400955a0]
mov rdx, qword [rbp - 0x58]
cmp rdx, 0xf
jbe 0x1400105cf
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400105c2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400105c2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400514b4
movdqa xmm0, xmmword [0x1400955a0]
movdqu xmmword [rbp - 0x60], xmm0
mov byte [rbp - 0x70], 0
mov rdx, qword [rbp + 0x48]
cmp rdx, 0xf
jbe 0x14001061e
inc rdx
mov rcx, qword [rbp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140010611
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140010611
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400514b4
movdqa xmm0, xmmword [0x1400955a0]
mov rdx, qword [rbp - 0x38]
cmp rdx, 0xf
jbe 0x140010664
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140010657
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140010657
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400514b4
movdqa xmm0, xmmword [0x1400955a0]
movdqu xmmword [rbp - 0x40], xmm0
mov byte [rbp - 0x50], 0
lea rax, [rbp + 0x50]
cmp qword [rbp + 0x68], 0xf
cmova rax, qword [rbp + 0x50]
mov rbx, qword [0x1400ff1a8]
test rax, rax
jne 0x14001068c
xorps xmm0, xmm0
jmp 0x1400106eb
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], rax
movss xmm0, dword [0x140095548]
movss dword [rsp + 0x20], xmm0
movss xmm3, dword [0x140095534]
movss xmm2, dword [rbx + 0x3dc0]
lea rdx, [rsp + 0x40]
mov rcx, qword [rbx + 0x3db8]
call fcn.1400433d0
movss xmm0, dword [rsp + 0x40]
addss xmm0, dword [0x140095404]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subss xmm8, xmm0
mulss xmm8, dword [0x1400953d4]
movss dword [rsp + 0x40], xmm8
mov dword [rsp + 0x44], 0x41200000
mov rax, qword [rbx + 0x4bd0]
lea r8, str.Background
xor edx, edx
mov rcx, qword [rax]
call fcn.14001e640
mov r10, rax
lea r9, [rbp + 0x50]
cmp qword [rbp + 0x68], 0xf
cmova r9, qword [rbp + 0x50]
movdqa xmm0, xmmword [0x140095850]
movups xmmword [rsp + 0x50], xmm0
lea rcx, [rsp + 0x50]
call fcn.14001a160
mov byte [rsp + 0x28], 1
mov r8d, eax
lea rdx, [rsp + 0x40]
mov rcx, r10
call fcn.14003f7f0
nop
mov rdx, qword [rbp + 0x68]
cmp rdx, 0xf
jbe 0x14001079c
inc rdx
mov rcx, qword [rbp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140010797
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140010797
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400514b4
mov rcx, qword [rbp + 0x70]
xor rcx, rsp
call fcn.140051210
lea r11, [rsp + 0x190]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
movaps xmm8, xmmword [r11 - 0x10]
mov rsp, r11
pop rbp
ret