Function at 0x100c5d80
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 [0x100f5008]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x10124b10]
add eax, 0xffffffd9
xor eax, 0x1d780df6
add eax, dword [0x100f5024]
push esi
push edi
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
mov dword [ebp - 0x24], eax
mov eax, dword [0x100f53d8]
movq qword [ebp - 0x2c], xmm0
movss xmm1, dword [ebp - 0x28]
mulss xmm1, xmm1
movq xmm0, qword [eax + 0xc]
movq qword [ebp - 0x10], xmm0
movss xmm0, dword [ebp - 0x2c]
mov eax, dword [eax + 0x14]
mulss xmm0, xmm0
mov dword [ebp - 8], eax
addss xmm0, xmm1
call fcn.1001e310
xorps xmm1, xmm1
movss dword [ebp - 0x18], xmm0
comiss xmm0, xmm1
movss xmm0, dword [ebp - 0x24]
movss dword [ebp - 0x14], xmm1
jbe 0x100c5e56
xorps xmm0, xmmword [0x100e9ec0]
movss dword [ebp - 0x14], xmm0
fld dword [ebp - 0x14]
fld dword [ebp - 0x18]
fpatan
fstp dword [ebp - 0x14]
fld dword [ebp - 0x28]
fld dword [ebp - 0x2c]
fpatan
movss xmm1, dword [ebp - 0x14]
mulss xmm1, dword [0x100e9cc8]
fstp dword [ebp - 0x14]
movss dword [ebp - 0x18], xmm1
movss xmm1, dword [ebp - 0x14]
mulss xmm1, dword [0x100e9cc8]
movss dword [ebp - 0x14], xmm1
jmp 0x100c5e72
comiss xmm0, xmm1
jbe 0x100c5e65
movss xmm0, dword [0x100e9dc4]
jmp 0x100c5e6d
movss xmm0, dword [0x100e9ce8]
movss dword [ebp - 0x18], xmm0
mov ecx, dword [0x101248ec]
lea edx, [ebp - 0x10]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x48]
call eax
movss xmm0, dword [ebp - 0x18]
mulss xmm0, dword [0x100e9adc]
call sub.api_ms_win_crt_math_l1_1_0.dll___libm_sse2_cosf
movss xmm1, dword [ebp - 0xc]
subss xmm1, dword [ebp - 0x14]
movss dword [ebp - 0x18], xmm0
mulss xmm1, dword [0x100e9adc]
movaps xmm0, xmm1
call fcn.100db750
mov ecx, dword [0x1012ad54]
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 0x100c5f55
or ecx, 1
mov dword [0x1012ad54], ecx
mov eax, dword [0x101248e8]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x18], eax
test eax, eax
je 0x100c5f3c
mov edi, dword [eax + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
nop dword [eax + eax]
inc ecx
cmp byte [ecx + edi], 0
jne 0x100c5f00
xor edx, edx
test ecx, ecx
je 0x100c5f2c
nop dword [eax]
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x100c5f10
mov eax, dword [ebp - 0x18]
cmp esi, 0x7939b3a7
je 0x100c5f48
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
test eax, eax
jne 0x100c5ef1
mov ecx, dword [0x1012ad54]
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [0x1012ad5c], eax
jmp 0x100c5f5d
mov ecx, dword [0x1012ad54]
mov dword [0x1012ad5c], eax
jmp 0x100c5f5d
mov eax, dword [0x1012ad5c]
mov dword [ebp - 0x18], eax
test cl, 2
jne 0x100c5fcd
or ecx, 2
mov dword [0x1012ad54], ecx
mov eax, dword [0x101248e8]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x100c5fc6
nop word [eax + eax]
mov esi, dword [eax + 0xc]
mov edi, 0x811c9dc5
xor ecx, ecx
nop word [eax + eax]
inc ecx
cmp byte [ecx + esi], 0
jne 0x100c5f90
xor edx, edx
test ecx, ecx
je 0x100c5fbc
nop dword [eax]
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x100c5fa0
mov eax, dword [ebp - 0x14]
cmp edi, 0xda6a172f
je 0x100c5fc8
mov eax, dword [eax + 4]
mov dword [ebp - 0x14], eax
test eax, eax
jne 0x100c5f80
xor eax, eax
mov dword [0x1012ad58], 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 [0x1012ad58]
fstp dword [ebp - 0x14]
movss xmm0, dword [ebp - 0x14]
xorps xmm0, xmmword [0x100e9ec0]
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 [0x100f53d8]
fmul dword [ebp - 0x1c]
mulss xmm1, dword [ebp - 0x18]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
movss dword [eax + 0x24], xmm1
mov eax, dword [0x100f53d8]
fstp dword [ebp - 0x1c]
movss xmm0, dword [ebp - 0x1c]
xorps xmm0, xmmword [0x100e9ec0]
movss dword [eax + 0x28], xmm0
pop esi
call fcn.100da686
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret