Function at 0x100d1a80
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
sub esp, 0x30
mov eax, dword [0x101090b8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x101a6c18]
mov ecx, dword [ebx + 8]
add eax, 0xffffffd9
xor eax, 0x2a974bc0
mov dword [ebp - 0x30], ecx
add eax, dword [0x10128e84]
push esi
push edi
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [ebp - 0x2c], xmm0
movss xmm0, dword [ebp - 0x2c]
movss xmm1, dword [ebp - 0x28]
mulss xmm0, xmm0
mov dword [ebp - 0x24], eax
mulss xmm1, xmm1
addss xmm0, xmm1
call fcn.1001cc90
movss xmm1, dword [0x100fd89c]
comiss xmm1, xmm0
jbe 0x100d1b00
xorps xmm0, xmm0
xorps xmm1, xmm1
jmp 0x100d1cfd
mov ecx, dword [0x101a6a14]
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 [0x100feb10]
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 [0x100fd8d8]
mulss xmm0, dword [0x100fd6a8]
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 [0x100fd8d8]
subss xmm1, xmm0
mulss xmm1, dword [0x100fd6a8]
movaps xmm0, xmm1
call fcn.100eb1b0
mov ecx, dword [0x101a963c]
movaps xmm1, xmm0
shufps xmm1, xmm0, 1
mulss xmm1, dword [ebp - 0x18]
mulss xmm0, dword [ebp - 0x18]
movss dword [ebp - 0x1c], xmm1
movss dword [ebp - 0x20], xmm0
test cl, 1
jne 0x100d1c35
or ecx, 1
mov dword [0x101a963c], ecx
mov eax, dword [0x101a6a10]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x18], eax
test eax, eax
je 0x100d1c1c
mov edi, dword [eax + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
nop
inc ecx
cmp byte [ecx + edi], 0
jne 0x100d1be0
xor edx, edx
test ecx, ecx
je 0x100d1c0c
nop dword [eax]
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x100d1bf0
mov eax, dword [ebp - 0x18]
cmp esi, 0x7939b3a7
je 0x100d1c28
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
test eax, eax
jne 0x100d1bd5
mov ecx, dword [0x101a963c]
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [0x101a9638], eax
jmp 0x100d1c3d
mov ecx, dword [0x101a963c]
mov dword [0x101a9638], eax
jmp 0x100d1c3d
mov eax, dword [0x101a9638]
mov dword [ebp - 0x18], eax
test cl, 2
jne 0x100d1cad
or ecx, 2
mov dword [0x101a963c], ecx
mov eax, dword [0x101a6a10]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x100d1ca6
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 0x100d1c70
xor edx, edx
test ecx, ecx
je 0x100d1c9c
nop dword [eax]
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x100d1c80
mov eax, dword [ebp - 0x14]
cmp esi, 0xda6a172f
je 0x100d1ca8
mov eax, dword [eax + 4]
mov dword [ebp - 0x14], eax
test eax, eax
jne 0x100d1c60
xor eax, eax
mov dword [0x101a9640], eax
mov ecx, dword [ebp - 0x18]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x14], eax
call dword [ebp - 0x14]
fmul dword [ebp - 0x1c]
mov ecx, dword [0x101a9640]
mov eax, dword [ecx]
fstp dword [ebp - 0x1c]
movss xmm0, dword [ebp - 0x1c]
xorps xmm0, xmmword [0x100feb10]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x1c], eax
movss dword [ebp - 0x14], xmm0
call dword [ebp - 0x1c]
fmul dword [ebp - 0x20]
movss xmm0, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x30]
fstp dword [ebp - 0x20]
movss xmm1, dword [ebp - 0x20]
xorps xmm1, xmmword [0x100feb10]
movss dword [ecx + 0x28], xmm1
movss dword [ecx + 0x24], xmm0
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.100ea0f5
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4