Function at 0x14009fb50
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 7]
sub rsp, 0xb8
mov rax, qword [0x1401310c0]
xor rax, rsp
mov qword [rbp - 0x11], rax
mov r12, qword [rbp + 0x7f]
mov rax, rcx
mov qword [rbp - 0x71], rcx
mov r10d, r9d
mov rcx, qword [rbp + 0x8f]
mov r14d, r10d
mov qword [rbp - 0x61], rcx
xor esi, esi
mov ecx, r10d
shr r14d, 4
and ecx, 0xf
mov dword [rbp - 0x69], r9d
mov r9, qword [rbp + 0x6f]
lea r13, [rax + 0x144]
mov dword [rbp - 0x65], ecx
xorps xmm0, xmm0
mov ecx, dword [rbp + 0x77]
mov rdi, r8
mov r15, rdx
movups xmmword [rbp - 0x31], xmm0
cmp ecx, 0xc
jne 0x14009fbdd
movsd xmm0, qword [r9]
mov eax, dword [r9 + 8]
movsd qword [rbp - 0x31], xmm0
mov dword [rbp - 0x29], eax
mov byte [rbp - 0x22], 1
jmp 0x14009fc0f
mov ebx, dword [r13]
lea rdx, [rbp - 0x31]
mov dword [rsp + 0x30], reloc.WS2_32.dll_recv
xor r8d, r8d
mov qword [rsp + 0x28], rdx
xor edx, edx
mov dword [rsp + 0x20], ecx
mov rcx, rax
mov dword [r13], esi
call fcn.14009f140
mov r10d, dword [rbp - 0x69]
mov dword [r13], ebx
movaps xmm0, xmmword [rbp - 0x31]
lea rax, [rbp - 0x49]
mov r8d, dword [rbp + 0x97]
mov r9, rdi
mov rdx, qword [rbp - 0x61]
mov rcx, qword [rbp - 0x71]
mov dword [rsp + 0x30], reloc.WS2_32.dll_recv
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r10d
movdqa xmmword [rbp - 0x31], xmm0
call fcn.14009f140
mov rcx, qword [rbp - 0x71]
lea r8, [rbp - 0x21]
lea rdx, [rbp - 0x31]
call fcn.14009d400
lea rax, [rbp - 0x21]
lea rcx, [rbp - 0x49]
or rax, rcx
test al, 7
jne 0x14009fc79
movdqu xmm1, xmmword [rbp - 0x49]
movdqu xmm0, xmmword [rbp - 0x21]
xorps xmm1, xmm0
movdqu xmmword [rbp - 0x49], xmm1
jmp 0x14009fcd2
lea rcx, [rbp - 0x49]
lea rax, [rbp - 0x12]
cmp rcx, rax
ja 0x14009fcc0
lea rcx, [rbp - 0x3a]
lea rax, [rbp - 0x21]
cmp rcx, rax
jb 0x14009fcc0
mov rcx, rsi
mov edx, reloc.WS2_32.dll_recv
nop dword [rax + rax]
movzx eax, byte [rbp + rcx - 0x21]
xor byte [rbp + rcx - 0x49], al
lea rcx, [rcx + 1]
sub rdx, 1
jne 0x14009fca0
mov r9, qword [rbp - 0x71]
lea r13, [r9 + 0x144]
jmp 0x14009fcd6
movdqu xmm1, xmmword [rbp - 0x49]
movdqu xmm0, xmmword [rbp - 0x21]
xorps xmm1, xmm0
movdqu xmmword [rbp - 0x49], xmm1
mov r9, qword [rbp - 0x71]
test r15, r15
jne 0x14009fce5
mov eax, dword [rbp + 0x97]
mov dword [r13], eax
movsxd rcx, dword [rbp + 0x87]
mov r8d, esi
test ecx, ecx
jle 0x14009fde4
lea rax, [rbp - 0x49]
cmp ecx, 8
jb 0x14009fd9f
mov rdx, rcx
xorps xmm4, xmm4
and rdx, 0xfffffffffffffff8
xorps xmm3, xmm3
sub r12, rax
nop dword [rax]
nop dword [rax + rax]
xorps xmm0, xmm0
lea rax, [rbp - 0x49]
add rax, rsi
add r8d, 8
add rsi, 8
movd xmm2, dword [rax]
movd xmm1, dword [rax + r12]
punpcklbw xmm2, xmm0
punpcklwd xmm2, xmm0
punpcklbw xmm1, xmm0
punpcklwd xmm1, xmm0
xorps xmm2, xmm1
movd xmm1, dword [rax + r12 + 4]
punpcklbw xmm1, xmm0
orps xmm4, xmm2
movd xmm2, dword [rax + 4]
punpcklbw xmm2, xmm0
punpcklwd xmm2, xmm0
punpcklwd xmm1, xmm0
xorps xmm2, xmm1
orps xmm3, xmm2
cmp rsi, rdx
jl 0x14009fd20
orps xmm3, xmm4
movdqa xmm0, xmm3
psrldq xmm0, 8
orps xmm3, xmm0
movdqa xmm0, xmm3
psrldq xmm0, 4
orps xmm3, xmm0
movd esi, xmm3
cmp r8d, ecx
jge 0x14009fdd6
jmp 0x14009fda2
sub r12, rax
movsxd rax, r8d
lea rdx, [rbp - 0x49]
add rdx, rax
sub ecx, r8d
mov r8d, ecx
nop dword [rax]
nop word [rax + rax]
movzx ecx, byte [r12 + rdx]
movzx eax, byte [rdx]
lea rdx, [rdx + 1]
xor ecx, eax
or esi, ecx
sub r8, 1
jne 0x14009fdc0
test esi, esi
je 0x14009fde4
mov eax, 0xffffff4c
jmp 0x14009fef9
mov ebx, recv
test r14d, r14d
je 0x14009feb1
lea rsi, [rbp - 0x4a]
neg rsi
nop dword [rax]
dec r14d
mov rax, rbx
add byte [rbp + rax - 0x31], 1
jne 0x14009fe16
dec rax
cmp rax, 0xc
jge 0x14009fe06
lea r8, [rbp - 0x59]
mov rcx, r9
lea rdx, [rbp - 0x31]
call fcn.14009d400
lea rcx, [rbp - 0x59]
mov rax, rdi
or rax, rcx
test al, 7
jne 0x14009fe45
mov rax, qword [rdi]
xor qword [rbp - 0x59], rax
mov rax, qword [rdi + 8]
xor qword [rbp - 0x51], rax
jmp 0x14009fe94
lea rcx, [rdi + 0xf]
lea rax, [rbp - 0x59]
cmp rax, rcx
ja 0x14009fe83
lea rax, [rbp - 0x4a]
cmp rax, rdi
jb 0x14009fe83
lea rax, [rbp - 0x59]
mov edx, reloc.WS2_32.dll_recv
lea r8, [rcx + rsi]
nop dword [rax + rax]
movzx ecx, byte [r8 + rax]
xor byte [rax], cl
lea rax, [rax + 1]
sub rdx, 1
jne 0x14009fe70
jmp 0x14009fe94
movdqu xmm0, xmmword [rbp - 0x59]
movdqu xmm1, xmmword [rdi]
xorps xmm1, xmm0
movdqu xmmword [rbp - 0x59], xmm1
movups xmm0, xmmword [rbp - 0x59]
mov r9, qword [rbp - 0x71]
add rdi, 0x10
movups xmmword [r15], xmm0
add r15, 0x10
test r14d, r14d
jne 0x14009fe00
mov esi, dword [rbp - 0x65]
test esi, esi
je 0x14009fef7
add byte [rbp + rbx - 0x31], 1
jne 0x14009fec8
dec rbx
cmp rbx, 0xc
jge 0x14009feb8
mov rcx, qword [rbp - 0x71]
lea r8, [rbp - 0x59]
lea rdx, [rbp - 0x31]
call fcn.14009d400
mov r8d, esi
lea rcx, [rbp - 0x59]
mov rdx, rdi
call fcn.14008bb10
mov r8, rsi
lea rdx, [rbp - 0x59]
mov rcx, r15
call fcn.1400d6bb0
xor eax, eax
mov rcx, qword [rbp - 0x11]
xor rcx, rsp
call fcn.1400ab310
add rsp, 0xb8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret