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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x100cb040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x100fea5c]
push ebx
push esi
push edi
test al, 1
jne 0x100a16e8
or eax, 1
mov dword [0x100fea5c], eax
mov eax, dword [0x100f8a6c]
mov ebx, dword [eax + 0x30]
jmp 0x100a16dc
mov edi, dword [ebx + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
nop word [eax + eax]
inc ecx
cmp byte [ecx + edi], 0
jne 0x100a16b0
xor edx, edx
test ecx, ecx
je 0x100a16d9
nop dword [eax]
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x100a16c0
cmp esi, 0x90f473ab
je 0x100a16e0
mov ebx, dword [ebx + 4]
test ebx, ebx
jne 0x100a16a0
mov dword [0x100fea50], ebx
jmp 0x100a16ee
mov ebx, dword [0x100fea50]
cmp byte [0x100d3a1c], 0
je 0x100a1718
mov ecx, dword [0x100f8d18]
mov eax, dword [0x100cb2b0]
add ecx, 0xffffffb3
xor ecx, 0x7967ef37
cmp byte [ecx + eax], 0
jne 0x100a1718
mov ecx, 3
jmp 0x100a171a
xor ecx, ecx
mov eax, dword [ebx]
push ecx
mov ecx, ebx
mov eax, dword [eax + 0x40]
call eax
cmp dword [0x100de448], 0
je 0x100a1cc4
mov eax, dword [0x100f8acc]
movss xmm1, dword [eax + 0x10]
comiss xmm1, dword [0x100fe090]
ja 0x100a1cc4
movss xmm2, dword [0x100fe094]
xorps xmm0, xmm0
comiss xmm0, xmm2
jae 0x100a1cc4
subss xmm1, dword [0x100fe08c]
movss xmm0, dword [0x100c0558]
mov ecx, dword [0x100f8a7c]
mov word [ebp - 8], 0xc8c8
mov byte [ebp - 6], 0xc8
divss xmm1, xmm2
subss xmm0, xmm1
mulss xmm0, dword [0x100c069c]
cvttss2si eax, xmm0
mov byte [ebp - 5], al
mov dword [ebp - 0xc], eax
mov eax, dword [0x100cb6d0]
dec eax
cdq
push dword [ebp - 8]
sub eax, edx
mov esi, eax
mov eax, dword [0x100cb6cc]
cdq
sub eax, edx
sar esi, 1
mov ebx, eax
mov dword [ebp - 0x14], esi
sar ebx, 1
mov dword [ebp - 0x10], ebx
lea edi, [esi + 5]
mov dword [ebp - 0x18], edi
lea eax, [ebx + 5]
mov dword [ebp - 0x34], eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x38]
call eax
mov ecx, dword [0x100f8a7c]
lea edx, [edi + 1]
push edx
lea edx, [ebx + 6]
push edx
mov eax, dword [ecx]
lea edx, [ebx + 5]
push edi
push edx
mov eax, dword [eax + 0x40]
call eax
mov eax, dword [ebp - 0xc]
mov edi, esi
mov ecx, dword [0x100f8a7c]
add edi, 6
mov byte [ebp - 5], al
lea eax, [ebx + 6]
mov dword [ebp - 0x38], eax
mov word [ebp - 8], 0xc8c8
mov eax, dword [ecx]
mov byte [ebp - 6], 0xc8
push dword [ebp - 8]
mov dword [ebp - 0x20], edi
mov eax, dword [eax + 0x38]
call eax
mov ecx, dword [0x100f8a7c]
lea edx, [edi + 1]
push edx
lea edx, [ebx + 7]
push edx
mov eax, dword [ecx]
lea edx, [ebx + 6]
push edi
push edx
mov eax, dword [eax + 0x40]
call eax
mov eax, dword [ebp - 0xc]
mov edi, esi
mov ecx, dword [0x100f8a7c]
add edi, 7
mov byte [ebp - 5], al
lea eax, [ebx + 7]
mov dword [ebp - 0x3c], eax
mov word [ebp - 8], 0xc8c8
mov eax, dword [ecx]
mov byte [ebp - 6], 0xc8
push dword [ebp - 8]
mov dword [ebp - 0x24], edi
mov eax, dword [eax + 0x38]
call eax
mov ecx, dword [0x100f8a7c]
lea edx, [edi + 1]
push edx
lea edx, [ebx + 8]
push edx
mov eax, dword [ecx]
lea edx, [ebx + 7]
push edi
push edx
mov eax, dword [eax + 0x40]
call eax
mov eax, dword [ebp - 0xc]
mov edi, esi
mov ecx, dword [0x100f8a7c]
add edi, 8
mov byte [ebp - 5], al
lea eax, [ebx + 8]
mov dword [ebp - 0x40], eax
mov word [ebp - 8], 0xc8c8
mov eax, dword [ecx]
mov byte [ebp - 6], 0xc8
push dword [ebp - 8]
mov dword [ebp - 0x28], edi
mov eax, dword [eax + 0x38]
call eax
mov ecx, dword [0x100f8a7c]
lea edx, [edi + 1]
push edx
lea edx, [ebx + 9]
push edx
mov eax, dword [ecx]
lea edx, [ebx + 8]
push edi
push edx
mov eax, dword [eax + 0x40]
call eax
mov eax, dword [ebp - 0xc]
mov edi, esi
mov ecx, dword [0x100f8a7c]
add edi, 9
mov byte [ebp - 5], al
lea eax, [ebx + 9]
mov dword [ebp - 0x44], eax
mov word [ebp - 8], 0xc8c8
mov eax, dword [ecx]
mov byte [ebp - 6], 0xc8
push dword [ebp - 8]
mov dword [ebp - 0x30], edi
mov eax, dword [eax + 0x38]
call eax
mov ecx, dword [0x100f8a7c]
lea edx, [edi + 1]
push edx
lea edx, [ebx + 0xa]
push edx
mov eax, dword [ecx]
lea edx, [ebx + 9]
push edi
push edx
mov eax, dword [eax + 0x40]
call eax
mov ecx, dword [0x100f8a7c]
mov edi, esi
mov eax, dword [ebp - 0xc]
add edi, 0xfffffffb
mov byte [ebp - 5], al
add ebx, 0xfffffffb
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 [0x100f8a7c]
lea esi, [edi + 1]
push esi
lea edx, [ebx + 1]
push edx
mov eax, dword [ecx]
push edi
mov eax, dword [eax + 0x40]
push ebx
call eax
mov ecx, dword [0x100f8a7c]
mov eax, dword [ebp - 0xc]
mov edi, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x10]
add edi, 0xfffffffa
mov byte [ebp - 5], al
add ebx, 0xfffffffa
mov eax, dword [ecx]
mov word [ebp - 8], 0xc8c8
mov byte [ebp - 6], 0xc8
push dword [ebp - 8]
mov eax, dword [eax + 0x38]
call eax
mov ecx, dword [0x100f8a7c]
lea esi, [edi + 1]
push esi
lea edx, [ebx + 1]
push edx
mov eax, dword [ecx]
push edi
push ebx
mov eax, dword [eax + 0x40]
call eax
mov ecx, dword [0x100f8a7c]
mov eax, dword [ebp - 0xc]
mov edi, dword [ebp - 0x14]
mov esi, dword [ebp - 0x10]
add edi, 0xfffffff9
mov byte [ebp - 5], al
add esi, 0xfffffff9
mov eax, dword [ecx]
mov word [ebp - 8], 0xc8c8
mov byte [ebp - 6], 0xc8
push dword [ebp - 8]
mov eax, dword [eax + 0x38]
call eax
mov ecx, dword [0x100f8a7c]
lea edx, [edi + 1]
push edx
lea ebx, [esi + 1]
push ebx
mov eax, dword [ecx]
push edi
push esi
mov dword [ebp - 0x2c], ebx
mov eax, dword [eax + 0x40]
call eax
mov ecx, dword [0x100f8a7c]
mov eax, dword [ebp - 0xc]
mov esi, dword [ebp - 0x10]
mov ebx, dword [ebp - 0x14]
add esi, 0xfffffff8
mov byte [ebp - 5], al
mov eax, dword [ecx]
mov word [ebp - 8], 0xc8c8
mov byte [ebp - 6], 0xc8
push dword [ebp - 8]
mov eax, dword [eax + 0x38]
call eax
mov ecx, dword [0x100f8a7c]
lea edx, [ebx - 7]
push edx
lea edi, [esi + 1]
push edi
mov eax, dword [ecx]
lea edx, [ebx - 8]
push edx
push esi
mov eax, dword [eax + 0x40]
call eax
mov eax, dword [ebp - 0xc]
mov esi, dword [ebp - 0x10]
mov byte [ebp - 5], al
add esi, 0xfffffff8
lea eax, [ebx - 9]
mov word [ebp - 8], 0xc8c8
mov byte [ebp - 6], 0xc8
mov dword [ebp - 0x1c], eax
mov ecx, dword [0x100f8a7c]
push dword [ebp - 8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x38]
call eax
mov ecx, dword [0x100f8a7c]
mov edx, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x10]
inc edx
push edx
mov eax, dword [ecx]
push esi
push dword [ebp - 0x1c]
lea edx, [ebx - 9]
mov eax, dword [eax + 0x40]
push edx
call eax
mov ecx, dword [0x100f8a7c]
mov eax, dword [ebp - 0xc]
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 [0x100f8a7c]
lea edx, [ebx - 4]
mov eax, dword [ebp - 0x18]
inc eax
push eax
mov eax, dword [ecx]
push edx
push dword [ebp - 0x18]
mov edx, ebx
mov eax, dword [eax + 0x40]
add edx, 0xfffffffb
push edx
call eax
mov ecx, dword [0x100f8a7c]
mov eax, dword [ebp - 0xc]
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 [0x100f8a7c]
mov edx, ebx
mov eax, dword [ebp - 0x20]
add edx, 0xfffffffb
inc eax
push eax
mov eax, dword [ecx]
push edx
push dword [ebp - 0x20]
mov edx, ebx
mov eax, dword [eax + 0x40]
add edx, 0xfffffffa
push edx
call eax
mov ecx, dword [0x100f8a7c]
mov eax, dword [ebp - 0xc]
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 edx, dword [ebp - 0x24]
mov ecx, dword [0x100f8a7c]
inc edx
mov ebx, dword [ebp - 0x2c]
push edx
mov edx, dword [ebp - 0x10]
mov eax, dword [ecx]
add edx, 0xfffffff9
push ebx
push dword [ebp - 0x24]
mov eax, dword [eax + 0x40]
push edx
call eax
mov ecx, dword [0x100f8a7c]
mov eax, dword [ebp - 0xc]
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 [0x100f8a7c]
mov edx, dword [ebp - 0x28]
mov ebx, dword [ebp - 0x10]
inc edx
push edx
mov eax, dword [ecx]
push edi
push dword [ebp - 0x28]
lea edx, [ebx - 8]
mov eax, dword [eax + 0x40]
push edx
call eax
mov ecx, dword [0x100f8a7c]
mov eax, dword [ebp - 0xc]
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 - 0x30]
mov ecx, dword [0x100f8a7c]
lea edx, [edi + 1]
mov eax, dword [ecx]
push edx
push esi
push edi
mov eax, dword [eax + 0x40]
lea edx, [ebx - 9]
push edx
call eax
mov ecx, dword [0x100f8a7c]
mov eax, dword [ebp - 0xc]
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 - 0x14]
mov ebx, dword [ebp - 0x34]
mov ecx, dword [0x100f8a7c]
lea esi, [edi - 5]
lea edx, [esi + 1]
mov eax, dword [ecx]
push edx
lea edx, [ebx + 1]
push edx
mov eax, dword [eax + 0x40]
push esi
push ebx
call eax
mov ecx, dword [0x100f8a7c]
mov eax, dword [ebp - 0xc]
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 [0x100f8a7c]
lea esi, [edi - 6]
mov ebx, dword [ebp - 0x38]
lea edx, [esi + 1]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x40]
lea edx, [ebx + 1]
push edx
push esi
push ebx
call eax
mov ecx, dword [0x100f8a7c]
mov eax, dword [ebp - 0xc]
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 ebx, dword [ebp - 0x3c]
lea esi, [edi - 7]
mov ecx, dword [0x100f8a7c]
lea edx, [esi + 1]
push edx
lea edx, [ebx + 1]
mov eax, dword [ecx]
push edx
push esi
push ebx
mov eax, dword [eax + 0x40]
call eax
mov ecx, dword [0x100f8a7c]
mov eax, dword [ebp - 0xc]
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 esi, dword [ebp - 0x40]
lea ebx, [edi - 8]
mov ecx, dword [0x100f8a7c]
lea edx, [ebx + 1]
push edx
lea edx, [esi + 1]
mov eax, dword [ecx]
push edx
push ebx
push esi
mov eax, dword [eax + 0x40]
call eax
mov ecx, dword [0x100f8a7c]
mov eax, dword [ebp - 0xc]
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 ebx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x44]
mov ecx, dword [0x100f8a7c]
lea edx, [ebx + 1]
push edx
mov eax, dword [ecx]
lea edx, [esi + 1]
push edx
push ebx
push esi
mov eax, dword [eax + 0x40]
call eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100adb26
mov esp, ebp
pop ebp
ret