Function at 0x10115e20
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, 0x80
mov eax, dword [0x1066bbc0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebx + 8]
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x80], eax
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0x7c], eax
mov eax, dword [0x106d663c]
test byte [edi + 0x14], 0x42
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x48], eax
jne 0x101168f9
cmp byte [edi + 0xb4], 0
jg 0x101168f9
cmp byte [edi + 0xb5], 0
jg 0x101168f9
cmp byte [edi + 0x9b], 0
je 0x101168f9
movss xmm2, dword [eax + 0x3bcc]
xor edx, edx
movss xmm0, dword [edi + 0x54]
movaps xmm1, xmm2
addss xmm0, dword [0x106541ec]
mulss xmm2, dword [0x10654190]
mov esi, 4
mov cl, byte [eax + 0x5d]
mulss xmm1, dword [0x10654208]
test cl, cl
mov byte [ebp - 0x27], 0
addss xmm0, xmm2
cmovne edx, esi
mov dword [ebp - 0x78], edx
maxss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x106541cc]
cvttss2si esi, xmm0
mov dword [ebp - 0x74], esi
je 0x10115f01
movss xmm0, dword [0x106542c8]
jmp 0x10115f04
xorps xmm0, xmm0
movss dword [ebp - 0x44], xmm0
mov ecx, str.RESIZE
movss xmm0, dword [0x1065441c]
movss dword [ebp - 0x3c], xmm0
movss dword [ebp - 0x40], xmm0
movss dword [ebp - 0x4c], xmm0
movss dword [ebp - 0x30], xmm0
mov dword [edi + 0x134], 1
call fcn.1011a830
xor edx, edx
mov dword [ebp - 0x2c], edx
cmp dword [ebx + 0xc], edx
jle 0x1011639d
nop word [eax + eax]
movss xmm0, dword [edi + 0x1c]
lea ecx, [edx + edx*2]
movss xmm1, dword [edi + 0x20]
movaps xmm3, xmm0
addss xmm3, dword [edi + 0x24]
movaps xmm2, xmm1
mov dword [ebp - 0x20], ecx
addss xmm2, dword [edi + 0x28]
xorps xmm6, xmm6
cvtsi2ss xmm6, esi
subss xmm3, xmm0
subss xmm2, xmm1
mulss xmm3, dword [ecx*8 + 0x1064bc90]
mulss xmm2, dword [ecx*8 + 0x1064bc94]
addss xmm3, xmm0
movss xmm0, dword [ecx*8 + 0x1064bc98]
movaps xmm5, xmm0
mulss xmm0, dword [ebp - 0x44]
addss xmm2, xmm1
mulss xmm5, xmm6
movss xmm1, dword [ecx*8 + 0x1064bc9c]
movaps xmm4, xmm1
mulss xmm1, dword [ebp - 0x44]
mulss xmm4, xmm6
addss xmm5, xmm3
subss xmm3, xmm0
addss xmm4, xmm2
subss xmm2, xmm1
movss dword [ebp - 0x60], xmm5
comiss xmm3, xmm5
movss dword [ebp - 0x68], xmm3
movss dword [ebp - 0x64], xmm2
movss dword [ebp - 0x5c], xmm4
jbe 0x10115ff6
movss dword [ebp - 0x68], xmm5
movss dword [ebp - 0x60], xmm3
comiss xmm2, xmm4
jbe 0x10116005
movss dword [ebp - 0x64], xmm4
movss dword [ebp - 0x5c], xmm2
mov ecx, dword [edi + 0xd4]
mov esi, 4
mov eax, dword [edi + 0xdc]
lea edi, [ebp - 0x24]
mov dword [ebp - 0x24], edx
mov edx, dword [eax + ecx*4 - 4]
not edx
movzx eax, byte [edi]
lea edi, [edi + 1]
movzx ecx, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x1064bcf0]
sub esi, 1
jne 0x10116022
mov eax, dword [0x106d663c]
not edx
mov esi, dword [ebp - 0x74]
mov dword [ebp - 0x34], edx
cmp dword [eax + 0x3e50], edx
jne 0x1011606d
push ecx
push dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x34]
mov edx, 4
call fcn.10121d60
mov eax, dword [0x106d663c]
add esp, 8
mov edx, dword [ebp - 0x34]
cmp dword [eax + 0x3e68], edx
jne 0x1011607b
mov dword [eax + 0x3e6c], edx
cmp dword [eax + 0x3eac], edx
jne 0x1011608a
mov byte [eax + 0x3eb0], 1
push 0x40800
lea eax, [ebp - 0x25]
push eax
lea eax, [ebp - 0x26]
push eax
lea ecx, [ebp - 0x68]
call fcn.1013cd90
mov cl, byte [ebp - 0x26]
add esp, 0xc
test cl, cl
jne 0x101160b4
mov al, byte [ebp - 0x25]
test al, al
je 0x10116350
mov edx, dword [ebp - 0x2c]
mov eax, edx
mov ecx, dword [ebp - 0x48]
not eax
and eax, 1
add eax, 5
mov dword [ecx + 0x4150], eax
mov al, byte [ebp - 0x25]
test al, al
je 0x10116358
cmp word [ecx + 0x367a], 2
jne 0x10116129
test edx, edx
jne 0x10116129
push dword [ebp - 0x50]
mov edi, dword [ebp - 0x38]
lea ecx, [ebp - 0x70]
mov edx, edi
call fcn.10115740
add esp, 4
mov byte [ebp - 0x27], 1
movss xmm3, dword [eax]
movss xmm2, dword [eax + 4]
movss dword [ebp - 0x4c], xmm3
movss dword [ebp - 0x30], xmm2
call fcn.10110fb0
mov edx, dword [ebp - 0x2c]
cmp byte [ebp - 0x25], 0
je 0x10116372
mov ecx, 0x20
jmp 0x1011637d
mov edx, dword [ebp - 0x20]
movss xmm3, dword [0x106541ec]
mov edi, dword [ebx + 0x14]
movss xmm2, dword [0x10654480]
movss xmm0, dword [edx*8 + 0x1064bc94]
ucomiss xmm0, xmm3
lahf
test ah, 0x44
jp 0x10116158
movss xmm6, dword [edi + 4]
jmp 0x1011615b
movaps xmm6, xmm2
movss xmm1, dword [edx*8 + 0x1064bc90]
ucomiss xmm1, xmm3
lahf
test ah, 0x44
jp 0x10116173
movss xmm4, dword [edi]
jmp 0x10116176
movaps xmm4, xmm2
xorps xmm2, xmm2
ucomiss xmm0, xmm2
lahf
test ah, 0x44
jp 0x10116196
movss xmm0, dword [edi + 0xc]
movss dword [ebp - 0x34], xmm0
movss xmm0, dword [0x1065441c]
jmp 0x101161a3
movss xmm0, dword [0x1065441c]
movss dword [ebp - 0x34], xmm0
ucomiss xmm1, xmm2
lahf
test ah, 0x44
jp 0x101161b3
movss xmm7, dword [edi + 8]
jmp 0x101161b6
movaps xmm7, xmm0
movss xmm5, dword [edx*8 + 0x1064bc98]
xorps xmm3, xmm3
movss xmm2, dword [edx*8 + 0x1064bc9c]
movaps xmm0, xmm5
mulss xmm0, dword [ebp - 0x44]
movaps xmm1, xmm2
mulss xmm1, dword [ebp - 0x44]
cvtsi2ss xmm3, esi
xorps xmm3, xmmword [0x10654a00]
mulss xmm5, xmm3
mulss xmm2, xmm3
subss xmm5, xmm0
subss xmm2, xmm1
mulss xmm5, dword [edx*8 + 0x1064bc90]
mulss xmm2, dword [edx*8 + 0x1064bc94]
addss xmm5, xmm0
movss xmm0, dword [ecx + 0xd50]
subss xmm0, dword [ecx + 0x3e98]
addss xmm2, xmm1
addss xmm5, xmm0
movss xmm0, dword [ecx + 0xd54]
subss xmm0, dword [ecx + 0x3e9c]
addss xmm0, xmm2
comiss xmm6, xmm0
ja 0x10116246
movss xmm6, dword [ebp - 0x34]
minss xmm6, xmm0
comiss xmm4, xmm5
ja 0x10116252
movaps xmm4, xmm7
minss xmm4, xmm5
mov edi, dword [ebp - 0x38]
lea eax, [ebp - 0xc]
movss xmm5, dword [edx*8 + 0x1064bc90]
lea ecx, [ebp - 0x58]
movss xmm7, dword [edx*8 + 0x1064bc94]
mov edx, edi
push eax
movss xmm0, dword [edi + 0x1c]
movss xmm1, dword [edi + 0x20]
movaps xmm2, xmm0
addss xmm0, dword [edi + 0x24]
subss xmm2, xmm4
movaps xmm3, xmm1
addss xmm1, dword [edi + 0x28]
subss xmm3, xmm6
mulss xmm2, xmm5
mulss xmm3, xmm7
addss xmm2, xmm4
subss xmm4, xmm0
addss xmm3, xmm6
subss xmm6, xmm1
movss dword [ebp - 0x3c], xmm2
mulss xmm4, xmm5
mulss xmm6, xmm7
addss xmm4, xmm0
movss dword [ebp - 0x40], xmm3
addss xmm6, xmm1
subss xmm4, xmm2
subss xmm6, xmm3
movss dword [ebp - 0xc], xmm4
movss dword [ebp - 8], xmm6
call fcn.10115740
mov ecx, dword [ebp - 0x20]
add esp, 4
movss xmm3, dword [ebp - 0x58]
xorps xmm2, xmm2
movss dword [ebp - 0x4c], xmm3
movss xmm0, dword [ecx*8 + 0x1064bc90]
ucomiss xmm0, xmm2
lahf
test ah, 0x44
jp 0x10116316
movss xmm1, dword [ebp - 0x3c]
movaps xmm0, xmm3
subss xmm0, dword [ebp - 0xc]
subss xmm1, xmm0
movss dword [ebp - 0x3c], xmm1
movss xmm0, dword [ecx*8 + 0x1064bc94]
ucomiss xmm0, xmm2
movss xmm2, dword [ebp - 0x54]
movss dword [ebp - 0x30], xmm2
lahf
test ah, 0x44
jp 0x10116348
movss xmm1, dword [ebp - 0x40]
movaps xmm0, xmm2
subss xmm0, dword [ebp - 8]
subss xmm1, xmm0
movss dword [ebp - 0x40], xmm1
mov edx, dword [ebp - 0x2c]
mov al, byte [ebp - 0x25]
jmp 0x1011635b
mov edi, dword [ebp - 0x38]
mov edx, dword [ebp - 0x2c]
jmp 0x1011635e
mov edi, dword [ebp - 0x38]
mov cl, byte [ebp - 0x26]
test edx, edx
je 0x10116115
test al, al
jne 0x1011611f
test cl, cl
je 0x10116390
xor ecx, ecx
cmp byte [ebp - 0x26], cl
setne cl
add ecx, 0x1e
movss xmm1, dword [0x106541ec]
call fcn.1010f1e0
mov ecx, dword [ebp - 0x7c]
mov dword [ecx + edx*4], eax
inc edx
mov dword [ebp - 0x2c], edx
cmp edx, dword [ebx + 0xc]
jl 0x10115f50
xor edi, edi
mov dword [ebp - 0x24], edi
cmp dword [ebp - 0x78], edi
jbe 0x1011668a
nop dword [eax + eax]
lea eax, [edi*8]
sub eax, edi
shl eax, 2
mov dword [ebp - 0x5c], eax
test edi, edi
je 0x101163e2
cmp edi, 1
je 0x101163e2
mov dword [ebp - 0x34], 3
lea eax, [ebp - 8]
mov dword [ebp - 0x44], 0xd54
mov dword [ebp - 0x2c], 0x3e9c
jmp 0x101163fa
mov dword [ebp - 0x34], 4
lea eax, [ebp - 0xc]
mov dword [ebp - 0x44], 0xd50
mov dword [ebp - 0x2c], 0x3e98
mov edx, dword [ebp - 0x38]
movd xmm0, esi
push ecx
cvtdq2ps xmm3, xmm0
mov dword [esp], 0x40800000
lea ecx, [ebp - 0x1c]
push edi
mov dword [ebp - 0x50], eax
call fcn.10115d00
mov ecx, dword [edx + 0xd4]
lea eax, [edi + 4]
mov dword [ebp - 0x20], eax
lea esi, [ebp - 0x20]
mov eax, dword [edx + 0xdc]
add esp, 8
mov edi, 4
mov edx, dword [eax + ecx*4 - 4]
not edx
nop dword [eax + eax]
movzx eax, byte [esi]
lea esi, [esi + 1]
movzx ecx, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x1064bcf0]
sub edi, 1
jne 0x10116440
mov eax, dword [0x106d663c]
not edx
mov esi, dword [ebp - 0x74]
mov edi, dword [ebp - 0x24]
mov dword [ebp - 0x20], edx
cmp dword [eax + 0x3e50], edx
jne 0x1011648f
push ecx
mov ecx, dword [ebp - 0x20]
lea eax, [edi + 4]
push eax
mov edx, 4
call fcn.10121d60
mov eax, dword [0x106d663c]
add esp, 8
mov edx, dword [ebp - 0x20]
cmp dword [eax + 0x3e68], edx
jne 0x1011649d
mov dword [eax + 0x3e6c], edx
cmp dword [eax + 0x3eac], edx
jne 0x101164ac
mov byte [eax + 0x3eb0], 1
push 0x40800
lea eax, [ebp - 0x25]
push eax
lea eax, [ebp - 0x26]
push eax
lea ecx, [ebp - 0x1c]
call fcn.1013cd90
mov al, byte [ebp - 0x25]
add esp, 0xc
cmp byte [ebp - 0x26], 0
mov edx, dword [ebp - 0x48]
je 0x101164e1
movss xmm0, dword [edx + 0x3e60]
comiss xmm0, dword [0x1065416c]
ja 0x101164e9
test al, al
je 0x1011667d
mov ecx, dword [ebp - 0x34]
mov dword [edx + 0x4150], ecx
test al, al
je 0x1011667d
mov eax, dword [ebp - 0x80]
mov dword [eax], edi
cmp edi, 3
jne 0x101166e7
mov eax, dword [ebx + 0x14]
movss xmm4, dword [0x10654480]
movss xmm3, dword [eax + 4]
movss xmm1, dword [0x1065441c]
movss xmm5, dword [0x1065441c]
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x44]
movss xmm0, dword [eax + 0x1c]
movss dword [ebp - 0xc], xmm0
movss xmm0, dword [eax + 0x20]
movss dword [ebp - 8], xmm0
movss xmm0, dword [ecx + edx]
mov ecx, dword [ebp - 0x2c]
subss xmm0, dword [ecx + edx]
mov ecx, dword [ebp - 0x50]
addss xmm0, dword [0x106542c8]
movss dword [ecx], xmm0
movss xmm0, dword [ebp - 8]
comiss xmm3, xmm0
ja 0x1011656f
movaps xmm3, xmm1
minss xmm3, xmm0
movss xmm0, dword [ebp - 0xc]
comiss xmm4, xmm0
ja 0x10116580
movaps xmm4, xmm5
minss xmm4, xmm0
mov ecx, dword [ebp - 0x5c]
mov edx, eax
movss xmm0, dword [eax + 0x1c]
movss xmm1, dword [eax + 0x20]
movaps xmm5, xmm0
addss xmm0, dword [eax + 0x24]
movss xmm7, dword [ecx + 0x1064bafc]
subss xmm5, xmm4
minss xmm7, dword [ecx + 0x1064bb04]
movss xmm2, dword [ecx + 0x1064baf8]
movaps xmm6, xmm1
minss xmm2, dword [ecx + 0x1064bb00]
addss xmm1, dword [eax + 0x28]
subss xmm6, xmm3
lea ecx, [ebp - 0x58]
movss dword [ebp - 0x24], xmm7
push ecx
mulss xmm5, xmm2
lea ecx, [ebp - 0x70]
mulss xmm6, xmm7
addss xmm5, xmm4
movss dword [ebp - 0x5c], xmm2
subss xmm4, xmm0
addss xmm6, xmm3
subss xmm3, xmm1
movss dword [ebp - 0x3c], xmm5
mulss xmm4, xmm2
mulss xmm3, xmm7
addss xmm4, xmm0
movss dword [ebp - 0x40], xmm6
addss xmm3, xmm1
subss xmm4, xmm5
subss xmm3, xmm6
movss dword [ebp - 0x58], xmm4
movss dword [ebp - 0x54], xmm3
call fcn.10115740
movss xmm0, dword [ebp - 0x5c]
add esp, 4
xorps xmm2, xmm2
ucomiss xmm0, xmm2
movss xmm0, dword [ebp - 0x70]
movss dword [ebp - 0x4c], xmm0
lahf
test ah, 0x44
jp 0x10116652
subss xmm0, dword [ebp - 0x58]
movss xmm1, dword [ebp - 0x3c]
subss xmm1, xmm0
movss dword [ebp - 0x3c], xmm1
movss xmm0, dword [ebp - 0x24]
ucomiss xmm0, xmm2
movss xmm0, dword [ebp - 0x6c]
movss dword [ebp - 0x30], xmm0
lahf
test ah, 0x44
jp 0x1011667d
subss xmm0, dword [ebp - 0x54]
movss xmm1, dword [ebp - 0x40]
subss xmm1, xmm0
movss dword [ebp - 0x40], xmm1
inc edi
mov dword [ebp - 0x24], edi
cmp edi, dword [ebp - 0x78]
jl 0x101163b0
mov edi, dword [0x106d663c]
mov esi, dword [ebp - 0x38]
mov eax, dword [edi + 0x3e30]
dec dword [eax + 0xd4]
mov eax, dword [ebp - 0x48]
mov dword [esi + 0x134], 0
mov ecx, dword [eax + 0x4134]
test ecx, ecx
je 0x1011684a
cmp dword [ecx + 0x2f0], esi
jne 0x1011684a
mov ecx, dword [eax + 0x4018]
cmp ecx, 2
jne 0x1011673b
cmp byte [eax + 0xd69], 0
je 0x1011684a
push ecx
lea edx, [ecx - 1]
lea ecx, [ebp - 0x58]
jmp 0x1011674b
movss xmm1, dword [0x10654480]
movaps xmm3, xmm1
movaps xmm0, xmm3
cmp edi, 1
jne 0x10116706
mov eax, dword [ebx + 0x14]
movss xmm4, dword [eax]
jmp 0x10116518
movaps xmm4, xmm1
movaps xmm2, xmm4
cmp edi, 2
jne 0x1011671e
mov eax, dword [ebx + 0x14]
movss xmm1, dword [eax + 0xc]
jmp 0x10116520
movss xmm1, dword [0x1065441c]
test edi, edi
jne 0x10116520
mov eax, dword [ebx + 0x14]
movss xmm5, dword [eax + 8]
jmp 0x10116528
cmp ecx, 3
jne 0x1011684a
push ecx
lea edx, [ecx + 1]
lea ecx, [ebp - 0xc]
mov dword [esp], 0
xorps xmm3, xmm3
push 0
call fcn.1011e1b0
add esp, 8
xorps xmm5, xmm5
movss xmm4, dword [eax]
movss xmm3, dword [eax + 4]
ucomiss xmm4, xmm5
lahf
test ah, 0x44
jp 0x10116781
ucomiss xmm3, xmm5
lahf
test ah, 0x44
jnp 0x1011684d
mov ecx, dword [ebp - 0x48]
movss xmm1, dword [ecx + 0x50]
movss xmm0, dword [ecx + 0x18]
mulss xmm0, dword [0x106543e8]
minss xmm1, dword [ecx + 0x54]
mulss xmm1, xmm0
cvttss2si eax, xmm1
movss xmm1, dword [0x106541ec]
movd xmm2, eax
mov eax, dword [ebx + 0x14]
cvtdq2ps xmm2, xmm2
movss xmm0, dword [eax]
subss xmm0, dword [esi + 0x1c]
movaps xmm7, xmm2
mulss xmm3, xmm2
mulss xmm7, xmm4
subss xmm0, dword [esi + 0x24]
maxss xmm7, xmm0
movss xmm0, dword [eax + 4]
subss xmm0, dword [esi + 0x20]
subss xmm0, dword [esi + 0x28]
mov byte [ecx + 0x4148], 0
mov byte [ecx + 0x4023], 1
mov ecx, 0x20
maxss xmm3, xmm0
movss dword [ebp - 0x5c], xmm3
call fcn.1010f1e0
mov ecx, dword [ebp - 0x7c]
mov edx, esi
movss xmm0, dword [ebp - 0x5c]
mov dword [ecx], eax
lea eax, [ebp - 0x70]
addss xmm7, dword [esi + 0x2c]
addss xmm0, dword [esi + 0x30]
push eax
lea ecx, [ebp - 0x60]
movss dword [ebp - 0x70], xmm7
movss dword [ebp - 0x6c], xmm0
call fcn.10115740
mov edi, dword [0x106d663c]
add esp, 4
xorps xmm5, xmm5
movss xmm0, dword [eax]
movss dword [ebp - 0x4c], xmm0
movss xmm0, dword [eax + 4]
jmp 0x10116852
xorps xmm5, xmm5
movss xmm0, dword [ebp - 0x30]
movss xmm1, dword [0x1065441c]
movss xmm2, dword [ebp - 0x4c]
ucomiss xmm2, xmm1
lahf
test ah, 0x44
jnp 0x1011688d
test dword [esi + 0x14], 0x100
movss dword [esi + 0x2c], xmm2
movss dword [esi + 0x30], xmm0
jne 0x1011688d
comiss xmm5, dword [edi + 0x5200]
jb 0x1011688d
mov eax, dword [edi + 0x1c]
mov dword [edi + 0x5200], eax
movss xmm0, dword [ebp - 0x3c]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x101168d7
test dword [esi + 0x14], 0x100
cvttss2si eax, xmm0
movd xmm1, eax
cvttss2si eax, dword [ebp - 0x40]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esi + 0x1c], xmm1
movss dword [esi + 0x20], xmm0
jne 0x101168d7
comiss xmm5, dword [edi + 0x5200]
jb 0x101168d7
mov ecx, dword [edi + 0x1c]
mov dword [edi + 0x5200], ecx
mov ecx, dword [esi + 0x2c]
mov edx, dword [esi + 0x30]
mov al, byte [ebp - 0x27]
mov dword [esi + 0x24], ecx
mov dword [esi + 0x28], edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.102c15f2
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.102c15f2
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret