Function at 0x100981c0
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 [0x100d400c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [0x10115598]
test edi, edi
je 0x100985cf
mov ecx, dword [0x101136b8]
test ecx, ecx
je 0x100985cf
mov eax, dword [0x1010c614]
add eax, 0xffffffc9
xor eax, 0x358f6f8
cmp dword [eax + ecx], 0
jne 0x100985cf
cmp dword [0x10115540], 0
je 0x100985cf
mov eax, dword [0x1010c61c]
add eax, 0xffffffc7
xor eax, 0x358f6fa
mov eax, dword [eax + ecx]
cmp eax, 8
je 0x100985cf
cmp eax, 9
je 0x100985cf
mov eax, dword [0x1010c618]
add eax, 0xffffffc8
xor eax, 0x358f6f9
test byte [eax + ecx], 1
je 0x100985cf
test byte [edi + 0x30], 2
jne 0x100985cf
cmp byte [0x100e9131], 0
je 0x100985cf
mov edx, dword [0x10115548]
test edx, edx
je 0x100985cf
mov esi, dword [0x1010c668]
add esi, 0xffffffb4
xor esi, 0x358f70e
cmp byte [esi + ecx], 0
jbe 0x100982a2
movss xmm2, dword [edx + 0x130]
jmp 0x100982aa
movss xmm2, dword [edx + 0x12c]
cmp byte [0x10115660], 0
mulss xmm2, dword [0x100c8fe0]
mov byte [0x100e9131], 0
je 0x100985cf
mov eax, dword [0x100f2104]
cmp eax, 0xffffffff
je 0x100982e2
lea eax, [eax + eax*2]
mov al, byte [eax*4 + 0x100ff3c0]
test al, al
jne 0x100985cf
mov eax, dword [0x1010c5dc]
add eax, 0xffffffd7
xor eax, 0x358f6e9
movss xmm1, dword [eax + ecx + 4]
movss xmm0, dword [eax + ecx]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm0, xmm1
call fcn.10021e60
comiss xmm2, xmm0
jbe 0x1009834f
cmp byte [esi + ecx], 0
jbe 0x10098320
movss xmm0, dword [edx + 0x130]
jmp 0x10098328
movss xmm0, dword [edx + 0x12c]
cvtps2pd xmm0, xmm0
mulsd xmm0, qword [0x100c9098]
cvtpd2ps xmm1, xmm0
call fcn.100985f0
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100b38c5
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov eax, dword [0x1010c5dc]
add eax, 0xffffffd7
xor eax, 0x358f6e9
movq xmm0, qword [eax + ecx]
mov eax, dword [eax + ecx + 8]
movq qword [ebp - 0x2c], xmm0
movq xmm0, qword [edi + 0xc]
movss xmm1, dword [ebp - 0x28]
movq qword [ebp - 0x10], xmm0
movss xmm0, dword [ebp - 0x2c]
mulss xmm0, xmm0
mov dword [ebp - 0x24], eax
mov eax, dword [edi + 0x14]
mulss xmm1, xmm1
mov dword [ebp - 8], eax
addss xmm0, xmm1
call fcn.10021e60
xorps xmm1, xmm1
movss dword [ebp - 0x18], xmm0
comiss xmm0, xmm1
movss xmm0, dword [ebp - 0x24]
movss dword [ebp - 0x14], xmm1
jbe 0x100983f7
xorps xmm0, xmmword [0x100c93f0]
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 [0x100c91ec]
fstp dword [ebp - 0x14]
movss dword [ebp - 0x18], xmm1
movss xmm1, dword [ebp - 0x14]
mulss xmm1, dword [0x100c91ec]
movss dword [ebp - 0x14], xmm1
jmp 0x10098413
comiss xmm0, xmm1
jbe 0x10098406
movss xmm0, dword [0x100c934c]
jmp 0x1009840e
movss xmm0, dword [0x100c9220]
movss dword [ebp - 0x18], xmm0
mov ecx, dword [0x1010c3e8]
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 [0x100c8f68]
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 [0x100c8f68]
movaps xmm0, xmm1
call fcn.100b49e0
mov ecx, dword [0x10115944]
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 0x100984f5
or ecx, 1
mov dword [0x10115944], ecx
mov eax, dword [0x1010c3e4]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x18], eax
test eax, eax
je 0x100984dc
mov edi, dword [eax + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
nop dword [eax]
inc ecx
cmp byte [ecx + edi], 0
jne 0x100984a0
xor edx, edx
test ecx, ecx
je 0x100984cc
nop dword [eax]
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x100984b0
mov eax, dword [ebp - 0x18]
cmp esi, 0x7939b3a7
je 0x100984e8
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
test eax, eax
jne 0x10098492
mov ecx, dword [0x10115944]
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [0x1011593c], eax
jmp 0x100984fd
mov ecx, dword [0x10115944]
mov dword [0x1011593c], eax
jmp 0x100984fd
mov eax, dword [0x1011593c]
mov dword [ebp - 0x18], eax
test cl, 2
jne 0x1009856d
or ecx, 2
mov dword [0x10115944], ecx
mov eax, dword [0x1010c3e4]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x10098566
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 0x10098530
xor edx, edx
test ecx, ecx
je 0x1009855c
nop dword [eax]
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x10098540
mov eax, dword [ebp - 0x14]
cmp edi, 0xda6a172f
je 0x10098568
mov eax, dword [eax + 4]
mov dword [ebp - 0x14], eax
test eax, eax
jne 0x10098520
xor eax, eax
mov dword [0x10115940], 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 [0x10115940]
fstp dword [ebp - 0x14]
movss xmm0, dword [ebp - 0x14]
xorps xmm0, xmmword [0x100c93f0]
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 [0x10115598]
fmul dword [ebp - 0x1c]
mulss xmm1, dword [ebp - 0x18]
movss dword [eax + 0x24], xmm1
mov eax, dword [0x10115598]
fstp dword [ebp - 0x1c]
movss xmm0, dword [ebp - 0x1c]
xorps xmm0, xmmword [0x100c93f0]
movss dword [eax + 0x28], xmm0
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.100b38c5
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret