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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
mov eax, dword [0x10275fb4]
push ebx
mov ebx, ecx
mov dword [ebp - 0x18], eax
push esi
push edi
mov dword [ebp - 0x14], ebx
test byte [ebx + 8], 0x42
jne 0x10120261
cmp byte [ebx + 0xa4], 0
jg 0x10120261
cmp byte ds:[ebx + 0xa5], 0
jg 0x10120261
cmp byte [ebx + 0x8b], 0
je 0x10120261
movss xmm1, dword ds:[eax + 0x1a40]
xor ecx, ecx
movss xmm0, dword [ebx + 0x44]
movaps xmm2, xmm1
addss xmm0, dword [0x10224fac]
mulss xmm1, dword [0x10224f2c]
mov edx, 4
cmp byte [eax + 0xb4], cl
mulss xmm2, dword [0x10224fc0]
cmovne ecx, edx
mov dword [ebx + 0x144], 1
addss xmm0, xmm1
mov dword [ebp - 0x30], ecx
mov ecx, str.RESIZE
maxss xmm2, xmm0
cvttss2si eax, xmm2
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x10224f80]
cvttss2si esi, xmm0
movss xmm0, dword [0x10225220]
mov dword [ebp - 0x38], esi
movss dword [ebp - 0xc], xmm0
movss dword [ebp - 0x10], xmm0
movss dword [ebp - 0x1c], xmm0
movss dword [ebp - 8], xmm0
call fcn.1011dce0
xor edi, edi
cmp dword [ebp - 0x30], edi
jbe 0x10120069
lea eax, ds:[edi*8]
sub eax, edi
shl eax, 2
mov dword [ebp - 0x3c], eax
test edi, edi
je 0x1011fd83
cmp edi, 1
je 0x1011fd83
mov dword [ebp - 0x20], 3
lea eax, [ebp - 0x44]
mov dword [ebp - 0x24], 0xe8
mov dword [ebp - 0x28], 0x1d0c
jmp 0x1011fd9b
mov dword [ebp - 0x20], 4
lea eax, [ebp - 0x48]
mov dword [ebp - 0x24], 0xe4
mov dword [ebp - 0x28], 0x1d08
movd xmm0, esi
mov edx, ebx
push ecx
cvtdq2ps xmm3, xmm0
mov dword [esp], 0x40800000
lea ecx, [ebp - 0x68]
push edi
mov dword [ebp - 0x2c], eax
call fcn.10120380
mov ecx, dword [ebx + 0xc4]
lea eax, [edi + 4]
mov dword [ebp - 0x34], eax
add esp, 8
mov eax, dword [ebx + 0xcc]
mov esi, 4
lea ebx, [ebp - 0x34]
mov edx, dword [eax + ecx*4 - 4]
not edx
nop dword [eax + eax]
movzx eax, byte [ebx]
lea ebx, [ebx + 1]
movzx ecx, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x1021c530]
sub esi, 1
jne 0x1011fde0
mov eax, dword [0x10275fb4]
not edx
mov esi, dword [ebp - 0x38]
cmp dword [eax + 0x1ce4], edx
jne 0x1011fe12
mov dword [eax + 0x1ce8], edx
cmp dword [eax + 0x1d1c], edx
jne 0x1011fe21
mov byte [eax + 0x1d20], 1
push 0x800
lea eax, [ebp - 2]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x68]
call fcn.10161d80
mov al, byte [ebp - 2]
add esp, 0xc
cmp byte [ebp - 1], 0
mov ecx, dword [ebp - 0x18]
je 0x1011fe56
movss xmm0, dword [ecx + 0x1cdc]
comiss xmm0, dword [0x10224edc]
ja 0x1011fe5e
test al, al
je 0x1012005a
mov edx, dword [ebp - 0x20]
mov dword [ecx + 0x1f50], edx
test al, al
je 0x1012005a
mov eax, dword [ebp + 8]
mov dword [eax], edi
cmp edi, 3
jne 0x10120005
mov eax, dword [ebp + 0xc]
movss xmm4, dword [0x10225280]
movss xmm3, dword [eax + 4]
movss xmm1, dword [0x10225220]
movss xmm5, dword [0x10225220]
mov ebx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x24]
movss xmm0, dword [ebx + 0xc]
movss dword [ebp - 0x48], xmm0
movss xmm0, dword [ebx + 0x10]
movss dword [ebp - 0x44], xmm0
movss xmm0, dword [eax + ecx]
mov eax, dword [ebp - 0x28]
subss xmm0, dword [eax + ecx]
mov eax, dword [ebp - 0x2c]
addss xmm0, dword [0x10225048]
movss dword [eax], xmm0
movss xmm0, dword [ebp - 0x44]
comiss xmm3, xmm0
ja 0x1011fee4
movaps xmm3, xmm1
minss xmm3, xmm0
movss xmm0, dword [ebp - 0x48]
comiss xmm4, xmm0
ja 0x1011fef5
movaps xmm4, xmm5
minss xmm4, xmm0
mov eax, dword ds:[ebp - 0x3c]
lea ecx, [ebp - 0x58]
movss xmm1, dword [ebx + 0xc]
mov edx, ebx
movss xmm0, dword [ebx + 0x10]
movaps xmm5, xmm1
addss xmm1, dword [ebx + 0x14]
movss xmm7, dword [eax + 0x1027345c]
subss xmm5, xmm4
minss xmm7, dword [eax + 0x10273464]
movss xmm2, dword [eax + 0x10273458]
movaps xmm6, xmm0
minss xmm2, dword [eax + 0x10273460]
addss xmm0, dword [ebx + 0x18]
subss xmm6, xmm3
lea eax, [ebp - 0x50]
movss dword [ebp - 0x2c], xmm7
push eax
mulss xmm5, xmm2
mulss xmm6, xmm7
addss xmm5, xmm4
movss dword [ebp - 0x3c], xmm2
subss xmm4, xmm1
addss xmm6, xmm3
subss xmm3, xmm0
movss dword [ebp - 0xc], xmm5
mulss xmm4, xmm2
mulss xmm3, xmm7
addss xmm4, xmm1
movss dword [ebp - 0x10], xmm6
addss xmm3, xmm0
subss xmm4, xmm5
subss xmm3, xmm6
movss dword [ebp - 0x34], xmm4
movss dword [ebp - 0x50], xmm4
movss dword [ebp - 0x28], xmm3
movss dword [ebp - 0x4c], xmm3
call fcn.10120a60
movss xmm0, dword ds:[ebp - 0x3c]
add esp, 4
xorps xmm2, xmm2
ucomiss xmm0, xmm2
movss xmm0, dword [ebp - 0x58]
movss dword [ebp - 0x1c], xmm0
lahf
test ah, 0x44
jp 0x1011ffd8
subss xmm0, dword [ebp - 0x34]
movss xmm1, dword [ebp - 0xc]
subss xmm1, xmm0
movss dword [ebp - 0xc], xmm1
movss xmm0, dword [ebp - 0x2c]
ucomiss xmm0, xmm2
movss xmm0, dword [ebp - 0x54]
movss dword [ebp - 8], xmm0
lahf
test ah, 0x44
jp 0x1012005d
subss xmm0, dword [ebp - 0x28]
movss xmm1, dword [ebp - 0x10]
subss xmm1, xmm0
movss dword [ebp - 0x10], xmm1
jmp 0x1012005d
movss xmm1, dword [0x10225280]
movaps xmm3, xmm1
movaps xmm0, xmm3
cmp edi, 1
jne 0x10120025
mov eax, dword ds:[ebp + 0xc]
movss xmm4, dword [eax]
jmp 0x1011fe8d
movaps xmm4, xmm1
movaps xmm2, xmm4
cmp edi, 2
jne 0x1012003d
mov eax, dword [ebp + 0xc]
movss xmm1, dword [eax + 0xc]
jmp 0x1011fe95
movss xmm1, dword [0x10225220]
test edi, edi
jne 0x1011fe95
mov eax, dword [ebp + 0xc]
movss xmm5, dword [eax + 8]
jmp 0x1011fe9d
mov ebx, dword [ebp - 0x14]
inc edi
cmp edi, dword [ebp - 0x30]
jl 0x1011fd50
mov esi, dword [0x10275fb4]
mov edi, dword [ebp - 0x18]
mov eax, dword [esi + 0x1cac]
dec dword [eax + 0xc4]
mov dword [ebx + 0x144], 0
mov eax, dword [edi + 0x1f18]
test eax, eax
je 0x101201c2
nop word [eax + eax]
cmp dword [eax + 0x31c], ebx
jne 0x101201c2
mov eax, dword [edi + 0x1e40]
cmp eax, 2
jne 0x101200cf
cmp byte ds:[edi + 0xfd], 0
je 0x101201c2
push ecx
lea edx, [eax - 1]
lea ecx, [ebp - 0x50]
jmp 0x101200df
cmp eax, 3
jne 0x101201c2
push ecx
lea edx, [eax - 1]
lea ecx, [ebp - 0x48]
mov dword [esp], 0
xorps xmm3, xmm3
push 0
call fcn.10119460
add esp, 8
xorps xmm5, xmm5
movss xmm4, dword [eax]
movss xmm3, dword [eax + 4]
ucomiss xmm4, xmm5
lahf
test ah, 0x44
jp 0x10120115
ucomiss xmm3, xmm5
lahf
test ah, 0x44
jnp 0x101201c5
movss xmm1, dword ds:[edi + 0xa8]
lea ecx, [ebp - 0x40]
minss xmm1, dword [edi + 0xac]
movss xmm0, dword [edi + 0x18]
mov edx, ebx
mulss xmm0, dword [0x102251dc]
mulss xmm0, xmm1
cvttss2si eax, xmm0
movd xmm2, eax
mov eax, dword [ebp + 0xc]
cvtdq2ps xmm2, xmm2
movss xmm1, dword [eax]
movss xmm0, dword [eax + 4]
lea eax, [ebp - 0x58]
subss xmm1, dword [ebx + 0xc]
subss xmm0, dword [ebx + 0x10]
mulss xmm3, xmm2
push eax
mulss xmm4, xmm2
subss xmm1, dword [ebx + 0x14]
subss xmm0, dword [ebx + 0x18]
mov byte [edi + 0x1f2c], 0
mov byte [edi + 0x1e63], 1
maxss xmm4, xmm1
maxss xmm3, xmm0
addss xmm4, dword [ebx + 0x1c]
addss xmm3, dword [ebx + 0x20]
movss dword [ebp - 0x58], xmm4
movss dword [ebp - 0x54], xmm3
call fcn.10120a60
mov esi, dword [0x10275fb4]
add esp, 4
xorps xmm5, xmm5
movss xmm0, dword [eax]
movss dword [ebp - 0x1c], xmm0
movss xmm0, dword [eax + 4]
jmp 0x101201ca
xorps xmm5, xmm5
movss xmm0, dword [ebp - 8]
movss xmm1, dword [0x10225220]
movss xmm2, dword ds:[ebp - 0x1c]
ucomiss xmm2, xmm1
lahf
test ah, 0x44
jnp 0x1012020b
test dword [ebx + 8], 0x100
movss dword [ebx + 0x1c], xmm2
movss dword [ebx + 0x20], xmm0
jne 0x1012020b
comiss xmm5, dword ds:[esi + 0x3718]
jb 0x1012020b
mov eax, dword [esi + 0x1c]
mov dword [esi + 0x3718], eax
movss xmm0, dword [ebp - 0xc]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x10120255
test dword [ebx + 8], 0x100
cvttss2si eax, xmm0
movd xmm1, eax
cvttss2si eax, dword [ebp - 0x10]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ebx + 0xc], xmm1
movss dword [ebx + 0x10], xmm0
jne 0x10120255
comiss xmm5, dword [esi + 0x3718]
jb 0x10120255
mov eax, dword [esi + 0x1c]
mov dword [esi + 0x3718], eax
mov eax, dword [ebx + 0x1c]
mov ecx, dword [ebx + 0x20]
mov dword [ebx + 0x14], eax
mov dword [ebx + 0x18], ecx
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret