Function at 0x1003cbe0
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 0x101d4519
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x100
mov eax, dword [0x1021b380]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x40], ecx
mov eax, dword [0x107001f0]
add eax, 0xd5bd03c9
xor eax, 0xde9a561b
mov esi, dword [eax + 0x14c]
mov dword [ebp - 0x50], esi
test esi, esi
je 0x1003d3ef
cmp byte [eax + 7], 0
je 0x1003d3ef
cmp byte [0x1029d1b0], 0
movss xmm1, dword [0x10207ae0]
je 0x1003cda5
movss xmm0, dword [0x1029d1d0]
mulss xmm0, xmm1
mov edi, dword [esi + 0x11c5c]
mov esi, dword [ebp - 0x40]
cvttss2si eax, xmm0
cmp edi, dword [esi]
mov esi, dword [ebp - 0x50]
movss xmm0, dword [0x1029d1cc]
mulss xmm0, xmm1
cvttss2si ecx, xmm0
movss xmm0, dword [0x1029d1c8]
mulss xmm0, xmm1
cvttss2si edx, xmm0
movss xmm0, dword [0x1029d1c4]
mulss xmm0, xmm1
movd xmm1, dword [0x1029d1d4]
cvtdq2ps xmm1, xmm1
mulss xmm1, dword [0x10207764]
movss dword [ebp - 0x34], xmm1
jle 0x1003cd9b
movzx eax, al
movaps xmm2, xmm1
xorps xmm2, xmmword [0x10208310]
mov dword [ebp - 0x4c], eax
movzx eax, cl
mov dword [ebp - 0x38], eax
movzx eax, dl
mov dword [ebp - 0x48], eax
cvttss2si eax, xmm0
movss dword [ebp - 0x30], xmm2
movzx eax, al
mov dword [ebp - 0x44], eax
lea eax, [edi + edi*4]
shl eax, 2
mov dword [ebp - 0x3c], eax
nop
mov eax, dword [0x107001f0]
add eax, 0xd5bd03c9
xor eax, 0xde9a561b
mov ecx, dword [eax + 0xd4]
push ecx
mov dword [esp], 0x40800000
push dword [ebp - 0x4c]
mov eax, dword [ecx]
push dword [ebp - 0x38]
mov dword [ebp - 0x74], 0
push dword [ebp - 0x48]
mov edx, dword [eax + 4]
mov eax, dword [esi + 0x11c50]
mov esi, dword [ebp - 0x3c]
push dword [ebp - 0x44]
add esi, 0xffffffec
mov dword [ebp - 0x70], 0
add eax, esi
mov dword [ebp - 0x6c], 0
lea esi, [ebp - 0x74]
movss dword [ebp - 0x80], xmm1
push esi
lea esi, [ebp - 0x80]
movss dword [ebp - 0x7c], xmm1
push esi
lea esi, [ebp - 0x64]
movss dword [ebp - 0x78], xmm1
push esi
push eax
movss dword [ebp - 0x64], xmm2
movss dword [ebp - 0x60], xmm2
movss dword [ebp - 0x5c], xmm2
call edx
mov eax, dword [ebp - 0x40]
dec edi
sub dword [ebp - 0x3c], 0x14
movss xmm1, dword [ebp - 0x34]
movss xmm2, dword [ebp - 0x30]
mov esi, dword [ebp - 0x50]
cmp edi, dword [eax]
jg 0x1003cd00
mov dword [esi + 0x11c5c], 0
mov eax, dword [esi + 0x11c5c]
mov esi, dword [ebp - 0x40]
cmp eax, dword [esi]
je 0x1003cdb4
mov dword [esi], eax
cmp dword [0x1029d1d8], 0
je 0x1003d3ef
xor edi, edi
mov dword [ebp - 0x3c], edi
nop word [eax + eax]
lea eax, [edi + edi*2]
mov ecx, dword [esi + eax*4 + 8]
sub ecx, dword [esi + eax*4 + 4]
mov dword [ebp - 0x50], eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x1003d3e2
mov eax, dword [0x107001f0]
add eax, 0xd5bd03c9
xor eax, 0xde9a561b
push edi
mov ecx, dword [eax + 0xc8]
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
mov edx, eax
mov dword [ebp - 0x4c], edx
test edx, edx
je 0x1003d3d1
mov ecx, dword [0x107001f0]
add ecx, 0xd5bd03c9
xor ecx, 0xde9a561b
mov eax, dword [ecx + 0x14c]
mov dword [ebp - 0x38], eax
cmp edx, eax
je 0x1003d146
test eax, eax
je 0x1003d07a
mov ecx, dword [ecx + 0x19c]
mov eax, dword [ecx + 0x1c]
cmp dword [eax + 0x30], ecx
jne 0x1003d07a
mov edx, dword [0x102b704c]
test dl, 1
jne 0x1003cfcf
or edx, 1
mov dword [0x102b704c], edx
mov dword [ebp - 4], 0
mov ecx, dword [0x102b3e88]
mov dword [ebp - 0x30], ecx
cmp ecx, dword [0x102b3e8c]
je 0x1003ceea
mov eax, ecx
mov dword [ebp - 0x34], ecx
cmp eax, dword [0x102b3e8c]
je 0x1003ceea
nop dword [eax]
mov ecx, dword [eax]
mov dword [ebp - 0x48], ecx
test ecx, ecx
je 0x1003cedc
mov esi, dword [ecx + 0xc]
mov edi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [ecx + esi], 0
jne 0x1003ceb3
xor edx, edx
test ecx, ecx
je 0x1003cedc
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x1003cec0
cmp edi, 0x1eee87cc
je 0x1003cf03
mov eax, dword [ebp - 0x34]
add eax, 4
mov dword [ebp - 0x34], eax
cmp eax, dword [0x102b3e8c]
jne 0x1003cea0
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov edx, dword [0x102b704c]
mov dword [0x102b7004], eax
jmp 0x1003cfdd
mov ecx, dword [ebp - 0x48]
xor edi, edi
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x44], edi
cmp dword [ecx + 4], edi
jle 0x1003cfb1
xor eax, eax
mov dword [ebp - 0x30], eax
nop dword [eax]
mov esi, dword [ecx]
mov ecx, dword [esi + eax + 0x28]
add esi, eax
mov dword [ebp - 0x54], esi
test ecx, ecx
je 0x1003cf55
cmp dword [ecx + 4], 0
jle 0x1003cf55
push 0
mov edx, 0xa5bfefb3
call fcn.1012aec0
add esp, 4
test eax, eax
je 0x1003cf52
mov ecx, dword [esi + 0x2c]
add ecx, eax
add edi, ecx
mov dword [ebp - 0x34], edi
mov eax, dword [ebp - 0x30]
mov esi, dword [esi]
mov edi, 0x811c9dc5
xor ecx, ecx
nop
inc ecx
cmp byte [ecx + esi], 0
jne 0x1003cf60
xor edx, edx
test ecx, ecx
je 0x1003cf8c
nop dword [eax]
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x1003cf70
cmp edi, 0xa5bfefb3
je 0x1003cfb8
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0x44]
add eax, 0x3c
mov ecx, dword [ebp - 0x48]
inc edx
mov edi, dword [ebp - 0x34]
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x30], eax
cmp edx, dword [ecx + 4]
jl 0x1003cf20
mov ecx, dword [0x102b3e88]
mov dword [ebp - 0x30], ecx
mov eax, edi
jmp 0x1003ceec
mov eax, dword [ebp - 0x54]
mov ecx, dword [0x102b3e88]
mov dword [ebp - 0x30], ecx
mov eax, dword [eax + 0x2c]
add eax, dword [ebp - 0x34]
jmp 0x1003ceec
mov ecx, dword [0x102b3e88]
mov eax, dword [0x102b7004]
mov dword [ebp - 0x30], ecx
mov ecx, dword [ebp - 0x4c]
mov ecx, dword [eax + ecx]
mov dword [ebp - 0x58], ecx
test dl, 1
jne 0x1003d06b
or edx, 1
mov dword [0x102b704c], edx
mov eax, dword [ebp - 0x30]
mov dword [ebp - 4], 1
cmp eax, dword [0x102b3e8c]
je 0x1003d05a
nop word [eax + eax]
mov ecx, dword [eax]
mov dword [ebp - 0x34], ecx
test ecx, ecx
je 0x1003d04c
mov esi, dword [ecx + 0xc]
mov edi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [esi + ecx], 0
jne 0x1003d023
xor edx, edx
test ecx, ecx
je 0x1003d04c
movsx eax, byte [esi + edx]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x1003d030
cmp edi, 0x1eee87cc
je 0x1003d086
mov eax, dword [ebp - 0x30]
add eax, 4
mov dword [ebp - 0x30], eax
cmp eax, dword [0x102b3e8c]
jne 0x1003d010
xor eax, eax
mov ecx, dword [ebp - 0x58]
mov dword [0x102b7004], eax
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x38]
mov esi, dword [ebp - 0x40]
cmp ecx, dword [edx + eax]
je 0x1003d13d
movups xmm0, xmmword [0x1029d1e0]
jmp 0x1003d156
mov eax, dword [ebp - 0x34]
xor edi, edi
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x48], edi
cmp dword [eax + 4], edi
jle 0x1003d128
xor ecx, ecx
mov dword [ebp - 0x44], ecx
nop
mov esi, dword [eax]
add esi, ecx
mov dword [ebp - 0x54], esi
mov ecx, dword [esi + 0x28]
test ecx, ecx
je 0x1003d0d4
cmp dword [ecx + 4], 0
jle 0x1003d0d4
push 0
mov edx, 0xa5bfefb3
call fcn.1012aec0
add esp, 4
test eax, eax
je 0x1003d0d1
mov ecx, dword [esi + 0x2c]
add ecx, eax
add edi, ecx
mov dword [ebp - 0x30], edi
mov eax, dword [ebp - 0x34]
mov esi, dword [esi]
mov edi, 0x811c9dc5
xor ecx, ecx
nop dword [eax]
inc ecx
cmp byte [esi + ecx], 0
jne 0x1003d0e0
xor edx, edx
test ecx, ecx
je 0x1003d10c
nop dword [eax]
movsx eax, byte [esi + edx]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x1003d0f0
cmp edi, 0xa5bfefb3
je 0x1003d12f
mov eax, dword [ebp - 0x34]
mov edx, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x44]
inc edx
mov edi, dword [ebp - 0x30]
add ecx, 0x3c
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x44], ecx
cmp edx, dword [eax + 4]
jl 0x1003d0a0
mov eax, edi
jmp 0x1003d05c
mov eax, dword [ebp - 0x54]
mov eax, dword [eax + 0x2c]
add eax, dword [ebp - 0x30]
jmp 0x1003d05c
mov eax, edx
mov edx, dword [ebp - 0x4c]
cmp edx, eax
jne 0x1003d14f
movups xmm0, xmmword [0x1029d200]
jmp 0x1003d156
movups xmm0, xmmword [0x1029d1f0]
movss xmm1, dword [0x10207ae0]
movups xmmword [ebp - 0x68], xmm0
movss xmm0, dword [ebp - 0x5c]
mulss xmm0, xmm1
cvttss2si eax, xmm0
movss xmm0, dword [ebp - 0x60]
mulss xmm0, xmm1
mov dword [ebp - 0x58], eax
cvttss2si edx, xmm0
movss xmm0, dword [ebp - 0x64]
mulss xmm0, xmm1
movzx edi, dl
cvttss2si ecx, xmm0
movss xmm0, dword [ebp - 0x68]
mulss xmm0, xmm1
movzx ecx, cl
mov dword [ebp - 0x54], ecx
cvttss2si eax, xmm0
movzx edx, al
mov eax, dword [ebp - 0x58]
movzx eax, al
shl eax, 8
or eax, edi
mov dword [ebp - 0x38], edx
shl eax, 8
or eax, ecx
mov ecx, dword [0x1029d1dc]
shl eax, 8
or eax, edx
mov dword [ebp - 0x4c], eax
sub ecx, 0
je 0x1003d213
sub ecx, 1
jne 0x1003d3ce
mov eax, dword [0x107001f0]
mov edx, dword [ebp - 0x50]
add eax, 0xd5bd03c9
xor eax, 0xde9a561b
mov edx, dword [esi + edx*4 + 8]
mov ecx, dword [eax + 0xd4]
push ecx
mov dword [esp], 0x40400000
push 0
mov esi, dword [ecx]
lea eax, [edx - 0xc]
push edi
push dword [ebp - 0x54]
push dword [ebp - 0x38]
push eax
lea eax, [edx - 0x18]
push eax
call dword [esi + 0x14]
jmp 0x1003d3cb
mov edx, dword [ebp - 0x50]
mov ecx, eax
shr ecx, 0x10
mov dword [ebp - 0x38], ecx
mov ecx, eax
shr eax, 0x18
mov edi, dword [esi + edx*4 + 8]
shr ecx, 8
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x30], ecx
mov ecx, 0x1021b458
push eax
call fcn.1003f480
lea ecx, [ebp - 0x110]
mov dword [ebp - 4], 2
call fcn.1003add0
cmp dword [ebp - 0x18], 0xf
lea esi, [ebp - 0x2c]
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x110], 0
jbe 0x1003d278
mov eax, dword [ebp - 0x34]
mov esi, dword [ebp - 0x2c]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x30], eax
mov eax, dword [edi - 0x10]
movq xmm0, qword [edi - 0x18]
mov dword [ebp - 0xf4], eax
mov eax, dword [edi - 4]
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp - 0x34]
movq qword [ebp - 0xfc], xmm0
movq xmm0, qword [edi - 0xc]
movzx eax, al
movq qword [ebp - 0xf0], xmm0
mov dword [ebp - 0xe0], esi
mov dword [ebp - 0xe4], 0xffffffff
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movzx eax, cl
mov dword [ebp - 0xd0], 0x40400000
mov dword [ebp - 0xc4], 0x3dcccccd
mov dword [ebp - 0xd4], 0
mov dword [ebp - 0xc0], 0x3f800000
movss dword [ebp - 0xbc], xmm0
movd xmm0, eax
mov eax, dword [ebp - 0x30]
cvtdq2ps xmm0, xmm0
movzx eax, al
mov dword [ebp - 0x9c], 2
mov byte [ebp - 0xa0], 1
mov dword [ebp - 0xb8], 0x3f800000
mov dword [ebp - 0xb4], 0
movss dword [ebp - 0xac], xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movzx eax, dl
lea edx, [ebp - 0x110]
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0xcc], 0x40400000
mov dword [ebp - 0xc8], 0x40400000
mov dword [ebp - 0x98], 0x304
movss dword [ebp - 0xa8], xmm0
movd xmm0, eax
mov eax, dword [0x107001f0]
add eax, 0xd5bd03c9
cvtdq2ps xmm0, xmm0
xor eax, 0xde9a561b
push edx
movss dword [ebp - 0xa4], xmm0
mov ecx, dword [eax + 0x12c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
test eax, eax
je 0x1003d3bc
mov ecx, dword [0x107001f0]
add ecx, 0xd5bd03c9
xor ecx, 0xde9a561b
push eax
mov ecx, dword [ecx + 0x12c]
mov edx, dword [ecx]
call dword [edx + 0x18]
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0xffffffff
call fcn.10029c20
mov esi, dword [ebp - 0x40]
mov edi, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x50]
mov eax, dword [esi + ecx*4 + 4]
cmp eax, dword [esi + ecx*4 + 8]
je 0x1003d3e2
mov dword [esi + ecx*4 + 8], eax
inc edi
mov dword [ebp - 0x3c], edi
cmp edi, 0x41
jl 0x1003cdd0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.101d03f8
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret