Function at 0x14009f8f0
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 eax, r9d
mov r9, qword [rbp + 0x6f]
mov esi, eax
mov r13d, eax
shr esi, 4
and r13d, 0xf
mov dword [rbp - 0x71], eax
mov eax, dword [rbp + 0x77]
mov r15, rcx
mov rcx, qword [rbp + 0x8f]
xorps xmm0, xmm0
mov qword [rbp - 0x51], r8
mov rdi, r8
mov qword [rbp - 0x61], rdx
mov r14, rdx
mov qword [rbp - 0x69], r12
mov qword [rbp - 0x59], rcx
movups xmmword [rbp - 0x21], xmm0
cmp eax, 0xc
jne 0x14009f977
movsd xmm0, qword [r9]
mov eax, dword [r9 + 8]
movsd qword [rbp - 0x21], xmm0
mov dword [rbp - 0x19], eax
mov byte [rbp - 0x12], 1
jmp 0x14009f9b2
mov ebx, dword [r15 + 0x144]
lea rcx, [rbp - 0x21]
mov dword [rsp + 0x30], reloc.WS2_32.dll_recv
xor r8d, r8d
mov qword [rsp + 0x28], rcx
xor edx, edx
mov rcx, r15
mov dword [r15 + 0x144], 0
mov dword [rsp + 0x20], eax
call fcn.14009f140
mov dword [r15 + 0x144], ebx
movaps xmm0, xmmword [rbp - 0x21]
mov ebx, recv
movdqa xmmword [rbp - 0x31], xmm0
test esi, esi
je 0x14009fa80
lea r12, [rbp - 0x3a]
neg r12
nop
dec esi
mov rax, rbx
add byte [rbp + rax - 0x31], 1
jne 0x14009f9e5
dec rax
cmp rax, 0xc
jge 0x14009f9d5
lea r8, [rbp - 0x49]
mov rcx, r15
lea rdx, [rbp - 0x31]
call fcn.14009d400
lea rcx, [rbp - 0x49]
mov rax, rdi
or rax, rcx
test al, 7
jne 0x14009fa14
mov rax, qword [rdi]
xor qword [rbp - 0x49], rax
mov rax, qword [rdi + 8]
xor qword [rbp - 0x41], rax
jmp 0x14009fa64
lea rcx, [rdi + 0xf]
lea rax, [rbp - 0x49]
cmp rax, rcx
ja 0x14009fa53
lea rax, [rbp - 0x3a]
cmp rax, rdi
jb 0x14009fa53
lea rax, [rbp - 0x49]
mov edx, reloc.WS2_32.dll_recv
lea r8, [rcx + r12]
nop word [rax + rax]
movzx ecx, byte [r8 + rax]
xor byte [rax], cl
lea rax, [rax + 1]
sub rdx, 1
jne 0x14009fa40
jmp 0x14009fa64
movdqu xmm0, xmmword [rbp - 0x49]
movdqu xmm1, xmmword [rdi]
xorps xmm1, xmm0
movdqu xmmword [rbp - 0x49], xmm1
movups xmm0, xmmword [rbp - 0x49]
add rdi, 0x10
movups xmmword [r14], xmm0
add r14, 0x10
test esi, esi
jne 0x14009f9d0
mov r12, qword [rbp - 0x69]
test r13d, r13d
je 0x14009fac3
add byte [rbp + rbx - 0x31], 1
jne 0x14009fa95
dec rbx
cmp rbx, 0xc
jge 0x14009fa85
lea r8, [rbp - 0x49]
mov rcx, r15
lea rdx, [rbp - 0x31]
call fcn.14009d400
mov r8d, r13d
lea rcx, [rbp - 0x49]
mov rdx, rdi
call fcn.14008bb10
mov r8d, r13d
lea rdx, [rbp - 0x49]
mov rcx, r14
call fcn.1400d6bb0
test r12, r12
je 0x14009fb2c
mov ebx, dword [rbp + 0x87]
mov rcx, r15
mov edi, dword [rbp + 0x97]
mov r8d, edi
mov esi, dword [rbp - 0x71]
mov r9, qword [rbp - 0x61]
mov rdx, qword [rbp - 0x59]
mov dword [rsp + 0x30], ebx
mov qword [rsp + 0x28], r12
mov dword [rsp + 0x20], esi
call fcn.14009f140
lea r8, [rbp - 0x49]
mov rcx, r15
lea rdx, [rbp - 0x21]
call fcn.14009d400
mov r8d, ebx
lea rdx, [rbp - 0x49]
mov rcx, r12
call fcn.14008bb10
cmp qword [rbp - 0x51], 0
jne 0x14009fb2c
xor eax, eax
test esi, esi
jne 0x14009fb2e
mov dword [r15 + 0x144], edi
jmp 0x14009fb2e
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