Function at 0x10087eb0
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, 0x48
mov eax, dword [0x100ba008]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x100cb668], 0
push esi
push edi
je 0x1008812f
mov eax, dword [0x100cba18]
cmp eax, 0xffffffff
je 0x10087efe
lea eax, [eax + eax*2]
mov al, byte [eax*4 + 0x100d4310]
test al, al
jne 0x1008812f
mov eax, dword [0x100fafcc]
mov ecx, dword [0x100c4520]
add eax, 0xffffffca
xor eax, 0x61d6df37
test byte [eax + ecx], 1
je 0x1008812f
mov eax, dword [0x100c4bcc]
test dword [eax + 0x30], 0x61a
jne 0x1008812f
mov edx, dword [0x100faf90]
add edx, 0xffffffd9
xor edx, 0x61d6df28
movss xmm2, dword [edx + ecx + 4]
movss xmm3, dword [edx + ecx]
movaps xmm1, xmm2
movaps xmm0, xmm3
mulss xmm1, xmm2
mulss xmm0, xmm3
movss dword [ebp - 0x18], xmm2
movss dword [ebp - 0x1c], xmm3
addss xmm0, xmm1
call fcn.10016ed0
comiss xmm0, dword [0x100af634]
movss dword [ebp - 0x14], xmm0
jbe 0x1008812f
movss xmm1, dword [0x100af6e8]
comiss xmm1, xmm0
jbe 0x1008812f
test byte [0x100c4528], 1
je 0x1008812f
xorps xmm1, xmm1
mov dword [ebp - 0x10], 0
ucomiss xmm3, xmm1
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
movss dword [ebp - 0x20], xmm1
lahf
test ah, 0x44
jp 0x10087fd1
ucomiss xmm2, xmm1
lahf
test ah, 0x44
jp 0x10087fd1
movss xmm0, dword [0x100af73c]
jmp 0x10088014
fld dword [ebp - 0x18]
fld dword [ebp - 0x1c]
fpatan
fstp dword [ebp - 0x1c]
movss xmm0, dword [ebp - 0x1c]
mulss xmm0, dword [0x100af670]
comiss xmm1, xmm0
jbe 0x10087ff6
addss xmm0, dword [0x100af700]
fld dword [edx + ecx + 8]
fld dword [ebp - 0x14]
fpatan
movss dword [ebp - 0x20], xmm0
fstp dword [ebp - 0x14]
movss xmm0, dword [ebp - 0x14]
mulss xmm0, dword [0x100af758]
mov ecx, dword [0x100fada8]
lea edx, [ebp - 0x10]
push edx
movss dword [ebp - 0x18], xmm0
mov eax, dword [ecx]
mov eax, dword [eax + 0x48]
call eax
movss xmm0, dword [ebp - 0x18]
call sub.api_ms_win_crt_math_l1_1_0.dll___libm_sse2_cosf
movss xmm1, dword [ebp - 0xc]
subss xmm1, dword [ebp - 0x20]
movss dword [ebp - 0x14], xmm0
mulss xmm1, dword [0x100af4b8]
movaps xmm0, xmm1
call fcn.1009d160
mov eax, dword [0x10100748]
movaps xmm2, xmm0
movaps xmm1, xmm2
shufps xmm1, xmm2, 1
mulss xmm1, dword [ebp - 0x14]
mulss xmm2, dword [ebp - 0x14]
movaps xmmword [ebp - 0x30], xmm1
movups xmmword [ebp - 0x40], xmm2
test al, 1
jne 0x100880eb
or eax, 1
mov dword [0x10100748], eax
mov eax, dword [0x100fada4]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x18], eax
test eax, eax
je 0x100880d6
nop
mov edi, dword [eax + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
nop word [eax + eax]
inc ecx
cmp byte [ecx + edi], 0
jne 0x100880a0
xor edx, edx
test ecx, ecx
je 0x100880cc
nop dword [eax]
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x100880b0
cmp esi, 0xda6a172f
je 0x100880e0
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
test eax, eax
jne 0x10088090
xor ecx, ecx
mov dword [0x10100730], ecx
jmp 0x100880f1
mov ecx, dword [ebp - 0x18]
mov dword [0x10100730], ecx
jmp 0x100880f1
mov ecx, dword [0x10100730]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x14], eax
call dword [ebp - 0x14]
movaps xmm1, xmmword [ebp - 0x30]
mov eax, dword [0x100c4bcc]
movups xmm2, xmmword [ebp - 0x40]
fstp dword [ebp - 0x14]
movss xmm0, dword [ebp - 0x14]
xorps xmm0, xmmword [0x100af850]
mulss xmm1, xmm0
mulss xmm2, xmm0
movss dword [eax + 0x24], xmm1
mov eax, dword [0x100c4bcc]
movss dword [eax + 0x28], xmm2
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.1009c0b6
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret