Function at 0x100822f0
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, 0x28
mov eax, dword [0x100b400c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x1010e674]
add eax, 0xffffffca
push esi
mov esi, dword [0x1010dbbc]
xor eax, 0x8eb8b8ca
push edi
mov eax, dword [eax + esi]
cmp eax, 8
je 0x10082b25
cmp eax, 9
je 0x10082b25
test dword [0x1010e28c], 0x20000
jne 0x10082b25
test byte [0x1010e28c], 2
je 0x10082b25
test byte [0x1010de98], 1
jne 0x10082b25
mov eax, dword [0x1010e638]
add eax, 0xffffffd9
xor eax, 0x8eb8b8bb
movss xmm1, dword [eax + esi]
movss xmm0, dword [eax + esi + 4]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm0, xmm1
call fcn.1001a660
movaps xmm1, xmm0
xorps xmm4, xmm4
comiss xmm1, xmm4
movss xmm0, dword [0x100aa580]
movss dword [0x1010d348], xmm1
jbe 0x10082403
movss xmm0, dword [0x100aa510]
divss xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll___libm_sse2_asinf
mulss xmm0, dword [0x100aa560]
movss dword [ebp - 8], xmm0
movss dword [0x1010d34c], xmm0
movss xmm0, dword [0x100aa534]
divss xmm0, dword [0x1010d348]
call sub.api_ms_win_crt_math_l1_1_0.dll___libm_sse2_asinf
movss xmm1, dword [ebp - 8]
movaps xmm2, xmm0
mulss xmm2, dword [0x100aa560]
xorps xmm4, xmm4
movss xmm0, dword [0x100aa580]
jmp 0x10082411
movaps xmm1, xmm0
movaps xmm2, xmm0
movss dword [0x1010d34c], xmm1
comiss xmm1, xmm0
lea eax, [ebp - 8]
mov ecx, 0x1010d34c
mov dword [ebp - 8], 0x42b40000
movss dword [0x1010d350], xmm2
cmovbe eax, ecx
mov ecx, 0x1010d350
comiss xmm2, xmm0
movss xmm3, dword [eax]
lea eax, [ebp - 8]
maxss xmm3, xmm4
mov dword [ebp - 8], 0x42b40000
cmovbe eax, ecx
mov ecx, dword [0x1010d388]
inc ecx
movss dword [0x1010d34c], xmm3
movss xmm1, dword [eax]
mov eax, dword [0x1010e63c]
maxss xmm1, xmm4
add eax, 0xffffffd8
xor eax, 0x8eb8b8bc
movss dword [0x1010d350], xmm1
movss xmm0, dword [eax + esi]
movss dword [0x1010d354], xmm0
movss xmm0, dword [eax + esi + 4]
movss dword [0x1010d358], xmm0
movss xmm0, dword [eax + esi + 8]
mov eax, dword [0x1010e640]
add eax, 0xffffffd7
movss dword [0x1010d35c], xmm0
xor eax, 0x8eb8b8bd
movss xmm0, dword [eax + esi]
movss dword [0x1010d360], xmm0
movss xmm0, dword [eax + esi + 4]
movss dword [0x1010d364], xmm0
movss xmm0, dword [eax + esi + 8]
mov eax, dword [0x1010e630]
add eax, 0xffffffdb
movss dword [0x1010d368], xmm0
xor eax, 0x8eb8b8b9
movss xmm0, dword [eax + esi]
movss dword [0x1010d36c], xmm0
movss xmm0, dword [eax + esi + 4]
movss dword [0x1010d370], xmm0
movss xmm0, dword [eax + esi + 8]
mov eax, dword [0x10103f8c]
movss dword [0x1010d374], xmm0
movss xmm0, dword [0x1010d384]
xorps xmm0, xmmword [0x100aa6d0]
movss dword [0x1010d384], xmm0
mov dword [0x1010d388], ecx
cmp eax, 0xffffffff
je 0x100825bb
lea eax, [eax + eax*2]
mov al, byte [eax*4 + 0x1010c638]
test al, al
je 0x100825bb
movss xmm0, dword [0x100aa4ec]
comiss xmm0, xmm1
ja 0x10082558
movss xmm0, xmm1
jmp 0x1008255c
movss xmm0, xmm0
comiss xmm0, xmm1
jbe 0x10082572
mov eax, ecx
mov ecx, 5
cdq
idiv ecx
test edx, edx
jne 0x10082572
movaps xmm0, xmm1
addss xmm0, dword [0x1010d390]
lea ecx, [ebp - 0xc]
movss dword [ebp - 0xc], xmm0
call fcn.10081ed0
mov eax, dword [0x1010e284]
movss xmm0, dword [ebp - 0xc]
movss dword [0x1010d390], xmm0
movss dword [0x1010e2a4], xmm0
mov dword [eax + 0x28], 0xc3e10000
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10097cc9
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov eax, dword [0x10103efc]
cmp eax, 0xffffffff
je 0x10082868
lea eax, [eax + eax*2]
mov al, byte [eax*4 + 0x1010c638]
test al, al
je 0x10082868
cmp byte [0x10103dec], 0
jne 0x100825f5
mov eax, dword [0x1010e284]
or dword [eax + 0x30], 4
movss xmm3, dword [0x1010d34c]
mov eax, dword [0x1010e4cc]
addss xmm3, xmm3
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
movss xmm1, dword [eax + 0x20]
lea eax, [ebp - 0xc]
movaps xmm0, xmm1
movss dword [ebp - 8], xmm1
mulss xmm0, dword [0x100aa5e0]
movss dword [ebp - 0x10], xmm3
comiss xmm3, xmm0
movss dword [ebp - 0xc], xmm0
movss dword [ebp - 0x18], xmm0
movaps xmm0, xmm1
mulss xmm0, dword [0x100aa5c8]
cmovbe eax, ecx
lea ecx, [ebp - 0x10]
movss xmm1, dword [eax]
lea eax, [ebp - 0xc]
maxss xmm1, xmm0
mov dword [ebp - 0xc], 0x3f800000
movss xmm0, dword [0x100aa5cc]
divss xmm0, dword [0x1010d348]
movss dword [ebp - 0x14], xmm1
movaps xmm2, xmm1
comiss xmm0, dword [0x100aa464]
movss dword [ebp - 0x10], xmm0
cmovbe eax, ecx
mov ecx, 0x1010d348
movss xmm0, dword [eax]
maxss xmm0, dword [0x100aa418]
movss dword [ebp - 0x10], xmm1
movaps xmm1, xmm0
movss dword [ebp - 0xc], xmm0
call fcn.10082e60
movss xmm1, dword [0x100aa3e8]
test al, al
je 0x100826f5
movss xmm0, dword [ebp - 0x14]
movss dword [ebp - 0x10], xmm0
comiss xmm0, dword [ebp - 0x18]
jae 0x100826f5
addss xmm0, xmm1
mov ecx, 0x1010d348
movss xmm1, dword [ebp - 0xc]
movaps xmm2, xmm0
movss dword [ebp - 0x10], xmm0
call fcn.10082e60
movss xmm0, dword [ebp - 0x10]
movss xmm1, dword [0x100aa3e8]
test al, al
jne 0x100826c3
movss xmm0, dword [ebp - 0x10]
comiss xmm0, dword [ebp - 0x18]
jbe 0x100827dc
movss xmm2, dword [ebp - 0x14]
mov ecx, 0x1010d348
movss xmm1, dword [ebp - 0xc]
call fcn.10082e60
movss xmm2, dword [0x100aa664]
test al, al
je 0x1008276c
movss xmm1, dword [ebp - 8]
mulss xmm1, xmm2
movss dword [ebp - 0x18], xmm1
movss xmm0, dword [ebp - 0x14]
comiss xmm1, xmm0
jae 0x10082764
subss xmm0, dword [0x100aa3e8]
movss xmm1, dword [ebp - 0xc]
mov ecx, 0x1010d348
movaps xmm2, xmm0
movss dword [ebp - 0x14], xmm0
call fcn.10082e60
movss xmm1, dword [ebp - 0x18]
test al, al
jne 0x10082732
movss xmm2, dword [0x100aa664]
movss xmm1, dword [ebp - 8]
movss xmm0, dword [ebp - 0x14]
mulss xmm1, xmm2
comiss xmm1, xmm0
jbe 0x100827d2
lea eax, [ebp - 0x24]
push eax
call fcn.10082b40
test al, al
je 0x100827cb
movss xmm1, dword [ebp - 0x24]
movss xmm0, dword [ebp - 0x20]
call fcn.1001a610
mulss xmm0, dword [0x100aa560]
lea ecx, [ebp - 8]
movss xmm1, dword [0x1010d390]
subss xmm1, xmm0
movss dword [ebp - 8], xmm1
call fcn.10081ed0
movss xmm0, dword [ebp - 8]
mulss xmm0, dword [0x100aa620]
jmp 0x100827e0
movss xmm0, dword [ebp - 0x14]
jmp 0x100827e5
subss xmm0, dword [0x100aa3e8]
jmp 0x100827e0
addss xmm0, xmm1
movss dword [ebp - 0x14], xmm0
addss xmm0, dword [0x1010d390]
lea ecx, [ebp - 8]
movss dword [ebp - 8], xmm0
call fcn.10081ed0
movss xmm0, dword [ebp - 8]
xorps xmm1, xmm1
mov eax, dword [0x1010e284]
movss dword [0x1010d390], xmm0
movss dword [eax + 0x10], xmm0
movss xmm0, dword [ebp - 0x14]
comiss xmm0, xmm1
jb 0x10082843
mov eax, dword [0x1010e284]
movss xmm0, dword [0x100aa668]
movss dword [eax + 0x28], xmm0
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10097cc9
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov eax, dword [0x1010e284]
movss xmm0, dword [0x100aa5dc]
movss dword [eax + 0x28], xmm0
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10097cc9
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov eax, dword [0x1010401c]
cmp eax, 0xffffffff
je 0x100828ca
lea eax, [eax + eax*2]
mov al, byte [eax*4 + 0x1010c638]
test al, al
je 0x100828ca
movss xmm0, dword [0x101040b0]
mulss xmm0, dword [0x100aa3e8]
mov eax, dword [0x1010e4cc]
mulss xmm0, dword [eax]
call fcn.1001a650
movss xmm1, dword [0x1010416c]
movaps xmm2, xmm0
mulss xmm1, dword [0x100aa428]
xorps xmm4, xmm4
mulss xmm2, xmm1
addss xmm2, dword [0x1010e2a4]
movss dword [0x1010e2a4], xmm2
jmp 0x100828d2
movss xmm2, dword [0x1010e2a4]
cmp byte [0x10103e74], 0
je 0x10082b25
mov eax, dword [0x10113888]
movss dword [0x1010d38c], xmm2
movss dword [0x1010d390], xmm2
test al, 1
jne 0x1008296b
or eax, 1
mov dword [0x10113888], eax
mov eax, dword [0x1010e468]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0xc], eax
test eax, eax
je 0x10082956
nop
mov edi, dword [eax + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
nop word [eax + eax]
inc ecx
cmp byte [ecx + edi], 0
jne 0x10082920
xor edx, edx
test ecx, ecx
je 0x1008294c
nop dword [eax]
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x10082930
cmp esi, 0xda6a172f
je 0x10082960
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 4]
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x10082910
xor esi, esi
mov dword [0x10113884], esi
jmp 0x10082971
mov esi, dword [ebp - 0xc]
mov dword [0x10113884], esi
jmp 0x10082971
mov esi, dword [0x10113884]
mov edi, dword [0x1010e284]
mov eax, dword [edi + 0x30]
mov ecx, eax
shr ecx, 3
mov edx, eax
and ecx, 0xffffff01
shr edx, 0xa
mov dword [ebp - 8], ecx
and dl, 1
mov ecx, eax
shr eax, 4
shr ecx, 9
and cl, 1
test al, 1
je 0x100829e8
movss xmm0, dword [0x100aa658]
mov dword [0x101137a8], 0xc3340000
test cl, cl
je 0x100829cc
movss xmm0, dword [0x100aa660]
mov dword [0x101137a8], 0xc3610000
jmp 0x10082a57
test dl, dl
je 0x10082a57
movss xmm0, dword [0x100aa654]
mov dword [0x101137a8], 0xc3070000
jmp 0x10082a57
test cl, cl
je 0x10082a1a
cmp byte [ebp - 8], 0
mov dword [0x101137a8], 0x42b40000
je 0x10082a10
movss xmm0, dword [0x100aa544]
mov dword [0x101137a8], 0x42340000
jmp 0x10082a57
movss xmm0, dword [0x100aa580]
jmp 0x10082a57
test dl, dl
je 0x10082a4a
cmp byte [ebp - 8], 0
movss xmm0, dword [0x100aa64c]
mov dword [0x101137a8], 0xc2b40000
je 0x10082a57
movss xmm0, dword [0x100aa638]
mov dword [0x101137a8], 0xc2340000
jmp 0x10082a57
mov dword [0x101137a8], 0
movaps xmm0, xmm4
addss xmm0, xmm2
movss dword [0x1010e2a4], xmm0
mov dword [edi + 0x24], 0
mov eax, dword [0x1010e284]
mov dword [eax + 0x28], 0
mov ecx, dword [0x1010e638]
mov eax, dword [0x1010dbbc]
add ecx, 0xffffffd9
xor ecx, 0x8eb8b8bb
movss xmm1, dword [ecx + eax]
movss xmm0, dword [ecx + eax + 4]
call fcn.1001a610
mulss xmm0, dword [0x100aa560]
lea ecx, [ebp - 0xc]
movss xmm1, dword [0x1010e2a4]
subss xmm1, xmm0
movss dword [ebp - 0xc], xmm1
call fcn.10081ed0
mov eax, dword [esi]
xorps xmm1, xmm1
movss xmm0, dword [ebp - 0xc]
mov ecx, esi
comiss xmm0, xmm1
mov eax, dword [eax + 0x30]
jbe 0x10082ae6
mov dword [ebp - 8], eax
call dword [ebp - 8]
fstp dword [ebp - 8]
movss xmm0, dword [ebp - 8]
xorps xmm0, xmmword [0x100aa6d0]
jmp 0x10082af4
mov dword [ebp - 8], eax
call dword [ebp - 8]
fstp dword [ebp - 8]
movss xmm0, dword [ebp - 8]
mov eax, dword [0x1010e284]
lea ecx, [ebp - 8]
movss dword [eax + 0x28], xmm0
movss xmm0, dword [0x1010e2a4]
subss xmm0, dword [ebp - 0xc]
movss dword [ebp - 8], xmm0
call fcn.10081ed0
movss xmm0, dword [ebp - 8]
movss dword [0x1010e2a4], xmm0
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.10097cc9
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret