Function at 0x180068830
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x60
mov dword [0x180171300], edx
mov r14d, ecx
mov byte [reloc.WS2_32.dll_accept], r8b
test ecx, ecx
je 0x180068a32
cmp ecx, 0x1e240
jne 0x18006886f
mov dword [0x180171300], 0xffffffff
xor r8d, r8d
lea rcx, [rbp - 0x30]
mov edx, r14d
call fcn.180063b60
lea rsi, [0x18035ba78]
xor ebx, ebx
mov rdi, rax
cmp rsi, rax
je 0x18006890b
mov rdx, qword [0x18035ba90]
cmp rdx, 0x10
jb 0x1800688d0
mov rcx, qword [0x18035ba78]
inc rdx
cmp rdx, 0x1000
jb 0x1800688cb
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x180068cbf
mov rcx, r8
call fcn.1800b98ec
mov qword [0x18035ba88], rbx
mov qword [0x18035ba90], 0xf
mov byte [0x18035ba78], bl
movups xmm0, xmmword [rdi]
movups xmmword [0x18035ba78], xmm0
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [0x18035ba88], xmm1
mov qword [rdi + 0x10], rbx
mov qword [rdi + 0x18], send
mov byte [rdi], bl
mov rdx, qword [rbp - 0x18]
cmp rdx, 0x10
jb 0x180068946
mov rcx, qword [rbp - 0x30]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x180068941
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180068cbf
call fcn.1800b98ec
mov r8d, 1
lea rcx, [rbp - 0x30]
mov edx, r14d
call fcn.180063b60
mov rdi, rax
lea rax, [0x18035ba58]
cmp rax, rdi
je 0x1800689e3
mov rdx, qword [0x18035ba70]
cmp rdx, 0x10
jb 0x1800689a8
mov rcx, qword [0x18035ba58]
inc rdx
cmp rdx, 0x1000
jb 0x1800689a3
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x180068cb9
mov rcx, r8
call fcn.1800b98ec
mov qword [0x18035ba68], rbx
mov qword [0x18035ba70], 0xf
mov byte [0x18035ba58], bl
movups xmm0, xmmword [rdi]
movups xmmword [0x18035ba58], xmm0
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [0x18035ba68], xmm1
mov qword [rdi + 0x10], rbx
mov qword [rdi + 0x18], send
mov byte [rdi], bl
mov rdx, qword [rbp - 0x18]
cmp rdx, 0x10
jb 0x180068a1e
mov rcx, qword [rbp - 0x30]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x180068a19
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180068cb9
call fcn.1800b98ec
mov qword [rbp - 0x20], rbx
mov qword [rbp - 0x18], send
mov byte [rbp - 0x30], bl
jmp 0x180068bf6
mov eax, dword [0x18015a5d0]
xor ebx, ebx
cmp dword [reloc.WS2_32.dll_accept], 2
mov ecx, ebx
movsd xmm0, qword [0x18015a5c8]
mov dword [rbp - 0x38], eax
movzx eax, word [0x18015a5d4]
mov word [rbp - 0x34], ax
movzx eax, byte [0x18015a5d6]
mov byte [rbp - 0x32], al
movsd qword [rbp - 0x40], xmm0
jl 0x180068b7e
movdqa xmm2, xmmword [0x18015bd50]
mov eax, 4
movdqa xmm4, xmmword [0x18015bf20]
movdqa xmm1, xmm2
movdqa xmm3, xmmword [0x18015bd60]
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
mov ecx, 8
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
movaps xmmword [rsp + 0x50], xmm6
movd xmm6, eax
mov eax, 0x1f
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movd xmm5, eax
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x18015bda0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, dword [0x18015a5c8]
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x18015be70]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x18015bea0]
xorps xmm2, xmm0
punpckldq xmm1, xmm3
movd dword [rbp - 0x40], xmm2
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movaps xmm6, xmmword [rsp + 0x50]
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x18015bda0]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, dword [rbp - 0x3c]
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x18015be70]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x18015bea0]
xorps xmm2, xmm0
movd dword [rbp - 0x3c], xmm2
movsxd rax, ecx
lea r8, [rbp - 0x40]
add r8, rax
nop dword [rax + rax]
mov eax, 0x4d4873ed
lea r8, [r8 + 1]
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x35
movzx eax, cl
inc ecx
sub al, dl
add al, 0x34
xor byte [r8 - 1], al
cmp ecx, 0xf
jl 0x180068b90
lea rax, [rbp - 0x40]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], bl
jne 0x180068bd0
lea rsi, [0x18035ba78]
mov rcx, rsi
lea rdx, [rbp - 0x40]
call fcn.1800201a0
mov dword [0x180171300], 0x68d790
mov rax, qword [0x1803607d0]
test rax, rax
jne 0x180068c39
lea ecx, [rax + 0x30]
call fcn.1800b98b0
xorps xmm0, xmm0
mov qword [rbp + 0x38], rax
mov qword [0x1803607d0], rax
mov dword [rax], 0xffffffff
movups xmmword [rax + 8], xmm0
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], send
mov byte [rax + 8], 0
mov byte [rax + 0x28], 0
mov dword [rax + 0x2c], ebx
cmp byte [rax + 0x28], 0
je 0x180068ca4
cmp qword [0x18035ba90], 0x10
movsd xmm0, qword [0x18015a670]
cmovae rsi, qword [0x18035ba78]
cmp byte [0x18015a679], 0
movzx eax, word [0x18015a678]
movsd qword [rbp - 0x40], xmm0
mov word [rbp - 0x38], ax
je 0x180068c98
xor byte [rbp - 0x3f], 0x35
xor byte [rbp - 0x3e], 0x36
xor byte [rbp - 0x3d], 0x37
xor byte [rbp - 0x3c], 0x38
xor byte [rbp - 0x3b], 0x39
xor byte [rbp - 0x3a], 0x3a
xor byte [rbp - 0x39], 0x3b
xor byte [rbp - 0x38], 0x3c
xor byte [rbp - 0x37], 0x3d
mov byte [rbp - 0x40], 0x5b
mov rdx, rsi
lea rcx, [rbp - 0x40]
call fcn.18006d0d0
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
call fcn.1800c5784
int3
call fcn.1800c5784
int3