Function at 0x100ad310
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
push 0xffffffffffffffff
push 0x100fc603
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x18
push esi
push edi
mov eax, dword [0x1011f050]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebx + 8]
test eax, eax
je 0x100ad553
cmp dword [0x10132660], 0
je 0x100ad553
mov edi, dword [eax + 8]
mov eax, dword [0x1014b2e0]
test al, 1
jne 0x100ad3b3
or eax, 1
mov dword [0x1014b2e0], eax
mov edx, 0x990704d7
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.1003ddb0
push 0xda7d68cb
mov edx, eax
mov ecx, 0x1014b2e4
call fcn.1003e1b0
add esp, 4
push 0x100fddb0
call fcn.100cb51a
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [0x1014b2e4]
call eax
mov esi, eax
mov dword [ebp - 0x18], esi
test edi, edi
je 0x100ad430
test esi, esi
je 0x100ad430
mov ecx, dword [edi + 0x18]
mov dword [ebp - 0x14], ecx
test ecx, ecx
je 0x100ad430
mov eax, dword [esi]
mov edx, dword [eax + 0x10]
mov eax, dword [ecx]
mov ecx, esi
and eax, 0xffffff
push eax
call edx
mov esi, eax
test esi, esi
je 0x100ad419
mov edi, 0x811c9dc5
xor ecx, ecx
nop
inc ecx
cmp byte [ecx + esi], 0
jne 0x100ad3f0
xor edx, edx
test ecx, ecx
je 0x100ad419
nop dword [eax]
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x100ad400
cmp edi, 0x11ab48ff
je 0x100ad42b
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx + 0x14]
mov dword [ebp - 0x14], ecx
test ecx, ecx
je 0x100ad430
mov esi, dword [ebp - 0x18]
jmp 0x100ad3d1
mov ecx, dword [ebp - 0x14]
jmp 0x100ad432
xor ecx, ecx
movsx eax, byte [ecx + 0x10]
dec eax
cmp eax, 6
ja case.0x100ad440.2
jmp dword [eax*4 + 0x100ad56c]
push dword [ecx + 4]
call fcn.100da205
add esp, 4
mov edx, eax
jmp 0x100ad4c1
push dword [ecx + 8]
call fcn.100da1e2
add esp, 4
mov edx, eax
jmp 0x100ad4c1
movss xmm3, dword [ecx + 0xc]
movss xmm4, dword [0x10110010]
movaps xmm0, xmm3
movss xmm2, dword [0x10110008]
andps xmm4, xmm3
xorps xmm0, xmm4
movss xmm5, dword [0x1010feb4]
cmpltss xmm0, xmm2
movaps xmm1, xmm3
andps xmm2, xmm0
orps xmm2, xmm4
addss xmm1, xmm2
subss xmm1, xmm2
movaps xmm0, xmm1
subss xmm0, xmm3
cmpnless xmm0, xmm4
andps xmm0, xmm5
subss xmm1, xmm0
cvttss2si edx, xmm1
jmp 0x100ad4c1
xor edx, edx
jmp 0x100ad4c1
mov edx, dword [ecx + 0xc]
mov ecx, dword [0x101460f0]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
call eax
mov ecx, dword [0x101460f0]
mov esi, eax
mov edx, dword [ecx]
mov edx, dword [edx + 0x30]
call edx
cmp esi, eax
jne 0x100ad553
mov ecx, dword [0x1014410c]
xor edx, edx
mov esi, dword [0x10144110]
movss xmm1, dword [0x1011000c]
add esi, ecx
mov dword [ebp - 0x14], esi
cmp ecx, esi
je 0x100ad553
mov edi, dword [0x10144108]
movss xmm2, dword [0x10110d20]
nop
mov esi, dword [0x10144104]
lea eax, [edi - 1]
and eax, ecx
mov eax, dword [esi + eax*4]
mov esi, dword [ebp - 0x14]
cmp byte [eax + 0x3c], 0
jne 0x100ad546
mov esi, dword [0x1014614c]
movss xmm0, dword [esi]
subss xmm0, dword [eax + 8]
mov esi, dword [ebp - 0x14]
andps xmm0, xmm2
comiss xmm1, xmm0
jb 0x100ad546
movaps xmm1, xmm0
mov edx, eax
inc ecx
cmp ecx, esi
jne 0x100ad510
test edx, edx
je 0x100ad553
mov byte [edx + 0x3c], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4