Function at 0x140048010
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x20]
sub rsp, 0x120
movaps xmmword [rsp + 0x110], xmm6
mov rax, qword [0x1401cca00]
xor rax, rsp
mov qword [rbp], rax
mov rdi, rdx
mov r15, rcx
movups xmm0, xmmword [str._su_v_r_apo_]
movups xmmword [rsp + 0x28], xmm0
movzx eax, byte [0x1401a3d10]
mov byte [rsp + 0x38], al
xor r14d, r14d
mov r8d, r14d
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x1400481ae
movdqa xmm5, xmmword [0x1401ab350]
movdqa xmm4, xmmword [0x1401ab570]
movdqa xmm6, xmmword [0x1401ab3a0]
movdqa xmm0, xmmword [0x1401ab440]
movdqa xmmword [rsp + 0x50], xmm0
lea rcx, [rsp + 0x2c]
mov edx, dword [rsp + 0x50]
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
paddd xmm1, xmm2
psrad xmm1, 5
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 [0x1401ab420]
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
paddd xmm1, xmm3
psrad xmm1, 5
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 [0x1401ab420]
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, 0x10
jl 0x1400480a1
cmp r8d, 0x11
jge 0x1400481f3
movsxd rax, r8d
lea r9, [rsp + 0x28]
add r9, rax
nop dword [rax]
mov eax, 0x92492493
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x38
movzx eax, r8b
sub al, cl
add al, 0x30
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x11
jl 0x1400481c0
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
mov qword [rbp - 0x10], r14
mov qword [rbp - 8], r14
lea rax, [rsp + 0x28]
mov rbx, 0xffffffffffffffff
mov r8, rbx
inc r8
cmp byte [rax + r8], r14b
jne 0x140048211
lea rdx, [rsp + 0x28]
lea rcx, [rbp - 0x20]
call fcn.140006df0
nop
movzx eax, word [rdi]
mov word [r15 + 0x20], ax
mov eax, dword [rdi + 2]
mov dword [r15 + 0x24], eax
add rdi, 6
mov r13d, r14d
test eax, eax
jle 0x14004847a
movzx ebx, byte [rsp + 0x20]
nop dword [rax]
mov dword [rbp - 0x70], r14d
mov byte [rbp - 0x6c], 0
xorps xmm0, xmm0
movups xmmword [rbp - 0x68], xmm0
mov qword [rbp - 0x58], r14
mov qword [rbp - 0x50], r14
xor r8d, r8d
lea rdx, [0x1401980f9]
lea rcx, [rbp - 0x68]
call fcn.140006df0
mov word [rbp - 0x48], 0
mov byte [rbp - 0x46], 0
mov word [rbp - 0x44], r14w
mov qword [rbp - 0x40], 0
mov dword [rbp - 0x34], r14d
mov eax, dword [rdi]
mov dword [rbp - 0x70], eax
movsx ecx, byte [rdi + 5]
mov dword [rbp - 0x30], ecx
movzx ecx, byte [rdi + 6]
mov byte [rbp - 0x6c], cl
movsx r12, word [rdi + 8]
add rdi, 0xa
movzx esi, r14w
cmp r14w, r12w
jge 0x140048334
mov r14, rdi
nop
movzx ecx, si
lea r8, [rbp - 0x20]
cmp qword [rbp - 8], 0xf
cmova r8, qword [rbp - 0x20]
add eax, ecx
cdqe
xor edx, edx
div qword [rbp - 0x10]
movzx r9d, byte [rdx + r8]
xor r9b, byte [r14]
mov rcx, qword [rbp - 0x58]
mov rdx, qword [rbp - 0x50]
cmp rcx, rdx
jae 0x140048310
lea rax, [rcx + 1]
mov qword [rbp - 0x58], rax
lea rax, [rbp - 0x68]
cmp rdx, 0xf
cmova rax, qword [rbp - 0x68]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x140048322
movzx r8d, bl
mov edx, 1
lea rcx, [rbp - 0x68]
call fcn.140008f40
inc si
inc r14
mov eax, dword [rbp - 0x70]
cmp si, r12w
jl 0x1400482c0
xor r14d, r14d
add rdi, r12
movsx rdx, word [rdi]
add rdx, rdi
movzx ecx, byte [rdx + 0xf]
mov byte [rbp - 0x48], cl
movzx ecx, byte [rdx + 0x10]
mov byte [rbp - 0x47], cl
movzx ecx, byte [rdx + 0x15]
mov byte [rbp - 0x46], cl
movzx ecx, word [rdx + 0x16]
mov word [rbp - 0x44], cx
add rdx, 0x19
movsx rcx, word [rdx]
add rdx, rcx
movsx r8, word [rdx + 0xa]
add rdx, 0xc
add r8, rdx
movsx rdx, word [r8]
add rdx, r8
movsx r8, word [rdx + 2]
add rdx, 4
add r8, rdx
movsx rdx, word [r8]
add rdx, r8
mov ecx, dword [rdx + 6]
mov dword [rbp - 0x3c], ecx
movzx ecx, byte [rdx + 7]
mov byte [rbp - 0x38], cl
movzx ecx, byte [rdx + 8]
mov byte [rbp - 0x37], cl
movzx ecx, byte [rdx + 9]
mov byte [rbp - 0x36], cl
mov ecx, dword [rdx + 0x12]
mov dword [rbp - 0x40], ecx
add rdx, 0x1a
movsx rcx, word [rdx]
add rdx, rcx
movsx r8, word [rdx + 2]
add rdx, 4
add r8, rdx
movsx rdx, word [r8]
add rdx, 0x52
add rdx, r8
movzx r8d, word [r15 + 0x20]
cmp r8w, 0xb
jl 0x1400483e6
movsx rcx, word [rdx]
add rdx, 2
add rdx, rcx
lea rcx, [rdx + 0xd]
cmp r8w, 0xc
cmovl rcx, rdx
lea rdx, [rcx + 4]
cmp r8w, 0xd
cmovl rdx, rcx
lea rcx, [rdx + 4]
cmp r8w, 0xe
cmovl rcx, rdx
cmp r8w, 0xf
jl 0x140048423
lea rdx, [rcx + 0x19]
movsx rcx, word [rdx]
add rcx, 2
add rcx, rdx
lea rdi, [rcx + 2]
cmp r8w, 0x10
cmovl rdi, rcx
cmp eax, r13d
jne 0x140048704
lea rcx, [r15 + 8]
mov rdx, qword [r15 + 0x10]
lea r8, [rbp - 0x70]
cmp rdx, qword [r15 + 0x18]
je 0x140048457
call fcn.14004a100
add qword [r15 + 0x10], 0x48
jmp 0x14004845d
call fcn.140049e50
nop
lea rcx, [rbp - 0x68]
call fcn.140003a10
inc r13d
cmp r13d, dword [r15 + 0x24]
jl 0x140048250
mov rbx, 0xffffffffffffffff
mov dword [rsp + 0x40], 0xbb8
mov byte [rsp + 0x44], 1
mov dword [rsp + 0x48], 4
mov byte [rsp + 0x4c], 1
lea rax, [rbp - 0x70]
mov qword [rbp - 0x80], rax
movups xmm0, xmmword [str.cDQPQFE]
movups xmmword [rsp + 0x28], xmm0
mov eax, dword [0x1401a3c78]
mov dword [rsp + 0x38], eax
movzx eax, byte [0x1401a3c7c]
mov byte [rsp + 0x3c], al
mov r8d, r14d
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x14004860d
movdqa xmm5, xmmword [0x1401ab350]
movdqa xmm4, xmmword [0x1401ab570]
movdqa xmm6, xmmword [0x1401ab3a0]
movdqa xmm0, xmmword [0x1401ab440]
movdqa xmmword [rsp + 0x50], xmm0
lea rcx, [rsp + 0x2c]
mov edx, dword [rsp + 0x50]
nop dword [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
paddd xmm1, xmm2
psrad xmm1, 5
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 [0x1401ab420]
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
paddd xmm1, xmm3
psrad xmm1, 5
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 [0x1401ab420]
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, 0x10
jl 0x140048500
cmp r8d, 0x15
jge 0x140048653
movsxd rax, r8d
lea r9, [rsp + 0x28]
add r9, rax
nop dword [rax + rax]
mov eax, 0x92492493
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x38
movzx eax, r8b
sub al, cl
add al, 0x30
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x15
jl 0x140048620
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x60], r14
mov qword [rbp - 0x58], r14
lea rax, [rsp + 0x28]
inc rbx
cmp byte [rax + rbx], 0
jne 0x140048667
mov r8, rbx
lea rdx, [rsp + 0x28]
lea rcx, [rbp - 0x70]
call fcn.140006df0
mov byte [rbp - 0x50], 1
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x78], r14
mov r8d, 6
lea rdx, str.System
lea rcx, [rsp + 0x60]
call fcn.140006df0
nop
mov r9, qword [rsp + 0x40]
mov r8, qword [rsp + 0x48]
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x60]
call fcn.14006b6f0
mov bl, 1
lea rcx, [rbp - 0x20]
call fcn.140003a10
movzx eax, bl
mov rcx, qword [rbp]
xor rcx, rsp
call fcn.140162570
mov rbx, qword [rsp + 0x170]
movaps xmm6, xmmword [rsp + 0x110]
add rsp, 0x120
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea rcx, [rbp - 0x68]
call fcn.140003a10
xor bl, bl
jmp 0x1400486c9