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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1012f508
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x10175120]
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 esi, ecx
mov dword [ebp - 0x34], esi
call fcn.10055af0
mov eax, dword [esi + 0x558]
add esi, 0x558
xor ebx, ebx
mov ecx, esi
mov dword [ebp - 0x38], ebx
call dword [eax + 0xc]
test eax, eax
jle 0x1009db17
mov eax, dword [esi]
mov ecx, esi
push ebx
call dword [eax]
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x100]
mov ecx, eax
call fcn.10043aa0
mov ebx, eax
mov dword [ebp - 0x18], 0
mov edi, ebx
mov dword [ebp - 0x14], 7
xor eax, eax
mov word [ebp - 0x28], ax
lea ecx, [edi + 2]
mov ax, word [edi]
add edi, 2
test ax, ax
jne 0x1009d926
sub edi, ecx
sar edi, 1
cmp edi, 7
ja 0x1009d966
lea esi, [edi + edi]
mov dword [ebp - 0x18], edi
push esi
lea eax, [ebp - 0x28]
push ebx
push eax
call fcn.100d97d0
add esp, 0xc
xor eax, eax
mov word [ebp + esi - 0x28], ax
mov eax, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x28]
mov edi, dword [ebp - 0x18]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], ebx
jmp 0x1009d9c5
cmp edi, 0x7ffffffe
ja 0x1009db33
mov esi, edi
or esi, 7
cmp esi, 0x7ffffffe
jbe 0x1009d986
mov esi, SysReAllocString
jmp 0x1009d991
cmp esi, 0xa
mov eax, 0xa
cmovb esi, eax
lea eax, [esi + 1]
mov dword [ebp - 0x2c], esi
push eax
lea ecx, [ebp - 0x28]
call fcn.10005ec0
mov dword [ebp - 0x14], esi
lea esi, [edi + edi]
push esi
push ebx
mov ebx, eax
mov dword [ebp - 0x30], eax
push ebx
mov dword [ebp - 0x18], edi
call fcn.100d9250
add esp, 0xc
mov dword [ebp - 0x28], ebx
xor eax, eax
mov word [ebx + esi], ax
mov eax, dword [ebp - 0x2c]
cmp eax, 8
mov dword [ebp - 4], 0
lea esi, [ebp - 0x28]
mov edx, 0x811c9dc5
cmovae esi, ebx
lea ebx, [edi + edi]
xor ecx, ecx
test ebx, ebx
je 0x1009d9f4
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x1009d9e3
mov ecx, dword [ebp - 0x34]
mov eax, dword [ecx + 0xaa4]
and eax, edx
mov edx, dword [ecx + 0xa98]
mov ecx, dword [ecx + 0xa90]
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x3c], ecx
mov esi, dword [edx + eax*8]
add eax, eax
lea ebx, [eax*4 + 4]
mov eax, dword [edx + eax*4]
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], eax
cmp eax, ecx
jne 0x1009da2e
mov eax, ecx
jmp 0x1009da33
mov eax, dword [ebx + edx]
mov eax, dword [eax]
cmp esi, eax
je 0x1009daa3
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x28]
lea ebx, [esi + 8]
cmovae eax, dword [ebp - 0x30]
cmp dword [esi + 0x1c], 8
jb 0x1009da4e
mov ebx, dword [esi + 8]
mov edx, dword [esi + 0x18]
cmp edx, edi
jne 0x1009da96
test edx, edx
je 0x1009da71
sub ebx, eax
nop dword [eax + eax]
mov cx, word [ebx + eax]
cmp cx, word [eax]
jne 0x1009da93
add eax, 2
sub edx, 1
jne 0x1009da60
mov edi, dword [ebp - 0x34]
lea eax, [esi + 8]
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [edi + 0xa8c]
call fcn.1001c610
test al, al
je 0x1009daa5
mov esi, dword [edi + 0xa90]
jmp 0x1009daa5
mov ecx, dword [ebp - 0x3c]
mov esi, dword [esi]
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x44]
mov ebx, dword [ebp - 0x48]
jmp 0x1009da26
mov esi, ecx
mov edi, dword [ebp - 0x34]
mov ebx, dword [ebp - 0x38]
cmp esi, dword [edi + 0xa90]
je 0x1009dabd
push 0
push ebx
mov ecx, edi
call fcn.1009d2a0
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 4], 0xffffffff
cmp eax, 8
jb 0x1009dafa
mov edx, dword [ebp - 0x30]
lea ecx, [eax*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1009daf0
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1009db38
push ecx
push edx
call fcn.100319fc
add esp, 8
mov eax, dword [edi + 0x558]
lea esi, [edi + 0x558]
inc ebx
mov ecx, esi
mov dword [ebp - 0x38], ebx
call dword [eax + 0xc]
cmp ebx, eax
jl 0x1009d8f3
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.10031d6d
mov esp, ebp
pop ebp
ret
call fcn.10005eb0
call fcn.100dd3d3
int3