Function at 0x14004a930
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x50
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xor ebx, ebx
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rbx
lea rdx, [0x1400fdfc0]
mov rdi, 0xffffffffffffffff
mov r8, rdi
nop
inc r8
cmp byte [rdx + r8], bl
jne 0x14004a960
lea rcx, [rsp + 0x30]
call fcn.14004ced0
lea rdx, [rsp + 0x30]
lea rcx, [0x1400fe0e0]
call fcn.14005bbf0
mov byte [0x1400fdfab], bl
cmp byte [0x1400fe2f0], bl
jne 0x14004aa26
mov byte [0x1400fdfaa], bl
lea rbx, [0x1400fce60]
lea r9, [0x1400fe2f8]
cmp rbx, r9
je 0x14004aa14
mov rdi, qword [0x1400fe308]
cmp qword [0x1400fe310], 0xf
cmova r9, qword [0x1400fe2f8]
mov rax, qword [reloc.WS2_32.dll_ntohs]
cmp rdi, rax
ja 0x14004aa09
cmp rax, 0xf
cmova rbx, qword [0x1400fce60]
mov qword [0x1400fce70], rdi
mov r8, rdi
mov rdx, r9
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rdi + rbx], 0
mov byte [0x1400fdfad], 1
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
mov rdx, rdi
mov rcx, rbx
call fcn.14004d340
mov byte [0x1400fdfad], 1
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
mov byte [0x1400fdfaa], 1
call fcn.14003b950
movsd xmm0, qword [str.qDFxZQV]
movsd qword [rsp + 0x20], xmm0
mov eax, dword [0x1400e81e8]
mov dword [rsp + 0x28], eax
movzx eax, word [0x1400e81ec]
mov word [rsp + 0x2c], ax
cmp byte [0x1400e81ed], bl
je 0x14004abae
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x14004ab72
movdqa xmm4, xmmword [0x1400e8c20]
movdqa xmm2, xmmword [0x1400e8ad0]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400e8b00]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400e8b50]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.0000000000000000]
movd xmm0, dword [str.qDFxZQV]
xorps xmm2, xmm0
movd dword [rsp + 0x20], xmm2
movdqa xmm3, xmmword [0x1400e8af0]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400e8b00]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400e8b50]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.0000000000000000]
movd xmm0, dword [rsp + 0x24]
xorps xmm2, xmm0
movd dword [rsp + 0x24], xmm2
mov ebx, 8
movsxd rax, ebx
lea r8, [rsp + 0x20]
add r8, rax
nop dword [rax]
mov eax, 0x8fb823ef
imul ebx
add edx, ebx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x39
movzx eax, bl
sub al, cl
add al, 0x30
xor byte [r8], al
inc ebx
lea r8, [r8 + 1]
cmp ebx, 0xe
jl 0x14004ab80
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
lea rax, [rsp + 0x20]
inc rdi
cmp byte [rax + rdi], 0
jne 0x14004abc4
mov r8, rdi
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x30]
call fcn.14004ced0
nop
lea rdx, [rsp + 0x30]
call fcn.14003b110
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x14004ac2b
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004ac26
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004ac26
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400b0ebc
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret