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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100f719d
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x50
push esi
push edi
mov eax, dword [0x1011904c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebx + 8]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x100a8fb2
cmp dword [0x10119b60], 0
je 0x100a8fb2
mov edi, dword [eax + 8]
mov eax, dword [0x10147db0]
test al, 1
jne 0x100a87f6
or eax, 1
mov dword [0x10147db0], eax
mov edx, 0x990704d7
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.1003d760
push 0xda7d68cb
mov edx, eax
mov ecx, 0x10147db4
call fcn.1003db70
add esp, 4
push 0x100f8920
call fcn.100c6eb0
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [0x10147db4]
call eax
mov esi, eax
mov dword [ebp - 0x18], esi
test edi, edi
je 0x100a8870
test esi, esi
je 0x100a8870
mov ecx, dword [edi + 0x18]
mov dword [ebp - 0x1c], ecx
test ecx, ecx
je 0x100a8870
mov eax, dword [esi]
mov edx, dword [eax + 0x10]
mov eax, dword [ecx]
mov ecx, esi
and eax, 0xffffff
push eax
call edx
mov esi, eax
test esi, esi
je 0x100a8859
mov edi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [ecx + esi], 0
jne 0x100a8832
xor edx, edx
test ecx, ecx
je 0x100a8859
nop
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x100a8840
cmp edi, 0x11ab48ff
je 0x100a886b
mov ecx, dword [ebp - 0x1c]
mov ecx, dword [ecx + 0x14]
mov dword [ebp - 0x1c], ecx
test ecx, ecx
je 0x100a8870
mov esi, dword [ebp - 0x18]
jmp 0x100a8814
mov ecx, dword [ebp - 0x1c]
jmp 0x100a8872
xor ecx, ecx
movsx eax, byte [ecx + 0x10]
dec eax
cmp eax, 6
ja case.0x100a8880.2
jmp dword [eax*4 + 0x100a8fc8]
push dword [ecx + 4]
call fcn.100d5ec9
add esp, 4
mov edx, eax
jmp 0x100a8901
push dword [ecx + 8]
call fcn.100d5ea6
add esp, 4
mov edx, eax
jmp 0x100a8901
movss xmm4, dword [ecx + 0xc]
movss xmm3, dword [0x10108c30]
movaps xmm0, xmm4
movss xmm2, dword [0x10108c28]
andps xmm3, xmm4
xorps xmm0, xmm3
movaps xmm1, xmm4
cmpltss xmm0, xmm2
andps xmm2, xmm0
orps xmm2, xmm3
addss xmm1, xmm2
subss xmm1, xmm2
movss xmm2, dword [0x10108aa8]
movaps xmm0, xmm1
subss xmm0, xmm4
cmpnless xmm0, xmm3
andps xmm0, xmm2
subss xmm1, xmm0
cvttss2si edx, xmm1
jmp 0x100a8901
xor edx, edx
jmp 0x100a8901
mov edx, dword [ecx + 0xc]
mov ecx, dword [0x10142598]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
call eax
mov esi, dword [0x10142598]
mov edi, eax
mov ecx, dword [esi]
mov edx, dword [ecx + 0x30]
mov ecx, esi
call edx
cmp edi, eax
jne 0x100a8fb2
mov edi, dword [ebp - 0x14]
mov eax, dword [0x10147db0]
mov edi, dword [edi + 8]
test al, 1
jne 0x100a897b
or eax, 1
mov dword [0x10147db0], eax
mov edx, 0x990704d7
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.1003d760
push 0xda7d68cb
mov edx, eax
mov ecx, 0x10147db4
call fcn.1003db70
add esp, 4
push 0x100f8920
call fcn.100c6eb0
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [0x10147db4]
call eax
mov esi, eax
mov dword [ebp - 0x18], esi
test edi, edi
je 0x100a8a00
test esi, esi
je 0x100a8a00
mov ecx, dword [edi + 0x18]
mov dword [ebp - 0x1c], ecx
test ecx, ecx
je 0x100a8a00
nop dword [eax]
mov eax, dword [esi]
mov edx, dword [eax + 0x10]
mov eax, dword [ecx]
mov ecx, esi
and eax, 0xffffff
push eax
call edx
mov esi, eax
test esi, esi
je 0x100a89e9
mov edi, 0x811c9dc5
xor ecx, ecx
nop
inc ecx
cmp byte [ecx + esi], 0
jne 0x100a89c0
xor edx, edx
test ecx, ecx
je 0x100a89e9
nop dword [eax]
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x100a89d0
cmp edi, 0xfd0c5087
je 0x100a89fb
mov ecx, dword [ebp - 0x1c]
mov ecx, dword [ecx + 0x14]
mov dword [ebp - 0x1c], ecx
test ecx, ecx
je 0x100a8a00
mov esi, dword [ebp - 0x18]
jmp 0x100a89a0
mov ecx, dword [ebp - 0x1c]
jmp 0x100a8a02
xor ecx, ecx
movsx eax, byte [ecx + 0x10]
dec eax
cmp eax, 6
ja case.0x100a8a0c.4
jmp dword [eax*4 + 0x100a8fe4]
push dword [ecx + 4]
call fcn.100d6230
fstp dword [ebp - 0x1c]
movss xmm0, dword [ebp - 0x1c]
add esp, 4
jmp 0x100a8a64
push dword [ecx + 8]
call fcn.100d621d
fstp dword [ebp - 0x1c]
movss xmm0, dword [ebp - 0x1c]
add esp, 4
jmp 0x100a8a64
movss xmm0, dword [ecx + 0xc]
jmp 0x100a8a64
movd xmm0, dword [ecx + 0xc]
cvtdq2ps xmm0, xmm0
jmp 0x100a8a64
mov ecx, dword [ecx + 4]
mov edx, dword [ecx + 4]
mov ecx, dword [ecx]
call fcn.100ed880
cvtsd2ss xmm0, xmm0
jmp 0x100a8a64
xorps xmm0, xmm0
mov eax, dword [ebp - 0x14]
movss dword [ebp - 0x1c], xmm0
mov edi, dword [eax + 8]
mov eax, dword [0x10147db0]
test al, 1
jne 0x100a8abc
or eax, 1
mov dword [0x10147db0], eax
mov edx, 0x990704d7
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x40]
call fcn.1003d760
push 0xda7d68cb
mov edx, eax
mov ecx, 0x10147db4
call fcn.1003db70
add esp, 4
push 0x100f8920
call fcn.100c6eb0
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [0x10147db4]
call eax
mov esi, eax
mov dword [ebp - 0x20], esi
test edi, edi
je 0x100a8b40
test esi, esi
je 0x100a8b40
mov ecx, dword [edi + 0x18]
mov dword [ebp - 0x18], ecx
test ecx, ecx
je 0x100a8b40
nop word [eax + eax]
mov eax, dword [esi]
mov edx, dword [eax + 0x10]
mov eax, dword [ecx]
mov ecx, esi
and eax, 0xffffff
push eax
call edx
mov esi, eax
test esi, esi
je 0x100a8b29
mov edi, 0x811c9dc5
xor ecx, ecx
nop
inc ecx
cmp byte [ecx + esi], 0
jne 0x100a8b00
xor edx, edx
test ecx, ecx
je 0x100a8b29
nop dword [eax]
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x100a8b10
cmp edi, 0xfc0c4ef4
je 0x100a8b3b
mov ecx, dword [ebp - 0x18]
mov ecx, dword [ecx + 0x14]
mov dword [ebp - 0x18], ecx
test ecx, ecx
je 0x100a8b40
mov esi, dword [ebp - 0x20]
jmp 0x100a8ae0
mov ecx, dword [ebp - 0x18]
jmp 0x100a8b42
xor ecx, ecx
movsx eax, byte [ecx + 0x10]
dec eax
cmp eax, 6
ja case.0x100a8b4c.4
jmp dword [eax*4 + 0x100a9000]
push dword [ecx + 4]
call fcn.100d6230
fstp dword [ebp - 0x18]
movss xmm0, dword [ebp - 0x18]
add esp, 4
jmp 0x100a8ba4
push dword [ecx + 8]
call fcn.100d621d
fstp dword [ebp - 0x18]
movss xmm0, dword [ebp - 0x18]
add esp, 4
jmp 0x100a8ba4
movss xmm0, dword [ecx + 0xc]
jmp 0x100a8ba4
movd xmm0, dword [ecx + 0xc]
cvtdq2ps xmm0, xmm0
jmp 0x100a8ba4
mov ecx, dword [ecx + 4]
mov edx, dword [ecx + 4]
mov ecx, dword [ecx]
call fcn.100ed880
cvtsd2ss xmm0, xmm0
jmp 0x100a8ba4
xorps xmm0, xmm0
mov eax, dword [ebp - 0x14]
movss dword [ebp - 0x18], xmm0
mov edi, dword [eax + 8]
mov eax, dword [0x10147db0]
test al, 1
jne 0x100a8bfc
or eax, 1
mov dword [0x10147db0], eax
mov edx, 0x990704d7
mov dword [ebp - 4], 3
lea ecx, [ebp - 0x40]
call fcn.1003d760
push 0xda7d68cb
mov edx, eax
mov ecx, 0x10147db4
call fcn.1003db70
add esp, 4
push 0x100f8920
call fcn.100c6eb0
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [0x10147db4]
call eax
mov esi, eax
mov dword [ebp - 0x20], esi
test edi, edi
je 0x100a8c80
test esi, esi
je 0x100a8c80
mov ecx, dword [edi + 0x18]
mov dword [ebp - 0x14], ecx
test ecx, ecx
je 0x100a8c80
nop word [eax + eax]
mov eax, dword [esi]
mov edx, dword [eax + 0x10]
mov eax, dword [ecx]
mov ecx, esi
and eax, 0xffffff
push eax
call edx
mov esi, eax
test esi, esi
je 0x100a8c69
mov edi, 0x811c9dc5
xor ecx, ecx
nop
inc ecx
cmp byte [ecx + esi], 0
jne 0x100a8c40
xor edx, edx
test ecx, ecx
je 0x100a8c69
nop dword [eax]
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x100a8c50
cmp edi, 0xff0c53ad
je 0x100a8c7b
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx + 0x14]
mov dword [ebp - 0x14], ecx
test ecx, ecx
je 0x100a8c80
mov esi, dword [ebp - 0x20]
jmp 0x100a8c20
mov ecx, dword [ebp - 0x14]
jmp 0x100a8c82
xor ecx, ecx
movsx eax, byte [ecx + 0x10]
dec eax
cmp eax, 6
ja case.0x100a8c8c.4
jmp dword [eax*4 + 0x100a901c]
push dword [ecx + 4]
call fcn.100d6230
fstp dword [ebp - 0x14]
movss xmm0, dword [ebp - 0x14]
add esp, 4
jmp 0x100a8ce4
push dword [ecx + 8]
call fcn.100d621d
fstp dword [ebp - 0x14]
movss xmm0, dword [ebp - 0x14]
add esp, 4
jmp 0x100a8ce4
movss xmm0, dword [ecx + 0xc]
jmp 0x100a8ce4
movd xmm0, dword [ecx + 0xc]
cvtdq2ps xmm0, xmm0
jmp 0x100a8ce4
mov ecx, dword [ecx + 4]
mov edx, dword [ecx + 4]
mov ecx, dword [ecx]
call fcn.100ed880
cvtsd2ss xmm0, xmm0
jmp 0x100a8ce4
xorps xmm0, xmm0
mov eax, dword [0x101427d4]
mov esi, dword [0x10119b60]
add eax, 0xffffffc2
xor eax, 0x9e4a2219
movss dword [ebp - 0x14], xmm0
cmp byte [0x10122324], 0
movd xmm0, dword [eax + esi]
mov eax, dword [0x101425f4]
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [eax + 0x20]
movss dword [ebp - 0x30], xmm0
je 0x100a8f11
mov dword [ebp - 0x2c], 0
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov eax, dword [esi]
push ecx
mov ecx, esi
mov eax, dword [eax + 0x28c]
call eax
cmp dword [esi + 0x39e1], 0
je 0x100a8e8f
mov eax, dword [0x10142748]
mov edi, dword [esi + eax]
test edi, edi
je 0x100a8e8f
mov ecx, dword [edi + 0x60]
test ecx, ecx
je 0x100a8e8f
cmp byte [edi + 0x109], 0
xorps xmm4, xmm4
jne 0x100a8dc1
mov eax, dword [0x101427dc]
add eax, 0xffffffc0
xor eax, 0x9e4a221b
movss xmm0, dword [eax + ecx]
ucomiss xmm0, xmm4
lahf
test ah, 0x44
jp 0x100a8dc1
mov eax, dword [0x10142850]
add eax, 0xffffffa3
xor eax, 0x9e4a2238
mov eax, dword [eax + ecx]
mov ecx, dword [0x1014259c]
push ecx
mov edx, dword [ecx]
mov esi, dword [edx + 0x10]
mov edx, esp
mov dword [edx], eax
call esi
test eax, eax
jne 0x100a8e8f
xorps xmm4, xmm4
mov ecx, dword [0x10142844]
mov eax, dword [edi + 0x60]
add ecx, 0xffffffa6
xor ecx, 0x9e4a2235
mov eax, dword [ecx + eax]
test eax, eax
je 0x100a8e8f
movss xmm3, dword [eax + 0x1ac]
movss xmm2, dword [ebp - 0x24]
cvtps2pd xmm3, xmm3
cvtps2pd xmm0, xmm2
addsd xmm3, qword [str.333333]
comisd xmm0, xmm3
movsd qword [ebp - 0x40], xmm3
jbe 0x100a8e8f
subsd xmm0, xmm3
cvtpd2ps xmm0, xmm0
subss xmm0, dword [0x10108b10]
cvtps2pd xmm0, xmm0
mulsd xmm0, qword [0x10108ad0]
cvtpd2ps xmm0, xmm0
comiss xmm0, xmm4
jb 0x100a8e56
sub esp, 8
mov dword [esp + 4], 0x3f800000
movss dword [esp], xmm0
call fcn.100d1b85
movss xmm2, dword [ebp - 0x24]
add esp, 8
movsd xmm3, qword [ebp - 0x40]
fstp dword [ebp - 0x20]
movss xmm4, dword [ebp - 0x20]
movaps xmm1, xmm4
mulss xmm1, xmm4
cvtps2pd xmm2, xmm2
movaps xmm0, xmm1
addss xmm1, xmm1
mulss xmm0, dword [0x10108af8]
subsd xmm3, xmm2
mulss xmm1, xmm4
subss xmm0, xmm1
cvtps2pd xmm0, xmm0
mulsd xmm0, xmm3
addsd xmm0, xmm2
cvtpd2ps xmm0, xmm0
movss dword [ebp - 0x24], xmm0
mov ecx, dword [0x101427d4]
mov eax, dword [ebp - 0x24]
add ecx, 0xffffffc2
movss xmm5, dword [ebp - 0x1c]
xor ecx, 0x9e4a2219
movss xmm4, dword [ebp - 0x18]
movss xmm3, dword [ebp - 0x14]
movq xmm0, qword [ebp - 0x2c]
mov dword [ebp - 0x4c], eax
mov eax, dword [0x10119b60]
movss dword [ebp - 0x60], xmm5
movss dword [ebp - 0x5c], xmm4
movss dword [ebp - 0x58], xmm3
mov eax, dword [ecx + eax]
mov dword [ebp - 0x48], eax
mov eax, dword [0x101430b8]
movq qword [ebp - 0x54], xmm0
mov word [ebp - 0x44], 0
cmp eax, dword [0x101430bc]
je 0x100a8f02
movups xmm0, xmmword [ebp - 0x60]
movups xmmword [eax], xmm0
movups xmm0, xmmword [ebp - 0x50]
movups xmmword [eax + 0x10], xmm0
add dword [0x101430b8], 0x20
jmp 0x100a8f16
lea ecx, [ebp - 0x60]
push ecx
push eax
mov ecx, 0x101430b4
call fcn.100ab210
movss xmm5, dword [ebp - 0x1c]
mov eax, dword [0x101430b0]
test eax, eax
je 0x100a8fb2
mov ecx, dword [0x101430ac]
xor edx, edx
movss xmm2, dword [0x10108c2c]
lea esi, [eax + ecx]
mov dword [ebp - 0x20], esi
cmp ecx, esi
je 0x100a8fb2
mov edi, dword [0x101430a8]
movss xmm3, dword [ebp - 0x30]
movss xmm4, dword [0x10108aa8]
mov esi, dword [0x101430a4]
lea eax, [edi - 1]
and eax, ecx
mov eax, dword [esi + eax*4]
mov esi, dword [ebp - 0x20]
cmp byte [eax + 0x32], 0
jne 0x100a8f8c
movss xmm1, dword [eax + 0xc]
movaps xmm0, xmm3
addss xmm1, dword [eax + 8]
subss xmm0, xmm1
call fcn.10028290
comiss xmm0, xmm4
ja 0x100a8f8c
comiss xmm2, xmm0
jbe 0x100a8f8c
movaps xmm2, xmm0
mov edx, eax
inc ecx
cmp ecx, esi
jne 0x100a8f50
movss xmm3, dword [ebp - 0x14]
movss xmm4, dword [ebp - 0x18]
test edx, edx
je 0x100a8fb2
mov byte [edx + 0x32], 1
movss dword [edx + 0x24], xmm5
movss dword [edx + 0x28], xmm4
movss dword [edx + 0x2c], xmm3
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4