Function at 0x1400e2380
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 [0x1409b0280]
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 0x1400e2402
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 0x1400e2424
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.1400e1a10
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.1400e1a10
lea r8, [rbp - 0x21]
mov rcx, r12
lea rdx, [rbp - 0x31]
call fcn.1400dfcf0
lea rax, [rbp - 0x21]
xor r8d, r8d
lea rcx, [rbp - 0x41]
or rax, rcx
test al, 7
jne 0x1400e248f
movdqu xmm1, xmmword [rbp - 0x41]
movdqu xmm0, xmmword [rbp - 0x21]
xorps xmm1, xmm0
movdqu xmmword [rbp - 0x41], xmm1
jmp 0x1400e24d8
lea rcx, [rbp - 0x41]
lea rax, [rbp - 0x12]
cmp rcx, rax
ja 0x1400e24c6
lea rcx, [rbp - 0x32]
lea rax, [rbp - 0x21]
cmp rcx, rax
jb 0x1400e24c6
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 0x1400e24b1
jmp 0x1400e24d8
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 0x1400e25c5
lea rax, [rbp - 0x41]
cmp r15d, 8
jb 0x1400e257f
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 0x1400e2502
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 0x1400e25b6
jmp 0x1400e2582
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 0x1400e25a0
test r8d, r8d
je 0x1400e25c5
mov eax, 0xffffff4c
jmp 0x1400e26d3
mov edi, reloc.WS2_32.dll_ntohs
test esi, esi
je 0x1400e268c
lea r15, [rbp - 0x42]
neg r15
nop dword [rax]
dec esi
mov rax, rdi
add byte [rbp + rax - 0x31], 1
jne 0x1400e25f5
dec rax
cmp rax, 0xc
jge 0x1400e25e5
lea r8, [rbp - 0x51]
mov rcx, r12
lea rdx, [rbp - 0x31]
call fcn.1400dfcf0
lea rcx, [rbp - 0x51]
mov rax, rbx
or rax, rcx
test al, 7
jne 0x1400e2624
mov rax, qword [rbx]
xor qword [rbp - 0x51], rax
mov rax, qword [rbx + 8]
xor qword [rbp - 0x49], rax
jmp 0x1400e2674
lea rcx, [rbx + 0xf]
lea rax, [rbp - 0x51]
cmp rax, rcx
ja 0x1400e2663
lea rax, [rbp - 0x42]
cmp rax, rbx
jb 0x1400e2663
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 0x1400e2650
jmp 0x1400e2674
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 0x1400e25e0
mov esi, dword [rbp - 0x61]
test esi, esi
je 0x1400e26d1
add byte [rbp + rdi - 0x31], 1
jne 0x1400e26a3
dec rdi
cmp rdi, 0xc
jge 0x1400e2693
lea r8, [rbp - 0x51]
mov rcx, r12
lea rdx, [rbp - 0x31]
call fcn.1400dfcf0
mov r8d, esi
lea rcx, [rbp - 0x51]
mov rdx, rbx
call fcn.1400dfaf0
mov r8, rsi
lea rdx, [rbp - 0x51]
mov rcx, r14
call fcn.140195690
xor eax, eax
mov rcx, qword [rbp - 0x11]
xor rcx, rsp
call fcn.14015a1f0
add rsp, 0xa8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret