Function at 0x140096c40
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 [0x140104100]
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 - 0x5d], eax
mov eax, dword [rbp + 0x77]
movups xmmword [rbp - 0x41], xmm0
cmp eax, 0xc
jne 0x140096cc2
movsd xmm0, qword [r9]
mov eax, dword [r9 + 8]
movsd qword [rbp - 0x41], xmm0
mov dword [rbp - 0x39], eax
mov byte [rbp - 0x32], 1
jmp 0x140096ce4
lea rcx, [rbp - 0x41]
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.140096330
movaps xmm0, xmmword [rbp - 0x41]
lea rax, [rbp - 0x31]
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 - 0x41], xmm0
call fcn.140096330
lea r8, [rbp - 0x21]
mov rcx, r12
lea rdx, [rbp - 0x41]
call fcn.1400945c0
lea rax, [rbp - 0x21]
xor r8d, r8d
lea rcx, [rbp - 0x31]
or rax, rcx
test al, 7
jne 0x140096d4f
movdqu xmm1, xmmword [rbp - 0x31]
movdqu xmm0, xmmword [rbp - 0x21]
xorps xmm1, xmm0
movdqu xmmword [rbp - 0x31], xmm1
jmp 0x140096d98
lea rcx, [rbp - 0x31]
lea rax, [rbp - 0x12]
cmp rcx, rax
ja 0x140096d86
lea rcx, [rbp - 0x22]
lea rax, [rbp - 0x21]
cmp rcx, rax
jb 0x140096d86
mov rcx, r8
mov edx, reloc.WS2_32.dll_recv
movzx eax, byte [rbp + rcx - 0x21]
xor byte [rbp + rcx - 0x31], al
lea rcx, [rcx + 1]
sub rdx, 1
jne 0x140096d71
jmp 0x140096d98
movdqu xmm1, xmmword [rbp - 0x31]
movdqu xmm0, xmmword [rbp - 0x21]
xorps xmm1, xmm0
movdqu xmmword [rbp - 0x31], xmm1
mov ecx, r8d
test r15d, r15d
jle 0x140096e85
lea rax, [rbp - 0x31]
cmp r15d, 8
jb 0x140096e3f
mov rdx, r15
xorps xmm4, xmm4
and rdx, 0xfffffffffffffff8
xorps xmm3, xmm3
sub rdi, rax
xorps xmm0, xmm0
lea rax, [rbp - 0x31]
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 + rdi + 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 r8, rdx
jl 0x140096dc2
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 0x140096e76
jmp 0x140096e42
sub rdi, rax
movsxd rax, ecx
lea rdx, [rbp - 0x31]
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 0x140096e60
test r8d, r8d
je 0x140096e85
mov eax, 0xffffff4c
jmp 0x140096f93
mov edi, recv
test esi, esi
je 0x140096f4c
lea r15, [rbp - 0x42]
neg r15
nop dword [rax]
dec esi
mov rcx, rdi
add byte [rbp + rcx - 0x41], 1
jne 0x140096eb5
dec rcx
cmp rcx, 0xc
jge 0x140096ea5
lea r8, [rbp - 0x51]
mov rcx, r12
lea rdx, [rbp - 0x41]
call fcn.1400945c0
lea rcx, [rbp - 0x51]
mov rax, rbx
or rax, rcx
test al, 7
jne 0x140096ee4
mov rax, qword [rbx]
xor qword [rbp - 0x51], rax
mov rax, qword [rbx + 8]
xor qword [rbp - 0x49], rax
jmp 0x140096f34
lea rcx, [rbx + 0xf]
lea rax, [rbp - 0x51]
cmp rax, rcx
ja 0x140096f23
lea rax, [rbp - 0x42]
cmp rax, rbx
jb 0x140096f23
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 0x140096f10
jmp 0x140096f34
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 0x140096ea0
mov esi, dword [rbp - 0x5d]
test esi, esi
je 0x140096f91
add byte [rbp + rdi - 0x41], 1
jne 0x140096f63
dec rdi
cmp rdi, 0xc
jge 0x140096f53
lea r8, [rbp - 0x51]
mov rcx, r12
lea rdx, [rbp - 0x41]
call fcn.1400945c0
mov r8d, esi
lea rcx, [rbp - 0x51]
mov rdx, rbx
call fcn.1400943c0
mov r8, rsi
lea rdx, [rbp - 0x51]
mov rcx, r14
call fcn.1400ce550
xor eax, eax
mov rcx, qword [rbp - 0x11]
xor rcx, rsp
call fcn.1400a3910
add rsp, 0xa8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret