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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100f12d0
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x10118080]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, 0x10141698
call fcn.10031920
mov ecx, dword [0x1013c204]
test ecx, ecx
je 0x1002dac9
mov eax, dword [ecx]
mov eax, dword [eax + 0x20]
call eax
mov ebx, eax
test ebx, ebx
je 0x1002dac9
nop dword [eax]
mov eax, dword [ebx + 0x14]
mov esi, 0x811c9dc5
mov edi, dword [ebx + 8]
mov dword [ebp - 0x30], eax
xor eax, eax
inc eax
cmp byte [edi + eax], 0
jne 0x1002da90
xor edx, edx
test eax, eax
je 0x1002dab1
nop dword [eax]
movsx ecx, byte [edi + edx]
inc edx
xor ecx, esi
imul esi, ecx, 0x1000193
cmp edx, eax
jb 0x1002daa0
lea eax, [ebp - 0x34]
mov dword [ebp - 0x34], esi
push eax
call fcn.100317e0
mov ecx, dword [ebp - 0x30]
mov dword [eax], ecx
mov ebx, dword [ebx + 0x10]
test ebx, ebx
jne 0x1002da80
mov ecx, dword [0x1013c20c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
mov ecx, dword [0x1013c210]
push eax
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
call edx
mov dword [0x1013a44c], eax
call fcn.100bc540
mov ecx, 0x1013cea0
call fcn.100a9b70
mov ecx, 0x1013a848
call fcn.10031d10
mov ecx, 0x1013a3c0
call fcn.10031c80
mov ecx, dword [0x1013c20c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x138]
call eax
mov edi, eax
mov dword [0x1013c274], edi
test edi, edi
je 0x1002dd31
mov eax, dword [0x1013c72c]
mov dword [0x1013c72c], 0
test eax, eax
je 0x1002db78
push fcn.100174f0
lea esi, [eax - 4]
mov dword [ebp - 4], 0
push dword [esi]
push 4
push eax
call fcn.100c62b3
mov eax, dword [esi]
lea eax, [eax*4 + 4]
push eax
push esi
call fcn.100c6275
mov dword [ebp - 4], 0xffffffff
add esp, 8
mov edi, dword [0x1013c274]
mov ecx, dword [0x1013c724]
test ecx, ecx
je 0x1002db8f
mov eax, dword [0x1013c728]
mov dword [ecx], eax
mov edi, dword [0x1013c274]
mov dword [0x1013c728], 0
mov dword [0x1013c730], 0
mov byte [0x1013c734], 0
mov dword [0x1013c724], edi
mov eax, dword [edi]
mov dword [0x1013c728], eax
test eax, eax
je 0x1002dcca
xor esi, esi
mov eax, dword [0x1013c728]
mov ecx, dword [eax + esi*4]
test ecx, ecx
je 0x1002dbf0
mov eax, dword [0x10126b28]
lea edx, [ebp - 0x2c]
push 0x1c
push edx
push ecx
call eax
test eax, eax
je 0x1002dbf0
mov eax, dword [ebp - 0x18]
test al, 1
jne 0x1002dbf0
test eax, 0x100
jne 0x1002dbf0
inc esi
jmp 0x1002dbc1
mov dword [0x1013c730], esi
test esi, esi
je 0x1002dcca
lea edx, [esi + 1]
lea ecx, [ebp - 0x30]
call fcn.10032340
cmp eax, 0x1013c72c
je 0x1002dc5a
mov ecx, dword [eax]
mov dword [eax], 0
mov eax, dword [0x1013c72c]
mov dword [0x1013c72c], ecx
test eax, eax
je 0x1002dc5a
push fcn.100174f0
lea esi, [eax - 4]
mov dword [ebp - 4], 1
push dword [esi]
push 4
push eax
call fcn.100c62b3
mov eax, dword [esi]
lea eax, [eax*4 + 4]
push eax
push esi
call fcn.100c6275
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x1002dc8e
push fcn.100174f0
mov dword [ebp - 4], 2
lea esi, [ebx - 4]
push dword [esi]
push 4
push ebx
call fcn.100c62b3
mov eax, dword [ebx - 4]
lea eax, [eax*4 + 4]
push eax
push esi
call fcn.100c6275
add esp, 8
mov esi, dword [0x1013c72c]
test esi, esi
je 0x1002dcca
mov eax, dword [0x1013c730]
lea eax, [eax*4 + 4]
push eax
mov eax, dword [0x1013c728]
add eax, 0xfffffffc
push eax
push esi
call fcn.100c79e0
add esp, 0xc
mov eax, 0x2a
add esi, 4
mov dword [edi], esi
mov byte [0x1013c734], 1
jmp 0x1002dcdf
cmp byte [0x1013c734], 0
je 0x1002dcda
mov eax, 0x2a
jmp 0x1002dcdf
mov eax, 0x29
cmp dword [0x1013c728], 0
je 0x1002dd01
mov esi, dword [0x1013c72c]
test esi, esi
je 0x1002dd01
cmp eax, dword [0x1013c730]
ja 0x1002dd01
mov dword [esi + eax*4], 0x100b4780
xor eax, eax
cmp byte [0x1013c734], al
setne al
add eax, 0x30
cmp dword [0x1013c728], 0
je 0x1002dd31
mov esi, dword [0x1013c72c]
test esi, esi
je 0x1002dd31
cmp eax, dword [0x1013c730]
ja 0x1002dd31
mov dword [esi + eax*4], 0x100b4620
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100c6262
mov esp, ebp
pop ebp
ret