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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x38
mov eax, dword [0x101040b4]
xor eax, esp
mov dword [esp + 0x34], eax
push esi
push edi
mov edi, dword [0x10122f40]
test edi, edi
je 0x100d18ee
mov ecx, dword [0x10122b60]
test ecx, ecx
je 0x100d18ee
mov eax, dword [0x1013b6c8]
add eax, 0xffffffc7
xor eax, 0xee847b80
cmp dword [eax + ecx], 0
jne 0x100d18ee
cmp dword [0x10122ee8], 0
je 0x100d18ee
mov eax, dword [0x1013b6d0]
add eax, 0xffffffc5
xor eax, 0xee847b82
mov eax, dword [eax + ecx]
cmp eax, 8
je 0x100d18ee
cmp eax, 9
je 0x100d18ee
mov eax, dword [0x1013b6cc]
add eax, 0xffffffc6
xor eax, 0xee847b81
test byte [eax + ecx], 1
je 0x100d18ee
test byte [edi + 0x30], 2
jne 0x100d18ee
cmp byte [0x10122aad], 0
je 0x100d18ee
mov edx, dword [0x10122ef0]
test edx, edx
je 0x100d18ee
mov esi, dword [0x1013b718]
add esi, 0xffffffb3
xor esi, 0xee847b94
cmp byte [esi + ecx], 0
jbe 0x100d1543
movss xmm2, dword [edx + 0x130]
jmp 0x100d154b
movss xmm2, dword [edx + 0x12c]
cmp byte [0x10122ff4], 0
mulss xmm2, dword [0x100f7ef8]
mov byte [0x10122aad], 0
je 0x100d18ee
mov eax, dword [0x101319b8]
cmp eax, 0xffffffff
je 0x100d1583
lea eax, [eax + eax*2]
mov al, byte [eax*4 + 0x10139d40]
test al, al
jne 0x100d18ee
mov eax, dword [0x1013b694]
add eax, 0xffffffd4
xor eax, 0xee847b73
movss xmm1, dword [eax + ecx + 4]
movss xmm0, dword [eax + ecx]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm0, xmm1
call fcn.1001eaf0
comiss xmm2, xmm0
jbe 0x100d16c4
cmp byte [esi + ecx], 0
jbe 0x100d15c5
movss xmm0, dword [edx + 0x130]
jmp 0x100d15cd
movss xmm0, dword [edx + 0x12c]
cmp byte [0x10122b6f], 0
cvtps2pd xmm0, xmm0
mulsd xmm0, qword [0x100f7fa0]
cvtpd2ps xmm5, xmm0
je 0x100d18ee
or dword [edi + 0x30], 0x20000
mov ecx, dword [0x10122f40]
movss xmm6, dword [ecx + 0x28]
movss xmm4, dword [ecx + 0x24]
movaps xmm0, xmm6
movaps xmm1, xmm4
mulss xmm0, xmm6
mulss xmm1, xmm4
addss xmm1, xmm0
xorps xmm0, xmm0
sqrtss xmm0, xmm1
comiss xmm0, xmm5
jbe 0x100d18ee
mov eax, dword [0x1013b694]
movss xmm3, dword [0x100f7f64]
add eax, 0xffffffd4
xor eax, 0xee847b73
add eax, dword [0x10122b60]
divss xmm3, xmm0
movss xmm2, dword [eax + 4]
movss xmm0, dword [eax]
mulss xmm0, xmm0
mulss xmm2, xmm2
cvtps2pd xmm1, xmm5
addss xmm0, xmm2
addsd xmm1, qword [0x100f7fb0]
call fcn.1001eaf0
cvtss2sd xmm0, xmm0
comisd xmm0, xmm1
jb 0x100d1694
mov dword [ecx + 0x24], 0
mov eax, dword [0x10122f40]
mov dword [eax + 0x28], 0
pop edi
pop esi
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.100e7827
mov esp, ebp
pop ebp
ret
mulss xmm4, xmm3
mulss xmm3, xmm6
mulss xmm4, xmm5
mulss xmm3, xmm5
movss dword [ecx + 0x24], xmm4
mov eax, dword [0x10122f40]
movss dword [eax + 0x28], xmm3
pop edi
pop esi
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.100e7827
mov esp, ebp
pop ebp
ret
mov eax, dword [0x1013b694]
lea edx, [esp + 0x14]
add eax, 0xffffffd4
mov dword [esp + 0x14], 0
xor eax, 0xee847b73
mov dword [esp + 0x18], 0
push ecx
movq xmm0, qword [eax + ecx]
mov eax, dword [eax + ecx + 8]
lea ecx, [esp + 0x24]
movq qword [esp + 0x24], xmm0
movq xmm0, qword [edi + 0xc]
mov dword [esp + 0x2c], eax
movq qword [esp + 0x34], xmm0
mov eax, dword [edi + 0x14]
mov dword [esp + 0x3c], eax
call fcn.100cf530
mov ecx, dword [0x1013b4ac]
lea edx, [esp + 0x34]
add esp, 4
mov eax, dword [ecx]
push edx
mov eax, dword [eax + 0x48]
call eax
movss xmm0, dword [esp + 0x14]
mulss xmm0, dword [0x100f7e90]
call sub.api_ms_win_crt_math_l1_1_0.dll___libm_sse2_cosf
movss xmm1, dword [esp + 0x34]
subss xmm1, dword [esp + 0x18]
movss dword [esp + 8], xmm0
mulss xmm1, dword [0x100f7e90]
movaps xmm0, xmm1
call fcn.100e88b5
mov ecx, dword [0x10140a30]
movaps xmm2, xmm0
shufps xmm2, xmm0, 1
mulss xmm2, dword [esp + 8]
mulss xmm0, dword [esp + 8]
movaps xmmword [esp + 0x20], xmm2
movss dword [esp + 0x10], xmm0
test cl, 1
jne 0x100d1808
or ecx, 1
mov dword [0x10140a30], ecx
mov eax, dword [0x1013b4a8]
mov eax, dword [eax + 0x30]
mov dword [esp + 0xc], eax
test eax, eax
je 0x100d17ee
mov edi, dword [eax + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
nop
inc ecx
cmp byte [ecx + edi], 0
jne 0x100d17b0
xor edx, edx
test ecx, ecx
je 0x100d17dd
nop dword [eax]
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x100d17c0
mov eax, dword [esp + 0xc]
cmp esi, 0x7939b3a7
je 0x100d17fb
mov eax, dword [eax + 4]
mov dword [esp + 0xc], eax
test eax, eax
jne 0x100d17a4
mov ecx, dword [0x10140a30]
xor eax, eax
mov dword [esp + 0xc], eax
mov dword [0x10140a28], eax
jmp 0x100d1811
mov ecx, dword [0x10140a30]
mov dword [0x10140a28], eax
jmp 0x100d1811
mov eax, dword [0x10140a28]
mov dword [esp + 0xc], eax
test cl, 2
jne 0x100d187f
or ecx, 2
mov dword [0x10140a30], ecx
mov eax, dword [0x1013b4a8]
mov eax, dword [eax + 0x30]
mov dword [esp + 8], eax
test eax, eax
je 0x100d1878
nop
mov edi, dword [eax + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
nop word [eax + eax]
inc ecx
cmp byte [ecx + edi], 0
jne 0x100d1840
xor edx, edx
test ecx, ecx
je 0x100d186d
nop dword [eax]
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x100d1850
mov eax, dword [esp + 8]
cmp esi, 0xda6a172f
je 0x100d187a
mov eax, dword [eax + 4]
mov dword [esp + 8], eax
test eax, eax
jne 0x100d1830
xor eax, eax
mov dword [0x10140a2c], eax
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
mov dword [esp + 8], eax
call dword [esp + 8]
mov ecx, dword [0x10140a2c]
fstp dword [esp + 8]
movss xmm0, dword [esp + 8]
xorps xmm0, xmmword [0x100f8d30]
mov eax, dword [ecx]
movss dword [esp + 0xc], xmm0
mov eax, dword [eax + 0x30]
mov dword [esp + 8], eax
call dword [esp + 8]
movaps xmm1, xmmword [esp + 0x20]
mov eax, dword [0x10122f40]
fmul dword [esp + 0x10]
mulss xmm1, dword [esp + 0xc]
movss dword [eax + 0x24], xmm1
mov eax, dword [0x10122f40]
fstp dword [esp + 0x10]
movss xmm0, dword [esp + 0x10]
xorps xmm0, xmmword [0x100f8d30]
movss dword [eax + 0x28], xmm0
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
xor ecx, esp
call fcn.100e7827
mov esp, ebp
pop ebp
ret