Function at 0x1400fe8c0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push rbx
push rbp
push rsi
push r13
push r14
push r15
sub rsp, 0xa8
mov rax, qword [0x14026d600]
xor rax, rsp
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x108]
mov r15d, r9d
mov qword [rsp + 0x70], rax
mov r14d, r8d
mov dword [rsp + 0x40], r9d
lea ebp, [r8 + r8*2]
mov dword [rsp + 0x48], r8d
mov dword [rsp + 0x44], edx
mov qword [rsp + 0x50], rcx
mov dword [rsp + 0x80], 0x474e5089
mov dword [rsp + 0x84], 0xa1a0a0d
test edx, edx
jne 0x1400fe92b
mov dword [rsp + 0x44], ebp
lea esi, [rbp + 1]
mov qword [rsp + 0xa0], rdi
mov eax, esi
mov qword [rsp + 0x98], r12
imul eax, r15d
mov rbx, 0xffffffffffffffff
movsxd rcx, eax
cmovo rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rsp + 0x68], rax
mov r13, rax
test rax, rax
je 0x1400fe987
imul ecx, r14d, 3
movsxd rcx, ecx
cmovo rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbx, rax
test rax, rax
jne 0x1400fe9ba
mov rcx, r13
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
xor eax, eax
mov r12, qword [rsp + 0x98]
mov rdi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.1401f3070
add rsp, 0xa8
pop r15
pop r14
pop r13
pop rsi
pop rbp
pop rbx
ret
mov eax, dword [rsp + 0x40]
xor edi, edi
mov r12d, edi
test eax, eax
jle 0x1400feb82
movsxd rcx, esi
mov qword [rsp + 0x60], rcx
movsxd r14, ebp
mov qword [rsp + 0x58], r13
nop dword [rax + rax]
mov r13d, edi
mov r15d, 0x7fffffff
mov esi, edi
nop dword [rax + rax]
mov r8d, dword [rsp + 0x48]
mov r9d, eax
mov edx, dword [rsp + 0x44]
mov rcx, qword [rsp + 0x50]
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x30], esi
mov dword [rsp + 0x20], r12d
call fcn.1400fe560
mov r10d, edi
mov rax, rdi
test ebp, ebp
jle 0x1400fea9b
cmp ebp, 8
jb 0x1400fea9b
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x1400fea9b
mov edx, ebp
xorps xmm4, xmm4
xorps xmm3, xmm3
and edx, 0x80000007
jge 0x1400fea43
dec edx
or edx, 0xfffffff8
inc edx
mov ecx, ebp
sub ecx, edx
movsxd rdx, ecx
nop word [rax + rax]
pmovsxbd xmm1, dword [rbx + rax]
pabsd xmm2, xmm1
pmovsxbd xmm1, dword [rbx + rax + 4]
paddd xmm4, xmm2
add rax, 8
pabsd xmm2, xmm1
paddd xmm3, xmm2
cmp rax, rdx
jl 0x1400fea50
paddd xmm3, xmm4
movdqa xmm0, xmm3
psrldq xmm0, 8
paddd xmm3, xmm0
movdqa xmm0, xmm3
psrldq xmm0, 4
paddd xmm3, xmm0
movd r10d, xmm3
mov r8d, edi
mov r9d, edi
cmp rax, r14
jge 0x1400feb00
mov rcx, r14
sub rcx, rax
cmp rcx, 2
jl 0x1400feaeb
lea r11, [r14 - 1]
nop word [rax + rax]
movsx ecx, byte [rbx + rax]
mov edx, ecx
neg edx
cmovs edx, ecx
movsx ecx, byte [rbx + rax + 1]
add r8d, edx
mov edx, ecx
neg edx
cmovs edx, ecx
add rax, 2
add r9d, edx
cmp rax, r11
jl 0x1400feac0
cmp rax, r14
jge 0x1400feaf9
movsx ecx, byte [rax + rbx]
mov eax, ecx
neg eax
cmovs eax, ecx
add r10d, eax
lea eax, [r9 + r8]
add r10d, eax
cmp r10d, r15d
jge 0x1400feb0b
mov r15d, r10d
mov r13d, esi
mov eax, dword [rsp + 0x40]
inc esi
cmp esi, 5
jl 0x1400fe9f0
cmp esi, r13d
je 0x1400feb47
mov r8d, dword [rsp + 0x48]
mov r9d, eax
mov edx, dword [rsp + 0x44]
mov rcx, qword [rsp + 0x50]
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x30], r13d
mov dword [rsp + 0x20], r12d
call fcn.1400fe560
mov esi, r13d
mov r15, qword [rsp + 0x58]
mov r8, r14
mov rdx, rbx
lea rcx, [r15 + 1]
mov byte [r15], sil
call sub.VCRUNTIME140.dll_memcpy
add r15, qword [rsp + 0x60]
inc r12d
mov eax, dword [rsp + 0x40]
mov qword [rsp + 0x58], r15
cmp r12d, eax
jl 0x1400fe9e0
mov r14d, dword [rsp + 0x48]
mov r13, qword [rsp + 0x68]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov r15d, dword [rsp + 0x40]
lea edx, [r14*2 + 1]
add edx, r14d
lea r8, [rsp + 0x78]
imul edx, r15d
mov r9d, 8
mov rcx, r13
call fcn.1400fd1d0
mov rcx, r13
mov r12, rax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
test r12, r12
je 0x1400fe987
mov ecx, dword [rsp + 0x78]
mov rax, 0xffffffffffffffff
add ecx, 0x39
movsxd rcx, ecx
cmovo rcx, rax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbp, rax
test rax, rax
je 0x1400fe987
mov rcx, qword [rsp + 0x70]
lea rsi, [rbp + 8]
movsxd r8, dword [rsp + 0x78]
lea eax, [r8 + 0x39]
mov dword [rcx], eax
mov rax, qword [rsp + 0x80]
mov qword [rbp], rax
mov eax, r14d
sar eax, 0x18
mov byte [rsi + 8], al
mov eax, r14d
sar eax, 0x10
mov byte [rsi + 9], al
mov eax, r14d
sar eax, 8
mov byte [rsi + 0xa], al
mov eax, r15d
sar eax, 0x18
mov byte [rsi + 0xc], al
mov eax, r15d
sar eax, 0x10
mov byte [rsi + 0xd], al
mov eax, r15d
sar eax, 8
mov byte [rsi + 0xe], al
mov byte [rsi + 0xb], r14b
lea r14, [0x140250c80]
mov dword [rsi], 0xd000000
mov dword [rsi + 4], 0x52444849
mov byte [rsi + 0xf], r15b
mov dword [rsi + 0x10], 0x208
mov byte [rsi + 0x14], dil
movzx eax, byte [rsi + 4]
not al
movzx ecx, al
movzx eax, byte [rsi + 5]
mov edx, dword [r14 + rcx*4]
xor edx, 0xffffff
movzx ecx, dl
xor rcx, rax
shr edx, 8
movzx eax, byte [rsi + 6]
xor edx, dword [r14 + rcx*4]
movzx ecx, dl
xor rcx, rax
shr edx, 8
movzx eax, byte [rsi + 7]
xor edx, dword [r14 + rcx*4]
movzx ecx, dl
xor rcx, rax
shr edx, 8
movzx eax, byte [rsi + 8]
xor edx, dword [r14 + rcx*4]
movzx ecx, dl
xor rcx, rax
shr edx, 8
movzx eax, byte [rsi + 9]
xor edx, dword [r14 + rcx*4]
movzx ecx, dl
xor rcx, rax
shr edx, 8
movzx eax, byte [rsi + 0xa]
xor edx, dword [r14 + rcx*4]
movzx ecx, dl
xor rcx, rax
shr edx, 8
movzx eax, byte [rsi + 0xb]
xor edx, dword [r14 + rcx*4]
movzx ecx, dl
xor rcx, rax
shr edx, 8
movzx eax, byte [rsi + 0xc]
xor edx, dword [r14 + rcx*4]
movzx ecx, dl
xor rcx, rax
shr edx, 8
movzx eax, byte [rsi + 0xd]
xor edx, dword [r14 + rcx*4]
movzx ecx, dl
xor rcx, rax
shr edx, 8
xor edx, dword [r14 + rcx*4]
mov rbx, r8
movzx eax, byte [rsi + 0xe]
movzx ecx, dl
xor rcx, rax
shr edx, 8
movzx eax, r15b
xor edx, dword [r14 + rcx*4]
movzx ecx, dl
xor rcx, rax
shr edx, 8
movzx eax, byte [rsi + 0x10]
mov byte [rsi + 0x1c], r8b
mov dword [rsi + 0x1d], 0x54414449
xor edx, dword [r14 + rcx*4]
movzx ecx, dl
xor rcx, rax
shr edx, 8
xor edx, dword [r14 + rcx*4]
mov eax, edx
shr edx, 8
xor rax, 2
movzx ecx, al
xor edx, dword [r14 + rcx*4]
movzx ecx, dl
shr edx, 8
xor edx, dword [r14 + rcx*4]
movzx ecx, dl
shr edx, 8
xor edx, dword [r14 + rcx*4]
movzx ecx, dl
shr edx, 8
xor edx, dword [r14 + rcx*4]
not edx
mov eax, edx
mov byte [rsi + 0x18], dl
shr eax, 0x18
mov byte [rsi + 0x15], al
mov eax, edx
shr eax, 0x10
mov byte [rsi + 0x16], al
mov eax, edx
shr eax, 8
mov rdx, r12
mov byte [rsi + 0x17], al
mov eax, r8d
sar eax, 0x18
mov byte [rsi + 0x19], al
mov eax, r8d
sar eax, 0x10
mov byte [rsi + 0x1a], al
mov eax, r8d
sar eax, 8
mov byte [rsi + 0x1b], al
add rsi, 0x21
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
mov rcx, r12
add rsi, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
movsxd rcx, dword [rsp + 0x78]
mov r8d, 0xffffffff
lea eax, [rcx + 4]
movsxd r10, eax
test eax, eax
jle 0x1400fee1d
mov r9, rsi
sub r9, rcx
nop dword [rax]
nop dword [rax + rax]
movzx edx, byte [rdi + r9 - 4]
inc rdi
movzx ecx, r8b
xor rdx, rcx
shr r8d, 8
xor r8d, dword [r14 + rdx*4]
cmp rdi, r10
jl 0x1400fee00
mov dword [rsi + 4], 0
not r8d
mov byte [rsi + 3], r8b
mov eax, r8d
shr eax, 0x18
mov byte [rsi], al
mov eax, r8d
shr eax, 0x10
mov byte [rsi + 1], al
mov eax, r8d
shr eax, 8
mov byte [rsi + 2], al
mov dword [rsi + 8], 0x444e4549
movzx eax, byte [rsi + 9]
xor rax, 0x46
mov edx, dword [r14 + rax*4]
movzx eax, byte [rsi + 0xa]
xor edx, 0x22fde9
movzx ecx, dl
xor rcx, rax
shr edx, 8
movzx eax, byte [rsi + 0xb]
xor edx, dword [r14 + rcx*4]
movzx ecx, dl
xor rcx, rax
shr edx, 8
mov rax, rbp
xor edx, dword [r14 + rcx*4]
not edx
mov ecx, edx
mov byte [rsi + 0xf], dl
shr ecx, 0x18
mov byte [rsi + 0xc], cl
mov ecx, edx
shr ecx, 0x10
mov byte [rsi + 0xd], cl
mov ecx, edx
shr ecx, 8
mov byte [rsi + 0xe], cl
jmp 0x1400fe989