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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101154b0
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x1060f098]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0x2c], edi
mov eax, dword [ebp + 8]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], 0
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x20], eax
mov ecx, dword [eax + 0x14]
mov ebx, dword [eax + 0x10]
mov dword [ebp - 0x34], ecx
cmp ecx, 0x10
jb 0x1003c92b
mov esi, dword [eax]
jmp 0x1003c92d
mov esi, eax
xor ecx, ecx
mov edx, 0x811c9dc5
test ebx, ebx
je 0x1003c949
movzx eax, byte [esi + ecx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x1003c938
mov eax, dword [edi + 0x18]
lea ecx, [edi + 4]
and eax, edx
mov dword [ebp - 0x18], ecx
lea edx, [eax*8]
mov eax, dword [edi + 0xc]
mov dword [ebp - 0x1c], edx
mov edi, dword [eax + edx]
cmp edi, dword [ecx]
jne 0x1003c96c
mov esi, dword [ecx]
jmp 0x1003c972
mov esi, dword [eax + edx + 4]
mov esi, dword [esi]
cmp esi, edi
je 0x1003c9c0
mov esi, dword [esi + 4]
cmp dword [esi + 0x1c], 0x10
lea edx, [esi + 8]
lea ecx, [edx + 0x10]
mov dword [ebp - 0x38], ecx
jb 0x1003c98a
mov edx, dword [edx]
cmp dword [ebp - 0x34], 0x10
mov eax, dword [ebp - 0x20]
jb 0x1003c995
mov eax, dword [eax]
mov ecx, dword [ecx]
cmp ebx, ecx
mov dword [ebp - 0x24], eax
mov eax, ecx
mov ecx, dword [ebp - 0x24]
cmovb eax, ebx
push eax
call fcn.10018630
add esp, 4
test eax, eax
jne 0x1003c9bc
mov ecx, dword [ebp - 0x38]
mov eax, dword [ecx]
cmp ebx, eax
jb 0x1003c9bc
jbe 0x1003ca0b
cmp esi, edi
jne 0x1003c976
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x18], edi
mov eax, dword [edi]
cmp esi, eax
je 0x1003c9ed
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 ebx, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x1c]
add ecx, dword [ebx + 0xc]
mov eax, dword [ecx]
cmp eax, dword [ebx + 4]
jne 0x1003ca41
mov dword [ecx], edi
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebp - 0x1c]
mov dword [eax + ecx + 4], edi
jmp 0x1003ca66
push dword [ebp + 0x10]
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x30]
push eax
call fcn.10039110
mov eax, dword [ebp - 0x28]
mov dword [eax], esi
mov byte [eax + 4], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100d22d5
mov esp, ebp
pop ebp
ret 0xc
cmp eax, esi
jne 0x1003ca49
mov dword [ecx], edi
jmp 0x1003ca66
mov eax, dword [ecx + 4]
mov eax, dword [eax]
mov dword [ecx + 4], eax
cmp eax, edi
je 0x1003ca66
mov edx, dword [ebx + 0xc]
mov ecx, dword [ebp - 0x1c]
mov eax, dword [edx + ecx + 4]
mov eax, dword [eax + 4]
mov dword [edx + ecx + 4], eax
mov ecx, ebx
mov dword [ebp - 4], 2
call fcn.1003cea0
mov eax, dword [ebp - 0x28]
mov dword [eax], edi
mov byte [eax + 4], 1
jmp 0x1003ca23