Function at 0x1400fe110
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 8], rcx
push rbx
push rsi
push rdi
push r13
push r15
mov eax, reloc.WS2_32.dll_WSASetLastError
call fcn.140103e70
sub rsp, rax
mov rcx, r9
mov rdi, r9
mov r15, r8
mov rbx, rdx
xor esi, esi
call fcn.140097630
mov rcx, rdi
call fcn.140097720
mov rcx, rdi
mov qword [rsp + 0x38], rax
call fcn.140097720
mov rcx, rdi
mov qword [rsp + 0x28], rax
call fcn.140097720
mov rcx, rdi
mov r13, rax
mov qword [rsp + 0x50], rax
call fcn.140097720
mov rdi, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x1400fe4f1
mov r8, r15
mov rdx, rbx
mov rcx, r13
call fcn.1400fdcc0
test eax, eax
je 0x1400fe4f1
mov rcx, r13
call fcn.14004a3c0
test eax, eax
jne 0x1400fe4f1
mov rdx, r15
mov rcx, rdi
call fcn.14004ad10
test rax, rax
je 0x1400fe4f1
mov rcx, r13
mov qword [rsp + 0xa8], rbp
mov qword [rsp + 0x60], r14
call fcn.14004a5a0
mov rcx, rdi
mov ebp, eax
call fcn.14004a5a0
movsxd rdi, dword [r15 + 8]
mov edx, edi
mov rcx, r13
mov r14d, eax
mov dword [rsp + 0x20], eax
mov dword [rsp + 0x24], edi
call fcn.14004ace0
test rax, rax
je 0x1400fe4e4
movsxd rax, dword [r13 + 8]
mov rbx, qword [r13]
mov qword [rsp + 0x68], r12
cmp rax, rdi
mov r12, rdi
jge 0x1400fe229
mov r8, rdi
lea rcx, [rbx + rax*8]
xor edx, edx
sub r8, rax
shl r8, 3
call sub.MSVCR90.dll_memset
mov dword [r13 + 8], edi
mov r13, qword [rsp + 0x38]
mov edx, edi
mov rcx, r13
call fcn.14004ace0
test rax, rax
je 0x1400fe4df
mov r13, qword [r13]
mov eax, 1
cmp rdi, rax
mov qword [r13], rax
jle 0x1400fe26a
lea r8, [rdi - 1]
lea rcx, [r13 + 8]
xor edx, edx
shl r8, 3
call sub.MSVCR90.dll_memset
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x28]
mov edx, edi
mov dword [rax + 8], edi
call fcn.14004ace0
test rax, rax
je 0x1400fe4df
mov r9, qword [rsp + 0x28]
mov r11, qword [r9]
mov qword [rsp + 0x48], r11
test edi, edi
jle 0x1400fe2ae
mov r8, rdi
xor edx, edx
mov rcx, r11
shl r8, 3
call sub.MSVCR90.dll_memset
mov r9, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x30]
mov dword [r9 + 8], edi
mov r8, qword [rdx]
mov qword [rsp + 0x40], r8
nop
test ebp, ebp
je 0x1400fe3a4
nop dword [rax + rax]
mov r9, qword [rbx]
test r9b, 1
jne 0x1400fe38d
mov r8, qword [r13]
mov rax, qword [r15]
mov r11, rsi
mov rcx, qword [rax]
mov r10, r8
lea eax, [rdi - 1]
and r10d, 1
neg r10
and rcx, r10
xor r8, rcx
test eax, eax
jle 0x1400fe375
mov rdi, rbx
mov rsi, 0xfffffffffffffff8
lea r12, [r13 + 8]
sub rdi, r13
sub rsi, r13
mov r14d, eax
nop dword [rax + rax]
mov rcx, qword [rdi + r12]
shr r9, 1
shr r8, 1
mov rax, rcx
inc r11
shl rax, 0x3f
or rax, r9
mov r9, rcx
lea rcx, [rsi + r12]
mov qword [rbx + r11*8 - 8], rax
mov rax, qword [r15]
add r12, 8
mov rdx, qword [rcx + rax + 8]
and rdx, r10
xor rdx, qword [r12 - 8]
mov rax, rdx
shl rax, 0x3f
or rax, r8
sub r14, 1
mov r8, rdx
mov qword [r12 - 0x10], rax
jne 0x1400fe320
mov edi, dword [rsp + 0x24]
xor esi, esi
shr r9, 1
shr r8, 1
sub ebp, 1
mov qword [rbx + r11*8], r9
mov qword [r13 + r11*8], r8
jne 0x1400fe2d0
mov r14d, dword [rsp + 0x20]
mov rdx, qword [rsp + 0x30]
mov r8, qword [rsp + 0x40]
mov r9, qword [rsp + 0x28]
movsxd r12, edi
cmp ebp, 0x40
jg 0x1400fe3bf
mov rax, qword [rbx]
test rax, rax
je 0x1400fe4df
cmp rax, 1
je 0x1400fe4b7
cmp ebp, r14d
jge 0x1400fe40e
mov rcx, qword [rsp + 0x50]
mov r13, qword [rsp + 0x48]
mov eax, ebp
mov ebp, r14d
mov dword [rsp + 0x20], eax
mov r14d, eax
mov rax, qword [rsp + 0x38]
mov rbx, r8
mov r8, qword [rcx]
mov r11, qword [rax]
mov qword [rsp + 0x50], rdx
mov qword [rsp + 0x38], r9
mov rdx, rcx
mov qword [rsp + 0x30], rcx
mov r9, rax
mov qword [rsp + 0x48], r11
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x40], r8
jmp 0x1400fe413
mov r11, qword [rsp + 0x48]
test r12, r12
jle 0x1400fe45b
mov r9, r8
mov r10, r11
mov rdx, r13
sub r9, rbx
sub r10, rbx
mov rcx, rbx
sub rdx, rbx
mov r8, r12
mov rax, qword [r9 + rcx]
add rcx, 8
xor qword [rcx - 8], rax
mov rax, qword [r10 + rcx - 8]
xor qword [rdx + rcx - 8], rax
sub r8, 1
jne 0x1400fe430
mov rdx, qword [rsp + 0x30]
mov r8, qword [rsp + 0x40]
mov r9, qword [rsp + 0x28]
cmp ebp, r14d
jne 0x1400fe2c0
lea eax, [rbp - 1]
cdq
and edx, 0x3f
add eax, edx
sar eax, 6
movsxd rdi, eax
mov rax, rdi
mov rcx, qword [rbx + rdi*8]
test rcx, rcx
jne 0x1400fe494
nop
test rax, rax
je 0x1400fe494
mov rcx, qword [rbx + rax*8 - 8]
dec rax
dec edi
test rcx, rcx
je 0x1400fe480
call fcn.140049d20
mov rdx, qword [rsp + 0x30]
mov r8, qword [rsp + 0x40]
mov r9, qword [rsp + 0x28]
shl edi, 6
lea ebp, [rdi + rax]
mov edi, dword [rsp + 0x24]
jmp 0x1400fe2c0
mov rbx, qword [rsp + 0x38]
mov rcx, rbx
call fcn.14004a560
mov rcx, qword [rsp + 0xa0]
mov rdx, rbx
call fcn.14004ad10
test rax, rax
mov eax, 1
cmovne esi, eax
mov r12, qword [rsp + 0x68]
mov rbp, qword [rsp + 0xa8]
mov r14, qword [rsp + 0x60]
mov rcx, qword [rsp + 0xb8]
call fcn.1400976a0
mov eax, esi
add rsp, 0x70
pop r15
pop r13
pop rdi
pop rsi
pop rbx
ret