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

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x100fab90]
sub esp, 0x18
push ebx
push esi
push edi
test al, 1
jne 0x1009ba68
or eax, 1
mov dword [0x100fab90], eax
mov eax, dword [0x100f45dc]
mov ebx, dword [eax + 0x30]
jmp 0x1009ba5c
mov edi, dword [ebx + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
nop
inc ecx
cmp byte [ecx + edi], 0
jne 0x1009ba30
xor edx, edx
test ecx, ecx
je 0x1009ba59
nop dword [eax]
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x1009ba40
cmp esi, 0x90f473ab
je 0x1009ba60
mov ebx, dword [ebx + 4]
test ebx, ebx
jne 0x1009ba24
mov dword [0x100fab84], ebx
jmp 0x1009ba6e
mov ebx, dword [0x100fab84]
cmp byte [0x100cfe00], 0
je 0x1009ba98
mov ecx, dword [0x100f4864]
mov eax, dword [0x100c9400]
add ecx, 0xffffffb4
xor ecx, 0x911388da
cmp byte [ecx + eax], 0
jne 0x1009ba98
mov ecx, 3
jmp 0x1009ba9a
xor ecx, ecx
mov eax, dword [ebx]
push ecx
mov ecx, ebx
mov eax, dword [eax + 0x40]
call eax
cmp byte [0x100d8408], 0
je 0x1009bce4
mov eax, dword [0x100f463c]
movss xmm1, dword [eax + 0x10]
comiss xmm1, dword [0x100fa360]
ja 0x1009bce4
movss xmm2, dword [0x100fa364]
xorps xmm0, xmm0
comiss xmm0, xmm2
jae 0x1009bce4
subss xmm1, dword [0x100fa35c]
mov eax, dword [0x100c9b08]
movss xmm0, dword [0x100bf29c]
mov ecx, dword [0x100f45ec]
cdq
divss xmm1, xmm2
sub eax, edx
mov word [ebp - 8], 0xc8c8
mov ebx, eax
mov byte [ebp - 6], 0xc8
mov eax, dword [0x100c9b0c]
cdq
sub eax, edx
sar ebx, 1
mov edi, eax
sar edi, 1
mov dword [ebp - 0x18], edi
subss xmm0, xmm1
mulss xmm0, dword [0x100bf430]
cvttss2si eax, xmm0
mov byte [ebp - 5], al
push dword [ebp - 8]
mov dword [ebp - 4], eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x38]
call eax
mov ecx, dword [0x100f45ec]
lea esi, [edi - 4]
lea eax, [ebx - 0xa]
add edi, 0xfffffff6
push esi
lea edx, [ebx - 4]
mov dword [ebp - 0x14], eax
mov eax, dword [ecx]
push edx
mov dword [ebp - 0x10], edx
lea edx, [ebx - 0xa]
push edi
mov eax, dword [eax + 0x4c]
push edx
call eax
mov ecx, dword [0x100f45ec]
mov eax, dword [ebp - 4]
mov byte [ebp - 5], al
mov word [ebp - 8], 0xc8c8
mov eax, dword [ecx]
mov byte [ebp - 6], 0xc8
push dword [ebp - 8]
mov eax, dword [eax + 0x38]
call eax
mov ecx, dword [0x100f45ec]
lea edx, [ebx - 4]
push esi
push edx
push edi
mov eax, dword [ecx]
lea edx, [ebx - 0xa]
push edx
mov eax, dword [eax + 0x4c]
call eax
mov ecx, dword [0x100f45ec]
mov eax, dword [ebp - 4]
mov byte [ebp - 5], al
mov word [ebp - 8], 0xc8c8
mov eax, dword [ecx]
mov byte [ebp - 6], 0xc8
push dword [ebp - 8]
mov eax, dword [eax + 0x38]
call eax
mov ecx, dword [0x100f45ec]
lea eax, [ebx + 4]
mov dword [ebp - 8], eax
lea edx, [ebx + 0xa]
mov ebx, dword [ebp - 8]
push esi
mov eax, dword [ecx]
push ebx
push edi
mov dword [ebp - 0xc], edx
mov eax, dword [eax + 0x4c]
push edx
call eax
mov ecx, dword [0x100f45ec]
mov eax, dword [ebp - 4]
mov byte [ebp - 5], al
mov word [ebp - 8], 0xc8c8
mov eax, dword [ecx]
mov byte [ebp - 6], 0xc8
push dword [ebp - 8]
mov eax, dword [eax + 0x38]
call eax
mov ecx, dword [0x100f45ec]
push esi
push ebx
push edi
mov eax, dword [ecx]
push dword [ebp - 0xc]
mov eax, dword [eax + 0x4c]
call eax
mov ecx, dword [0x100f45ec]
mov eax, dword [ebp - 4]
mov byte [ebp - 5], al
mov word [ebp - 8], 0xc8c8
mov eax, dword [ecx]
mov byte [ebp - 6], 0xc8
push dword [ebp - 8]
mov eax, dword [eax + 0x38]
call eax
mov edi, dword [ebp - 0x18]
mov ecx, dword [0x100f45ec]
lea esi, [edi + 4]
add edi, 0xa
mov eax, dword [ecx]
push esi
push dword [ebp - 0x10]
mov eax, dword [eax + 0x4c]
push edi
push dword [ebp - 0x14]
call eax
mov ecx, dword [0x100f45ec]
mov eax, dword [ebp - 4]
mov byte [ebp - 5], al
mov word [ebp - 8], 0xc8c8
mov eax, dword [ecx]
mov byte [ebp - 6], 0xc8
push dword [ebp - 8]
mov eax, dword [eax + 0x38]
call eax
mov ecx, dword [0x100f45ec]
push esi
push dword [ebp - 0x10]
mov eax, dword [ecx]
push edi
push dword [ebp - 0x14]
mov eax, dword [eax + 0x4c]
call eax
mov ecx, dword [0x100f45ec]
mov eax, dword [ebp - 4]
mov byte [ebp - 5], al
mov word [ebp - 8], 0xc8c8
mov eax, dword [ecx]
mov byte [ebp - 6], 0xc8
push dword [ebp - 8]
mov eax, dword [eax + 0x38]
call eax
mov ecx, dword [0x100f45ec]
push esi
push ebx
push edi
mov eax, dword [ecx]
push dword [ebp - 0xc]
mov eax, dword [eax + 0x4c]
call eax
mov ecx, dword [0x100f45ec]
mov eax, dword [ebp - 4]
mov byte [ebp - 5], al
mov word [ebp - 8], 0xc8c8
mov eax, dword [ecx]
mov byte [ebp - 6], 0xc8
push dword [ebp - 8]
mov eax, dword [eax + 0x38]
call eax
mov ecx, dword [0x100f45ec]
push esi
push ebx
push edi
mov eax, dword [ecx]
push dword [ebp - 0xc]
mov eax, dword [eax + 0x4c]
call eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret