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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10137b98
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x10180440]
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.1005a4d0
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 0x1009f0b7
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.1004f2d0
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 0x1009eec6
sub edi, ecx
sar edi, 1
cmp edi, 7
ja 0x1009ef06
lea esi, [edi + edi]
mov dword [ebp - 0x18], edi
push esi
lea eax, [ebp - 0x28]
push ebx
push eax
call fcn.10105c90
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 0x1009ef65
cmp edi, 0x7ffffffe
ja 0x1009f0d3
mov esi, edi
or esi, 7
cmp esi, 0x7ffffffe
jbe 0x1009ef26
mov esi, SysReAllocString
jmp 0x1009ef31
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.1000a5b0
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.10105710
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 0x1009ef94
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x1009ef83
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 0x1009efce
mov eax, ecx
jmp 0x1009efd3
mov eax, dword [ebx + edx]
mov eax, dword [eax]
cmp esi, eax
je 0x1009f043
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x28]
lea ebx, [esi + 8]
cmovae eax, dword [ebp - 0x30]
cmp dword [esi + 0x1c], 8
jb 0x1009efee
mov ebx, dword [esi + 8]
mov edx, dword [esi + 0x18]
cmp edx, edi
jne 0x1009f036
test edx, edx
je 0x1009f011
sub ebx, eax
nop dword [eax + eax]
mov cx, word [ebx + eax]
cmp cx, word [eax]
jne 0x1009f033
add eax, 2
sub edx, 1
jne 0x1009f000
mov edi, dword [ebp - 0x34]
lea eax, [esi + 8]
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [edi + 0xa8c]
call fcn.1009daf0
test al, al
je 0x1009f045
mov esi, dword [edi + 0xa90]
jmp 0x1009f045
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 0x1009efc6
mov esi, ecx
mov edi, dword [ebp - 0x34]
mov ebx, dword [ebp - 0x38]
cmp esi, dword [edi + 0xa90]
je 0x1009f05d
push 0
push ebx
mov ecx, edi
call fcn.1009e840
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 4], 0xffffffff
cmp eax, 8
jb 0x1009f09a
mov edx, dword [ebp - 0x30]
lea ecx, [eax*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1009f090
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1009f0d8
push ecx
push edx
call fcn.100c3e1a
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 0x1009ee93
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.100c416e
mov esp, ebp
pop ebp
ret
call fcn.1000a590
call fcn.10109939
int3