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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov edx, dword [0x101bd248]
sub esp, 0x1c
push ebx
push esi
push edi
test edx, edx
je 0x100de24f
mov ecx, dword [0x101bce6c]
test ecx, ecx
je 0x100de24f
mov eax, dword [0x101d4bc4]
add eax, 0xffffffcc
xor eax, 0x400da0d
cmp dword [eax + ecx], 0
jne 0x100de24f
cmp dword [0x101bd1ec], 0
je 0x100de24f
mov eax, dword [0x101d4bcc]
add eax, 0xffffffca
xor eax, 0x400da0f
mov eax, dword [eax + ecx]
cmp eax, 8
je 0x100de24f
cmp eax, 9
je 0x100de24f
mov eax, dword [0x101d4bc8]
add eax, 0xffffffcb
xor eax, 0x400da0e
test byte [eax + ecx], 1
je 0x100de24f
test byte [edx + 0x30], 2
jne 0x100de24f
cmp byte [0x101bcdca], 0
je 0x100de24f
cmp dword [0x101bd1f4], 0
je 0x100de24f
mov eax, dword [0x101d4b90]
add eax, 0xffffffd9
xor eax, 0x400da00
movq xmm0, qword [eax + ecx]
mov eax, dword [eax + ecx + 8]
movq qword [esp + 0x1c], xmm0
movss xmm1, dword [esp + 0x20]
movss xmm0, dword [esp + 0x1c]
mulss xmm0, xmm0
mov dword [esp + 0x24], eax
mulss xmm1, xmm1
addss xmm0, xmm1
movss xmm1, dword [esp + 0x24]
mulss xmm1, xmm1
addss xmm0, xmm1
call fcn.10020740
movss xmm1, dword [0x10109b38]
comiss xmm1, dword [0x101bd2f0]
movss dword [esp + 0x10], xmm0
jbe 0x100de045
mov dword [edx + 0x24], 0
mov eax, dword [0x101bd248]
mov dword [eax + 0x28], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [0x101d9cd0]
test al, 1
jne 0x100de0a8
or eax, 1
mov dword [0x101d9cd0], eax
mov eax, dword [0x101d49bc]
mov ebx, dword [eax + 0x30]
jmp 0x100de09c
mov edi, dword [ebx + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
nop word [eax + eax]
inc ecx
cmp byte [ecx + edi], 0
jne 0x100de070
xor edx, edx
test ecx, ecx
je 0x100de099
nop dword [eax]
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x100de080
cmp esi, 0x16cc57ac
je 0x100de0a0
mov ebx, dword [ebx + 4]
test ebx, ebx
jne 0x100de060
mov dword [0x101d9cc4], ebx
jmp 0x100de0ae
mov ebx, dword [0x101d9cc4]
mov eax, dword [ebx]
mov ecx, ebx
mov eax, dword [eax + 0x30]
mov dword [esp + 0xc], eax
call dword [esp + 0xc]
mov ecx, dword [0x101d4c64]
mov eax, dword [0x101bce6c]
add ecx, 0xffffffa4
xor ecx, 0x400da35
fstp dword [esp + 0xc]
mov eax, dword [ecx + eax]
mov ecx, dword [0x101d49c4]
push ecx
mov edx, dword [ecx]
mov esi, dword [edx + 0x10]
mov edx, esp
mov dword [edx], eax
call esi
mov ecx, dword [eax]
mov edx, dword [ecx + 0x6f8]
mov ecx, eax
call edx
mov ecx, dword [0x101bce6c]
movss xmm1, dword [eax + 0x12c]
mov eax, dword [0x101d4c14]
add eax, 0xffffffb8
xor eax, 0x400da21
cmp byte [eax + ecx], 0
je 0x100de14d
mov eax, dword [0x101d4c64]
add eax, 0xffffffa4
xor eax, 0x400da35
mov eax, dword [eax + ecx]
mov ecx, dword [0x101d49c4]
push ecx
mov edx, dword [ecx]
mov esi, dword [edx + 0x10]
mov edx, esp
mov dword [edx], eax
call esi
mov ecx, dword [eax]
mov edx, dword [ecx + 0x6f8]
mov ecx, eax
call edx
movss xmm1, dword [eax + 0x130]
mov eax, dword [0x101d4a1c]
movss xmm2, dword [esp + 0xc]
minss xmm1, dword [0x10109db8]
movss xmm4, dword [esp + 0x10]
mulss xmm2, dword [eax + 0x20]
movaps xmm0, xmm4
movss xmm3, dword [0x10109e2c]
mulss xmm1, xmm2
subss xmm0, xmm1
comiss xmm3, xmm0
jb 0x100de18b
mulss xmm1, xmm2
divss xmm1, xmm4
movss xmm0, dword [esp + 0x20]
movss dword [esp + 0xc], xmm1
movss xmm1, dword [esp + 0x1c]
mulss xmm0, xmm3
mulss xmm1, xmm3
movss dword [esp + 0x14], xmm0
mulss xmm0, xmm0
movss dword [esp + 0x18], xmm1
mulss xmm1, xmm1
fld dword [esp + 0x24]
addss xmm0, xmm1
sqrtss xmm0, xmm0
movss dword [esp + 0x10], xmm0
fld dword [esp + 0x10]
fpatan
fstp dword [esp + 0x10]
movss xmm0, dword [esp + 0x10]
call sub.api_ms_win_crt_math_l1_1_0.dll___libm_sse2_cosf
fld dword [esp + 0x14]
fld dword [esp + 0x18]
fpatan
mov esi, dword [0x101bd248]
movss xmm1, dword [esi + 0x10]
movss dword [esp + 0x10], xmm0
fstp dword [esp + 0x18]
movss xmm0, dword [esp + 0x18]
mulss xmm0, dword [0x10109d30]
subss xmm1, xmm0
mulss xmm1, dword [0x10109b10]
movaps xmm0, xmm1
call fcn.100fa340
movaps xmm1, xmm0
shufps xmm1, xmm0, 1
mulss xmm1, dword [esp + 0x10]
mulss xmm0, dword [esp + 0x10]
mulss xmm1, dword [esp + 0xc]
mulss xmm0, dword [esp + 0xc]
movss dword [esi + 0x24], xmm1
mov eax, dword [0x101bd248]
movss dword [eax + 0x28], xmm0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret