Function at 0x140005450
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
push r14
push r15
lea rbp, [rax - 0x28]
sub rsp, 0x110
movaps xmmword [rax - 0x28], xmm6
movaps xmmword [rax - 0x38], xmm7
movaps xmmword [rax - 0x48], xmm8
mov rax, qword [0x140142f00]
xor rax, rsp
mov qword [rbp - 0x30], rax
xor r15d, r15d
mov rax, qword [0x1401507e8]
mov rax, qword [rax + 0x40b0]
lea r8, str.Foreground
mov edx, 1
mov rcx, qword [rax]
call fcn.14001e0a0
mov r14, rax
mov rcx, qword [0x1401507e8]
cvttss2si edx, dword [rcx + 0xd8]
lea rcx, [rsp + 0x70]
call fcn.140016ae0
nop
movups xmm0, xmmword [0x140126b60]
movups xmmword [rsp + 0x50], xmm0
movsd xmm0, qword [0x140126b70]
movsd qword [rsp + 0x60], xmm0
mov eax, dword [0x140126b78]
mov dword [rsp + 0x68], eax
movzx eax, byte [0x140126b7c]
mov byte [rsp + 0x6c], al
mov r8d, r15d
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x14000562f
movdqa xmm4, xmmword [0x14012c8a0]
movdqa xmm3, xmmword [0x14012ce20]
movdqa xmm5, xmmword [0x14012c9a0]
movdqa xmm0, xmmword [0x14012ca10]
movdqa xmmword [rbp - 0x70], xmm0
lea rcx, [rsp + 0x54]
movdqa xmm6, xmmword [0x14012c9d0]
mov edx, dword [rbp - 0x70]
movd xmm2, r8d
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [r8 + 4]
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x18
jl 0x140005540
cmp r8d, 0x1d
jge 0x140005675
movsxd rax, r8d
lea r9, [rsp + 0x50]
add r9, rax
nop word [rax + rax]
mov eax, 0x92492493
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 1
sub al, dl
movsx eax, al
imul ecx, eax, 0x38
add cl, r8b
xor byte [r9], cl
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x1d
jl 0x140005640
lea rax, [rsp + 0x50]
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [rax + rbx], 0
jne 0x140005681
mov r8, qword [rbp - 0x80]
mov rcx, qword [rbp - 0x78]
mov rax, rcx
sub rax, r8
cmp rbx, rax
ja 0x140005733
lea rax, [r8 + rbx]
mov qword [rbp - 0x80], rax
lea rdi, [rsp + 0x70]
cmp rcx, 0xf
cmova rdi, qword [rsp + 0x70]
lea rax, [rsp + 0x50]
add rax, rbx
cmp rax, rdi
jbe 0x1400056ef
lea rax, [rdi + r8]
lea rcx, [rsp + 0x50]
cmp rcx, rax
ja 0x1400056ef
lea rax, [rsp + 0x50]
cmp rdi, rax
ja 0x1400056e2
mov rsi, r15
jmp 0x1400056f2
lea rax, [rsp + 0x50]
mov rsi, rdi
sub rsi, rax
jmp 0x1400056f2
mov rsi, rbx
inc r8
lea rcx, [rdi + rbx]
mov rdx, rdi
call sub.VCRUNTIME140.dll_memmove
mov r8, rsi
lea rdx, [rsp + 0x50]
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
mov r8, rbx
sub r8, rsi
lea rax, [rsi + rbx]
lea rdx, [rsp + 0x50]
add rdx, rax
lea rcx, [rdi + rsi]
call sub.VCRUNTIME140.dll_memcpy
lea rax, [rsp + 0x70]
jmp 0x140005758
mov qword [rsp + 0x28], rbx
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
xor r9d, r9d
movzx r8d, byte [rsp + 0x40]
mov rdx, rbx
lea rcx, [rsp + 0x70]
call fcn.1400187b0
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x50], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x60], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x50], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rbp - 0x78]
cmp rdx, 0xf
jbe 0x1400057c4
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400057bf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400057bf
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401004e0
movdqa xmm0, xmmword [0x14012c850]
movdqu xmmword [rbp - 0x80], xmm0
mov byte [rsp + 0x70], 0
lea rcx, [rbp - 0x60]
cmp qword [rbp - 0x48], 0xf
cmova rcx, qword [rbp - 0x60]
mov rax, qword [0x1401507e8]
movss xmm6, dword [rax + 0x3c18]
xorps xmm8, xmm8
test rcx, rcx
jne 0x140005801
xorps xmm7, xmm7
jmp 0x140005859
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], rcx
movss xmm0, dword [0x14012c7ec]
movss dword [rsp + 0x20], xmm0
movss xmm3, dword [0x14012c7d0]
movaps xmm2, xmm6
lea rdx, [rsp + 0x48]
mov rcx, qword [rax + 0x3c10]
call fcn.14003fda0
movss xmm0, dword [rsp + 0x48]
addss xmm0, dword [0x14012c66c]
cvttss2si eax, xmm0
movd xmm7, eax
cvtdq2ps xmm7, xmm7
movss xmm6, dword [rsp + 0x4c]
movdqa xmm0, xmmword [0x14012cb40]
movups xmmword [rbp - 0x70], xmm0
movdqa xmm1, xmmword [0x14012cdc0]
movups xmmword [rbp - 0x40], xmm1
lea rcx, [rbp - 0x70]
call fcn.14001b0d0
movss xmm0, dword [0x14012c76c]
addss xmm6, xmm0
addss xmm6, xmm0
addss xmm7, xmm0
addss xmm7, xmm0
movss dword [rsp + 0x48], xmm7
movss dword [rsp + 0x4c], xmm6
mov dword [rbp - 0x70], 0x41a00000
mov dword [rbp - 0x6c], 0x41a00000
mov dword [rsp + 0x28], r15d
movss dword [rsp + 0x20], xmm8
mov r9d, eax
lea r8, [rsp + 0x48]
lea rdx, [rbp - 0x70]
mov rcx, r14
call fcn.14003b9d0
lea r9, [rbp - 0x60]
cmp qword [rbp - 0x48], 0xf
cmova r9, qword [rbp - 0x60]
lea rcx, [rbp - 0x40]
call fcn.14001b0d0
mov dword [rbp - 0x70], 0x41f00000
mov dword [rbp - 0x6c], 0x41f00000
mov r8d, eax
lea rdx, [rbp - 0x70]
mov rcx, r14
call fcn.14003c1b0
cmp byte [0x1401453cb], 0
je 0x1400059ed
mov rax, qword [0x1401507e8]
mov rax, qword [rax + 0x40b0]
lea r8, str.Background
xor edx, edx
mov rcx, qword [rax]
call fcn.14001e0a0
mov rbx, rax
movdqa xmm0, xmmword [0x14012cdc0]
movups xmmword [rbp - 0x40], xmm0
lea rcx, [rbp - 0x40]
call fcn.14001b0d0
mov edi, eax
movd xmm2, dword [0x1401453d0]
cvtdq2ps xmm2, xmm2
mov eax, dword [0x140150b84]
cdq
sub eax, edx
sar eax, 1
movd xmm1, eax
cvtdq2ps xmm1, xmm1
mov eax, dword [0x140150b78]
cdq
sub eax, edx
sar eax, 1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rbp - 0x70], xmm0
movss dword [rbp - 0x6c], xmm1
test edi, 0xff000000
je 0x1400059ed
movss xmm0, dword [0x14012c634]
comiss xmm0, xmm2
ja 0x1400059ed
subss xmm2, xmm0
mov dword [rsp + 0x28], 0xfe
movss xmm0, dword [0x14012c738]
movss dword [rsp + 0x20], xmm0
xorps xmm3, xmm3
lea rdx, [rbp - 0x70]
mov rcx, rbx
call fcn.14003aed0
movss xmm0, dword [0x14012c670]
movss dword [rsp + 0x28], xmm0
mov dword [rsp + 0x20], 1
mov r9d, edi
mov r8d, dword [rbx + 0x78]
mov rdx, qword [rbx + 0x80]
mov rcx, rbx
call fcn.140039460
mov dword [rbx + 0x78], r15d
mov rdx, qword [rbp - 0x48]
cmp rdx, 0xf
jbe 0x140005a2b
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005a26
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140005a26
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401004e0
mov rcx, qword [rbp - 0x30]
xor rcx, rsp
call fcn.1401004c0
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret