Function at 0x1003d520
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 0x101e4ec9
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x100
mov eax, dword [0x10285040]
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 [0x10b33e60]
add eax, 0x7a4232c8
xor eax, 0xfcb4fca8
mov esi, dword [eax + 0x14c]
mov dword [ebp - 0x50], esi
test esi, esi
je 0x1003dd2f
cmp byte [eax + 7], 0
je 0x1003dd2f
cmp byte [0x10306028], 0
movss xmm1, dword [0x102712b0]
je 0x1003d6e5
movss xmm0, dword [0x10306048]
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 [0x10306044]
mulss xmm0, xmm1
cvttss2si ecx, xmm0
movss xmm0, dword [0x10306040]
mulss xmm0, xmm1
cvttss2si edx, xmm0
movss xmm0, dword [0x1030603c]
mulss xmm0, xmm1
movd xmm1, dword [0x1030604c]
cvtdq2ps xmm1, xmm1
mulss xmm1, dword [0x10270f24]
movss dword [ebp - 0x34], xmm1
jle 0x1003d6db
movzx eax, al
movaps xmm2, xmm1
xorps xmm2, xmmword [0x10271af0]
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 [0x10b33e60]
add eax, 0x7a4232c8
xor eax, 0xfcb4fca8
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 0x1003d640
mov dword [esi + 0x11c5c], 0
mov eax, dword [esi + 0x11c5c]
mov esi, dword [ebp - 0x40]
cmp eax, dword [esi]
je 0x1003d6f4
mov dword [esi], eax
cmp dword [0x10306050], 0
je 0x1003dd2f
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 0x1003dd22
mov eax, dword [0x10b33e60]
add eax, 0x7a4232c8
xor eax, 0xfcb4fca8
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 0x1003dd11
mov ecx, dword [0x10b33e60]
add ecx, 0x7a4232c8
xor ecx, 0xfcb4fca8
mov eax, dword [ecx + 0x14c]
mov dword [ebp - 0x38], eax
cmp edx, eax
je 0x1003da86
test eax, eax
je 0x1003d9ba
mov ecx, dword [ecx + 0x19c]
mov eax, dword [ecx + 0x1c]
cmp dword [eax + 0x30], ecx
jne 0x1003d9ba
mov edx, dword [0x103201fc]
test dl, 1
jne 0x1003d90f
or edx, 1
mov dword [0x103201fc], edx
mov dword [ebp - 4], 0
mov ecx, dword [0x1031cd80]
mov dword [ebp - 0x30], ecx
cmp ecx, dword [0x1031cd84]
je 0x1003d82a
mov eax, ecx
mov dword [ebp - 0x34], ecx
cmp eax, dword [0x1031cd84]
je 0x1003d82a
nop dword [eax]
mov ecx, dword [eax]
mov dword [ebp - 0x48], ecx
test ecx, ecx
je 0x1003d81c
mov esi, dword [ecx + 0xc]
mov edi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [ecx + esi], 0
jne 0x1003d7f3
xor edx, edx
test ecx, ecx
je 0x1003d81c
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x1003d800
cmp edi, 0x1eee87cc
je 0x1003d843
mov eax, dword [ebp - 0x34]
add eax, 4
mov dword [ebp - 0x34], eax
cmp eax, dword [0x1031cd84]
jne 0x1003d7e0
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov edx, dword [0x103201fc]
mov dword [0x103201b4], eax
jmp 0x1003d91d
mov ecx, dword [ebp - 0x48]
xor edi, edi
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x44], edi
cmp dword [ecx + 4], edi
jle 0x1003d8f1
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 0x1003d895
cmp dword [ecx + 4], 0
jle 0x1003d895
push 0
mov edx, 0xa5bfefb3
call fcn.1012b660
add esp, 4
test eax, eax
je 0x1003d892
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 0x1003d8a0
xor edx, edx
test ecx, ecx
je 0x1003d8cc
nop dword [eax]
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x1003d8b0
cmp edi, 0xa5bfefb3
je 0x1003d8f8
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 0x1003d860
mov ecx, dword [0x1031cd80]
mov dword [ebp - 0x30], ecx
mov eax, edi
jmp 0x1003d82c
mov eax, dword [ebp - 0x54]
mov ecx, dword [0x1031cd80]
mov dword [ebp - 0x30], ecx
mov eax, dword [eax + 0x2c]
add eax, dword [ebp - 0x34]
jmp 0x1003d82c
mov ecx, dword [0x1031cd80]
mov eax, dword [0x103201b4]
mov dword [ebp - 0x30], ecx
mov ecx, dword [ebp - 0x4c]
mov ecx, dword [eax + ecx]
mov dword [ebp - 0x58], ecx
test dl, 1
jne 0x1003d9ab
or edx, 1
mov dword [0x103201fc], edx
mov eax, dword [ebp - 0x30]
mov dword [ebp - 4], 1
cmp eax, dword [0x1031cd84]
je 0x1003d99a
nop word [eax + eax]
mov ecx, dword [eax]
mov dword [ebp - 0x34], ecx
test ecx, ecx
je 0x1003d98c
mov esi, dword [ecx + 0xc]
mov edi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [esi + ecx], 0
jne 0x1003d963
xor edx, edx
test ecx, ecx
je 0x1003d98c
movsx eax, byte [esi + edx]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x1003d970
cmp edi, 0x1eee87cc
je 0x1003d9c6
mov eax, dword [ebp - 0x30]
add eax, 4
mov dword [ebp - 0x30], eax
cmp eax, dword [0x1031cd84]
jne 0x1003d950
xor eax, eax
mov ecx, dword [ebp - 0x58]
mov dword [0x103201b4], eax
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x38]
mov esi, dword [ebp - 0x40]
cmp ecx, dword [edx + eax]
je 0x1003da7d
movups xmm0, xmmword [0x10306058]
jmp 0x1003da96
mov eax, dword [ebp - 0x34]
xor edi, edi
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x48], edi
cmp dword [eax + 4], edi
jle 0x1003da68
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 0x1003da14
cmp dword [ecx + 4], 0
jle 0x1003da14
push 0
mov edx, 0xa5bfefb3
call fcn.1012b660
add esp, 4
test eax, eax
je 0x1003da11
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 0x1003da20
xor edx, edx
test ecx, ecx
je 0x1003da4c
nop dword [eax]
movsx eax, byte [esi + edx]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x1003da30
cmp edi, 0xa5bfefb3
je 0x1003da6f
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 0x1003d9e0
mov eax, edi
jmp 0x1003d99c
mov eax, dword [ebp - 0x54]
mov eax, dword [eax + 0x2c]
add eax, dword [ebp - 0x30]
jmp 0x1003d99c
mov eax, edx
mov edx, dword [ebp - 0x4c]
cmp edx, eax
jne 0x1003da8f
movups xmm0, xmmword [0x10306078]
jmp 0x1003da96
movups xmm0, xmmword [0x10306068]
movss xmm1, dword [0x102712b0]
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 [0x10306054]
shl eax, 8
or eax, edx
mov dword [ebp - 0x4c], eax
sub ecx, 0
je 0x1003db53
sub ecx, 1
jne 0x1003dd0e
mov eax, dword [0x10b33e60]
mov edx, dword [ebp - 0x50]
add eax, 0x7a4232c8
xor eax, 0xfcb4fca8
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 0x1003dd0b
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, 0x10285128
push eax
call fcn.1003fdc0
lea ecx, [ebp - 0x110]
mov dword [ebp - 4], 2
call fcn.1003b710
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 0x1003dbb8
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 [0x10b33e60]
add eax, 0x7a4232c8
cvtdq2ps xmm0, xmm0
xor eax, 0xfcb4fca8
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 0x1003dcfc
mov ecx, dword [0x10b33e60]
add ecx, 0x7a4232c8
xor ecx, 0xfcb4fca8
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.10029c40
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 0x1003dd22
mov dword [esi + ecx*4 + 8], eax
inc edi
mov dword [ebp - 0x3c], edi
cmp edi, 0x41
jl 0x1003d710
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.101e0e46
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret