Function at 0x1402e24a0
Capabilities:
Encode data using xor

Disassembly:
mov r11, rsp
push rbp
push rsi
push rdi
push r13
sub rsp, 0xa8
mov rax, qword [0x140398b38]
xor rax, rsp
mov qword [rsp + 0x80], rax
xor eax, eax
mov rbp, r9
mov qword [r11 - 0x60], rax
mov r13, r8
mov rdi, rcx
test r9, r9
je 0x1402e27a3
movabs rcx, 0x2000000000000000
cmp r9, rcx
jae 0x1402e27a3
mov rsi, qword [rsp + 0xf8]
cmp rsi, rcx
jae 0x1402e27a3
mov qword [r11 + 0x10], rbx
xorps xmm0, xmm0
mov qword [r11 - 0x30], r14
lea r14, [rdi + 0x178]
mov qword [r11 - 0x38], r15
xorps xmm1, xmm1
movups xmmword [r14], xmm0
movups xmmword [rdi + 0x188], xmm1
mov dword [rdi + 0x198], edx
mov qword [rdi + 0x158], rax
mov qword [rdi + 0x160], rax
cmp r9, 0xc
jne 0x1402e2559
movsd xmm0, qword [r8]
movsd qword [r14], xmm0
mov eax, dword [r8 + 8]
mov dword [r14 + 8], eax
mov byte [rdi + 0x187], 1
jmp 0x1402e26da
mov qword [rsp + 0xa0], r12
lea r12, [r9*8]
mov rax, r12
shr rax, 0x38
mov qword [rsp + 0x30], rax
mov rax, r12
shr rax, 0x30
mov qword [rsp + 0x38], rax
mov rax, r12
shr rax, 0x28
mov qword [rsp + 0x40], rax
mov rax, r12
shr rax, 0x20
mov qword [rsp + 0x48], rax
mov rax, r12
shr rax, 0x18
mov qword [rsp + 0x50], rax
mov rax, r12
shr rax, 0x10
mov qword [rsp + 0x58], rax
mov rax, r12
shr rax, 8
mov qword [rsp + 0x60], rax
movups xmmword [rsp + 0x70], xmm0
nop dword [rax]
nop word [rax + rax]
mov ebx, reloc.WS2_32.dll_recv
cmp rbp, rbx
cmovb rbx, rbp
test rbx, rbx
je 0x1402e2605
mov r8, r13
mov rcx, r14
sub r8, rdi
mov rdx, rbx
nop dword [rax]
movzx eax, byte [r8 + rcx - 0x178]
xor byte [rcx], al
lea rcx, [rcx + 1]
sub rdx, 1
jne 0x1402e25f0
mov r8, r14
mov rdx, r14
mov rcx, rdi
call fcn.1402e1af0
add r13, rbx
sub rbp, rbx
jne 0x1402e25d0
movzx eax, byte [rsp + 0x70]
mov r8, r14
xor byte [r14], al
mov rdx, r14
movzx eax, byte [rsp + 0x71]
mov rcx, rdi
xor byte [rdi + 0x179], al
movzx eax, byte [rsp + 0x72]
xor byte [rdi + 0x17a], al
movzx eax, byte [rsp + 0x73]
xor byte [rdi + 0x17b], al
movzx eax, byte [rsp + 0x74]
xor byte [rdi + 0x17c], al
movzx eax, byte [rsp + 0x75]
xor byte [rdi + 0x17d], al
movzx eax, byte [rsp + 0x76]
xor byte [rdi + 0x17e], al
movzx eax, byte [rsp + 0x77]
xor byte [rdi + 0x17f], al
mov rax, qword [rsp + 0x30]
xor byte [rdi + 0x180], al
mov rax, qword [rsp + 0x38]
xor byte [rdi + 0x181], al
mov rax, qword [rsp + 0x40]
xor byte [rdi + 0x182], al
mov rax, qword [rsp + 0x48]
xor byte [rdi + 0x183], al
mov rax, qword [rsp + 0x50]
xor byte [rdi + 0x184], al
mov rax, qword [rsp + 0x58]
xor byte [rdi + 0x185], al
mov rax, qword [rsp + 0x60]
xor byte [rdi + 0x186], al
xor byte [rdi + 0x187], r12b
call fcn.1402e1af0
mov r12, qword [rsp + 0xa0]
lea rax, [rsp + 0x68]
mov r8d, reloc.WS2_32.dll_recv
lea r9, [rdi + 0x168]
mov qword [rsp + 0x20], rax
mov rdx, r14
mov rcx, rdi
call fcn.1402cd910
mov r14, qword [rsp + 0x98]
test eax, eax
jne 0x1402e2776
mov rbp, qword [rsp + 0xf0]
mov qword [rdi + 0x160], rsi
test rsi, rsi
je 0x1402e2774
nop dword [rax]
mov ebx, reloc.WS2_32.dll_recv
cmp rsi, rbx
cmovb rbx, rsi
test rbx, rbx
je 0x1402e2756
mov r8, rbp
lea rax, [rdi + 0x188]
sub r8, rdi
mov rdx, rbx
movzx ecx, byte [r8 + rax - 0x188]
xor byte [rax], cl
lea rax, [rax + 1]
sub rdx, 1
jne 0x1402e2741
lea r8, [rdi + 0x188]
mov rcx, rdi
lea rdx, [rdi + 0x188]
call fcn.1402e1af0
add rbp, rbx
sub rsi, rbx
jne 0x1402e2720
xor eax, eax
mov rbx, qword [rsp + 0xd8]
mov r15, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.14025e930
add rsp, 0xa8
pop r13
pop rdi
pop rsi
pop rbp
ret
mov eax, 0xffffffec
jmp 0x1402e2786