Function at 0x10031a10
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 0x10265eb9
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x48
push esi
push edi
mov eax, dword [0x103230ac]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x20], ecx
mov eax, dword [0x10c0dd10]
add eax, 0x72c821ae
xor eax, 0x43f50f5d
mov eax, dword [eax + 0x134]
mov eax, dword [eax + 0x9960]
mov dword [ebp - 0x3c], eax
test eax, eax
je 0x10031fa0
cmp byte [0x103a7144], 0
je 0x10031fa0
mov ecx, dword [0x10c0dd2c]
add ecx, 0x991f92a6
mov dword [ebp - 0x48], 0
xor ecx, 0x80e2857c
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x40], 0
movzx eax, byte [ecx + 0x20]
movss xmm0, dword [ecx + 0x24]
mov esi, dword [ecx + 0x34]
sub esi, dword [ecx + 0x30]
movss xmm1, dword [ecx + 0x28]
mov byte [ebp - 0x58], al
movzx eax, byte [ecx + 0x21]
mov byte [ebp - 0x57], al
mov al, byte [ecx + 0x22]
movss dword [ebp - 0x34], xmm0
movss dword [ebp - 0x54], xmm0
movss xmm0, dword [ecx + 0x2c]
sar esi, 3
mov byte [ebp - 0x11], al
mov byte [ebp - 0x56], al
movss dword [ebp - 0x28], xmm1
movss dword [ebp - 0x50], xmm1
movss dword [ebp - 0x38], xmm0
movss dword [ebp - 0x4c], xmm0
test esi, esi
je 0x10031b84
cmp esi, 0x1fffffff
ja 0x10031fb4
shl esi, 3
cmp esi, 0x1000
jb 0x10031b41
lea eax, [esi + 0x23]
cmp eax, esi
jbe 0x10031fb9
push eax
call fcn.1023506d
add esp, 4
test eax, eax
je 0x10031fbe
mov ecx, dword [ebp - 0x1c]
lea edi, [eax + 0x23]
and edi, 0xffffffe0
mov dword [edi - 4], eax
jmp 0x10031b57
test esi, esi
je 0x10031b55
push esi
call fcn.1023506d
mov ecx, dword [ebp - 0x1c]
add esp, 4
mov edi, eax
jmp 0x10031b57
xor edi, edi
lea eax, [esi + edi]
mov dword [ebp - 0x48], edi
mov esi, dword [ecx + 0x34]
mov dword [ebp - 0x40], eax
mov eax, dword [ecx + 0x30]
sub esi, eax
push esi
push eax
push edi
call fcn.10237420
movss xmm1, dword [ebp - 0x28]
add esp, 0xc
sar esi, 3
lea eax, [edi + esi*8]
mov dword [ebp - 0x44], eax
mov al, byte [ebp - 0x11]
mov dword [ebp - 4], 0
test al, al
je 0x10031d77
mov eax, dword [0x10c0dd10]
add eax, 0x72c821ae
xor eax, 0x43f50f5d
mov edi, dword [eax + 0x134]
mov eax, dword [0x103c3ba8]
mov dword [ebp - 0x30], edi
test al, 1
jne 0x10031d01
or eax, 1
mov dword [0x103c3ba8], eax
mov byte [ebp - 4], 1
mov eax, dword [0x103bf630]
mov dword [ebp - 0x1c], eax
cmp eax, dword [0x103bf634]
je 0x10031c1e
mov ecx, dword [eax]
mov dword [ebp - 0x18], ecx
test ecx, ecx
je 0x10031c10
mov esi, dword [ecx + 0xc]
mov edi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [ecx + esi], 0
jne 0x10031be7
xor edx, edx
test ecx, ecx
je 0x10031c10
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x10031bf4
cmp edi, 0x1eee87cc
je 0x10031c32
mov eax, dword [ebp - 0x1c]
add eax, 4
mov dword [ebp - 0x1c], eax
cmp eax, dword [0x103bf634]
jne 0x10031bd4
mov edi, dword [ebp - 0x30]
xor esi, esi
mov dword [0x103c3bec], esi
mov byte [ebp - 4], 0
jmp 0x10031d07
mov eax, dword [ebp - 0x18]
xor edi, edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x24], edi
cmp dword [eax + 4], edi
jle 0x10031cd8
xor ecx, ecx
mov dword [ebp - 0x28], ecx
nop dword [eax + eax]
mov esi, dword [eax]
add esi, ecx
mov dword [ebp - 0x2c], esi
mov ecx, dword [esi + 0x28]
test ecx, ecx
je 0x10031c84
cmp dword [ecx + 4], 0
jle 0x10031c84
push 0
mov edx, 0x559d81af
call fcn.1013c990
add esp, 4
test eax, eax
je 0x10031c81
mov ecx, dword [esi + 0x2c]
add ecx, eax
add edi, ecx
mov dword [ebp - 0x1c], edi
mov eax, dword [ebp - 0x18]
mov esi, dword [esi]
mov edi, 0x811c9dc5
xor ecx, ecx
nop dword [eax]
inc ecx
cmp byte [ecx + esi], 0
jne 0x10031c90
xor edx, edx
test ecx, ecx
je 0x10031cbc
nop dword [eax]
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x10031ca0
cmp edi, 0x559d81af
je 0x10031ce9
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x28]
inc edx
mov edi, dword [ebp - 0x1c]
add ecx, 0x3c
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x28], ecx
cmp edx, dword [eax + 4]
jl 0x10031c50
mov esi, edi
mov byte [ebp - 4], 0
mov edi, dword [ebp - 0x30]
mov dword [0x103c3bec], esi
jmp 0x10031d07
mov eax, dword [ebp - 0x2c]
mov edi, dword [ebp - 0x30]
mov esi, dword [eax + 0x2c]
add esi, dword [ebp - 0x1c]
mov dword [0x103c3bec], esi
mov byte [ebp - 4], 0
jmp 0x10031d07
mov esi, dword [0x103c3bec]
movss xmm0, dword [edi + esi + 4]
subss xmm0, xmm1
movss xmm1, dword [0x1030b8c0]
call fcn.1002eb90
movss xmm1, dword [0x1030b8c0]
movss dword [ebp - 0x1c], xmm0
movss xmm0, dword [edi + esi]
subss xmm0, dword [ebp - 0x34]
call fcn.1002eb90
movss xmm1, dword [ebp - 0x1c]
addss xmm1, xmm0
movss xmm0, dword [edi + esi + 8]
subss xmm0, dword [ebp - 0x38]
movss dword [ebp - 0x1c], xmm1
movss xmm1, dword [0x1030b8c0]
call fcn.1002eb90
addss xmm0, dword [ebp - 0x1c]
call fcn.1000e050
comiss xmm0, dword [0x1030b86c]
ja 0x10031f98
mov eax, dword [0x10c0dd10]
add eax, 0x72c821ae
xor eax, 0x43f50f5d
mov ecx, dword [eax + 0x134]
mov eax, dword [0x103c22f4]
mov dword [ebp - 0x34], ecx
test al, 1
jne 0x10031ed7
or eax, 1
mov dword [0x103c22f4], eax
mov byte [ebp - 4], 2
mov eax, dword [0x103bf630]
mov dword [ebp - 0x28], eax
cmp eax, dword [0x103bf634]
je 0x10031e0a
mov ecx, dword [eax]
mov dword [ebp - 0x1c], ecx
test ecx, ecx
je 0x10031dfc
mov esi, dword [ecx + 0xc]
mov edi, 0x811c9dc5
xor ecx, ecx
nop dword [eax + eax]
inc ecx
cmp byte [ecx + esi], 0
jne 0x10031dd0
xor edx, edx
test ecx, ecx
je 0x10031dfc
nop dword [eax]
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x10031de0
cmp edi, 0x4e9f1122
je 0x10031e19
mov eax, dword [ebp - 0x28]
add eax, 4
mov dword [ebp - 0x28], eax
cmp eax, dword [0x103bf634]
jne 0x10031db8
mov ecx, dword [ebp - 0x34]
xor eax, eax
mov dword [0x103c3bac], eax
jmp 0x10031edc
mov eax, dword [ebp - 0x1c]
xor edi, edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x28], edi
cmp dword [eax + 4], edi
jle 0x10031eb8
xor ecx, ecx
mov dword [ebp - 0x24], ecx
mov esi, dword [eax]
add esi, ecx
mov dword [ebp - 0x38], esi
mov ecx, dword [esi + 0x28]
test ecx, ecx
je 0x10031e66
cmp dword [ecx + 4], 0
jle 0x10031e66
push 0
mov edx, 0x53630d14
call fcn.1013c990
add esp, 4
test eax, eax
je 0x10031e63
mov ecx, dword [esi + 0x2c]
add ecx, eax
add edi, ecx
mov dword [ebp - 0x18], edi
mov eax, dword [ebp - 0x1c]
mov esi, dword [esi]
mov edi, 0x811c9dc5
xor ecx, ecx
nop
inc ecx
cmp byte [ecx + esi], 0
jne 0x10031e70
xor edx, edx
test ecx, ecx
je 0x10031e9c
nop dword [eax]
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x10031e80
cmp edi, 0x53630d14
je 0x10031ec4
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x24]
inc edx
mov edi, dword [ebp - 0x18]
add ecx, 0x3c
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], ecx
cmp edx, dword [eax + 4]
jl 0x10031e32
mov ecx, dword [ebp - 0x34]
mov eax, edi
mov dword [0x103c3bac], eax
jmp 0x10031edc
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x34]
mov eax, dword [eax + 0x2c]
add eax, dword [ebp - 0x18]
mov dword [0x103c3bac], eax
jmp 0x10031edc
mov eax, dword [0x103c3bac]
movss xmm1, dword [ecx + eax + 4]
movss xmm0, dword [ecx + eax]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm0, xmm1
call fcn.1000e050
comiss xmm0, dword [0x1030b96c]
ja 0x10031f98
mov eax, dword [0x10c0dd10]
add eax, 0x72c821ae
xor eax, 0x43f50f5d
mov ecx, dword [eax + 0x140]
test dword [ecx + 0x30], 0x618
jne 0x10031f8b
mov eax, dword [0x10c0dd2c]
add eax, 0x991f92a6
xor eax, 0x80e2857c
cmp dword [eax + 4], 3
jl 0x10031f8b
mov eax, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x20]
movss xmm0, dword [eax + 0xa4]
comiss xmm0, dword [0x1030b6ac]
ja 0x10031f5e
cmp byte [edx], 0
jne 0x10031f5e
movss xmm0, dword [0x1030b870]
jmp 0x10031f66
movss xmm0, dword [0x1030b918]
cmp byte [0x103a7164], 0
je 0x10031f77
mulss xmm0, dword [0x1030bc18]
cmp byte [edx + 6], 0
je 0x10031f84
xorps xmm0, xmmword [0x1030c060]
movss dword [ecx + 0x24], xmm0
jmp 0x10031f8e
mov edx, dword [ebp - 0x20]
cmp byte [edx + 6], 0
sete al
mov byte [edx + 6], al
lea ecx, [ebp - 0x48]
call fcn.1002a290
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
call fcn.1002a280
call fcn.1000e220
call fcn.1023acad
int3