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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1010322a
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x1014b520]
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 eax, dword [ebp + 8]
add ecx, 0x150
mov edx, dword [ebp + 0x14]
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], edx
push dword [eax]
call fcn.1001c920
cmp dword [ebx + 0x14], 0x10
mov esi, ebx
mov edi, dword [ebx + 0x10]
mov dword [ebp - 0x1c], eax
jb 0x10013f30
mov esi, dword [ebx]
xor ecx, ecx
mov edx, 0x811c9dc5
test edi, edi
je 0x10013f51
nop dword [eax + eax]
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x10013f40
mov ebx, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x28]
mov eax, dword [ebx + 0x18]
mov ecx, dword [ebx + 0xc]
and eax, edx
mov ebx, dword [ebx + 4]
mov dword [ebp - 0x1c], ecx
mov esi, dword [ecx + eax*8]
add eax, eax
lea edx, [eax*4 + 4]
mov eax, dword [ecx + eax*4]
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x14], eax
nop word [eax + eax]
cmp eax, ebx
jne 0x10013f88
mov eax, ebx
jmp 0x10013f8d
mov eax, dword [edx + ecx]
mov eax, dword [eax]
cmp esi, eax
je 0x10013fc5
lea eax, [esi + 8]
push edi
push eax
call fcn.10011750
add esp, 8
test al, al
jne 0x10013faf
mov esi, dword [esi]
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x20]
jmp 0x10013f80
lea eax, [esi + 8]
push eax
push edi
call fcn.10011750
add esp, 8
mov edi, ebx
test al, al
cmovne edi, esi
jmp 0x10013fc7
mov edi, ebx
cmp edi, ebx
jne 0x10013ff5
mov ebx, dword [ebp - 0x18]
xor eax, eax
push eax
push 0x1010e2cc
mov ecx, ebx
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 7
mov word [ebx], ax
call fcn.1000f230
mov eax, ebx
jmp 0x100140dd
mov eax, dword [edi + 0x20]
cmp dword [eax + 0x50], 0
mov eax, dword [ebp - 0x24]
je 0x100140c5
mov dword [eax], 1
mov eax, dword [edi + 0x20]
cmp dword [eax + 0x68], 0
je 0x100140bd
add eax, 0x58
cmp dword [eax + 0x14], 8
jb 0x10014023
mov eax, dword [eax]
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push eax
call fcn.10002a70
mov ecx, dword [0x1014fda8]
mov ebx, dword [edi + 0x20]
mov dword [ebp - 4], 0
test ecx, ecx
jne 0x100140ae
push 0x1014a054
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x1014fda8], 0
jne 0x1001409d
push 0x98
call fcn.100bb0a7
mov esi, eax
add esp, 4
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 1
test esi, esi
je 0x1001408a
push 0x98
push 0
push esi
call fcn.100d6e30
add esp, 0xc
mov ecx, esi
call fcn.1002e2a0
jmp 0x1001408c
xor eax, eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
xor edx, edx
lock or dword [ecx], edx
mov dword [0x1014fda8], eax
push 0x1014a054
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [0x1014fda8]
push dword [ebx + 0x70]
mov dword [ebp - 4], 0xffffffff
call fcn.1002e3b0
mov eax, dword [edi + 0x20]
add eax, 0x40
jmp 0x100140d1
mov dword [eax], 0
mov eax, dword [edi + 0x20]
add eax, 0x28
mov ecx, dword [ebp - 0x18]
push eax
call fcn.10012710
mov eax, dword [ebp - 0x18]
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.100bb073
mov esp, ebp
pop ebp
ret 0x10