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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x100c700c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x10129cd0]
push ebx
push esi
push edi
test al, 1
jne 0x1009d448
or eax, 1
mov dword [0x10129cd0], eax
mov eax, dword [0x10123d74]
mov ebx, dword [eax + 0x30]
jmp 0x1009d43c
mov edi, dword [ebx + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
nop word [eax + eax]
inc ecx
cmp byte [ecx + edi], 0
jne 0x1009d410
xor edx, edx
test ecx, ecx
je 0x1009d439
nop dword [eax]
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x1009d420
cmp esi, 0x90f473ab
je 0x1009d440
mov ebx, dword [ebx + 4]
test ebx, ebx
jne 0x1009d400
mov dword [0x10129ce0], ebx
jmp 0x1009d44e
mov ebx, dword [0x10129ce0]
cmp byte [0x100cefd8], 0
je 0x1009d478
mov ecx, dword [0x10124018]
mov eax, dword [0x100c7228]
add ecx, 0xffffffb5
xor ecx, 0x826fda98
cmp byte [ecx + eax], 0
jne 0x1009d478
mov ecx, 3
jmp 0x1009d47a
xor ecx, ecx
mov eax, dword [ebx]
push ecx
mov ecx, ebx
mov eax, dword [eax + 0x40]
call eax
cmp byte [0x100cc168], 0
je 0x1009d5f4
mov eax, dword [0x10123dd4]
movss xmm1, dword [eax + 0x10]
comiss xmm1, dword [0x10129600]
ja 0x1009d5f4
movss xmm2, dword [0x10129604]
xorps xmm0, xmm0
comiss xmm0, xmm2
jae 0x1009d5f4
cmp byte [0x10124b4c], 0
subss xmm1, dword [0x101295fc]
movss xmm0, dword [0x100bc60c]
mov eax, dword [0x100c7644]
mov edi, dword [0x100c7640]
mov dword [ebp - 0xc], eax
divss xmm1, xmm2
subss xmm0, xmm1
mulss xmm0, dword [0x100bc79c]
cvttss2si ebx, xmm0
mov byte [ebp - 5], bl
je 0x1009d507
mov eax, dword [0x100cc31c]
mov cl, byte [0x100cc31e]
jmp 0x1009d512
mov eax, dword [0x100cc3d8]
mov cl, byte [0x100cc3da]
mov byte [ebp - 6], cl
mov edx, eax
mov ecx, dword [0x10123d84]
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 [0x10123d84]
cdq
sub eax, edx
mov ebx, eax
sar ebx, 1
mov dword [ebp - 0x14], ebx
lea eax, [ebx - 4]
mov dword [ebp - 0x18], eax
mov eax, edi
push dword [ebp - 0x18]
cdq
sub eax, edx
lea edx, [ebx - 8]
sar eax, 1
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], eax
lea edi, [eax - 4]
lea edx, [eax - 8]
mov eax, dword [ecx]
push edi
push dword [ebp - 0xc]
mov eax, dword [eax + 0x4c]
push edx
call eax
mov ecx, dword [0x10123d84]
push esi
mov eax, dword [ecx]
mov eax, dword [eax + 0x38]
call eax
mov ecx, dword [0x10123d84]
add ebx, 4
mov edx, dword [ebp - 0x14]
push ebx
add edx, 8
mov eax, dword [ecx]
push edi
push edx
mov edx, dword [ebp - 0x10]
mov eax, dword [eax + 0x4c]
add edx, 0xfffffff8
push edx
call eax
mov ecx, dword [0x10123d84]
push esi
mov eax, dword [ecx]
mov eax, dword [eax + 0x38]
call eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [0x10123d84]
push ebx
mov ebx, dword [ebp - 0x14]
lea edi, [eax + 4]
add ebx, 8
lea edx, [eax + 8]
mov eax, dword [ecx]
push edi
push ebx
push edx
mov eax, dword [eax + 0x4c]
call eax
mov ecx, dword [0x10123d84]
push esi
mov eax, dword [ecx]
mov eax, dword [eax + 0x38]
call eax
mov ecx, dword [0x10123d84]
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, 8
push edx
call eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100a9306
mov esp, ebp
pop ebp
ret