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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x100d6040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x10240b70]
push ebx
push esi
push edi
test al, 1
jne 0x100a99e8
or eax, 1
mov dword [0x10240b70], eax
mov eax, dword [0x1023b450]
mov ebx, dword [eax + 0x30]
jmp 0x100a99dc
mov edi, dword [ebx + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
nop word [eax + eax]
inc ecx
cmp byte [edi + ecx], 0
jne 0x100a99b0
xor edx, edx
test ecx, ecx
je 0x100a99d9
nop dword [eax]
movsx eax, byte [edi + edx]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x100a99c0
cmp esi, 0xcc254ccd
je 0x100a99e0
mov ebx, dword [ebx + 4]
test ebx, ebx
jne 0x100a99a0
mov dword [0x10240a48], ebx
jmp 0x100a99ee
mov ebx, dword [0x10240a48]
mov eax, dword [ebx]
movss xmm0, dword [0x100f0864]
push ecx
mov ecx, ebx
movss dword [esp], xmm0
mov eax, dword [eax + 0x3c]
call eax
mov eax, dword [0x10240b70]
test al, 2
jne 0x100a9a68
or eax, 2
mov dword [0x10240b70], eax
mov eax, dword [0x1023b450]
mov ebx, dword [eax + 0x30]
jmp 0x100a9a5c
mov edi, dword [ebx + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
nop word [eax + eax]
inc ecx
cmp byte [ecx + edi], 0
jne 0x100a9a30
xor edx, edx
test ecx, ecx
je 0x100a9a59
nop dword [eax]
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x100a9a40
cmp esi, 0x90f473ab
je 0x100a9a60
mov ebx, dword [ebx + 4]
test ebx, ebx
jne 0x100a9a20
mov dword [0x10240b68], ebx
jmp 0x100a9a6e
mov ebx, dword [0x10240b68]
cmp byte [0x100e6970], 0
je 0x100a9a98
mov ecx, dword [0x1023b710]
mov eax, dword [0x100d65a8]
add ecx, 0xffffffb3
xor ecx, 0x2730fb7
cmp byte [ecx + eax], 0
jne 0x100a9a98
mov ecx, 3
jmp 0x100a9a9a
xor ecx, ecx
mov eax, dword [ebx]
push ecx
mov ecx, ebx
mov eax, dword [eax + 0x40]
call eax
cmp byte [0x100e2670], 0
je 0x100a9bff
mov eax, dword [0x1023b4b4]
movss xmm1, dword [eax + 0x10]
comiss xmm1, dword [0x102406f8]
ja 0x100a9bff
movss xmm2, dword [0x102406fc]
xorps xmm0, xmm0
comiss xmm0, xmm2
jae 0x100a9bff
cmp byte [0x1023bd2c], 0
subss xmm1, dword [0x102406f4]
movss xmm0, dword [0x100caba8]
mov edi, dword [0x100d9c78]
mov ebx, dword [0x100d9c7c]
mov word [ebp - 8], 0x79ff
divss xmm1, xmm2
mov byte [ebp - 6], 0xdd
subss xmm0, xmm1
mulss xmm0, dword [0x100cad64]
cvttss2si eax, xmm0
mov byte [ebp - 5], al
je 0x100a9b2c
mov word [ebp - 8], 0xffcf
mov byte [ebp - 6], 0x45
mov ecx, dword [0x1023b460]
mov esi, dword [ebp - 8]
push esi
mov edx, dword [ecx]
mov edx, dword [edx + 0x38]
call edx
mov ecx, dword [0x1023b460]
mov eax, ebx
cdq
sub eax, edx
mov ebx, eax
sar ebx, 1
mov dword [ebp - 0x10], ebx
lea eax, [ebx - 4]
mov dword [ebp - 0x14], eax
mov eax, edi
push dword [ebp - 0x14]
cdq
sub eax, edx
lea edx, [ebx - 9]
sar eax, 1
mov dword [ebp - 0x18], edx
mov dword [ebp - 0xc], eax
lea edi, [eax - 4]
lea edx, [eax - 9]
mov eax, dword [ecx]
push edi
push dword [ebp - 0x18]
mov eax, dword [eax + 0x4c]
push edx
call eax
mov ecx, dword [0x1023b460]
push esi
mov eax, dword [ecx]
mov eax, dword [eax + 0x38]
call eax
mov ecx, dword [0x1023b460]
add ebx, 4
mov edx, dword [ebp - 0x10]
push ebx
add edx, 9
mov eax, dword [ecx]
push edi
push edx
mov edx, dword [ebp - 0xc]
mov eax, dword [eax + 0x4c]
add edx, 0xfffffff7
push edx
call eax
mov ecx, dword [0x1023b460]
push esi
mov eax, dword [ecx]
mov eax, dword [eax + 0x38]
call eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [0x1023b460]
push ebx
mov ebx, dword [ebp - 0x10]
lea edi, [eax + 4]
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 [0x1023b460]
push esi
mov eax, dword [ecx]
mov eax, dword [eax + 0x38]
call eax
mov ecx, dword [0x1023b460]
push dword [ebp - 0x14]
mov edx, dword [ebp - 0xc]
push edi
mov eax, dword [ecx]
add edx, 9
push dword [ebp - 0x18]
push edx
mov eax, dword [eax + 0x4c]
call eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100b63ac
mov esp, ebp
pop ebp
ret