Function at 0x1001ecb0
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, 0x78
mov eax, dword [0x10105018]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebx + 8]
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x74], eax
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0x70], eax
mov eax, dword [0x10107a10]
test byte [edi + 8], 0x42
mov dword [ebp - 0x54], edx
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x48], eax
jne 0x1001f76e
cmp byte [edi + 0xa4], 0
jg 0x1001f76e
cmp byte [edi + 0xa5], 0
jg 0x1001f76e
cmp byte [edi + 0x8b], 0
je 0x1001f76e
movss xmm2, dword [eax + 0x1930]
xor edx, edx
movss xmm0, dword [edi + 0x44]
movaps xmm1, xmm2
addss xmm0, dword [0x100fcbb4]
mulss xmm2, dword [0x100fcb5c]
mov esi, 4
mov cl, byte [eax + 0xb4]
mulss xmm1, dword [0x100fcbc4]
test cl, cl
mov byte [ebp - 0x27], 0
addss xmm0, xmm2
cmovne edx, esi
mov dword [ebp - 0x6c], edx
maxss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x100fcb94]
cvttss2si esi, xmm0
mov dword [ebp - 0x68], esi
je 0x1001ed91
movss xmm0, dword [0x100fcc0c]
jmp 0x1001ed94
xorps xmm0, xmm0
movss dword [ebp - 0x44], xmm0
mov ecx, str.RESIZE
movss xmm0, dword [0x100fcc98]
movss dword [ebp - 0x3c], xmm0
movss dword [ebp - 0x40], xmm0
movss dword [ebp - 0x34], xmm0
movss dword [ebp - 0x2c], xmm0
mov dword [edi + 0x144], 1
call fcn.10023480
xor edx, edx
mov dword [ebp - 0x30], edx
cmp dword [ebx + 0xc], edx
jle 0x1001f205
nop word [eax + eax]
movss xmm0, dword [edi + 0xc]
lea ecx, [edx + edx*2]
movss xmm1, dword [edi + 0x10]
movaps xmm4, xmm0
addss xmm4, dword [edi + 0x14]
movaps xmm2, xmm1
mov dword [ebp - 0x4c], ecx
addss xmm2, dword [edi + 0x18]
xorps xmm6, xmm6
cvtsi2ss xmm6, esi
subss xmm4, xmm0
subss xmm2, xmm1
mulss xmm4, dword [ecx*8 + 0x10105c78]
mulss xmm2, dword [ecx*8 + 0x10105c7c]
addss xmm4, xmm0
movss xmm0, dword [ecx*8 + 0x10105c80]
movaps xmm5, xmm0
mulss xmm0, dword [ebp - 0x44]
addss xmm2, xmm1
mulss xmm5, xmm6
movss xmm1, dword [ecx*8 + 0x10105c84]
movaps xmm3, xmm1
mulss xmm1, dword [ebp - 0x44]
mulss xmm3, xmm6
addss xmm5, xmm4
subss xmm4, xmm0
addss xmm3, xmm2
subss xmm2, xmm1
movss dword [ebp - 0x1c], xmm5
comiss xmm4, xmm5
movss dword [ebp - 0x24], xmm4
movss dword [ebp - 0x20], xmm2
movss dword [ebp - 0x18], xmm3
jbe 0x1001ee86
movss dword [ebp - 0x24], xmm5
movss dword [ebp - 0x1c], xmm4
comiss xmm2, xmm3
jbe 0x1001ee95
movss dword [ebp - 0x20], xmm3
movss dword [ebp - 0x18], xmm2
mov ecx, dword [edi + 0xc4]
mov esi, 4
mov eax, dword [edi + 0xcc]
lea edi, [ebp - 0x10]
mov dword [ebp - 0x10], 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 + 0x100f7f20]
sub esi, 1
jne 0x1001eeb2
mov eax, dword [0x10107a10]
not edx
mov esi, dword [ebp - 0x68]
cmp dword [eax + 0x1bd4], edx
jne 0x1001eee4
mov dword [eax + 0x1bd8], edx
cmp dword [eax + 0x1c0c], edx
jne 0x1001eef3
mov byte [eax + 0x1c10], 1
push 0x40800
lea eax, [ebp - 0x25]
push eax
lea eax, [ebp - 0x26]
push eax
lea ecx, [ebp - 0x24]
call fcn.100346e0
mov cl, byte [ebp - 0x26]
add esp, 0xc
test cl, cl
jne 0x1001ef1d
mov al, byte [ebp - 0x25]
test al, al
je 0x1001f1b8
mov edx, dword [ebp - 0x30]
mov eax, edx
mov ecx, dword [ebp - 0x48]
not eax
and eax, 1
add eax, 5
mov dword [ecx + 0x1e40], eax
mov al, byte [ebp - 0x25]
test al, al
je 0x1001f1c0
cmp byte [ecx + 0x3dd], 0
je 0x1001ef91
test edx, edx
jne 0x1001ef91
push dword [ebp - 0x54]
mov edi, dword [ebp - 0x38]
lea ecx, [ebp - 0x64]
mov edx, edi
call fcn.1001e5d0
add esp, 4
mov byte [ebp - 0x27], 1
movss xmm3, dword [eax]
movss xmm2, dword [eax + 4]
movss dword [ebp - 0x34], xmm3
movss dword [ebp - 0x2c], xmm2
call fcn.10019d30
mov edx, dword [ebp - 0x30]
cmp byte [ebp - 0x25], 0
je 0x1001f1da
mov ecx, 0x20
jmp 0x1001f1e5
mov edx, dword [ebp - 0x4c]
movss xmm3, dword [0x100fcbb4]
mov edi, dword [ebx + 0x14]
movss xmm2, dword [0x100fccd4]
movss xmm0, dword [edx*8 + 0x10105c7c]
ucomiss xmm0, xmm3
lahf
test ah, 0x44
jp 0x1001efc0
movss xmm6, dword [edi + 4]
jmp 0x1001efc3
movaps xmm6, xmm2
movss xmm1, dword [edx*8 + 0x10105c78]
ucomiss xmm1, xmm3
lahf
test ah, 0x44
jp 0x1001efdb
movss xmm4, dword [edi]
jmp 0x1001efde
movaps xmm4, xmm2
xorps xmm2, xmm2
ucomiss xmm0, xmm2
lahf
test ah, 0x44
jp 0x1001effe
movss xmm0, dword [edi + 0xc]
movss dword [ebp - 0x34], xmm0
movss xmm0, dword [0x100fcc98]
jmp 0x1001f00b
movss xmm0, dword [0x100fcc98]
movss dword [ebp - 0x34], xmm0
ucomiss xmm1, xmm2
lahf
test ah, 0x44
jp 0x1001f01b
movss xmm7, dword [edi + 8]
jmp 0x1001f01e
movaps xmm7, xmm0
movss xmm5, dword [edx*8 + 0x10105c80]
xorps xmm3, xmm3
movss xmm2, dword [edx*8 + 0x10105c84]
movaps xmm0, xmm5
mulss xmm0, dword [ebp - 0x44]
movaps xmm1, xmm2
mulss xmm1, dword [ebp - 0x44]
cvtsi2ss xmm3, esi
xorps xmm3, xmmword [0x100fd010]
mulss xmm5, xmm3
mulss xmm2, xmm3
subss xmm5, xmm0
subss xmm2, xmm1
mulss xmm5, dword [edx*8 + 0x10105c78]
mulss xmm2, dword [edx*8 + 0x10105c7c]
addss xmm5, xmm0
movss xmm0, dword [ecx + 0xe4]
subss xmm0, dword [ecx + 0x1bf8]
addss xmm2, xmm1
addss xmm5, xmm0
movss xmm0, dword [ecx + 0xe8]
subss xmm0, dword [ecx + 0x1bfc]
addss xmm0, xmm2
comiss xmm6, xmm0
ja 0x1001f0ae
movss xmm6, dword [ebp - 0x34]
minss xmm6, xmm0
comiss xmm4, xmm5
ja 0x1001f0ba
movaps xmm4, xmm7
minss xmm4, xmm5
mov edi, dword [ebp - 0x38]
lea eax, [ebp - 0xc]
movss xmm5, dword [edx*8 + 0x10105c78]
lea ecx, [ebp - 0x5c]
movss xmm7, dword [edx*8 + 0x10105c7c]
mov edx, edi
push eax
movss xmm0, dword [edi + 0xc]
movss xmm1, dword [edi + 0x10]
movaps xmm2, xmm0
addss xmm0, dword [edi + 0x14]
subss xmm2, xmm4
movaps xmm3, xmm1
addss xmm1, dword [edi + 0x18]
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.1001e5d0
mov ecx, dword [ebp - 0x4c]
add esp, 4
movss xmm3, dword [ebp - 0x5c]
xorps xmm2, xmm2
movss dword [ebp - 0x34], xmm3
movss xmm0, dword [ecx*8 + 0x10105c78]
ucomiss xmm0, xmm2
lahf
test ah, 0x44
jp 0x1001f17e
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 + 0x10105c7c]
ucomiss xmm0, xmm2
movss xmm2, dword [ebp - 0x58]
movss dword [ebp - 0x2c], xmm2
lahf
test ah, 0x44
jp 0x1001f1b0
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 - 0x30]
mov al, byte [ebp - 0x25]
jmp 0x1001f1c3
mov edi, dword [ebp - 0x38]
mov edx, dword [ebp - 0x30]
jmp 0x1001f1c6
mov edi, dword [ebp - 0x38]
mov cl, byte [ebp - 0x26]
test edx, edx
je 0x1001ef7d
test al, al
jne 0x1001ef87
test cl, cl
je 0x1001f1f8
xor ecx, ecx
cmp byte [ebp - 0x26], cl
setne cl
add ecx, 0x1e
movss xmm1, dword [0x100fcbb4]
call fcn.10018700
mov ecx, dword [ebp - 0x70]
mov dword [ecx + edx*4], eax
inc edx
mov dword [ebp - 0x30], edx
cmp edx, dword [ebx + 0xc]
jl 0x1001ede0
xor edi, edi
mov dword [ebp - 0x10], edi
cmp dword [ebp - 0x6c], edi
jbe 0x1001f4c2
lea eax, [edi*8]
sub eax, edi
shl eax, 2
mov dword [ebp - 0x50], eax
test edi, edi
je 0x1001f245
cmp edi, 1
je 0x1001f245
mov dword [ebp - 0x4c], 3
lea eax, [ebp - 8]
mov dword [ebp - 0x44], 0xe8
mov dword [ebp - 0x30], 0x1bfc
jmp 0x1001f25d
mov dword [ebp - 0x4c], 4
lea eax, [ebp - 0xc]
mov dword [ebp - 0x44], 0xe4
mov dword [ebp - 0x30], 0x1bf8
mov edx, dword [ebp - 0x38]
movd xmm0, esi
push ecx
cvtdq2ps xmm3, xmm0
mov dword [esp], 0x40800000
lea ecx, [ebp - 0x24]
push edi
mov dword [ebp - 0x54], eax
call fcn.1001eb90
mov ecx, dword [edx + 0xc4]
lea eax, [edi + 4]
mov dword [ebp - 0x14], eax
lea esi, [ebp - 0x14]
mov eax, dword [edx + 0xcc]
add esp, 8
mov edi, 4
mov edx, dword [eax + ecx*4 - 4]
not edx
nop
movzx eax, byte [esi]
lea esi, [esi + 1]
movzx ecx, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x100f7f20]
sub edi, 1
jne 0x1001f2a0
mov eax, dword [0x10107a10]
not edx
mov esi, dword [ebp - 0x68]
mov edi, dword [ebp - 0x10]
cmp dword [eax + 0x1bd4], edx
jne 0x1001f2d5
mov dword [eax + 0x1bd8], edx
cmp dword [eax + 0x1c0c], edx
jne 0x1001f2e4
mov byte [eax + 0x1c10], 1
push 0x800
lea eax, [ebp - 0x25]
push eax
lea eax, [ebp - 0x26]
push eax
lea ecx, [ebp - 0x24]
call fcn.100346e0
mov al, byte [ebp - 0x25]
add esp, 0xc
cmp byte [ebp - 0x26], 0
mov edx, dword [ebp - 0x48]
je 0x1001f319
movss xmm0, dword [edx + 0x1bcc]
comiss xmm0, dword [0x100fcb44]
ja 0x1001f321
test al, al
je 0x1001f4b5
mov ecx, dword [ebp - 0x4c]
mov dword [edx + 0x1e40], ecx
test al, al
je 0x1001f4b5
mov eax, dword [ebp - 0x74]
mov dword [eax], edi
cmp edi, 3
jne 0x1001f543
mov eax, dword [ebx + 0x14]
movss xmm4, dword [0x100fccd4]
movss xmm3, dword [eax + 4]
movss xmm1, dword [0x100fcc98]
movss xmm5, dword [0x100fcc98]
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x44]
movss xmm0, dword [eax + 0xc]
movss dword [ebp - 0xc], xmm0
movss xmm0, dword [eax + 0x10]
movss dword [ebp - 8], xmm0
movss xmm0, dword [ecx + edx]
mov ecx, dword [ebp - 0x30]
subss xmm0, dword [ecx + edx]
mov ecx, dword [ebp - 0x54]
addss xmm0, dword [0x100fcc0c]
movss dword [ecx], xmm0
movss xmm0, dword [ebp - 8]
comiss xmm3, xmm0
ja 0x1001f3a7
movaps xmm3, xmm1
minss xmm3, xmm0
movss xmm0, dword [ebp - 0xc]
comiss xmm4, xmm0
ja 0x1001f3b8
movaps xmm4, xmm5
minss xmm4, xmm0
mov ecx, dword [ebp - 0x50]
mov edx, eax
movss xmm0, dword [eax + 0xc]
movss xmm1, dword [eax + 0x10]
movaps xmm5, xmm0
addss xmm0, dword [eax + 0x14]
movss xmm7, dword [ecx + 0x10105ce4]
subss xmm5, xmm4
minss xmm7, dword [ecx + 0x10105cec]
movss xmm2, dword [ecx + 0x10105ce0]
movaps xmm6, xmm1
minss xmm2, dword [ecx + 0x10105ce8]
addss xmm1, dword [eax + 0x18]
subss xmm6, xmm3
lea ecx, [ebp - 0x5c]
movss dword [ebp - 0x14], xmm7
push ecx
mulss xmm5, xmm2
lea ecx, [ebp - 0x64]
mulss xmm6, xmm7
addss xmm5, xmm4
movss dword [ebp - 0x50], 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 - 0x5c], xmm4
movss dword [ebp - 0x58], xmm3
call fcn.1001e5d0
movss xmm0, dword [ebp - 0x50]
add esp, 4
xorps xmm2, xmm2
ucomiss xmm0, xmm2
movss xmm0, dword [ebp - 0x64]
movss dword [ebp - 0x34], xmm0
lahf
test ah, 0x44
jp 0x1001f48a
subss xmm0, dword [ebp - 0x5c]
movss xmm1, dword [ebp - 0x3c]
subss xmm1, xmm0
movss dword [ebp - 0x3c], xmm1
movss xmm0, dword [ebp - 0x14]
ucomiss xmm0, xmm2
movss xmm0, dword [ebp - 0x60]
movss dword [ebp - 0x2c], xmm0
lahf
test ah, 0x44
jp 0x1001f4b5
subss xmm0, dword [ebp - 0x58]
movss xmm1, dword [ebp - 0x40]
subss xmm1, xmm0
movss dword [ebp - 0x40], xmm1
inc edi
mov dword [ebp - 0x10], edi
cmp edi, dword [ebp - 0x6c]
jl 0x1001f213
mov edi, dword [0x10107a10]
mov esi, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x48]
mov eax, dword [edi + 0x1b9c]
dec dword [eax + 0xc4]
mov dword [esi + 0x144], 0
mov eax, dword [ecx + 0x1e08]
test eax, eax
je 0x1001f6bf
cmp dword [eax + 0x31c], esi
jne 0x1001f6bf
mov eax, dword [ecx + 0x1d30]
cmp eax, 2
jne 0x1001f597
cmp byte [ecx + 0xfd], 0
je 0x1001f6bf
xor edx, edx
lea ecx, [eax + 0x12]
call fcn.10025ab0
lea ecx, [edx + 0x13]
movaps xmm7, xmm0
call fcn.10025ab0
lea ecx, [edx + 0x12]
subss xmm7, xmm0
call fcn.10025ab0
lea ecx, [edx + 0x11]
jmp 0x1001f5c4
movss xmm1, dword [0x100fccd4]
movaps xmm3, xmm1
movaps xmm0, xmm3
cmp edi, 1
jne 0x1001f562
mov eax, dword [ebx + 0x14]
movss xmm4, dword [eax]
jmp 0x1001f350
movaps xmm4, xmm1
movaps xmm2, xmm4
cmp edi, 2
jne 0x1001f57a
mov eax, dword [ebx + 0x14]
movss xmm1, dword [eax + 0xc]
jmp 0x1001f358
movss xmm1, dword [0x100fcc98]
test edi, edi
jne 0x1001f358
mov eax, dword [ebx + 0x14]
movss xmm5, dword [eax + 8]
jmp 0x1001f360
cmp eax, 3
jne 0x1001f6bf
xor edx, edx
lea ecx, [eax + 4]
call fcn.10025ab0
lea ecx, [edx + 6]
movaps xmm7, xmm0
call fcn.10025ab0
lea ecx, [edx + 5]
subss xmm7, xmm0
call fcn.10025ab0
lea ecx, [edx + 4]
xor edx, edx
movaps xmm5, xmm0
call fcn.10025ab0
subss xmm5, xmm0
xorps xmm3, xmm3
addss xmm7, xmm3
addss xmm5, xmm3
ucomiss xmm5, xmm3
lahf
test ah, 0x44
jp 0x1001f5f3
ucomiss xmm7, xmm3
lahf
test ah, 0x44
jnp 0x1001f6c2
mov ecx, dword [ebp - 0x48]
movss xmm1, dword [ecx + 0xa8]
movss xmm0, dword [ecx + 0x18]
mulss xmm0, dword [0x100fcc70]
minss xmm1, dword [ecx + 0xac]
mulss xmm1, xmm0
cvttss2si eax, xmm1
movss xmm1, dword [0x100fcbb4]
movd xmm2, eax
mov eax, dword [ebx + 0x14]
cvtdq2ps xmm2, xmm2
movss xmm0, dword [eax]
subss xmm0, dword [esi + 0xc]
mulss xmm5, xmm2
mulss xmm7, xmm2
subss xmm0, dword [esi + 0x14]
maxss xmm5, xmm0
movss xmm0, dword [eax + 4]
subss xmm0, dword [esi + 0x10]
movss dword [ebp - 0x50], xmm5
subss xmm0, dword [esi + 0x18]
mov byte [ecx + 0x1e1c], 0
mov byte [ecx + 0x1d53], 1
mov ecx, 0x20
maxss xmm7, xmm0
call fcn.10018700
mov ecx, dword [ebp - 0x70]
mov edx, esi
movss xmm0, dword [ebp - 0x50]
mov dword [ecx], eax
lea eax, [ebp - 0x64]
addss xmm0, dword [esi + 0x1c]
addss xmm7, dword [esi + 0x20]
push eax
lea ecx, [ebp - 0x5c]
movss dword [ebp - 0x64], xmm0
movss dword [ebp - 0x60], xmm7
call fcn.1001e5d0
mov edi, dword [0x10107a10]
add esp, 4
xorps xmm3, xmm3
movss xmm0, dword [eax]
movss dword [ebp - 0x34], xmm0
movss xmm0, dword [eax + 4]
jmp 0x1001f6c7
xorps xmm3, xmm3
movss xmm0, dword [ebp - 0x2c]
movss xmm1, dword [ebp - 0x34]
movss xmm2, dword [0x100fcc98]
ucomiss xmm1, xmm2
lahf
test ah, 0x44
jnp 0x1001f702
test dword [esi + 8], 0x100
movss dword [esi + 0x1c], xmm1
movss dword [esi + 0x20], xmm0
jne 0x1001f702
comiss xmm3, dword [edi + 0x2ed8]
jb 0x1001f702
mov eax, dword [edi + 0x1c]
mov dword [edi + 0x2ed8], eax
movss xmm0, dword [ebp - 0x3c]
ucomiss xmm0, xmm2
lahf
test ah, 0x44
jnp 0x1001f74c
test dword [esi + 8], 0x100
cvttss2si eax, xmm0
movd xmm1, eax
cvttss2si eax, dword [ebp - 0x40]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esi + 0xc], xmm1
movss dword [esi + 0x10], xmm0
jne 0x1001f74c
comiss xmm3, dword [edi + 0x2ed8]
jb 0x1001f74c
mov ecx, dword [edi + 0x1c]
mov dword [edi + 0x2ed8], ecx
mov ecx, dword [esi + 0x1c]
mov edx, dword [esi + 0x20]
mov al, byte [ebp - 0x27]
mov dword [esi + 0x14], ecx
mov dword [esi + 0x18], edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100a8abc
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.100a8abc
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret