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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x40
mov eax, dword [0x104cdec0]
xor eax, esp
mov dword [esp + 0x3c], eax
push esi
mov esi, dword [0x102f54f4]
push edi
test esi, esi
je 0x10128279
mov ecx, dword [0x102f2748]
test ecx, ecx
je 0x10128279
mov eax, dword [0x105d9fdc]
add eax, 0xffffffce
xor eax, 0x58f652e0
cmp dword [eax + ecx], 0
jne 0x10128279
mov eax, dword [0x105d9fa0]
add eax, 0xffffffdd
xor eax, 0x58f652d1
movq xmm0, qword [eax + ecx]
movq qword [esp + 0x2c], xmm0
movss xmm1, dword [esp + 0x30]
movss xmm0, dword [esp + 0x2c]
mov eax, dword [eax + ecx + 8]
mulss xmm1, xmm1
mov dword [esp + 0x34], eax
mulss xmm0, xmm0
addss xmm1, xmm0
cvtps2pd xmm0, xmm1
xorps xmm1, xmm1
ucomisd xmm1, xmm0
ja 0x10128023
sqrtsd xmm0, xmm0
jmp 0x10128028
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sqrt_precise
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
movss xmm0, dword [0x101bdeb8]
comiss xmm0, xmm1
jbe 0x10128060
mov dword [esi + 0x28], 0
mov eax, dword [0x102f54f4]
mov dword [eax + 0x24], 0
pop edi
pop esi
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.101a3d69
mov esp, ebp
pop ebp
ret
push 0
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0
push eax
lea eax, [esp + 0x34]
mov dword [esp + 0x20], 0
push eax
mov dword [esp + 0x28], 0
call fcn.10125630
mov ecx, dword [0x105d9ce8]
lea edx, [esp + 0x44]
mov dword [esp + 0x44], 0
add esp, 0xc
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov eax, dword [ecx]
push edx
mov eax, dword [eax + 0x48]
call eax
movss xmm0, dword [esp + 0x3c]
lea eax, [esp + 0x20]
subss xmm0, dword [esp + 0x18]
push 0
push 0
push eax
lea eax, [esp + 0x20]
mov dword [esp + 0x2c], 0
push eax
movss dword [esp + 0x28], xmm0
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
call fcn.101246a0
mov ecx, dword [0x105db92c]
add esp, 0x10
test cl, 1
jne 0x10128188
or ecx, 1
mov dword [0x105db92c], ecx
mov eax, dword [0x105d9ce4]
mov eax, dword [eax + 0x30]
mov dword [esp + 0x10], eax
test eax, eax
je 0x1012816e
nop
mov edi, dword [eax + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
nop word [eax + eax]
inc ecx
cmp byte [edi + ecx], 0
jne 0x10128130
xor edx, edx
test ecx, ecx
je 0x1012815d
nop dword [eax]
movsx eax, byte [edi + edx]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x10128140
mov eax, dword [esp + 0x10]
cmp esi, 0x7939b3a7
je 0x1012817b
mov eax, dword [eax + 4]
mov dword [esp + 0x10], eax
test eax, eax
jne 0x10128120
mov ecx, dword [0x105db92c]
xor eax, eax
mov dword [esp + 0x10], eax
mov dword [0x105db928], eax
jmp 0x10128191
mov ecx, dword [0x105db92c]
mov dword [0x105db928], eax
jmp 0x10128191
mov eax, dword [0x105db928]
mov dword [esp + 0x10], eax
test cl, 2
jne 0x101281ff
or ecx, 2
mov dword [0x105db92c], ecx
mov eax, dword [0x105d9ce4]
mov eax, dword [eax + 0x30]
mov dword [esp + 0xc], eax
test eax, eax
je 0x101281f8
nop
mov edi, dword [eax + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
nop word [eax + eax]
inc ecx
cmp byte [edi + ecx], 0
jne 0x101281c0
xor edx, edx
test ecx, ecx
je 0x101281ed
nop dword [eax]
movsx eax, byte [edi + edx]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x101281d0
mov eax, dword [esp + 0xc]
cmp esi, 0xda6a172f
je 0x101281fa
mov eax, dword [eax + 4]
mov dword [esp + 0xc], eax
test eax, eax
jne 0x101281b0
xor eax, eax
mov dword [0x105db930], eax
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
mov dword [esp + 0xc], eax
call dword [esp + 0xc]
mov ecx, dword [0x105db930]
movss xmm1, dword [esp + 0x20]
fstp dword [esp + 0xc]
movss xmm0, dword [esp + 0xc]
xorps xmm0, xmmword [0x101bc280]
mov eax, dword [ecx]
mulss xmm1, xmm0
mov eax, dword [eax + 0x30]
mov dword [esp + 0xc], eax
movss dword [esp + 0x10], xmm1
call dword [esp + 0xc]
movss xmm1, dword [esp + 0x24]
mov eax, dword [0x102f54f4]
fstp dword [esp + 0xc]
movss xmm0, dword [esp + 0xc]
xorps xmm0, xmmword [0x101bc280]
mulss xmm1, xmm0
movss xmm0, dword [esp + 0x10]
movss dword [eax + 0x24], xmm0
mov eax, dword [0x102f54f4]
movss dword [eax + 0x28], xmm1
mov ecx, dword [esp + 0x44]
pop edi
pop esi
xor ecx, esp
call fcn.101a3d69
mov esp, ebp
pop ebp
ret