Function at 0x14001f040
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], xmm7
mov rax, qword [0x1400ac040]
xor rax, rsp
mov qword [rbp + 0x70], rax
mov ebx, edx
mov edi, ecx
mov rax, qword [0x14010d190]
movss xmm7, dword [rax + 0x10]
movsd xmm0, qword [0x14009ff78]
movsd qword [rsp + 0x40], xmm0
movzx eax, word [0x14009ff80]
mov word [rsp + 0x48], ax
cmp byte [0x14009ff81], 0
je 0x14001f0d5
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.140003be0
mov rsi, rax
mov edx, ebx
lea rcx, [rbp + 0x30]
call fcn.14000c840
nop
movsd xmm0, qword [0x14009fda0]
movsd qword [rsp + 0x40], xmm0
mov ecx, dword [0x14009fda8]
mov dword [rsp + 0x48], ecx
movzx ecx, word [0x14009fdac]
mov word [rsp + 0x4c], cx
cmp byte [0x14009fdad], 0
je 0x14001f260
xor r8d, r8d
cmp dword [0x1400ac010], 2
jl 0x14001f219
movdqa xmm4, xmmword [0x1400a3220]
movdqa xmm2, xmmword [0x1400a2b30]
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 [0x1400a2b90]
psubd xmm2, xmm0
andps xmm2, xmmword [0x1400a2be0]
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x1400a2d30]
movd xmm0, dword [0x14009fda0]
xorps xmm2, xmm0
movd dword [rsp + 0x40], xmm2
movdqa xmm2, xmmword [0x1400a2b80]
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 [0x1400a2b90]
psubd xmm2, xmm0
andps xmm2, xmmword [0x1400a2be0]
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x1400a2d30]
movd xmm0, dword [rsp + 0x44]
xorps xmm2, xmm0
movd dword [rsp + 0x44], xmm2
mov r8d, 8
movsxd rax, r8d
lea r9, [rsp + 0x40]
add r9, rax
nop dword [rax]
nop dword [rax + rax]
mov eax, 0x5397829d
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x31
movzx eax, r8b
sub al, cl
add al, 0x35
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0xe
jl 0x14001f230
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x70]
call fcn.140003be0
mov rbx, rax
mov edx, edi
lea rcx, [rbp + 0x10]
call fcn.14000c840
nop
movzx ecx, word [0x14009ff94]
mov word [rsp + 0x40], cx
cmp byte [0x14009ff95], 0
je 0x14001f29c
mov byte [rsp + 0x40], 0x5b
xor byte [rsp + 0x41], 0x36
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x70]
call fcn.140003be0
nop
lea r9, [rbp + 0x10]
mov r8, rax
lea rcx, [rbp - 0x10]
call fcn.14000cd80
nop
mov r9, rbx
lea r8, [rbp - 0x10]
lea rcx, [rbp - 0x30]
call fcn.14000cd80
nop
lea r9, [rbp + 0x30]
lea r8, [rbp - 0x30]
lea rcx, [rsp + 0x50]
call fcn.14000cd80
nop
mov r9, rsi
lea r8, [rsp + 0x50]
lea rcx, [rbp + 0x50]
call fcn.14000cd80
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x14001f334
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001f32e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001f32e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14005dcd4
nop
mov rdx, qword [rbp - 0x18]
cmp rdx, 0xf
jbe 0x14001f373
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001f36d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001f36d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14005dcd4
nop
mov rdx, qword [rbp + 8]
cmp rdx, 0xf
jbe 0x14001f3b2
inc rdx
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001f3ac
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001f3ac
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14005dcd4
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 0xf
jbe 0x14001f3f1
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001f3ec
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001f3ec
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14005dcd4
movdqa xmm0, xmmword [0x1400a2ad0]
movdqu xmmword [rbp - 0x80], xmm0
mov byte [rsp + 0x70], 0
mov rdx, qword [rbp + 0x28]
cmp rdx, 0xf
jbe 0x14001f449
inc rdx
mov rcx, qword [rbp + 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001f43c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001f43c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14005dcd4
movdqa xmm0, xmmword [0x1400a2ad0]
mov rdx, qword [rbp - 0x58]
cmp rdx, 0xf
jbe 0x14001f48f
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001f482
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001f482
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14005dcd4
movdqa xmm0, xmmword [0x1400a2ad0]
movdqu xmmword [rbp - 0x60], xmm0
mov byte [rbp - 0x70], 0
mov rdx, qword [rbp + 0x48]
cmp rdx, 0xf
jbe 0x14001f4de
inc rdx
mov rcx, qword [rbp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001f4d1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001f4d1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14005dcd4
movdqa xmm0, xmmword [0x1400a2ad0]
mov rdx, qword [rbp - 0x38]
cmp rdx, 0xf
jbe 0x14001f524
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001f517
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001f517
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14005dcd4
movdqa xmm0, xmmword [0x1400a2ad0]
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 [0x14010d190]
test rax, rax
jne 0x14001f54c
xorps xmm0, xmm0
jmp 0x14001f5ab
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], rax
movss xmm0, dword [0x1400a2a6c]
movss dword [rsp + 0x20], xmm0
movss xmm3, dword [0x1400a2a58]
movss xmm2, dword [rbx + 0x3dc0]
lea rdx, [rsp + 0x40]
mov rcx, qword [rbx + 0x3db8]
call fcn.140051ba0
movss xmm0, dword [rsp + 0x40]
addss xmm0, dword [0x1400a2938]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subss xmm7, xmm0
mulss xmm7, dword [0x1400a2900]
movss dword [rsp + 0x40], xmm7
mov dword [rsp + 0x44], 0x41200000
mov rax, qword [rbx + 0x4bd0]
lea r8, str.Background
xor edx, edx
mov rcx, qword [rax]
call fcn.14002cb40
mov r10, rax
lea r9, [rbp + 0x50]
cmp qword [rbp + 0x68], 0xf
cmova r9, qword [rbp + 0x50]
movdqa xmm0, xmmword [0x1400a31f0]
movups xmmword [rsp + 0x50], xmm0
lea rcx, [rsp + 0x50]
call fcn.140028670
mov byte [rsp + 0x28], 1
mov r8d, eax
lea rdx, [rsp + 0x40]
mov rcx, r10
call fcn.14004dfc0
nop
mov rdx, qword [rbp + 0x68]
cmp rdx, 0xf
jbe 0x14001f659
inc rdx
mov rcx, qword [rbp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001f654
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001f654
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14005dcd4
mov rcx, qword [rbp + 0x70]
xor rcx, rsp
call fcn.14005da30
lea r11, [rsp + 0x190]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
movaps xmm7, xmmword [r11 - 0x10]
mov rsp, r11
pop rbp
ret