Function at 0x42f3c0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x50
mov eax, dword [edx + 0x20]
test eax, eax
je 0x42f5d7
mov esi, dword [edx + 0x18]
test esi, esi
jne 0x42f3e1
mov esi, dword [edx + 0x1c]
cmp dword [ecx + 0xc], 0
mov dword [esp + 0x18], esi
je 0x42f5d7
mov dword [esp + 8], ecx
mov ecx, eax
mov edx, 0x1b3
mov ebx, 0x1b3
movzx edi, cl
mov dword [esp + 0xc], ecx
xor edi, 0x84222325
mov eax, edi
imul edi, edi, 0x100
mul edx
or edi, edx
mov edx, 0xcbf29ce4
imul esi, edx, 0x1b3
add esi, edi
movzx edi, ch
xor edi, eax
imul esi, esi, 0x1b3
mov eax, edi
imul edi, edi, 0x100
mul ebx
add edi, edx
mov edx, ecx
shr edx, 0x10
add esi, edi
movzx edi, dl
xor edi, eax
mov eax, edi
imul edi, edi, 0x100
mul ebx
imul ebx, esi, 0x1b3
mov esi, ecx
mov ecx, 0x1b3
shr esi, 0x18
add edi, edx
xor esi, eax
add ebx, edi
mov eax, esi
imul esi, esi, 0x100
mul ecx
imul ecx, ebx, 0x1b3
xor ebx, ebx
add esi, edx
mov edi, eax
add esi, ecx
mov eax, dword [esp + 0x18]
mov ecx, 0x100
movzx eax, byte [eax + ebx]
inc ebx
xor eax, edi
mov edi, eax
imul edi, ecx
mov ecx, 0x1b3
mul ecx
imul esi, ecx
add edx, edi
mov edi, eax
add esi, edx
cmp dword [esp + 0xc], ebx
jne 0x42f480
mov ecx, dword [esp + 8]
mov eax, edi
mov dword [esp + 0x14], 0
shr eax, 0x19
movd xmm0, eax
punpcklbw xmm0, xmm0
mov edx, dword [ecx]
mov ebx, dword [ecx + 4]
mov ecx, dword [esp + 0xc]
pshuflw xmm0, xmm0, 0
pshufd xmm0, xmm0, 0
movdqa xmmword [esp + 0x20], xmm0
lea eax, [edx - 0x18]
mov dword [esp + 0x10], edx
mov dword [esp + 8], eax
and edi, ebx
movdqu xmm1, xmmword [edx + edi]
mov edx, ebx
mov dword [esp + 0x1c], edi
pcmpeqb xmm0, xmm1
movdqa xmmword [esp + 0x30], xmm1
pmovmskb esi, xmm0
nop word cs:[eax + eax]
nop dword [eax]
test si, si
je 0x42f560
mov eax, esi
lea esi, [eax - 1]
and esi, eax
tzcnt eax, eax
add eax, edi
and eax, edx
neg eax
lea ebx, [eax + eax*2]
mov eax, dword [esp + 8]
cmp ecx, dword [eax + ebx*8 + 8]
jne 0x42f510
mov eax, dword [esp + 8]
lea eax, [eax + ebx*8]
push ecx
push dword [eax]
push dword [esp + 0x20]
mov edi, edx
call sub.msvcrt.dll_memcmp
mov edx, edi
mov ecx, dword [esp + 0x18]
mov edi, dword [esp + 0x28]
add esp, 0xc
test eax, eax
jne 0x42f510
jmp 0x42f596
movdqa xmm1, xmmword [esp + 0x30]
pcmpeqd xmm0, xmm0
pcmpeqb xmm1, xmm0
pmovmskb eax, xmm1
test eax, eax
jne 0x42f5d7
mov eax, dword [esp + 0x14]
mov ebx, edx
mov edx, dword [esp + 0x10]
movdqa xmm0, xmmword [esp + 0x20]
lea edi, [edi + eax + 0x10]
add eax, 0x10
mov dword [esp + 0x14], eax
jmp 0x42f4e8
mov eax, dword [esp + 0x10]
mov ecx, dword [ebp + 8]
mov edx, dword [eax + ebx*8 - 0xc]
mov esi, dword [eax + ebx*8 - 4]
mov eax, dword [ecx + 4]
mov edi, dword [ecx + 8]
sub eax, edi
lea ebx, [esi*4]
cmp eax, esi
jb 0x42f5df
mov ecx, dword [ebp + 8]
lea eax, [edi*4]
add eax, dword [ecx]
push ebx
push edx
push eax
call sym._memcpy
add esp, 0xc
mov eax, dword [ebp + 8]
add esi, edi
mov dword [eax + 8], esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [esp + 8], edx
mov edx, edi
push esi
call sym.alloc::raw_vec::RawVec_LT_T_C_A_GT_::reserve::do_reserve_and_handle::h0279360c98d92549
mov edx, dword [esp + 0xc]
add esp, 4
mov eax, dword [ebp + 8]
mov edi, dword [eax + 8]
jmp 0x42f5b8