Function at 0x140099470
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rax - 0x68]
sub rsp, 0x150
movaps xmmword [rax - 0x28], xmm6
mov rax, qword [0x140152040]
xor rax, rsp
mov qword [rbp + 0x38], rax
mov esi, r8d
mov rbx, rdx
mov qword [rsp + 0x40], rdx
xor r14d, r14d
cmp byte [0x140255046], r14b
je 0x1400999c3
lea rdi, [0x1402516d8]
mov rcx, rdi
cmp qword [0x1402516f0], 0xf
cmova rcx, qword [0x1402516d8]
mov r8, qword [0x1402516e8]
test r8, r8
jne 0x1400994f1
lea rdx, [0x14012561f]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x1400999c3
mov edx, esi
lea rcx, [rbp + 0x18]
call fcn.140062a30
mov rsi, rax
movsd xmm0, qword [0x1401381b0]
movsd qword [rsp + 0x48], xmm0
mov edx, dword [0x1401381b8]
mov dword [rsp + 0x50], edx
movzx ecx, word [0x1401381bc]
mov word [rsp + 0x54], cx
cmp byte [0x1401381bd], 0
je 0x1400996bb
mov ecx, r14d
cmp dword [0x140152090], 2
jl 0x140099686
movdqa xmm5, xmmword [0x140138ff0]
movdqa xmm6, xmmword [str.7777]
movdqa xmm2, xmmword [0x140138f00]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm5
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm5
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
movdqa xmm4, xmmword [0x140138fb0]
andps xmm2, xmm4
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x140139010]
movd xmm0, dword [0x1401381b0]
xorps xmm2, xmm0
movd dword [rsp + 0x48], xmm2
movdqa xmm2, xmmword [0x140138f30]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm5
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm5
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
andps xmm2, xmm4
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x140139010]
movd xmm0, dword [rsp + 0x4c]
xorps xmm2, xmm0
movd dword [rsp + 0x4c], xmm2
movdqa xmm3, xmmword [0x140138f60]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm5
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm5
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
andps xmm3, xmm4
packuswb xmm3, xmm3
packuswb xmm3, xmm3
paddb xmm3, xmmword [0x140139010]
movd xmm0, edx
xorps xmm3, xmm0
movd dword [rsp + 0x50], xmm3
mov ecx, recv
mov eax, ecx
lea r8, [rsp + 0x48]
add r8, rax
mov eax, 0x94f2095
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x37
movzx eax, cl
sub al, dl
add al, 0x35
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0xe
jl 0x140099690
xorps xmm0, xmm0
movups xmmword [rbp - 0x68], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x58], xmm1
lea rax, [rsp + 0x48]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x1400996d6
lea rdx, [rsp + 0x48]
lea rcx, [rbp - 0x68]
call fcn.140079f10
nop
movzx eax, word [0x140134fa8]
mov word [rsp + 0x48], ax
movzx eax, byte [0x140134faa]
mov byte [rsp + 0x48], 0x61
xor byte [rsp + 0x49], 0x36
xor al, 0x37
mov byte [rsp + 0x4a], al
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x78], xmm1
lea rax, [rsp + 0x48]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rax + r8], 0
jne 0x140099730
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x78]
call fcn.140079f10
nop
cmp qword [0x1402516f0], 0xf
cmova rdi, qword [0x1402516d8]
mov r8, qword [0x1402516e8]
mov rdx, rdi
lea rcx, [rsp + 0x78]
call fcn.1400f4340
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x28], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x18], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], select
mov byte [rax], 0
lea r9, [rbp - 0x68]
lea r8, [rbp - 0x28]
lea rcx, [rbp - 8]
call fcn.1400fd780
nop
mov rdx, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x1400997ab
mov rdx, qword [rbx]
mov r8, qword [rbx + 0x10]
lea rcx, [rbp - 8]
call fcn.1400f4340
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x68], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x58], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x68], xmm1
mov qword [rax + 0x18], select
mov qword [rax + 0x10], r14
mov byte [rax], 0
mov r8d, 1
lea rdx, [0x140132448]
lea rcx, [rsp + 0x58]
call fcn.1400f4340
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x48], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x38], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], select
mov byte [rax], 0
mov r9, rsi
lea r8, [rbp - 0x48]
lea rcx, [rsp + 0x20]
call fcn.1400fd780
mov r8d, 0xffffffff
lea rdx, [rsp + 0x20]
lea rcx, [0x140255ed0]
call fcn.140091c20
nop
mov rdx, qword [rbp - 0x30]
cmp rdx, 0xf
jbe 0x140099886
inc rdx
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140099880
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140099880
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401101a0
nop
mov rdx, qword [rsp + 0x70]
cmp rdx, 0xf
jbe 0x1400998c6
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400998c1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400998c1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401101a0
movdqa xmm6, xmmword [0x140138dd0]
movdqu xmmword [rsp + 0x68], xmm6
mov byte [rsp + 0x58], 0
lea rcx, [rbp - 8]
call fcn.1400955d0
nop
mov rdx, qword [rbp - 0x10]
cmp rdx, 0xf
jbe 0x140099929
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14009991c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14009991c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401101a0
movdqa xmm6, xmmword [0x140138dd0]
mov rdx, qword [rbp - 0x70]
cmp rdx, 0xf
jbe 0x140099970
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140099963
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140099963
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401101a0
movdqa xmm6, xmmword [0x140138dd0]
movdqu xmmword [rbp - 0x78], xmm6
mov byte [rsp + 0x78], 0
mov rdx, qword [rbp - 0x50]
cmp rdx, 0xf
jbe 0x1400999b9
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400999b3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400999b3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401101a0
nop
lea rcx, [rbp + 0x18]
call fcn.1400955d0
nop
mov rcx, rbx
call fcn.1400955d0
mov rcx, qword [rbp + 0x38]
xor rcx, rsp
call fcn.14010fe20
lea r11, [rsp + 0x150]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x38]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret