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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x100c2380]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x10146980]
push ebx
push esi
push edi
test al, 1
jne 0x100974e8
or eax, 1
mov dword [0x10146980], eax
mov eax, dword [0x1013bc08]
mov ebx, dword [eax + 0x30]
jmp 0x100974dc
mov edi, dword [ebx + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
nop word [eax + eax]
inc ecx
cmp byte [ecx + edi], 0
jne 0x100974b0
xor edx, edx
test ecx, ecx
je 0x100974d9
nop dword [eax]
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x100974c0
cmp esi, 0x90f473ab
je 0x100974e0
mov ebx, dword [ebx + 4]
test ebx, ebx
jne 0x100974a0
mov dword [0x10146984], ebx
jmp 0x100974ee
mov ebx, dword [0x10146984]
cmp byte [0x10137c00], 0
je 0x10097518
mov ecx, dword [0x1013bf04]
mov eax, dword [0x10141348]
add ecx, 0xffffffad
xor ecx, 0x280eb326
cmp byte [ecx + eax], 0
jne 0x10097518
mov ecx, 3
jmp 0x1009751a
xor ecx, ecx
mov eax, dword [ebx]
push ecx
mov ecx, ebx
mov eax, dword [eax + 0x40]
call eax
push 1
push dword [0x10137e84]
push dword [0x10137e80]
call fcn.100a2b70
cmp eax, dword [0x10137e84]
je 0x10097ad5
mov eax, dword [0x1013bc68]
movss xmm1, dword [eax + 0x10]
comiss xmm1, dword [0x10141280]
ja 0x10097ad5
movss xmm2, dword [0x10141284]
xorps xmm0, xmm0
comiss xmm0, xmm2
jae 0x10097ad5
subss xmm1, dword [0x1014127c]
movss xmm0, dword [0x100b81cc]
mov ecx, dword [0x1013bc18]
mov word [ebp - 8], 0xc8c8
mov byte [ebp - 6], 0xc8
divss xmm1, xmm2
subss xmm0, xmm1
mulss xmm0, dword [0x100b8318]
cvttss2si eax, xmm0
mov byte [ebp - 5], al
mov dword [ebp - 0xc], eax
mov eax, dword [0x10143314]
cdq
push dword [ebp - 8]
sub eax, edx
mov esi, eax
mov eax, dword [0x10143310]
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 + 6]
mov dword [ebp - 0x18], edi
lea eax, [ebx + 6]
mov dword [ebp - 0x34], eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x38]
call eax
mov ecx, dword [0x1013bc18]
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 [0x1013bc18]
add edi, 7
mov byte [ebp - 5], al
lea eax, [ebx + 7]
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 [0x1013bc18]
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 [0x1013bc18]
add edi, 8
mov byte [ebp - 5], al
lea eax, [ebx + 8]
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 [0x1013bc18]
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 [0x1013bc18]
add edi, 9
mov byte [ebp - 5], al
lea eax, [ebx + 9]
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 [0x1013bc18]
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 eax, dword [ebp - 0xc]
mov edi, esi
mov ecx, dword [0x1013bc18]
add edi, 0xa
mov byte [ebp - 5], al
lea eax, [ebx + 0xa]
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 [0x1013bc18]
lea edx, [edi + 1]
push edx
lea edx, [ebx + 0xb]
push edx
mov eax, dword [ecx]
lea edx, [ebx + 0xa]
push edi
push edx
mov eax, dword [eax + 0x40]
call eax
mov ecx, dword [0x1013bc18]
mov edi, esi
mov eax, dword [ebp - 0xc]
add edi, 0xfffffffa
mov byte [ebp - 5], al
add ebx, 0xfffffffa
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 [0x1013bc18]
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 [0x1013bc18]
mov eax, dword [ebp - 0xc]
mov edi, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x10]
add edi, 0xfffffff9
mov byte [ebp - 5], al
add ebx, 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 [0x1013bc18]
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 [0x1013bc18]
mov eax, dword [ebp - 0xc]
mov edi, dword [ebp - 0x14]
mov esi, dword [ebp - 0x10]
add edi, 0xfffffff8
mov byte [ebp - 5], al
add esi, 0xfffffff8
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 [0x1013bc18]
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 [0x1013bc18]
mov eax, dword [ebp - 0xc]
mov esi, dword [ebp - 0x10]
mov ebx, dword [ebp - 0x14]
add esi, 0xfffffff7
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 [0x1013bc18]
lea edx, [ebx - 8]
push edx
lea edi, [esi + 1]
push edi
mov eax, dword [ecx]
lea edx, [ebx - 9]
push edx
push esi
mov eax, dword [eax + 0x40]
call eax
mov eax, dword [ebp - 0xc]
mov esi, dword [ebp - 0x10]
mov ecx, dword [0x1013bc18]
add esi, 0xfffffff7
mov byte [ebp - 5], al
lea eax, [ebx - 0xa]
mov word [ebp - 8], 0xc8c8
mov byte [ebp - 6], 0xc8
mov dword [ebp - 0x1c], eax
mov eax, dword [ecx]
push dword [ebp - 8]
mov eax, dword [eax + 0x38]
call eax
mov ecx, dword [0x1013bc18]
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 - 0xa]
mov eax, dword [eax + 0x40]
push edx
call eax
mov ecx, dword [0x1013bc18]
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 [0x1013bc18]
lea edx, [ebx - 5]
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, 0xfffffffa
push edx
call eax
mov ecx, dword [0x1013bc18]
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 [0x1013bc18]
mov edx, ebx
mov eax, dword [ebp - 0x20]
add edx, 0xfffffffa
inc eax
push eax
mov eax, dword [ecx]
push edx
push dword [ebp - 0x20]
mov edx, ebx
mov eax, dword [eax + 0x40]
add edx, 0xfffffff9
push edx
call eax
mov ecx, dword [0x1013bc18]
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 ebx, dword [ebp - 0x2c]
inc edx
mov ecx, dword [0x1013bc18]
push edx
mov edx, dword [ebp - 0x10]
push ebx
push dword [ebp - 0x24]
mov eax, dword [ecx]
add edx, 0xfffffff8
push edx
mov eax, dword [eax + 0x40]
call eax
mov ecx, dword [0x1013bc18]
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 [0x1013bc18]
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 - 9]
mov eax, dword [eax + 0x40]
push edx
call eax
mov ecx, dword [0x1013bc18]
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 [0x1013bc18]
lea edx, [edi + 1]
mov eax, dword [ecx]
push edx
push esi
push edi
mov eax, dword [eax + 0x40]
lea edx, [ebx - 0xa]
push edx
call eax
mov ecx, dword [0x1013bc18]
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 [0x1013bc18]
lea esi, [edi - 6]
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 [0x1013bc18]
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 [0x1013bc18]
lea esi, [edi - 7]
mov ebx, dword [ebp - 0x38]
lea edx, [esi + 1]
push edx
mov eax, dword [ecx]
lea edx, [ebx + 1]
mov eax, dword [eax + 0x40]
push edx
push esi
push ebx
call eax
mov ecx, dword [0x1013bc18]
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 - 8]
mov ecx, dword [0x1013bc18]
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 [0x1013bc18]
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 - 9]
mov ecx, dword [0x1013bc18]
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 [0x1013bc18]
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 [0x1013bc18]
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.100a2d7c
mov esp, ebp
pop ebp
ret