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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101f1d43
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x10285040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x20], ebx
mov eax, dword [0x10b33e60]
add eax, 0x7a4232c8
xor eax, 0xfcb4fca8
mov eax, dword [eax + 0x150]
mov dword [ebp - 0x24], eax
mov eax, dword [0x1031e958]
test al, 1
jne 0x1013bba2
or eax, 1
mov dword [0x1031e958], eax
mov dword [ebp - 4], 0
mov ebx, dword [0x1031cd80]
cmp ebx, dword [0x1031cd84]
je 0x1013bac4
nop
mov eax, dword [ebx]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x1013bab9
mov esi, dword [eax + 0xc]
mov edi, 0x811c9dc5
xor eax, eax
inc eax
cmp byte [esi + eax], 0
jne 0x1013ba93
xor edx, edx
test eax, eax
je 0x1013bab9
movsx ecx, byte [esi + edx]
inc edx
xor ecx, edi
imul edi, ecx, 0x1000193
cmp edx, eax
jb 0x1013baa0
cmp edi, 0xcd2ed041
je 0x1013bada
add ebx, 4
cmp ebx, dword [0x1031cd84]
jne 0x1013ba80
mov ebx, dword [ebp - 0x20]
xor eax, eax
mov dword [0x10320234], eax
mov dword [ebp - 4], 0xffffffff
jmp 0x1013bba7
mov eax, dword [ebp - 0x10]
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], ebx
cmp dword [eax + 4], ebx
jle 0x1013bb78
xor ecx, ecx
mov dword [ebp - 0x1c], ecx
mov edi, dword [eax]
add edi, ecx
mov ecx, dword [edi + 0x28]
test ecx, ecx
je 0x1013bb24
cmp dword [ecx + 4], 0
jle 0x1013bb24
push 0
mov edx, 0xa2ccb41a
call fcn.1012b660
add esp, 4
test eax, eax
je 0x1013bb21
mov ecx, dword [edi + 0x2c]
add ecx, eax
add ebx, ecx
mov dword [ebp - 0x14], ebx
mov eax, dword [ebp - 0x10]
mov esi, dword [edi]
mov ebx, 0x811c9dc5
xor ecx, ecx
nop dword [eax]
inc ecx
cmp byte [esi + ecx], 0
jne 0x1013bb30
xor edx, edx
test ecx, ecx
je 0x1013bb5c
nop dword [eax]
movsx eax, byte [esi + edx]
inc edx
xor eax, ebx
imul ebx, eax, 0x1000193
cmp edx, ecx
jb 0x1013bb40
cmp ebx, 0xa2ccb41a
je 0x1013bb8b
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
inc edx
mov ebx, dword [ebp - 0x14]
add ecx, 0x3c
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], ecx
cmp edx, dword [eax + 4]
jl 0x1013baf3
mov eax, ebx
mov dword [ebp - 4], 0xffffffff
mov ebx, dword [ebp - 0x20]
mov dword [0x10320234], eax
jmp 0x1013bba7
mov eax, dword [edi + 0x2c]
add eax, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x20]
mov dword [0x10320234], eax
mov dword [ebp - 4], 0xffffffff
jmp 0x1013bba7
mov eax, dword [0x10320234]
mov ecx, dword [ebp - 0x24]
movzx eax, word [eax + ecx]
mov edi, eax
mov esi, eax
mov eax, dword [0x10b33e60]
add eax, 0x7a4232c8
xor eax, 0xfcb4fca8
mov ecx, dword [eax + 0x10c]
mov eax, dword [ecx]
mov edx, dword [eax + 8]
movsx eax, si
push eax
call edx
test eax, eax
je 0x1013bbe0
cmp di, 0x1f
je 0x1013bc56
mov eax, dword [0x107691ec]
add eax, 0xcef01053
xor eax, 0xa7410cc1
add eax, 0x188
je 0x1013bc56
test byte [ebx + 0x6572c], 2
jne 0x1013bc0c
push 0
mov ecx, ebx
call fcn.10135e60
test al, al
je 0x1013bc56
mov eax, dword [0x10b33e7c]
add eax, 0x871ac239
xor eax, 0xe3de2ec4
cmp dword [eax + 4], 3
jge 0x1013bc40
mov eax, dword [ebx + 0x6572c]
shr eax, 3
and al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4