Function at 0x10011db0
Capabilities:
Encode data using xor
Hash data with crc32

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
sub esp, 0x70
mov eax, dword [0x100ae380]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebx + 8]
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x58], eax
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0x68], eax
mov eax, dword [0x100af570]
test byte [edi + 8], 0x42
mov dword [ebp - 8], edx
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x3c], eax
jne 0x1001283b
cmp byte [edi + 0xa0], 0
jg 0x1001283b
cmp byte [edi + 0xa1], 0
jg 0x1001283b
cmp byte [edi + 0x8b], 0
je 0x1001283b
movss xmm2, dword [eax + 0x1930]
xor edx, edx
movss xmm0, dword [edi + 0x44]
movaps xmm1, xmm2
addss xmm0, dword [0x100a3628]
mulss xmm2, dword [0x100a35c0]
mov esi, 4
mov cl, byte [eax + 0xb4]
mulss xmm1, dword [0x100a3638]
test cl, cl
mov byte [ebp - 0x25], 0
addss xmm0, xmm2
cmovne edx, esi
mov dword [ebp - 0x64], edx
maxss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x100a3600]
cvttss2si esi, xmm0
mov dword [ebp - 0x60], esi
je 0x10011e91
movss xmm0, dword [0x100a3674]
jmp 0x10011e94
xorps xmm0, xmm0
movss dword [ebp - 0x30], xmm0
movss xmm0, dword [0x100a36e4]
movss dword [ebp - 0x34], xmm0
movss dword [ebp - 0x38], xmm0
movss dword [ebp - 0x40], xmm0
movss dword [ebp - 0x24], xmm0
mov dword [edi + 0x140], 1
call fcn.100165a0
xor edx, edx
mov dword [ebp - 0x2c], edx
cmp dword [ebx + 0xc], edx
jle 0x100122da
movss xmm0, dword [edi + 0xc]
lea ecx, [edx + edx*2]
movss xmm1, dword [edi + 0x10]
movaps xmm3, xmm0
addss xmm3, dword [edi + 0x14]
movaps xmm2, xmm1
mov dword [ebp - 0x5c], ecx
addss xmm2, dword [edi + 0x18]
xorps xmm6, xmm6
cvtsi2ss xmm6, esi
subss xmm3, xmm0
subss xmm2, xmm1
mulss xmm3, dword [ecx*8 + 0x100ae4b8]
mulss xmm2, dword [ecx*8 + 0x100ae4bc]
addss xmm3, xmm0
movss xmm0, dword [ecx*8 + 0x100ae4c0]
movaps xmm5, xmm0
mulss xmm0, dword [ebp - 0x30]
addss xmm2, xmm1
mulss xmm5, xmm6
movss xmm1, dword [ecx*8 + 0x100ae4c4]
movaps xmm4, xmm1
mulss xmm1, dword [ebp - 0x30]
mulss xmm4, xmm6
addss xmm5, xmm3
subss xmm3, xmm0
addss xmm4, xmm2
subss xmm2, xmm1
movss dword [ebp - 0x10], xmm5
comiss xmm3, xmm5
movss dword [ebp - 0x18], xmm3
movss dword [ebp - 0x14], xmm2
movss dword [ebp - 0xc], xmm4
jbe 0x10011f78
movss dword [ebp - 0x18], xmm5
movss dword [ebp - 0x10], xmm3
comiss xmm2, xmm4
jbe 0x10011f87
movss dword [ebp - 0x14], xmm4
movss dword [ebp - 0xc], xmm2
mov ecx, dword [edi + 0xc0]
lea esi, [ebp - 0x1c]
mov eax, dword [edi + 0xc8]
mov edi, 4
mov dword [ebp - 0x1c], edx
mov edx, dword [eax + ecx*4 - 4]
not edx
movzx eax, byte [esi]
lea esi, [esi + 1]
movzx ecx, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x10092928]
sub edi, 1
jne 0x10011fa4
mov eax, dword [0x100af570]
not edx
mov esi, dword [ebp - 0x60]
mov edi, dword [ebp - 0x44]
cmp dword [eax + 0x1bc8], edx
jne 0x10011fd9
mov dword [eax + 0x1bcc], edx
cmp dword [eax + 0x1c04], edx
jne 0x10011fe8
mov byte [eax + 0x1c08], 1
push 0x40800
lea eax, [ebp - 0x1e]
push eax
lea eax, [ebp - 0x1d]
push eax
lea ecx, [ebp - 0x18]
call fcn.10035490
mov cl, byte [ebp - 0x1d]
add esp, 0xc
test cl, cl
jne 0x10012012
mov al, byte [ebp - 0x1e]
test al, al
je 0x10012516
mov edx, dword [ebp - 0x2c]
mov eax, edx
mov ecx, dword [ebp - 0x3c]
not eax
and eax, 1
add eax, 5
mov dword [ecx + 0x1e38], eax
mov al, byte [ebp - 0x1e]
test al, al
je 0x10012298
cmp byte [ecx + 0x3dd], 0
je 0x10012083
test edx, edx
jne 0x10012083
push dword [ebp - 8]
mov edx, edi
lea ecx, [ebp - 0x70]
call fcn.100116d0
add esp, 4
mov byte [ebp - 0x25], 1
movss xmm3, dword [eax]
movss xmm2, dword [eax + 4]
movss dword [ebp - 0x40], xmm3
movss dword [ebp - 0x24], xmm2
call fcn.1000d040
mov edx, dword [ebp - 0x2c]
cmp byte [ebp - 0x1e], 0
je 0x100122af
mov ecx, 0x20
jmp 0x100122ba
mov edx, dword [ebp - 0x5c]
xorps xmm3, xmm3
cvtsi2ss xmm3, esi
movss xmm2, dword [edx*8 + 0x100ae4c4]
xorps xmm3, xmmword [0x100a38d0]
movaps xmm1, xmm2
mulss xmm1, dword [ebp - 0x30]
movss xmm6, dword [edx*8 + 0x100ae4c0]
movss xmm5, dword [edx*8 + 0x100ae4bc]
movaps xmm0, xmm6
mulss xmm0, dword [ebp - 0x30]
movss xmm4, dword [edx*8 + 0x100ae4b8]
movss xmm7, dword [ecx + 0xe8]
subss xmm7, dword [ecx + 0x1bf4]
mulss xmm2, xmm3
mulss xmm6, xmm3
subss xmm2, xmm1
subss xmm6, xmm0
mulss xmm2, xmm5
mulss xmm6, xmm4
addss xmm2, xmm1
movss xmm1, dword [0x100a3628]
ucomiss xmm5, xmm1
addss xmm6, xmm0
movss xmm0, dword [ecx + 0xe4]
subss xmm0, dword [ecx + 0x1bf0]
mov ecx, dword [ebx + 0x14]
addss xmm7, xmm2
lahf
addss xmm6, xmm0
movss xmm0, dword [0x100a3704]
test ah, 0x44
jp 0x10012133
movss xmm5, dword [ecx + 4]
jmp 0x10012136
movaps xmm5, xmm0
ucomiss xmm4, xmm1
lahf
test ah, 0x44
jp 0x10012145
movss xmm4, dword [ecx]
jmp 0x10012148
movaps xmm4, xmm0
movss xmm1, dword [edx*8 + 0x100ae4bc]
xorps xmm0, xmm0
movss xmm2, dword [0x100a36e4]
ucomiss xmm1, xmm0
lahf
test ah, 0x44
jp 0x1001216c
movss xmm1, dword [ecx + 0xc]
jmp 0x1001216f
movaps xmm1, xmm2
movss xmm3, dword [edx*8 + 0x100ae4b8]
ucomiss xmm3, xmm0
lahf
test ah, 0x44
jp 0x10012188
movss xmm0, dword [ecx + 8]
jmp 0x1001218b
movaps xmm0, xmm2
comiss xmm5, xmm7
ja 0x10012197
movaps xmm5, xmm1
minss xmm5, xmm7
comiss xmm4, xmm6
ja 0x100121a3
movaps xmm4, xmm0
minss xmm4, xmm6
movss xmm0, dword [edi + 0xc]
lea eax, [ebp - 0x4c]
movss xmm1, dword [edi + 0x10]
lea ecx, [ebp - 0x54]
movss xmm6, dword [edx*8 + 0x100ae4bc]
movaps xmm2, xmm0
addss xmm0, dword [edi + 0x14]
subss xmm2, xmm4
push eax
mulss xmm2, xmm3
movaps xmm3, xmm1
addss xmm1, dword [edi + 0x18]
subss xmm3, xmm5
addss xmm2, xmm4
subss xmm4, xmm0
mulss xmm3, xmm6
mulss xmm4, dword [edx*8 + 0x100ae4b8]
mov edx, edi
addss xmm3, xmm5
movss dword [ebp - 0x34], xmm2
subss xmm5, xmm1
addss xmm4, xmm0
movss dword [ebp - 0x38], xmm3
mulss xmm5, xmm6
subss xmm4, xmm2
addss xmm5, xmm1
movss dword [ebp - 0x4c], xmm4
subss xmm5, xmm3
movss dword [ebp - 0x48], xmm5
call fcn.100116d0
mov ecx, dword [ebp - 0x5c]
add esp, 4
movss xmm3, dword [ebp - 0x54]
xorps xmm1, xmm1
movss dword [ebp - 0x40], xmm3
movss xmm0, dword [ecx*8 + 0x100ae4b8]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x10012260
movss xmm2, dword [ebp - 0x34]
movaps xmm0, xmm3
subss xmm0, dword [ebp - 0x4c]
subss xmm2, xmm0
movss dword [ebp - 0x34], xmm2
movss xmm0, dword [ecx*8 + 0x100ae4bc]
movss xmm2, dword [ebp - 0x50]
ucomiss xmm0, xmm1
movss dword [ebp - 0x24], xmm2
lahf
test ah, 0x44
jp 0x10012292
movss xmm1, dword [ebp - 0x38]
movaps xmm0, xmm2
subss xmm0, dword [ebp - 0x48]
subss xmm1, xmm0
movss dword [ebp - 0x38], xmm1
mov edx, dword [ebp - 0x2c]
mov al, byte [ebp - 0x1e]
mov cl, byte [ebp - 0x1d]
test edx, edx
je 0x1001206f
test al, al
jne 0x10012079
test cl, cl
je 0x100122cd
xor ecx, ecx
cmp byte [ebp - 0x1d], cl
setne cl
add ecx, 0x1e
movss xmm1, dword [0x100a3628]
call fcn.1000b480
mov ecx, dword [ebp - 0x68]
mov dword [ecx + edx*4], eax
inc edx
mov dword [ebp - 0x2c], edx
cmp edx, dword [ebx + 0xc]
jl 0x10011ed2
xor ecx, ecx
mov dword [ebp - 0x30], ecx
cmp dword [ebp - 0x64], ecx
jbe 0x100125ee
movd xmm0, esi
mov edx, edi
push ecx
cvtdq2ps xmm3, xmm0
mov dword [esp], 0x40800000
push ecx
lea ecx, [ebp - 0x18]
call fcn.10011c90
mov eax, dword [ebp - 0x30]
add esp, 8
mov ecx, dword [edi + 0xc0]
add eax, 4
mov dword [ebp - 8], eax
mov esi, 4
mov eax, dword [edi + 0xc8]
lea edi, [ebp - 8]
mov edx, dword [eax + ecx*4 - 4]
not edx
nop dword [eax + eax]
movzx eax, byte [edi]
lea edi, [edi + 1]
movzx ecx, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x10092928]
sub esi, 1
jne 0x10012330
mov eax, dword [0x100af570]
not edx
mov esi, dword [ebp - 0x60]
cmp dword [eax + 0x1bc8], edx
jne 0x10012362
mov dword [eax + 0x1bcc], edx
cmp dword [eax + 0x1c04], edx
jne 0x10012371
mov byte [eax + 0x1c08], 1
push 0x800
lea eax, [ebp - 0x1d]
push eax
lea eax, [ebp - 0x1e]
push eax
lea ecx, [ebp - 0x18]
call fcn.10035490
mov edx, dword [ebp - 0x3c]
add esp, 0xc
cmp byte [ebp - 0x1e], 0
je 0x100123a3
movss xmm0, dword [edx + 0x1bc0]
comiss xmm0, dword [0x100a35a4]
ja 0x100123ad
cmp byte [ebp - 0x1d], 0
je 0x100125db
mov ecx, dword [ebp - 0x30]
mov eax, ecx
mov edi, dword [ebp - 0x44]
and eax, 1
add eax, 3
cmp byte [ebp - 0x1d], 0
mov dword [edx + 0x1e38], eax
je 0x100125e1
mov eax, dword [ebp - 0x58]
mov dword [eax], ecx
movss xmm1, dword [edi + 0xc]
movss xmm0, dword [edi + 0x10]
test ecx, ecx
jne 0x1001251e
movss xmm0, dword [edx + 0xe8]
subss xmm0, dword [edx + 0x1bf4]
mov eax, dword [ebx + 0x14]
movss xmm2, dword [0x100a3704]
movaps xmm3, xmm2
addss xmm0, dword [0x100a3674]
movss xmm4, dword [eax + 0xc]
xorps xmm7, xmm7
xorps xmm6, xmm6
movss xmm5, dword [0x100a36e4]
comiss xmm3, xmm0
movss dword [ebp - 0x24], xmm6
movss dword [ebp - 0x2c], xmm7
ja 0x10012431
movaps xmm3, xmm4
minss xmm3, xmm0
comiss xmm2, xmm1
ja 0x1001243d
movaps xmm2, xmm5
minss xmm2, xmm1
movss xmm0, dword [edi + 0xc]
lea eax, [ebp - 0x4c]
movss xmm1, dword [edi + 0x10]
lea ecx, [ebp - 0x54]
movaps xmm4, xmm0
movaps xmm5, xmm1
addss xmm0, dword [edi + 0x14]
addss xmm1, dword [edi + 0x18]
subss xmm4, xmm2
mov edx, edi
subss xmm5, xmm3
push eax
mulss xmm4, xmm7
mulss xmm5, xmm6
addss xmm4, xmm2
subss xmm2, xmm0
addss xmm5, xmm3
subss xmm3, xmm1
movss dword [ebp - 0x34], xmm4
mulss xmm2, xmm7
mulss xmm3, xmm6
addss xmm2, xmm0
movss dword [ebp - 0x38], xmm5
addss xmm3, xmm1
subss xmm2, xmm4
subss xmm3, xmm5
movss dword [ebp - 0x4c], xmm2
movss dword [ebp - 0x48], xmm3
call fcn.100116d0
movss xmm0, dword [ebp - 0x2c]
add esp, 4
xorps xmm1, xmm1
ucomiss xmm0, xmm1
movss xmm0, dword [ebp - 0x54]
movss dword [ebp - 0x40], xmm0
lahf
test ah, 0x44
jp 0x100124e2
subss xmm0, dword [ebp - 0x4c]
movss xmm2, dword [ebp - 0x34]
subss xmm2, xmm0
movss dword [ebp - 0x34], xmm2
movss xmm0, dword [ebp - 0x24]
ucomiss xmm0, xmm1
movss xmm0, dword [ebp - 0x50]
movss dword [ebp - 0x24], xmm0
lahf
test ah, 0x44
jp 0x100125de
subss xmm0, dword [ebp - 0x48]
movss xmm1, dword [ebp - 0x38]
subss xmm1, xmm0
movss dword [ebp - 0x38], xmm1
jmp 0x100125de
mov edx, dword [ebp - 0x2c]
jmp 0x1001229b
movss xmm4, dword [0x100a36e4]
cmp ecx, 1
jne 0x1001255f
movss xmm1, dword [edx + 0xe4]
subss xmm1, dword [edx + 0x1bf0]
mov eax, dword [ebx + 0x14]
movss xmm7, dword [0x100a3628]
movss xmm3, dword [0x100a3704]
addss xmm1, dword [0x100a3674]
movss xmm2, dword [eax]
jmp 0x10012410
cmp ecx, 2
jne 0x1001259c
movss xmm0, dword [edx + 0xe8]
xorps xmm7, xmm7
subss xmm0, dword [edx + 0x1bf4]
mov eax, dword [ebx + 0x14]
movss xmm6, dword [0x100a3628]
movss xmm2, dword [0x100a3704]
addss xmm0, dword [0x100a3674]
movss xmm3, dword [eax + 4]
jmp 0x10012413
movss xmm3, dword [0x100a3704]
movaps xmm2, xmm3
cmp ecx, 3
jne 0x1001240d
movss xmm1, dword [edx + 0xe4]
xorps xmm7, xmm7
subss xmm1, dword [edx + 0x1bf0]
mov eax, dword [ebx + 0x14]
xorps xmm6, xmm6
addss xmm1, dword [0x100a3674]
movss xmm5, dword [eax + 8]
jmp 0x1001241b
mov edi, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x30]
inc ecx
mov dword [ebp - 0x30], ecx
cmp ecx, dword [ebp - 0x64]
jl 0x100122e8
mov esi, dword [0x100af570]
xorps xmm5, xmm5
mov ecx, dword [ebp - 0x3c]
mov eax, dword [esi + 0x1b94]
dec dword [eax + 0xc0]
mov dword [edi + 0x140], 0
mov eax, dword [ecx + 0x1e00]
test eax, eax
je 0x1001278f
cmp dword [eax + 0x320], edi
jne 0x1001278f
mov eax, dword [ecx + 0x1d28]
xorps xmm6, xmm6
xorps xmm7, xmm7
cmp eax, 2
jne 0x1001266e
cmp byte [ecx + 0xfd], 0
je 0x100126b0
xor edx, edx
lea ecx, [eax + 0x10]
call fcn.10018850
lea ecx, [edx + 0x11]
movaps xmm7, xmm0
call fcn.10018850
subss xmm7, xmm0
lea ecx, [edx + 0x14]
addss xmm7, xmm5
call fcn.10018850
lea ecx, [edx + 0x13]
jmp 0x1001269b
cmp eax, 3
jne 0x100126b0
xor edx, edx
lea ecx, [eax + 2]
call fcn.10018850
lea ecx, [edx + 4]
movaps xmm7, xmm0
call fcn.10018850
subss xmm7, xmm0
lea ecx, [edx + 7]
addss xmm7, xmm5
call fcn.10018850
lea ecx, [edx + 6]
xor edx, edx
movaps xmm6, xmm0
call fcn.10018850
mov ecx, dword [ebp - 0x3c]
subss xmm6, xmm0
addss xmm6, xmm5
ucomiss xmm7, xmm5
lahf
test ah, 0x44
jp 0x100126c6
ucomiss xmm6, xmm5
lahf
test ah, 0x44
jnp 0x1001278f
movss xmm1, dword [ecx + 0xa8]
movss xmm0, dword [ecx + 0x18]
mulss xmm0, dword [0x100a36c8]
minss xmm1, dword [ecx + 0xac]
mulss xmm1, xmm0
cvttss2si eax, xmm1
movss xmm1, dword [0x100a3628]
movd xmm2, eax
mov eax, dword [ebx + 0x14]
cvtdq2ps xmm2, xmm2
movss xmm0, dword [eax]
subss xmm0, dword [edi + 0xc]
mulss xmm7, xmm2
mulss xmm6, xmm2
subss xmm0, dword [edi + 0x14]
maxss xmm7, xmm0
movss xmm0, dword [eax + 4]
subss xmm0, dword [edi + 0x10]
subss xmm0, dword [edi + 0x18]
mov byte [ecx + 0x1e14], 0
mov byte [ecx + 0x1d4b], 1
mov ecx, 0x20
maxss xmm6, xmm0
movss dword [ebp - 0x58], xmm6
call fcn.1000b480
mov ecx, dword [ebp - 0x68]
mov edx, edi
movss xmm0, dword [ebp - 0x58]
mov dword [ecx], eax
lea eax, [ebp - 0x54]
addss xmm7, dword [edi + 0x1c]
addss xmm0, dword [edi + 0x20]
push eax
lea ecx, [ebp - 0x70]
movss dword [ebp - 0x54], xmm7
movss dword [ebp - 0x50], xmm0
call fcn.100116d0
mov esi, dword [0x100af570]
add esp, 4
xorps xmm5, xmm5
movss xmm0, dword [eax]
movss dword [ebp - 0x40], xmm0
movss xmm0, dword [eax + 4]
jmp 0x10012794
movss xmm0, dword [ebp - 0x24]
movss xmm1, dword [0x100a36e4]
movss xmm2, dword [ebp - 0x40]
ucomiss xmm2, xmm1
lahf
test ah, 0x44
jnp 0x100127cf
test dword [edi + 8], 0x100
movss dword [edi + 0x1c], xmm2
movss dword [edi + 0x20], xmm0
jne 0x100127cf
comiss xmm5, dword [esi + 0x2e94]
jb 0x100127cf
mov eax, dword [esi + 0x1c]
mov dword [esi + 0x2e94], eax
movss xmm0, dword [ebp - 0x34]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x10012819
test dword [edi + 8], 0x100
cvttss2si eax, xmm0
movd xmm1, eax
cvttss2si eax, dword [ebp - 0x38]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0xc], xmm1
movss dword [edi + 0x10], xmm0
jne 0x10012819
comiss xmm5, dword [esi + 0x2e94]
jb 0x10012819
mov ecx, dword [esi + 0x1c]
mov dword [esi + 0x2e94], ecx
mov ecx, dword [edi + 0x1c]
mov edx, dword [edi + 0x20]
mov al, byte [ebp - 0x25]
mov dword [edi + 0x14], ecx
mov dword [edi + 0x18], edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10087516
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov ecx, dword [ebp - 4]
xor al, al
pop edi
xor ecx, ebp
pop esi
call fcn.10087516
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret