Function at 0x14009b4c0
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, 0xa8
mov rax, qword [0x14010d0c0]
xor rax, rsp
mov qword [rbp - 0x11], rax
mov rax, qword [rbp + 0x8f]
mov r13d, r9d
movsxd r15, dword [rbp + 0x87]
mov esi, r13d
mov r9, qword [rbp + 0x6f]
xorps xmm0, xmm0
mov rdi, qword [rbp + 0x7f]
mov rbx, r8
mov qword [rbp - 0x59], rax
mov r14, rdx
mov eax, r13d
shr esi, 4
and eax, 0xf
mov r12, rcx
mov dword [rbp - 0x61], eax
mov eax, dword [rbp + 0x77]
movups xmmword [rbp - 0x31], xmm0
cmp eax, 0xc
jne 0x14009b542
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 0x14009b564
lea rcx, [rbp - 0x31]
mov dword [rsp + 0x30], reloc.WS2_32.dll_recv
mov qword [rsp + 0x28], rcx
xor r8d, r8d
mov rcx, r12
mov dword [rsp + 0x20], eax
xor edx, edx
call fcn.14009ab50
movaps xmm0, xmmword [rbp - 0x31]
lea rax, [rbp - 0x41]
mov r8d, dword [rbp + 0x97]
mov r9, rbx
mov rdx, qword [rbp - 0x59]
mov rcx, r12
mov dword [rsp + 0x30], reloc.WS2_32.dll_recv
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r13d
movdqa xmmword [rbp - 0x31], xmm0
call fcn.14009ab50
lea r8, [rbp - 0x21]
mov rcx, r12
lea rdx, [rbp - 0x31]
call fcn.140098e30
lea rax, [rbp - 0x21]
xor r8d, r8d
lea rcx, [rbp - 0x41]
or rax, rcx
test al, 7
jne 0x14009b5cf
movdqu xmm1, xmmword [rbp - 0x41]
movdqu xmm0, xmmword [rbp - 0x21]
xorps xmm1, xmm0
movdqu xmmword [rbp - 0x41], xmm1
jmp 0x14009b618
lea rcx, [rbp - 0x41]
lea rax, [rbp - 0x12]
cmp rcx, rax
ja 0x14009b606
lea rcx, [rbp - 0x32]
lea rax, [rbp - 0x21]
cmp rcx, rax
jb 0x14009b606
mov rcx, r8
mov edx, reloc.WS2_32.dll_recv
movzx eax, byte [rbp + rcx - 0x21]
xor byte [rbp + rcx - 0x41], al
lea rcx, [rcx + 1]
sub rdx, 1
jne 0x14009b5f1
jmp 0x14009b618
movdqu xmm1, xmmword [rbp - 0x41]
movdqu xmm0, xmmword [rbp - 0x21]
xorps xmm1, xmm0
movdqu xmmword [rbp - 0x41], xmm1
mov ecx, r8d
test r15d, r15d
jle 0x14009b705
lea rax, [rbp - 0x41]
cmp r15d, 8
jb 0x14009b6bf
mov rdx, r15
xorps xmm4, xmm4
and rdx, 0xfffffffffffffff8
xorps xmm3, xmm3
sub rdi, rax
xorps xmm0, xmm0
lea rax, [rbp - 0x41]
add rax, r8
add ecx, 8
add r8, 8
movd xmm2, dword [rax + rdi]
movd xmm1, dword [rax]
punpcklbw xmm2, xmm0
punpcklwd xmm2, xmm0
punpcklbw xmm1, xmm0
punpcklwd xmm1, xmm0
xorps xmm2, xmm1
movd xmm1, dword [rax + 4]
punpcklbw xmm1, xmm0
orps xmm4, xmm2
movd xmm2, dword [rax + rdi + 4]
punpcklbw xmm2, xmm0
punpcklwd xmm2, xmm0
punpcklwd xmm1, xmm0
xorps xmm2, xmm1
orps xmm3, xmm2
cmp r8, rdx
jl 0x14009b642
orps xmm3, xmm4
movdqa xmm0, xmm3
psrldq xmm0, 8
orps xmm3, xmm0
movdqa xmm0, xmm3
psrldq xmm0, 4
orps xmm3, xmm0
movd r8d, xmm3
cmp ecx, r15d
jge 0x14009b6f6
jmp 0x14009b6c2
sub rdi, rax
movsxd rax, ecx
lea rdx, [rbp - 0x41]
add rdx, rax
sub r15d, ecx
mov r9d, r15d
nop dword [rax]
nop word [rax + rax]
movzx ecx, byte [rdi + rdx]
movzx eax, byte [rdx]
lea rdx, [rdx + 1]
xor ecx, eax
or r8d, ecx
sub r9, 1
jne 0x14009b6e0
test r8d, r8d
je 0x14009b705
mov eax, 0xffffff4c
jmp 0x14009b813
mov edi, recv
test esi, esi
je 0x14009b7cc
lea r15, [rbp - 0x42]
neg r15
nop dword [rax]
dec esi
mov rax, rdi
add byte [rbp + rax - 0x31], 1
jne 0x14009b735
dec rax
cmp rax, 0xc
jge 0x14009b725
lea r8, [rbp - 0x51]
mov rcx, r12
lea rdx, [rbp - 0x31]
call fcn.140098e30
lea rcx, [rbp - 0x51]
mov rax, rbx
or rax, rcx
test al, 7
jne 0x14009b764
mov rax, qword [rbx]
xor qword [rbp - 0x51], rax
mov rax, qword [rbx + 8]
xor qword [rbp - 0x49], rax
jmp 0x14009b7b4
lea rcx, [rbx + 0xf]
lea rax, [rbp - 0x51]
cmp rax, rcx
ja 0x14009b7a3
lea rax, [rbp - 0x42]
cmp rax, rbx
jb 0x14009b7a3
lea rax, [rbp - 0x51]
mov edx, reloc.WS2_32.dll_recv
lea r8, [rcx + r15]
nop word [rax + rax]
movzx ecx, byte [r8 + rax]
xor byte [rax], cl
lea rax, [rax + 1]
sub rdx, 1
jne 0x14009b790
jmp 0x14009b7b4
movdqu xmm0, xmmword [rbp - 0x51]
movdqu xmm1, xmmword [rbx]
xorps xmm1, xmm0
movdqu xmmword [rbp - 0x51], xmm1
movups xmm0, xmmword [rbp - 0x51]
add rbx, 0x10
movups xmmword [r14], xmm0
add r14, 0x10
test esi, esi
jne 0x14009b720
mov esi, dword [rbp - 0x61]
test esi, esi
je 0x14009b811
add byte [rbp + rdi - 0x31], 1
jne 0x14009b7e3
dec rdi
cmp rdi, 0xc
jge 0x14009b7d3
lea r8, [rbp - 0x51]
mov rcx, r12
lea rdx, [rbp - 0x31]
call fcn.140098e30
mov r8d, esi
lea rcx, [rbp - 0x51]
mov rdx, rbx
call fcn.140098c30
mov r8, rsi
lea rdx, [rbp - 0x51]
mov rcx, r14
call fcn.1400d5160
xor eax, eax
mov rcx, qword [rbp - 0x11]
xor rcx, rsp
call fcn.1400a8a40
add rsp, 0xa8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret