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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101d3dd1
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push esi
push edi
mov eax, dword [0x1021b380]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2c], ecx
cmp byte [0x1029fd74], 0
je 0x100317be
mov eax, dword [0x1070020c]
add eax, 0x5eba160d
xor eax, 0xa5d9832d
cmp dword [eax + 4], 3
jl 0x100317be
cmp byte [0x1029fc54], 0
jne 0x100317be
cmp byte [0x1029fc78], 0
jne 0x100317be
cmp byte [0x1029fc9c], 0
jne 0x100317be
push 0
push 0
call fcn.10032130
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x34], eax
test eax, eax
je 0x100317be
mov ecx, dword [0x107001f0]
add ecx, 0xd5bd03c9
xor ecx, 0xde9a561b
mov eax, dword [ecx + 0xc8]
mov dword [ebp - 0x24], eax
mov ecx, dword [eax]
mov eax, dword [ecx + 0x10]
mov dword [ebp - 0x28], eax
mov eax, dword [0x102b6ffc]
test al, 1
jne 0x100315cc
or eax, 1
mov dword [0x102b6ffc], eax
mov dword [ebp - 4], 0
mov ebx, dword [0x102b3e88]
cmp ebx, dword [0x102b3e8c]
je 0x100314f4
nop dword [eax]
mov eax, dword [ebx]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x100314e9
mov esi, dword [eax + 0xc]
mov edi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [ecx + esi], 0
jne 0x100314c3
xor edx, edx
test ecx, ecx
je 0x100314e9
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x100314d0
cmp edi, 0x4e9f1122
je 0x10031507
add ebx, 4
cmp ebx, dword [0x102b3e8c]
jne 0x100314b0
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x102b5760], eax
jmp 0x100315d1
mov eax, dword [ebp - 0x10]
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], ebx
cmp dword [eax + 4], ebx
jle 0x100315a8
xor ecx, ecx
mov dword [ebp - 0x1c], ecx
mov edi, dword [eax]
add edi, ecx
mov ecx, dword [edi + 0x28]
test ecx, ecx
je 0x10031551
cmp dword [ecx + 4], 0
jle 0x10031551
push 0
mov edx, 0x940131c5
call fcn.1012aec0
add esp, 4
test eax, eax
je 0x1003154e
mov ecx, dword [edi + 0x2c]
add ecx, eax
add ebx, ecx
mov dword [ebp - 0x14], ebx
mov eax, dword [ebp - 0x10]
mov esi, dword [edi]
mov ebx, 0x811c9dc5
xor ecx, ecx
nop word [eax + eax]
inc ecx
cmp byte [esi + ecx], 0
jne 0x10031560
xor edx, edx
test ecx, ecx
je 0x1003158c
nop dword [eax]
movsx eax, byte [esi + edx]
inc edx
xor eax, ebx
imul ebx, eax, 0x1000193
cmp edx, ecx
jb 0x10031570
cmp ebx, 0x940131c5
je 0x100315b8
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
inc edx
mov ebx, dword [ebp - 0x14]
add ecx, 0x3c
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], ecx
cmp edx, dword [eax + 4]
jl 0x10031520
mov eax, ebx
mov dword [ebp - 4], 0xffffffff
mov dword [0x102b5760], eax
jmp 0x100315d1
mov eax, dword [edi + 0x2c]
add eax, dword [ebp - 0x14]
mov dword [0x102b5760], eax
mov dword [ebp - 4], 0xffffffff
jmp 0x100315d1
mov eax, dword [0x102b5760]
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
push dword [edx + eax]
call dword [ebp - 0x28]
mov dword [ebp - 0x28], eax
test eax, eax
je 0x100317be
mov ecx, dword [0x107001f0]
add ecx, 0xd5bd03c9
xor ecx, 0xde9a561b
mov eax, dword [ecx + 0x10c]
mov dword [ebp - 0x24], eax
mov ecx, dword [eax]
mov eax, dword [ecx + 8]
mov dword [ebp - 0x20], eax
mov eax, dword [0x102b57a8]
test al, 1
jne 0x10031748
or eax, 1
mov dword [0x102b57a8], eax
mov dword [ebp - 4], 1
mov ebx, dword [0x102b3e88]
cmp ebx, dword [0x102b3e8c]
je 0x10031679
mov eax, dword [ebx]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x1003166e
mov esi, dword [eax + 0xc]
mov edi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [esi + ecx], 0
jne 0x10031648
xor edx, edx
test ecx, ecx
je 0x1003166e
movsx eax, byte [esi + edx]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x10031655
cmp edi, 0xcd2ed041
je 0x1003168c
add ebx, 4
cmp ebx, dword [0x102b3e8c]
jne 0x10031635
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x102b7084], eax
jmp 0x1003174d
mov eax, dword [ebp - 0x14]
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x1c], ebx
cmp dword [eax + 4], ebx
jle 0x10031724
xor ecx, ecx
mov dword [ebp - 0x18], ecx
mov edi, dword [eax]
add edi, ecx
mov ecx, dword [edi + 0x28]
test ecx, ecx
je 0x100316d6
cmp dword [ecx + 4], 0
jle 0x100316d6
push 0
mov edx, 0xa2ccb41a
call fcn.1012aec0
add esp, 4
test eax, eax
je 0x100316d3
mov ecx, dword [edi + 0x2c]
add ecx, eax
add ebx, ecx
mov dword [ebp - 0x10], ebx
mov eax, dword [ebp - 0x14]
mov esi, dword [edi]
mov ebx, 0x811c9dc5
xor ecx, ecx
nop
inc ecx
cmp byte [esi + ecx], 0
jne 0x100316e0
xor edx, edx
test ecx, ecx
je 0x1003170c
nop dword [eax]
movsx eax, byte [esi + edx]
inc edx
xor eax, ebx
imul ebx, eax, 0x1000193
cmp edx, ecx
jb 0x100316f0
cmp ebx, 0xa2ccb41a
je 0x10031734
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
inc edx
mov ebx, dword [ebp - 0x10]
add ecx, 0x3c
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], ecx
cmp edx, dword [eax + 4]
jl 0x100316a5
mov eax, ebx
mov dword [ebp - 4], 0xffffffff
mov dword [0x102b7084], eax
jmp 0x1003174d
mov eax, dword [edi + 0x2c]
add eax, dword [ebp - 0x10]
mov dword [0x102b7084], eax
mov dword [ebp - 4], 0xffffffff
jmp 0x1003174d
mov eax, dword [0x102b7084]
mov ecx, dword [ebp - 0x28]
movsx eax, word [eax + ecx]
mov ecx, dword [ebp - 0x24]
push eax
call dword [ebp - 0x20]
test eax, eax
je 0x100317be
mov esi, dword [ebp - 0x2c]
lea eax, [ebp - 0x34]
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], eax
call fcn.100317d0
movss xmm0, dword [0x102b70c8]
movss xmm2, dword [0x10207ab0]
movss xmm3, dword [0x10207c1c]
subss xmm0, xmm2
movss xmm1, dword [0x10207afc]
comiss xmm3, xmm0
jbe 0x100317a9
nop dword [eax]
addss xmm0, xmm1
comiss xmm3, xmm0
ja 0x100317a0
comiss xmm0, xmm2
jbe 0x100317b9
nop
subss xmm0, xmm1
comiss xmm0, xmm2
ja 0x100317b0
movss dword [esi + 0x18], xmm0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret