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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101e13a3
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x1021b380]
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 [0x107001f0]
add eax, 0xd5bd03c9
xor eax, 0xde9a561b
mov eax, dword [eax + 0x150]
mov dword [ebp - 0x24], eax
mov eax, dword [0x102b57a8]
test al, 1
jne 0x1013b2d2
or eax, 1
mov dword [0x102b57a8], eax
mov dword [ebp - 4], 0
mov ebx, dword [0x102b3e88]
cmp ebx, dword [0x102b3e8c]
je 0x1013b1f4
nop
mov eax, dword [ebx]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x1013b1e9
mov esi, dword [eax + 0xc]
mov edi, 0x811c9dc5
xor eax, eax
inc eax
cmp byte [esi + eax], 0
jne 0x1013b1c3
xor edx, edx
test eax, eax
je 0x1013b1e9
movsx ecx, byte [esi + edx]
inc edx
xor ecx, edi
imul edi, ecx, 0x1000193
cmp edx, eax
jb 0x1013b1d0
cmp edi, 0xcd2ed041
je 0x1013b20a
add ebx, 4
cmp ebx, dword [0x102b3e8c]
jne 0x1013b1b0
mov ebx, dword [ebp - 0x20]
xor eax, eax
mov dword [0x102b7084], eax
mov dword [ebp - 4], 0xffffffff
jmp 0x1013b2d7
mov eax, dword [ebp - 0x10]
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], ebx
cmp dword [eax + 4], ebx
jle 0x1013b2a8
xor ecx, ecx
mov dword [ebp - 0x1c], ecx
mov edi, dword [eax]
add edi, ecx
mov ecx, dword [edi + 0x28]
test ecx, ecx
je 0x1013b254
cmp dword [ecx + 4], 0
jle 0x1013b254
push 0
mov edx, 0xa2ccb41a
call fcn.1012aec0
add esp, 4
test eax, eax
je 0x1013b251
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 0x1013b260
xor edx, edx
test ecx, ecx
je 0x1013b28c
nop dword [eax]
movsx eax, byte [esi + edx]
inc edx
xor eax, ebx
imul ebx, eax, 0x1000193
cmp edx, ecx
jb 0x1013b270
cmp ebx, 0xa2ccb41a
je 0x1013b2bb
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 0x1013b223
mov eax, ebx
mov dword [ebp - 4], 0xffffffff
mov ebx, dword [ebp - 0x20]
mov dword [0x102b7084], eax
jmp 0x1013b2d7
mov eax, dword [edi + 0x2c]
add eax, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x20]
mov dword [0x102b7084], eax
mov dword [ebp - 4], 0xffffffff
jmp 0x1013b2d7
mov eax, dword [0x102b7084]
mov ecx, dword [ebp - 0x24]
movzx eax, word [eax + ecx]
mov edi, eax
mov esi, eax
mov eax, dword [0x107001f0]
add eax, 0xd5bd03c9
xor eax, 0xde9a561b
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 0x1013b310
cmp di, 0x1f
je 0x1013b386
mov eax, dword [0x1070006c]
add eax, 0x38a0adc4
xor eax, 0x32e2e51c
add eax, 0x188
je 0x1013b386
test byte [ebx + 0x6572c], 2
jne 0x1013b33c
push 0
mov ecx, ebx
call fcn.10135580
test al, al
je 0x1013b386
mov eax, dword [0x1070020c]
add eax, 0x5eba160d
xor eax, 0xa5d9832d
cmp dword [eax + 4], 3
jge 0x1013b370
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