Function at 0x14008d990
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rbx
push rsi
push rdi
lea rbp, [rsp - 0x278]
sub rsp, 0x378
mov rax, qword [0x140160140]
xor rax, rsp
mov qword [rbp + 0x250], rax
mov qword [rsp + 0x20], rcx
mov rbx, r8
mov rdi, rdx
mov rsi, rcx
cmp r8, 0x180
jbe 0x14008d9d6
mov eax, 0xffffffc8
jmp 0x14008de10
xor edx, edx
mov qword [rsp + 0x368], r14
mov r8d, 0x1a0
lea rcx, [rbp + 0xb0]
call fcn.1400f8fb0
mov eax, ebx
mov byte [rbp + 0xc7], 0x30
bswap eax
mov r8, rbx
mov dword [rbp + 0xc0], eax
mov rdx, rdi
lea rcx, [rbp + 0xc8]
call fcn.1400f9370
movdqa xmm2, xmmword [0x140103b70]
lea rdx, [rbp + 0x94]
movdqa xmm3, xmmword [0x140103b80]
mov ecx, 8
mov byte [rbp + rbx + 0xc8], 0x80
add rbx, 0x19
mov qword [rsp + 0x28], rbx
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx - 8]
movd xmm0, eax
lea rdx, [rdx + 0x10]
pshufd xmm0, xmm0, 0
lea eax, [rcx - 4]
paddd xmm0, xmm2
movd xmm1, eax
pshufd xmm1, xmm1, 0
lea eax, [rcx + 4]
paddd xmm1, xmm2
andps xmm0, xmm3
andps xmm1, xmm3
packuswb xmm0, xmm0
packuswb xmm1, xmm1
packuswb xmm0, xmm0
movd dword [rdx - 0x14], xmm0
packuswb xmm1, xmm1
movd dword [rdx - 0x10], xmm1
movd xmm0, ecx
add ecx, 0x10
pshufd xmm0, xmm0, 0
paddd xmm0, xmm2
movd xmm1, eax
pshufd xmm1, xmm1, 0
andps xmm0, xmm3
paddd xmm1, xmm2
packuswb xmm0, xmm0
andps xmm1, xmm3
packuswb xmm0, xmm0
movd dword [rdx - 0xc], xmm0
lea eax, [rcx - 8]
packuswb xmm1, xmm1
packuswb xmm1, xmm1
movd dword [rdx - 8], xmm1
cmp eax, 0x20
jl 0x14008da50
lea rcx, [rsp + 0x30]
call fcn.140099940
mov r8d, 0x100
lea rdx, [rbp + 0x90]
lea rcx, [rsp + 0x30]
call fcn.140099c20
mov r14d, eax
mov r10d, reloc.WS2_32.dll_recv
test eax, eax
jne 0x14008ddab
mov qword [rsp + 0x3b8], r12
xor r12d, r12d
mov qword [rsp + 0x370], r13
mov r13d, r12d
mov qword [rsp + 0x360], r15
lea r15, [rbp + 0xb0]
xorps xmm0, xmm0
mov rsi, rbx
movups xmmword [rbp + 0x50], xmm0
test rbx, rbx
je 0x14008dd0a
lea rax, [rbp + 0x50]
lea rbx, [rbp + 0xb0]
sub rbx, rax
lea rdi, [rbp + 0x50]
lea rax, [rbp + 0xb0]
sub rdi, rax
nop word [rax + rax]
lea r8, [rbp + 0x50]
mov rax, r12
add r8, rbx
nop word [rax + rax]
mov rcx, qword [r8 + rax]
xor qword [rbp + rax + 0x50], rcx
add rax, 8
lea rcx, [rax + 8]
cmp rcx, 0x10
jbe 0x14008db80
mov r9, r10
sub r9, rax
cmp rax, 0x10
jae 0x14008dcb6
cmp r9, 8
jb 0x14008dca0
lea rdx, [rbp + 0x50]
add rdx, rax
lea rcx, [r8 + 0xf]
lea r11, [rax + r15]
cmp rdx, rcx
ja 0x14008dbd2
lea rcx, [rbp + 0x5f]
cmp rcx, r11
jae 0x14008dca0
cmp r9, 0x40
jb 0x14008dc59
mov rdx, r9
and edx, 0x3f
sub r10, rdx
lea rcx, [r11 + 0x20]
nop dword [rax]
movdqu xmm0, xmmword [rdi + rcx - 0x20]
add rax, 0x40
movdqu xmm1, xmmword [rcx - 0x20]
lea rcx, [rcx + 0x40]
xorps xmm1, xmm0
movdqu xmmword [rdi + rcx - 0x60], xmm1
movdqu xmm0, xmmword [rdi + rcx - 0x50]
movdqu xmm1, xmmword [rcx - 0x50]
xorps xmm1, xmm0
movdqu xmmword [rdi + rcx - 0x50], xmm1
movdqu xmm0, xmmword [rcx + rdi - 0x40]
movdqu xmm1, xmmword [rcx - 0x40]
xorps xmm1, xmm0
movdqu xmmword [rcx + rdi - 0x40], xmm1
movdqu xmm0, xmmword [rcx + rdi - 0x30]
movdqu xmm1, xmmword [rcx - 0x30]
xorps xmm1, xmm0
movdqu xmmword [rcx + rdi - 0x30], xmm1
cmp rax, r10
jb 0x14008dbf0
mov r10d, reloc.WS2_32.dll_recv
cmp rdx, 8
jb 0x14008dc8e
and r9d, 7
mov rcx, r10
sub rcx, r9
nop dword [rax]
nop word [rax + rax]
movq xmm0, qword [rbp + rax + 0x50]
movq xmm1, qword [r8 + rax]
xorps xmm1, xmm0
movq qword [rbp + rax + 0x50], xmm1
add rax, 8
cmp rax, rcx
jb 0x14008dc70
cmp rax, 0x10
jae 0x14008dcb6
nop dword [rax]
nop dword [rax + rax]
lea rdx, [rbp + 0x50]
add rdx, rax
inc rax
movzx ecx, byte [rbx + rdx]
xor byte [rdx], cl
cmp rax, 0x10
jb 0x14008dca0
mov rax, rsi
lea r9, [rbp + 0x50]
add r15, 0x10
lea r8, [rbp + 0x50]
sub rdi, 0x10
lea rcx, [rsp + 0x30]
add rbx, 0x10
mov edx, 1
cmp rsi, 0x10
cmovae rax, r10
sub rsi, rax
call fcn.140099310
mov r14d, eax
test eax, eax
jne 0x14008dd8e
mov r10d, reloc.WS2_32.dll_recv
test rsi, rsi
jne 0x14008db70
movups xmm0, xmmword [rbp + 0x50]
mov rbx, qword [rsp + 0x28]
inc byte [rbp + 0xb3]
movups xmmword [rbp + r13 + 0x60], xmm0
add r13, 0x10
cmp r13, 0x30
jl 0x14008db30
mov r8d, 0x100
lea rdx, [rbp + 0x60]
lea rcx, [rsp + 0x30]
call fcn.140099c20
mov rsi, qword [rsp + 0x20]
mov r14d, eax
test eax, eax
jne 0x14008dd93
mov rbx, rsi
nop word [rax + rax]
lea r9, [rbp + 0x80]
mov edx, 1
lea r8, [rbp + 0x80]
lea rcx, [rsp + 0x30]
call fcn.140099310
mov r14d, eax
test eax, eax
jne 0x14008dd93
movups xmm0, xmmword [rbp + 0x80]
add r12d, 0x10
movups xmmword [rbx], xmm0
add rbx, 0x10
cmp r12d, 0x30
jl 0x14008dd50
jmp 0x14008dd93
mov rsi, qword [rsp + 0x20]
mov r13, qword [rsp + 0x370]
mov r12, qword [rsp + 0x3b8]
mov r15, qword [rsp + 0x360]
lea rcx, [rsp + 0x30]
call fcn.140099930
mov edx, 0x1a0
lea rcx, [rbp + 0xb0]
call fcn.140092fb0
mov edx, 0x30
lea rcx, [rbp + 0x60]
call fcn.140092fb0
mov edx, 0x20
lea rcx, [rbp + 0x90]
call fcn.140092fb0
mov edx, reloc.WS2_32.dll_recv
lea rcx, [rbp + 0x50]
call fcn.140092fb0
test r14d, r14d
je 0x14008de05
mov edx, 0x30
mov rcx, rsi
call fcn.140092fb0
mov eax, r14d
mov r14, qword [rsp + 0x368]
mov rcx, qword [rbp + 0x250]
xor rcx, rsp
call fcn.1400c86e0
add rsp, 0x378
pop rdi
pop rsi
pop rbx
pop rbp
ret