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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x100c500c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x100fc7e4]
push ebx
push esi
push edi
test al, 1
jne 0x1009bc88
or eax, 1
mov dword [0x100fc7e4], eax
mov eax, dword [0x100f3054]
mov ebx, dword [eax + 0x30]
jmp 0x1009bc7c
mov edi, dword [ebx + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
nop word [eax + eax]
inc ecx
cmp byte [ecx + edi], 0
jne 0x1009bc50
xor edx, edx
test ecx, ecx
je 0x1009bc79
nop dword [eax]
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x1009bc60
cmp esi, 0x90f473ab
je 0x1009bc80
mov ebx, dword [ebx + 4]
test ebx, ebx
jne 0x1009bc40
mov dword [0x100fc7f4], ebx
jmp 0x1009bc8e
mov ebx, dword [0x100fc7f4]
cmp byte [0x100ccbb8], 0
je 0x1009bcb8
mov ecx, dword [0x100f3300]
mov eax, dword [0x100c5228]
add ecx, 0xffffffb3
xor ecx, 0xb8d154d4
cmp byte [ecx + eax], 0
jne 0x1009bcb8
mov ecx, 3
jmp 0x1009bcba
xor ecx, ecx
mov eax, dword [ebx]
push ecx
mov ecx, ebx
mov eax, dword [eax + 0x40]
call eax
cmp byte [0x100c9e04], 0
je 0x1009be34
mov eax, dword [0x100f30b4]
movss xmm1, dword [eax + 0x10]
comiss xmm1, dword [0x100fc108]
ja 0x1009be34
movss xmm2, dword [0x100fc10c]
xorps xmm0, xmm0
comiss xmm0, xmm2
jae 0x1009be34
cmp byte [0x100f3d84], 0
subss xmm1, dword [0x100fc104]
movss xmm0, dword [0x100ba3e4]
mov eax, dword [0x100c5648]
mov edi, dword [0x100c5644]
mov dword [ebp - 0xc], eax
divss xmm1, xmm2
subss xmm0, xmm1
mulss xmm0, dword [0x100ba56c]
cvttss2si ebx, xmm0
mov byte [ebp - 5], bl
je 0x1009bd47
mov eax, dword [0x100c9fb8]
mov cl, byte [0x100c9fba]
jmp 0x1009bd52
mov eax, dword [0x100ca074]
mov cl, byte [0x100ca076]
mov byte [ebp - 6], cl
mov edx, eax
mov ecx, dword [0x100f3064]
shr edx, 8
mov byte [ebp - 7], dl
mov byte [ebp - 8], al
mov edx, dword [ecx]
mov esi, dword [ebp - 8]
push esi
mov edx, dword [edx + 0x38]
call edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [0x100f3064]
cdq
sub eax, edx
mov ebx, eax
sar ebx, 1
mov dword [ebp - 0x14], ebx
lea eax, [ebx - 5]
mov dword [ebp - 0x18], eax
mov eax, edi
push dword [ebp - 0x18]
cdq
sub eax, edx
lea edx, [ebx - 9]
sar eax, 1
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], eax
lea edi, [eax - 5]
lea edx, [eax - 9]
mov eax, dword [ecx]
push edi
push dword [ebp - 0xc]
mov eax, dword [eax + 0x4c]
push edx
call eax
mov ecx, dword [0x100f3064]
push esi
mov eax, dword [ecx]
mov eax, dword [eax + 0x38]
call eax
mov ecx, dword [0x100f3064]
add ebx, 5
mov edx, dword [ebp - 0x14]
push ebx
add edx, 9
mov eax, dword [ecx]
push edi
push edx
mov edx, dword [ebp - 0x10]
mov eax, dword [eax + 0x4c]
add edx, 0xfffffff7
push edx
call eax
mov ecx, dword [0x100f3064]
push esi
mov eax, dword [ecx]
mov eax, dword [eax + 0x38]
call eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [0x100f3064]
push ebx
mov ebx, dword [ebp - 0x14]
lea edi, [eax + 5]
add ebx, 9
lea edx, [eax + 9]
mov eax, dword [ecx]
push edi
push ebx
push edx
mov eax, dword [eax + 0x4c]
call eax
mov ecx, dword [0x100f3064]
push esi
mov eax, dword [ecx]
mov eax, dword [eax + 0x38]
call eax
mov ecx, dword [0x100f3064]
push dword [ebp - 0x18]
push edi
mov eax, dword [ecx]
push dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
mov eax, dword [eax + 0x4c]
add edx, 9
push edx
call eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100a78b6
mov esp, ebp
pop ebp
ret