Function at 0x1003ff70
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 0x10223489
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x100
mov eax, dword [0x102d5080]
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 - 0x44], ecx
mov eax, dword [0x10bbf240]
add eax, 0xaff3cc8c
xor eax, 0x3743f7af
mov esi, dword [eax + 0x134]
mov dword [ebp - 0x50], esi
test esi, esi
je 0x1004077f
cmp byte [eax + 7], 0
je 0x1004077f
cmp byte [0x10359a9c], 0
movss xmm1, dword [0x102bda54]
je 0x10040135
movss xmm0, dword [0x10359abc]
mulss xmm0, xmm1
mov edi, dword [esi + 0x11c5c]
mov esi, dword [ebp - 0x44]
cvttss2si eax, xmm0
cmp edi, dword [esi]
mov esi, dword [ebp - 0x50]
movss xmm0, dword [0x10359ab8]
mulss xmm0, xmm1
cvttss2si ecx, xmm0
movss xmm0, dword [0x10359ab4]
mulss xmm0, xmm1
cvttss2si edx, xmm0
movss xmm0, dword [0x10359ab0]
mulss xmm0, xmm1
movd xmm1, dword [0x10359ac0]
cvtdq2ps xmm1, xmm1
mulss xmm1, dword [0x102bd6b4]
movss dword [ebp - 0x34], xmm1
jle 0x1004012b
movzx eax, al
movaps xmm2, xmm1
xorps xmm2, xmmword [0x102bdf90]
mov dword [ebp - 0x4c], eax
movzx eax, cl
mov dword [ebp - 0x3c], eax
movzx eax, dl
mov dword [ebp - 0x48], eax
cvttss2si eax, xmm0
movss dword [ebp - 0x38], xmm2
movzx eax, al
mov dword [ebp - 0x30], eax
lea eax, [edi + edi*4]
shl eax, 2
mov dword [ebp - 0x40], eax
nop
mov eax, dword [0x10bbf240]
add eax, 0xaff3cc8c
xor eax, 0x3743f7af
mov ecx, dword [eax + 0xbc]
push ecx
mov dword [esp], 0x40800000
push dword [ebp - 0x4c]
mov eax, dword [ecx]
push dword [ebp - 0x3c]
mov dword [ebp - 0x74], 0
push dword [ebp - 0x48]
mov edx, dword [eax + 4]
mov eax, dword [esi + 0x11c50]
mov esi, dword [ebp - 0x40]
push dword [ebp - 0x30]
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 - 0x44]
dec edi
sub dword [ebp - 0x40], 0x14
movss xmm1, dword [ebp - 0x34]
movss xmm2, dword [ebp - 0x38]
mov esi, dword [ebp - 0x50]
cmp edi, dword [eax]
jg 0x10040090
mov dword [esi + 0x11c5c], 0
mov eax, dword [esi + 0x11c5c]
mov esi, dword [ebp - 0x44]
cmp eax, dword [esi]
je 0x10040144
mov dword [esi], eax
cmp dword [0x10359ac4], 0
je 0x1004077f
xor edi, edi
mov dword [ebp - 0x40], 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 0x10040772
mov eax, dword [0x10bbf240]
add eax, 0xaff3cc8c
xor eax, 0x3743f7af
push edi
mov ecx, dword [eax + 0xb0]
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
mov edx, eax
mov dword [ebp - 0x4c], edx
test edx, edx
je 0x10040761
mov ecx, dword [0x10bbf240]
add ecx, 0xaff3cc8c
xor ecx, 0x3743f7af
mov eax, dword [ecx + 0x134]
mov dword [ebp - 0x3c], eax
cmp edx, eax
je 0x100404d6
test eax, eax
je 0x1004040a
mov ecx, dword [ecx + 0x184]
mov eax, dword [ecx + 0x1c]
cmp dword [eax + 0x30], ecx
jne 0x1004040a
mov edx, dword [0x1037553c]
test dl, 1
jne 0x1004035f
or edx, 1
mov dword [0x1037553c], edx
mov dword [ebp - 4], 0
mov ecx, dword [0x10371278]
mov dword [ebp - 0x38], ecx
cmp ecx, dword [0x1037127c]
je 0x1004027a
mov eax, ecx
mov dword [ebp - 0x30], ecx
cmp eax, dword [0x1037127c]
je 0x1004027a
nop dword [eax]
mov ecx, dword [eax]
mov dword [ebp - 0x34], ecx
test ecx, ecx
je 0x1004026c
mov esi, dword [ecx + 0xc]
mov edi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [ecx + esi], 0
jne 0x10040243
xor edx, edx
test ecx, ecx
je 0x1004026c
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x10040250
cmp edi, 0x1eee87cc
je 0x10040293
mov eax, dword [ebp - 0x30]
add eax, 4
mov dword [ebp - 0x30], eax
cmp eax, dword [0x1037127c]
jne 0x10040230
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov edx, dword [0x1037553c]
mov dword [0x103754f4], eax
jmp 0x1004036d
mov eax, dword [ebp - 0x34]
xor edi, edi
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x48], edi
cmp dword [eax + 4], edi
jle 0x10040341
xor ecx, ecx
mov dword [ebp - 0x38], ecx
nop dword [eax]
mov esi, dword [eax]
add esi, ecx
mov dword [ebp - 0x54], esi
mov ecx, dword [esi + 0x28]
test ecx, ecx
je 0x100402e4
cmp dword [ecx + 4], 0
jle 0x100402e4
push 0
mov edx, 0xa5bfefb3
call fcn.1013bb80
add esp, 4
test eax, eax
je 0x100402e1
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 [ecx + esi], 0
jne 0x100402f0
xor edx, edx
test ecx, ecx
je 0x1004031c
nop dword [eax]
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x10040300
cmp edi, 0xa5bfefb3
je 0x10040348
mov eax, dword [ebp - 0x34]
mov edx, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x38]
inc edx
mov edi, dword [ebp - 0x30]
add ecx, 0x3c
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x38], ecx
cmp edx, dword [eax + 4]
jl 0x100402b0
mov ecx, dword [0x10371278]
mov dword [ebp - 0x38], ecx
mov eax, edi
jmp 0x1004027c
mov eax, dword [ebp - 0x54]
mov ecx, dword [0x10371278]
mov dword [ebp - 0x38], ecx
mov eax, dword [eax + 0x2c]
add eax, dword [ebp - 0x30]
jmp 0x1004027c
mov ecx, dword [0x10371278]
mov eax, dword [0x103754f4]
mov dword [ebp - 0x38], ecx
mov ecx, dword [ebp - 0x4c]
mov ecx, dword [eax + ecx]
mov dword [ebp - 0x58], ecx
test dl, 1
jne 0x100403fb
or edx, 1
mov dword [0x1037553c], edx
mov eax, dword [ebp - 0x38]
mov dword [ebp - 4], 1
cmp eax, dword [0x1037127c]
je 0x100403ea
nop word [eax + eax]
mov ecx, dword [eax]
mov dword [ebp - 0x30], ecx
test ecx, ecx
je 0x100403dc
mov esi, dword [ecx + 0xc]
mov edi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [ecx + esi], 0
jne 0x100403b3
xor edx, edx
test ecx, ecx
je 0x100403dc
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x100403c0
cmp edi, 0x1eee87cc
je 0x10040416
mov eax, dword [ebp - 0x38]
add eax, 4
mov dword [ebp - 0x38], eax
cmp eax, dword [0x1037127c]
jne 0x100403a0
xor eax, eax
mov ecx, dword [ebp - 0x58]
mov dword [0x103754f4], eax
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x3c]
mov esi, dword [ebp - 0x44]
cmp ecx, dword [edx + eax]
je 0x100404cd
movups xmm0, xmmword [0x10359acc]
jmp 0x100404e6
mov eax, dword [ebp - 0x30]
xor edi, edi
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x48], edi
cmp dword [eax + 4], edi
jle 0x100404b8
xor ecx, ecx
mov dword [ebp - 0x38], ecx
nop
mov esi, dword [eax]
add esi, ecx
mov dword [ebp - 0x54], esi
mov ecx, dword [esi + 0x28]
test ecx, ecx
je 0x10040464
cmp dword [ecx + 4], 0
jle 0x10040464
push 0
mov edx, 0xa5bfefb3
call fcn.1013bb80
add esp, 4
test eax, eax
je 0x10040461
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 dword [eax]
inc ecx
cmp byte [ecx + esi], 0
jne 0x10040470
xor edx, edx
test ecx, ecx
je 0x1004049c
nop dword [eax]
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x10040480
cmp edi, 0xa5bfefb3
je 0x100404bf
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x38]
inc edx
mov edi, dword [ebp - 0x34]
add ecx, 0x3c
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x38], ecx
cmp edx, dword [eax + 4]
jl 0x10040430
mov eax, edi
jmp 0x100403ec
mov eax, dword [ebp - 0x54]
mov eax, dword [eax + 0x2c]
add eax, dword [ebp - 0x34]
jmp 0x100403ec
mov eax, edx
mov edx, dword [ebp - 0x4c]
cmp edx, eax
jne 0x100404df
movups xmm0, xmmword [0x10359aec]
jmp 0x100404e6
movups xmm0, xmmword [0x10359adc]
movss xmm1, dword [0x102bda54]
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 - 0x3c], edx
shl eax, 8
or eax, ecx
mov ecx, dword [0x10359ac8]
shl eax, 8
or eax, edx
mov dword [ebp - 0x4c], eax
sub ecx, 0
je 0x100405a3
sub ecx, 1
jne 0x1004075e
mov eax, dword [0x10bbf240]
mov edx, dword [ebp - 0x50]
add eax, 0xaff3cc8c
xor eax, 0x3743f7af
mov edx, dword [esi + edx*4 + 8]
mov ecx, dword [eax + 0xbc]
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 - 0x3c]
push eax
lea eax, [edx - 0x18]
push eax
call dword [esi + 0x14]
jmp 0x1004075b
mov edx, dword [ebp - 0x50]
mov ecx, eax
shr ecx, 0x10
mov dword [ebp - 0x3c], ecx
mov ecx, eax
shr eax, 0x18
mov edi, dword [esi + edx*4 + 8]
shr ecx, 8
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x34], ecx
mov ecx, 0x102d5bb8
push eax
call fcn.10042980
lea ecx, [ebp - 0x110]
mov dword [ebp - 4], 2
call fcn.1003e080
cmp dword [ebp - 0x18], 0xf
lea esi, [ebp - 0x2c]
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0x110], 0
jbe 0x10040608
mov eax, dword [ebp - 0x30]
mov esi, dword [ebp - 0x2c]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x34], 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 - 0x30]
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 - 0x34]
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 [0x10bbf240]
add eax, 0xaff3cc8c
cvtdq2ps xmm0, xmm0
xor eax, 0x3743f7af
push edx
movss dword [ebp - 0xa4], xmm0
mov ecx, dword [eax + 0x114]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
test eax, eax
je 0x1004074c
mov ecx, dword [0x10bbf240]
add ecx, 0xaff3cc8c
xor ecx, 0x3743f7af
push eax
mov ecx, dword [ecx + 0x114]
mov edx, dword [ecx]
call dword [edx + 0x18]
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0xffffffff
call fcn.1002b0f0
mov esi, dword [ebp - 0x44]
mov edi, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x50]
mov eax, dword [esi + ecx*4 + 4]
cmp eax, dword [esi + ecx*4 + 8]
je 0x10040772
mov dword [esi + ecx*4 + 8], eax
inc edi
mov dword [ebp - 0x40], edi
cmp edi, 0x41
jl 0x10040160
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.101f36c3
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret