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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x100e6018]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebx + 0x14]
mov dword [ebp - 0x14], eax
mov eax, dword [ebx + 0x10]
push esi
push edi
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x18], ecx
cmp ecx, 8
jb 0x100303f7
mov esi, dword [ebx]
jmp 0x100303f9
mov esi, ebx
lea edi, [eax + eax]
xor ecx, ecx
mov edx, 0x811c9dc5
test edi, edi
je 0x10030418
movzx eax, byte [ecx + esi]
xor edx, eax
inc ecx
imul edx, edx, 0x1000193
cmp ecx, edi
jb 0x10030407
mov eax, dword [ebp - 0x10]
mov esi, dword [eax + 0x14]
mov ecx, esi
and ecx, edx
cmp dword [eax + 0x18], ecx
ja 0x10030433
or eax, 0xffffffff
shr esi, 1
sub eax, esi
add ecx, eax
mov eax, dword [ebp - 0x10]
mov esi, dword [eax]
mov eax, dword [eax + 8]
shl ecx, 3
mov dword [ebp - 0x20], ecx
add ecx, eax
mov eax, dword [ecx]
cmp esi, eax
je 0x100304d0
mov esi, dword [ecx + 4]
mov esi, dword [esi]
cmp esi, eax
je 0x100304d0
mov esi, dword [esi + 4]
cmp dword [esi + 0x1c], 8
mov ecx, dword [esi + 0x18]
lea edx, [esi + 8]
mov dword [ebp - 0x1c], ecx
jb 0x10030467
mov edx, dword [edx]
cmp dword [ebx + 0x14], 8
jb 0x10030471
mov edi, dword [ebx]
jmp 0x10030473
mov edi, ebx
cmp dword [ebp - 0xc], ecx
mov ebx, ecx
cmovb ebx, dword [ebp - 0xc]
test ebx, ebx
jne 0x10030495
xor ecx, ecx
mov edi, dword [ebp - 0xc]
test ecx, ecx
jne 0x100304bd
mov edx, dword [ebp - 0x1c]
cmp edi, edx
jae 0x100304b4
or ecx, 0xffffffff
jmp 0x100304bb
mov cx, word [edi]
cmp cx, word [edx]
jne 0x100304a6
add edi, 2
add edx, 2
dec ebx
jmp 0x1003047e
movzx ecx, word [edi]
cmp cx, word [edx]
sbb ecx, ecx
and ecx, 0xfffffffe
inc ecx
jmp 0x10030482
xor ecx, ecx
cmp edi, edx
setne cl
test ecx, ecx
mov ebx, dword [ebp - 8]
sete cl
test cl, cl
sete cl
test cl, cl
je 0x10030500
cmp esi, eax
jne 0x10030453
mov ecx, dword [ebp - 0x10]
push ebx
mov eax, dword [ecx]
mov edi, dword [eax]
push dword [edi + 4]
push edi
call fcn.100309b0
mov ebx, dword [ebp - 0x10]
mov edx, eax
mov eax, dword [ebx + 4]
mov ecx, 0x7fffffe
sub ecx, eax
cmp ecx, 1
jae 0x1003053e
push str.list_T__too_long
call dword [sym.imp.MSVCP110.dll_void___cdecl_std::_Xlength_error_char_const__]
cmp dword [ebp - 0x18], 8
lea ecx, [esi + 8]
jb 0x1003050d
mov eax, dword [ebx]
jmp 0x1003050f
mov eax, ebx
push edi
push eax
push dword [ecx + 0x10]
push ecx
call fcn.10010100
test eax, eax
je 0x10030522
mov esi, dword [esi]
jmp 0x100304d0
mov eax, dword [ebp - 0x14]
mov dword [eax], esi
mov byte [eax + 4], 0
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100947be
mov esp, ebp
pop ebp
ret 0xc
inc eax
mov dword [ebx + 4], eax
mov dword [edi + 4], edx
mov eax, dword [edx + 4]
mov dword [eax], edx
mov edi, dword [ebx]
mov edi, dword [edi]
mov eax, dword [edi]
cmp esi, eax
je 0x10030575
mov ecx, dword [edi + 4]
mov dword [ecx], eax
mov ecx, dword [eax + 4]
mov dword [ecx], esi
mov ecx, dword [esi + 4]
mov dword [ecx], edi
mov ecx, dword [eax + 4]
mov edx, dword [esi + 4]
mov dword [esi + 4], ecx
mov ecx, dword [edi + 4]
mov dword [eax + 4], ecx
mov dword [edi + 4], edx
mov ecx, dword [ebx + 8]
mov edx, dword [ebp - 0x20]
add ecx, edx
mov eax, dword [ecx]
cmp eax, dword [ebx]
jne 0x1003058e
mov dword [ecx], edi
mov eax, dword [ebx + 8]
mov dword [edx + eax + 4], edi
jmp 0x100305ae
cmp eax, esi
jne 0x10030596
mov dword [ecx], edi
jmp 0x100305ae
mov eax, dword [ecx + 4]
mov eax, dword [eax]
mov dword [ecx + 4], eax
cmp eax, edi
je 0x100305ae
add edx, dword [ebx + 8]
mov eax, dword [edx + 4]
mov eax, dword [eax + 4]
mov dword [edx + 4], eax
mov ecx, ebx
call fcn.10030690
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 4]
mov dword [eax], edi
pop edi
pop esi
xor ecx, ebp
mov byte [eax + 4], 1
pop ebx
call fcn.100947be
mov esp, ebp
pop ebp
ret 0xc