Function at 0x180069670
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], r8
mov qword [rax + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x78]
sub rsp, 0x140
movaps xmmword [rax - 0x48], xmm6
movaps xmmword [rax - 0x58], xmm7
mov r15, r8
mov rdi, rdx
mov rsi, rcx
xor r12d, r12d
mov dword [rsp + 0x60], r12d
mov dword [rbp + 0x98], r12d
lea rax, [rbp]
mov qword [rbp - 8], rax
mov rdx, r8
lea rcx, [rbp]
call fcn.180007a70
mov rbx, rax
movups xmm0, xmmword [0x180185570]
movups xmmword [rbp - 0x58], xmm0
movups xmm1, xmmword [0x180185580]
movups xmmword [rbp - 0x48], xmm1
movsd xmm0, qword [0x180185590]
movsd qword [rbp - 0x38], xmm0
movzx ecx, word [0x180185598]
mov word [rbp - 0x30], cx
mov r8d, r12d
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x18006981f
movdqa xmm5, xmmword [0x180187330]
movdqa xmm4, xmmword [0x180187600]
movdqa xmm6, xmmword [0x180187390]
movdqa xmm7, xmmword [0x1801874a0]
lea rcx, [rbp - 0x58]
nop
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 xmm3, xmm1, 0xd8
movq xmm2, xmm7
paddw xmm3, xmm2
movq xmm0, qword [rcx]
xorps xmm3, xmm0
movq qword [rcx], xmm3
lea eax, [r8 + 4]
movd xmm2, eax
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 xmm3, xmm1, 0xd8
movq xmm2, xmm7
paddw xmm3, xmm2
movq xmm0, qword [rcx + 8]
xorps xmm3, xmm0
movq qword [rcx + 8], xmm3
add r8d, 8
lea rcx, [rcx + 0x10]
cmp r8d, 0x10
jl 0x180069730
cmp r8d, 0x15
jge 0x180069864
movsxd rax, r8d
lea r9, [rbp - 0x58]
lea r9, [r9 + rax*2]
nop word [rax + rax]
mov eax, 0x51eb851f
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x32
movzx eax, r8w
sub ax, cx
add ax, 0x39
xor word [r9], ax
inc r8d
lea r9, [r9 + 2]
cmp r8d, 0x15
jl 0x180069830
lea rax, [rbp - 0x58]
mov rcx, 0xffffffffffffffff
nop
inc rcx
cmp word [rax + rcx*2], 0
jne 0x180069870
mov rdx, qword [rdi + 0x10]
movabs rax, 0x7ffffffffffffffe
sub rax, rdx
cmp rax, rcx
jb 0x180069ca1
mov rax, rdi
lea r14, [rdi + 0x18]
cmp qword [rdi + 0x18], 7
jbe 0x1800698a5
mov rax, qword [rdi]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea r9, [rbp - 0x58]
lea rcx, [rbp - 0x28]
call fcn.180009f30
nop
lea rax, [rbp + 0x98]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x60]
mov r8, rbx
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x70]
call fcn.18006e0a0
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x58], r12
xor r8d, r8d
lea rdx, [0x1801419d8]
lea rcx, [rsp + 0x40]
call fcn.180008fb0
nop
mov r12, qword [rbp - 0x68]
mov rbx, qword [rbp - 0x70]
cmp rbx, r12
je 0x180069948
nop dword [rax + rax]
mov rdx, rbx
cmp qword [rbx + 0x18], 7
jbe 0x18006992d
mov rdx, qword [rbx]
mov r8, qword [rbx + 0x10]
lea rcx, [rsp + 0x40]
call fcn.18000a7e0
add rbx, 0x20
cmp rbx, r12
jne 0x180069920
lea r14, [rdi + 0x18]
mov rdx, qword [rsp + 0x50]
test rdx, rdx
jne 0x180069a65
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
xor ebx, ebx
mov qword [rsi + 0x10], rbx
mov qword [rsi + 0x18], send
mov byte [rsi], bl
mov rdx, qword [rsp + 0x58]
cmp rdx, 7
jbe 0x1800699ae
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800699a9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180069cad
call fcn.1800d9c1c
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], 7
mov word [rsp + 0x40], bx
lea rcx, [rbp - 0x70]
call fcn.180013f50
nop
mov rdx, qword [rdi + 0x18]
cmp rdx, 7
jbe 0x180069a0a
mov rcx, qword [rdi]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x180069a05
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x180069c95
mov rcx, r8
call fcn.1800d9c1c
mov qword [rdi + 0x10], rbx
mov qword [rdi + 0x18], 7
mov word [rdi], bx
mov rdx, qword [r15 + 0x18]
cmp rdx, 7
jbe 0x180069a58
lea rdx, [rdx*2 + 2]
mov rcx, qword [r15]
cmp rdx, 0x1000
jb 0x180069a53
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x180069c9b
mov rcx, r8
call fcn.1800d9c1c
mov qword [r15 + 0x10], rbx
mov word [r15], bx
jmp 0x180069c65
lea rax, [rsp + 0x40]
mov rcx, qword [rsp + 0x40]
cmp qword [rsp + 0x58], 7
jbe 0x180069a7e
mov rax, rcx
lea r14, [rdi + 0x18]
lea r8, [rax + rdx*2]
lea rdx, [rsp + 0x40]
cmova rdx, rcx
lea rcx, [rsp + 0x70]
call fcn.180008e70
nop
lea rdx, [rsp + 0x70]
lea rcx, [rbp]
call fcn.180007dc0
mov rdx, rax
lea rcx, [rbp - 0x28]
call fcn.1800693b0
mov rbx, rax
lea rax, [rsp + 0x70]
cmp rax, rbx
je 0x180069b18
mov rdx, qword [rbp - 0x78]
cmp rdx, 0xf
jbe 0x180069af9
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180069af4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180069ca7
call fcn.1800d9c1c
movups xmm6, xmmword [rbx]
movups xmm7, xmmword [rbx + 0x10]
xor r12d, r12d
mov qword [rbx + 0x10], r12
mov qword [rbx + 0x18], send
mov byte [rbx], r12b
lea r14, [rdi + 0x18]
jmp 0x180069b24
movups xmm7, xmmword [rbp - 0x80]
movups xmm6, xmmword [rsp + 0x70]
xor r12d, r12d
mov rdx, qword [rbp - 0x10]
cmp rdx, 0xf
jbe 0x180069b63
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180069b5e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180069ca7
lea r14, [rdi + 0x18]
call fcn.1800d9c1c
movups xmmword [rsi], xmm6
movups xmmword [rsi + 0x10], xmm7
mov rbx, r14
mov rdx, qword [rsp + 0x58]
cmp rdx, 7
jbe 0x180069bb3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180069bae
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180069cad
lea rbx, [rdi + 0x18]
call fcn.1800d9c1c
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x58], 7
mov word [rsp + 0x40], r12w
lea rcx, [rbp - 0x70]
call fcn.180013f50
nop
mov rdx, qword [rdi + 0x18]
cmp rdx, 7
jbe 0x180069c13
mov rcx, qword [rdi]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x180069c0b
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x180069c95
mov rcx, r8
call fcn.1800d9c1c
mov r14, rbx
mov qword [rdi + 0x10], r12
mov qword [r14], 7
mov word [rdi], r12w
mov rdx, qword [r15 + 0x18]
cmp rdx, 7
jbe 0x180069c5d
lea rdx, [rdx*2 + 2]
mov rcx, qword [r15]
cmp rdx, 0x1000
jb 0x180069c58
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x180069c9b
mov rcx, r8
call fcn.1800d9c1c
mov qword [r15 + 0x10], r12
mov word [r15], r12w
mov rax, rsi
mov qword [r15 + 0x18], 7
lea r11, [rsp + 0x140]
mov rbx, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.1800e5f80
nop
call fcn.1800e5f80
nop
call fcn.180003590
nop
call fcn.1800e5f80
nop
call fcn.1800e5f80
int3