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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x100d400c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x1010c618]
mov ecx, dword [0x101136b8]
add eax, 0xffffffc8
xor eax, 0x358f6f9
push esi
push edi
test byte [eax + ecx], 1
je 0x10097a2f
test byte [0x101136e8], 1
je 0x10097a2f
mov eax, dword [0x10115598]
test dword [eax + 0x30], 0x61a
jne 0x10097a2f
mov eax, dword [0x1010c5dc]
add eax, 0xffffffd7
xor eax, 0x358f6e9
movq xmm0, qword [eax + ecx]
mov eax, dword [eax + ecx + 8]
movq qword [ebp - 0x2c], xmm0
movss xmm0, dword [ebp - 0x28]
movss xmm1, dword [ebp - 0x2c]
mulss xmm0, xmm0
mov dword [ebp - 0x24], eax
mulss xmm1, xmm1
addss xmm0, xmm1
call fcn.10021e60
comiss xmm0, dword [0x100c91b0]
jbe 0x10097a2f
mov ecx, dword [0x1010c3e8]
lea edx, [ebp - 0x10]
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
mov eax, dword [ecx]
push edx
movss dword [ebp - 0x18], xmm0
mov eax, dword [eax + 0x48]
call eax
movss xmm0, dword [ebp - 0x24]
xorps xmm0, xmmword [0x100c93f0]
movss dword [ebp - 0x14], xmm0
fld dword [ebp - 0x14]
fld dword [ebp - 0x18]
fpatan
fstp dword [ebp - 0x14]
movss xmm0, dword [ebp - 0x14]
mulss xmm0, dword [0x100c91ec]
mulss xmm0, dword [0x100c8f68]
call sub.api_ms_win_crt_math_l1_1_0.dll___libm_sse2_cosf
fld dword [ebp - 0x28]
fld dword [ebp - 0x2c]
fpatan
movss xmm1, dword [ebp - 0xc]
movss dword [ebp - 0x18], xmm0
fstp dword [ebp - 0x14]
movss xmm0, dword [ebp - 0x14]
mulss xmm0, dword [0x100c91ec]
subss xmm1, xmm0
mulss xmm1, dword [0x100c8f68]
movaps xmm0, xmm1
call fcn.100b49e0
mov ecx, dword [0x10115948]
movaps xmm2, xmm0
shufps xmm2, xmm0, 1
mulss xmm2, dword [ebp - 0x18]
mulss xmm0, dword [ebp - 0x18]
movaps xmmword [ebp - 0x30], xmm2
movss dword [ebp - 0x1c], xmm0
test cl, 1
jne 0x10097955
or ecx, 1
mov dword [0x10115948], ecx
mov eax, dword [0x1010c3e4]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x18], eax
test eax, eax
je 0x1009793c
nop
mov edi, dword [eax + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
nop word [eax + eax]
inc ecx
cmp byte [ecx + edi], 0
jne 0x10097900
xor edx, edx
test ecx, ecx
je 0x1009792c
nop dword [eax]
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x10097910
mov eax, dword [ebp - 0x18]
cmp esi, 0x7939b3a7
je 0x10097948
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
test eax, eax
jne 0x100978f0
mov ecx, dword [0x10115948]
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [0x10115938], eax
jmp 0x1009795d
mov ecx, dword [0x10115948]
mov dword [0x10115938], eax
jmp 0x1009795d
mov eax, dword [0x10115938]
mov dword [ebp - 0x18], eax
test cl, 2
jne 0x100979cd
or ecx, 2
mov dword [0x10115948], ecx
mov eax, dword [0x1010c3e4]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x100979c6
nop word [eax + eax]
mov edi, dword [eax + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
nop word [eax + eax]
inc ecx
cmp byte [ecx + edi], 0
jne 0x10097990
xor edx, edx
test ecx, ecx
je 0x100979bc
nop dword [eax]
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x100979a0
mov eax, dword [ebp - 0x14]
cmp esi, 0xda6a172f
je 0x100979c8
mov eax, dword [eax + 4]
mov dword [ebp - 0x14], eax
test eax, eax
jne 0x10097980
xor eax, eax
mov dword [0x10115934], eax
mov ecx, dword [ebp - 0x18]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x14], eax
call dword [ebp - 0x14]
mov ecx, dword [0x10115934]
fstp dword [ebp - 0x14]
movss xmm0, dword [ebp - 0x14]
xorps xmm0, xmmword [0x100c93f0]
mov eax, dword [ecx]
movss dword [ebp - 0x18], xmm0
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x14], eax
call dword [ebp - 0x14]
movaps xmm1, xmmword [ebp - 0x30]
mov eax, dword [0x10115598]
fmul dword [ebp - 0x1c]
mulss xmm1, dword [ebp - 0x18]
movss dword [eax + 0x24], xmm1
mov eax, dword [0x10115598]
fstp dword [ebp - 0x1c]
movss xmm0, dword [ebp - 0x1c]
xorps xmm0, xmmword [0x100c93f0]
movss dword [eax + 0x28], xmm0
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.100b38c5
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4