Function at 0x140007810
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 - 0x5f]
sub rsp, 0xb0
movaps xmmword [rax - 0x28], xmm6
mov rax, qword [0x140294280]
xor rax, rsp
mov qword [rbp + 0x27], rax
xor r15d, r15d
movups xmm0, xmmword [0x140182388]
movups xmmword [rbp - 0x39], xmm0
movsd xmm0, qword [0x140182398]
movsd qword [rbp - 0x29], xmm0
mov eax, dword [0x1401823a0]
mov dword [rbp - 0x21], eax
mov r14d, dword [reloc.WS2_32.dll_accept]
cmp byte [reloc.WLDAP32.dll_Ordinal_79], r15b
je 0x1400079ec
mov ecx, r15d
cmp r14d, 2
jl 0x1400079b5
movdqa xmm5, xmmword [0x140182610]
movdqa xmm4, xmmword [0x1401826f0]
movdqa xmm6, xmmword [0x140182630]
movdqa xmm0, xmmword [0x1401826a0]
movdqa xmmword [rbp - 0x49], xmm0
lea rdx, [rbp - 0x35]
mov r8d, dword [rbp - 0x49]
movd xmm2, ecx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
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, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140182670]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 4]
xorps xmm2, xmm0
movd dword [rdx - 4], xmm2
lea eax, [rcx + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140182670]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx]
xorps xmm2, xmm0
movd dword [rdx], xmm2
add ecx, 8
lea rdx, [rdx + 8]
cmp ecx, 0x18
jl 0x1400078b3
cmp ecx, 0x1c
jge 0x1400079ec
movsxd rax, ecx
lea r8, [rbp - 0x39]
add r8, rax
nop
mov eax, 0x5397829d
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x31
movzx eax, cl
sub al, dl
add al, 0x34
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x1c
jl 0x1400079c0
xorps xmm0, xmm0
movups xmmword [rbp + 7], xmm0
mov qword [rbp + 0x17], r15
mov qword [rbp + 0x1f], r15
lea rax, [rbp - 0x39]
mov rsi, 0xffffffffffffffff
mov r8, rsi
nop dword [rax]
inc r8
cmp byte [rax + r8], r15b
jne 0x140007a10
lea rdx, [rbp - 0x39]
lea rcx, [rbp + 7]
call fcn.140020ca0
nop
mov rdi, qword [rbp + 0x17]
lea rbx, [rbp + 7]
cmp qword [rbp + 0x1f], 0x10
cmovae rbx, qword [rbp + 7]
call fcn.140136f88
mov qword [rbp - 0x49], rbx
mov qword [rbp - 0x41], rdi
lea r8, [rbp - 0x49]
mov edx, eax
lea rcx, [rbp - 0x19]
call fcn.140002250
nop
lea rcx, [rbp - 0x19]
call fcn.140002d20
movzx ebx, al
mov rdx, qword [rbp - 1]
cmp rdx, 8
jb 0x140007aa5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x19]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007aa0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140007aa0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140135dd8
test bl, bl
je 0x140007c86
movups xmm0, xmmword [str.cXSWNIeoP_]
movups xmmword [rbp - 0x39], xmm0
movsd xmm0, qword [0x1401816c8]
movsd qword [rbp - 0x29], xmm0
movzx eax, byte [0x1401816d0]
mov byte [rbp - 0x21], al
mov r8d, r15d
cmp r14d, 2
jl 0x140007c15
movdqa xmm5, xmmword [0x140182610]
movdqa xmm4, xmmword [0x1401826f0]
movdqa xmm6, xmmword [0x140182630]
movdqa xmm0, xmmword [0x1401826a0]
movdqa xmmword [rbp - 0x49], xmm0
lea rcx, [rbp - 0x35]
mov edx, dword [rbp - 0x49]
nop dword [rax + rax]
movd xmm2, r8d
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
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, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140182670]
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 xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140182670]
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 0x140007b10
cmp r8d, 0x19
jge 0x140007c50
movsxd rax, r8d
lea r9, [rbp - 0x39]
add r9, rax
nop
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, 0x34
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x19
jl 0x140007c20
xorps xmm0, xmm0
movups xmmword [rbp - 0x19], xmm0
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
lea rax, [rbp - 0x39]
inc rsi
cmp byte [rax + rsi], 0
jne 0x140007c63
mov r8, rsi
lea rdx, [rbp - 0x39]
lea rcx, [rbp - 0x19]
call fcn.140020ca0
lea rcx, [rbp - 0x19]
call fcn.14000f4b0
nop
mov rdx, qword [rbp + 0x1f]
cmp rdx, 0x10
jb 0x140007cc4
inc rdx
mov rcx, qword [rbp + 7]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007cbf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140007cbf
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140135dd8
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.140136580
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop rbp
ret