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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov eax, ecx
mov dword [ebp - 4], eax
mov ecx, dword [edi + 0x14]
mov ebx, dword [edi + 0x10]
mov dword [ebp - 0x10], ecx
cmp ecx, 0x10
jb 0x100c05d3
mov esi, dword [edi]
jmp 0x100c05d5
mov esi, edi
xor ecx, ecx
mov edx, 0x811c9dc5
test ebx, ebx
je 0x100c05f4
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x100c05e0
mov eax, dword [ebp - 4]
mov esi, dword [eax + 0x14]
mov ecx, esi
and ecx, edx
cmp dword [eax + 0x18], ecx
ja 0x100c060c
or eax, 0xffffffff
shr esi, 1
sub eax, esi
add ecx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
lea edx, [ecx*8]
mov esi, dword [ebp - 4]
mov dword [ebp - 0x14], edx
mov ecx, dword [edx + eax]
mov esi, dword [esi]
mov dword [ebp - 0xc], ecx
cmp esi, ecx
je 0x100c06ff
mov esi, dword [edx + eax + 4]
mov esi, dword [esi]
cmp esi, ecx
je 0x100c06ff
lea ebx, [ebx]
mov esi, dword [esi + 4]
cmp dword [esi + 0x1c], 0x10
lea eax, [esi + 8]
mov ecx, dword [eax + 0x10]
mov dword [ebp - 8], ecx
jb 0x100c0654
mov eax, dword [eax]
cmp dword [edi + 0x14], 0x10
jb 0x100c065c
mov edi, dword [edi]
cmp ebx, ecx
mov edx, ecx
cmovb edx, ebx
test edx, edx
je 0x100c06c3
sub edx, 4
jb 0x100c0681
lea esp, [esp]
mov ecx, dword [edi]
cmp ecx, dword [eax]
jne 0x100c0686
add edi, 4
add eax, 4
sub edx, 4
jae 0x100c0670
cmp edx, 0xfffffffc
je 0x100c06ba
mov cl, byte [edi]
cmp cl, byte [eax]
jne 0x100c06b3
cmp edx, 0xfffffffd
je 0x100c06ba
mov cl, byte [edi + 1]
cmp cl, byte [eax + 1]
jne 0x100c06b3
cmp edx, 0xfffffffe
je 0x100c06ba
mov cl, byte [edi + 2]
cmp cl, byte [eax + 2]
jne 0x100c06b3
cmp edx, 0xffffffff
je 0x100c06ba
mov cl, byte [edi + 3]
cmp cl, byte [eax + 3]
je 0x100c06ba
sbb eax, eax
or eax, 1
jmp 0x100c06bc
xor eax, eax
test eax, eax
jne 0x100c06d2
mov ecx, dword [ebp - 8]
cmp ebx, ecx
jb 0x100c06d2
xor eax, eax
cmp ebx, ecx
setne al
test eax, eax
je 0x100c06df
cmp esi, dword [ebp - 0xc]
je 0x100c06ff
mov edi, dword [ebp + 0xc]
jmp 0x100c0640
cmp dword [ebp - 0x10], 0x10
lea ecx, [esi + 8]
mov eax, dword [ebp + 0xc]
jb 0x100c06ed
mov eax, dword [eax]
push ebx
push eax
push dword [ecx + 0x10]
push 0
call fcn.1000b830
test eax, eax
je 0x100c0745
mov esi, dword [esi]
mov edi, dword [ebp + 0x10]
mov eax, dword [edi]
cmp esi, eax
je 0x100c0729
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 edx, dword [ebp - 4]
mov ebx, dword [ebp - 0x14]
mov ecx, dword [edx + 8]
add ecx, ebx
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x100c0762
mov dword [ecx], edi
mov eax, dword [edx + 8]
mov dword [ebx + eax + 4], edi
jmp 0x100c0784
push dword [ebp + 0x10]
mov ecx, dword [ebp - 4]
call fcn.100c1200
mov eax, dword [ebp + 8]
pop edi
mov dword [eax], esi
pop esi
mov byte [eax + 4], 0
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp eax, esi
jne 0x100c076a
mov dword [ecx], edi
jmp 0x100c0784
mov eax, dword [ecx + 4]
mov eax, dword [eax]
mov dword [ecx + 4], eax
cmp eax, edi
je 0x100c0784
mov ecx, dword [edx + 8]
mov eax, dword [ecx + ebx + 4]
mov eax, dword [eax + 4]
mov dword [ecx + ebx + 4], eax
mov ecx, edx
call fcn.100c1140
mov eax, dword [ebp + 8]
mov dword [eax], edi
pop edi
pop esi
mov byte [eax + 4], 1
pop ebx
mov esp, ebp
pop ebp
ret 0xc