Function at 0x1002e410
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 [0x100ca00c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebx + 8]
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x6c], eax
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0x60], eax
mov eax, dword [0x100ebc2c]
test byte [edi + 8], 0x42
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x58], edi
mov dword [ebp - 0x38], eax
jne 0x1002ed40
cmp dword [edi + 0x90], 0
jg 0x1002ed40
cmp dword [edi + 0x94], 0
jg 0x1002ed40
cmp byte [edi + 0x7b], 0
je 0x1002ed40
movss xmm2, dword [eax + 0x190c]
xor edx, edx
movss xmm0, dword [edi + 0x44]
movaps xmm1, xmm2
addss xmm0, dword [0x100c4cc0]
mulss xmm2, dword [0x100c4c74]
mov esi, 4
mov cl, byte [eax + 0xaf]
mulss xmm1, dword [0x100c4cc4]
test cl, cl
addss xmm0, xmm2
cmovne edx, esi
mov dword [ebp - 0x5c], edx
maxss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x100c4ca8]
cvttss2si esi, xmm0
mov dword [ebp - 0x54], esi
je 0x1002e4ea
movss xmm0, dword [0x100c4d30]
jmp 0x1002e4ed
xorps xmm0, xmm0
movss dword [ebp - 0x2c], xmm0
mov ecx, str.RESIZE
movss xmm0, dword [0x100c4e28]
movss dword [ebp - 0x30], xmm0
movss dword [ebp - 0x34], xmm0
movss dword [ebp - 0x3c], xmm0
movss dword [ebp - 0x28], xmm0
mov dword [edi + 0x130], 1
mov dword [edi + 0x134], 2
call fcn.10044c60
xor edx, edx
mov dword [ebp - 0x24], edx
cmp dword [ebx + 0xc], edx
jle 0x1002e8b4
nop word [eax + eax]
movss xmm0, dword [edi + 0xc]
lea eax, [edx + edx*2]
movss xmm1, dword [edi + 0x10]
movaps xmm3, xmm0
addss xmm3, dword [edi + 0x14]
movaps xmm2, xmm1
mov dword [ebp - 0x50], eax
addss xmm2, dword [edi + 0x18]
xorps xmm6, xmm6
cvtsi2ss xmm6, esi
subss xmm3, xmm0
subss xmm2, xmm1
mulss xmm3, dword [eax*8 + 0x100cb190]
mulss xmm2, dword [eax*8 + 0x100cb194]
addss xmm3, xmm0
movss xmm0, dword [eax*8 + 0x100cb198]
movaps xmm5, xmm0
mulss xmm0, dword [ebp - 0x2c]
addss xmm2, xmm1
mulss xmm5, xmm6
movss xmm1, dword [eax*8 + 0x100cb19c]
movaps xmm4, xmm1
mulss xmm1, dword [ebp - 0x2c]
mulss xmm4, xmm6
addss xmm5, xmm3
subss xmm3, xmm0
addss xmm4, xmm2
subss xmm2, xmm1
movss dword [ebp - 0xc], xmm5
comiss xmm3, xmm5
movss dword [ebp - 0x14], xmm3
movss dword [ebp - 0x10], xmm2
movss dword [ebp - 8], xmm4
jbe 0x1002e5e6
movss dword [ebp - 0x14], xmm5
movss dword [ebp - 0xc], xmm3
comiss xmm2, xmm4
jbe 0x1002e5f5
movss dword [ebp - 0x10], xmm4
movss dword [ebp - 8], xmm2
mov ecx, dword [edi + 0x1c4]
lea esi, [ebp - 0x18]
mov eax, dword [edi + 0x1cc]
mov edi, 4
mov dword [ebp - 0x18], 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 + 0x100715d8]
sub edi, 1
jne 0x1002e612
mov eax, dword [0x100ebc2c]
not edx
mov esi, dword [ebp - 0x54]
mov edi, dword [ebp - 0x58]
cmp dword [eax + 0x1a0c], edx
jne 0x1002e647
mov dword [eax + 0x1a14], edx
cmp dword [eax + 0x1a10], edx
jne 0x1002e656
mov byte [eax + 0x1a20], 1
push 0x2020
lea eax, [ebp - 0x1e]
push eax
lea eax, [ebp - 0x1d]
push eax
lea ecx, [ebp - 0x14]
call fcn.1005c060
mov cl, byte [ebp - 0x1d]
add esp, 0xc
test cl, cl
jne 0x1002e680
mov al, byte [ebp - 0x1e]
test al, al
je 0x1002e9dd
mov edx, dword [ebp - 0x24]
mov eax, edx
mov ecx, dword [ebp - 0x38]
not eax
and eax, 1
add eax, 5
mov dword [ecx + 0x1d54], eax
mov al, byte [ebp - 0x1e]
test al, al
je 0x1002e872
cmp byte [ecx + 0x3dd], 0
je 0x1002e6f2
test edx, edx
jne 0x1002e6f2
mov eax, dword [ebp - 0x40]
lea ecx, [ebp - 0x74]
mov edx, edi
push dword [eax + 4]
push dword [eax]
call fcn.1002dee0
add esp, 8
movss xmm3, dword [eax]
movss xmm2, dword [eax + 4]
movss dword [ebp - 0x3c], xmm3
movss dword [ebp - 0x28], xmm2
call fcn.1002a110
mov edx, dword [ebp - 0x24]
cmp byte [ebp - 0x1e], 0
je 0x1002e889
mov ecx, 0x23
jmp 0x1002e894
mov eax, dword [ebp - 0x50]
mov edx, edi
movss xmm7, dword [ecx + 0xe4]
subss xmm7, dword [ecx + 0x1a30]
movd xmm3, esi
movss xmm2, dword [eax*8 + 0x100cb19c]
movss xmm6, dword [eax*8 + 0x100cb198]
movaps xmm1, xmm2
mulss xmm1, dword [ebp - 0x2c]
movaps xmm0, xmm6
mulss xmm0, dword [ebp - 0x2c]
movss xmm4, dword [eax*8 + 0x100cb190]
movss xmm5, dword [eax*8 + 0x100cb194]
cvtdq2ps xmm3, xmm3
xorps xmm3, xmmword [0x100c5290]
mulss xmm6, xmm3
mulss xmm2, xmm3
subss xmm6, xmm0
subss xmm2, xmm1
mulss xmm6, xmm4
mulss xmm2, xmm5
addss xmm6, xmm0
movss xmm0, dword [ecx + 0xe0]
subss xmm0, dword [ecx + 0x1a2c]
addss xmm2, xmm1
movss xmm1, dword [edi + 0x10]
movaps xmm3, xmm1
lea ecx, [ebp - 0x68]
addss xmm1, dword [edi + 0x18]
addss xmm6, xmm0
movss xmm0, dword [edi + 0xc]
addss xmm7, xmm2
movaps xmm2, xmm0
addss xmm0, dword [edi + 0x14]
subss xmm2, xmm6
subss xmm3, xmm7
mulss xmm2, xmm4
mulss xmm3, xmm5
addss xmm2, xmm6
subss xmm6, xmm0
addss xmm3, xmm7
subss xmm7, xmm1
movss dword [ebp - 0x30], xmm2
mulss xmm6, xmm4
mulss xmm7, xmm5
addss xmm6, xmm0
movss dword [ebp - 0x34], xmm3
addss xmm7, xmm1
subss xmm6, xmm2
subss xmm7, xmm3
movss dword [ebp - 0x4c], xmm6
movss dword [ebp - 0x18], xmm6
movss dword [ebp - 0x48], xmm7
push dword [ebp - 0x48]
movss dword [ebp - 0x1c], xmm7
push dword [ebp - 0x4c]
call fcn.1002dee0
mov ecx, dword [ebp - 0x50]
add esp, 8
movss xmm3, dword [ebp - 0x68]
xorps xmm1, xmm1
movss dword [ebp - 0x3c], xmm3
movss xmm0, dword [ecx*8 + 0x100cb190]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x1002e83a
movss xmm2, dword [ebp - 0x30]
movaps xmm0, xmm3
subss xmm0, dword [ebp - 0x18]
subss xmm2, xmm0
movss dword [ebp - 0x30], xmm2
movss xmm0, dword [ecx*8 + 0x100cb194]
movss xmm2, dword [ebp - 0x64]
ucomiss xmm0, xmm1
movss dword [ebp - 0x28], xmm2
lahf
test ah, 0x44
jp 0x1002e86c
movss xmm1, dword [ebp - 0x34]
movaps xmm0, xmm2
subss xmm0, dword [ebp - 0x1c]
subss xmm1, xmm0
movss dword [ebp - 0x34], xmm1
mov edx, dword [ebp - 0x24]
mov al, byte [ebp - 0x1e]
mov cl, byte [ebp - 0x1d]
test edx, edx
je 0x1002e6de
test al, al
jne 0x1002e6e8
test cl, cl
je 0x1002e8a7
xor ecx, ecx
cmp byte [ebp - 0x1d], cl
setne cl
add ecx, 0x21
movss xmm1, dword [0x100c4cc0]
call fcn.10028350
mov ecx, dword [ebp - 0x60]
mov dword [ecx + edx*4], eax
inc edx
mov dword [ebp - 0x24], edx
cmp edx, dword [ebx + 0xc]
jl 0x1002e540
xor edx, edx
mov dword [ebp - 0x2c], edx
cmp dword [ebp - 0x5c], edx
jbe 0x1002eb02
movd xmm0, esi
push ecx
cvtdq2ps xmm3, xmm0
mov dword [esp], 0x40800000
lea ecx, [ebp - 0x14]
push edx
mov edx, edi
call fcn.1002e2f0
mov eax, dword [ebp - 0x2c]
lea esi, [ebp - 0x1c]
mov ecx, dword [edi + 0x1c4]
add esp, 8
add eax, 4
mov dword [ebp - 0x1c], eax
mov eax, dword [edi + 0x1cc]
mov edi, 4
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 + 0x100715d8]
sub edi, 1
jne 0x1002e902
mov eax, dword [0x100ebc2c]
not edx
mov esi, dword [ebp - 0x54]
mov edi, dword [ebp - 0x58]
cmp dword [eax + 0x1a0c], edx
jne 0x1002e937
mov dword [eax + 0x1a14], edx
cmp dword [eax + 0x1a10], edx
jne 0x1002e946
mov byte [eax + 0x1a20], 1
push 0x20
lea eax, [ebp - 0x1d]
push eax
lea eax, [ebp - 0x1e]
push eax
lea ecx, [ebp - 0x14]
call fcn.1005c060
mov ecx, dword [ebp - 0x38]
add esp, 0xc
cmp byte [ebp - 0x1e], 0
je 0x1002e975
movss xmm0, dword [ecx + 0x1a04]
comiss xmm0, dword [0x100c4c60]
ja 0x1002e97f
cmp byte [ebp - 0x1d], 0
je 0x1002eaf2
mov edx, dword [ebp - 0x2c]
mov eax, edx
and eax, 1
add eax, 3
cmp byte [ebp - 0x1d], 0
mov dword [ecx + 0x1d54], eax
je 0x1002eaf5
mov eax, dword [ebp - 0x6c]
xorps xmm4, xmm4
movss dword [ebp - 0x28], xmm4
xorps xmm5, xmm5
movss dword [ebp - 0x24], xmm5
mov dword [eax], edx
movss xmm6, dword [edi + 0xc]
movss xmm7, dword [edi + 0x10]
movaps xmm0, xmm6
movaps xmm1, xmm7
test edx, edx
jne 0x1002e9e5
movss xmm1, dword [ecx + 0xe4]
subss xmm1, dword [ecx + 0x1a30]
addss xmm1, dword [0x100c4d30]
jmp 0x1002ea20
mov edx, dword [ebp - 0x24]
jmp 0x1002e875
cmp edx, 1
jne 0x1002e9f4
movss xmm5, dword [0x100c4cc0]
jmp 0x1002ea08
cmp edx, 2
jne 0x1002ea03
movss xmm4, dword [0x100c4cc0]
jmp 0x1002e9c3
cmp edx, 3
jne 0x1002ea2a
movss xmm0, dword [ecx + 0xe0]
subss xmm0, dword [ecx + 0x1a2c]
addss xmm0, dword [0x100c4d30]
movss dword [ebp - 0x28], xmm4
movss dword [ebp - 0x24], xmm5
movaps xmm3, xmm7
lea ecx, [ebp - 0x68]
addss xmm7, dword [edi + 0x18]
subss xmm3, xmm1
movaps xmm2, xmm6
addss xmm6, dword [edi + 0x14]
subss xmm2, xmm0
mov edx, edi
mulss xmm3, xmm4
mulss xmm2, xmm5
addss xmm3, xmm1
subss xmm1, xmm7
addss xmm2, xmm0
subss xmm0, xmm6
movss dword [ebp - 0x34], xmm3
mulss xmm1, xmm4
mulss xmm0, xmm5
addss xmm1, xmm7
movss dword [ebp - 0x30], xmm2
addss xmm0, xmm6
subss xmm1, xmm3
subss xmm0, xmm2
movss dword [ebp - 0x40], xmm1
push dword [ebp - 0x40]
movss dword [ebp - 0x44], xmm0
push dword [ebp - 0x44]
call fcn.1002dee0
movss xmm0, dword [ebp - 0x24]
add esp, 8
xorps xmm1, xmm1
ucomiss xmm0, xmm1
movss xmm0, dword [ebp - 0x68]
movss dword [ebp - 0x3c], xmm0
lahf
test ah, 0x44
jp 0x1002eac7
subss xmm0, dword [ebp - 0x44]
movss xmm2, dword [ebp - 0x30]
subss xmm2, xmm0
movss dword [ebp - 0x30], xmm2
movss xmm0, dword [ebp - 0x28]
ucomiss xmm0, xmm1
movss xmm0, dword [ebp - 0x64]
movss dword [ebp - 0x28], xmm0
lahf
test ah, 0x44
jp 0x1002eaf2
subss xmm0, dword [ebp - 0x40]
movss xmm1, dword [ebp - 0x34]
subss xmm1, xmm0
movss dword [ebp - 0x34], xmm1
mov edx, dword [ebp - 0x2c]
inc edx
mov dword [ebp - 0x2c], edx
cmp edx, dword [ebp - 0x5c]
jl 0x1002e8c2
mov esi, dword [0x100ebc2c]
mov ecx, dword [ebp - 0x38]
mov eax, dword [esi + 0x19ec]
dec dword [eax + 0x1c4]
mov eax, dword [ecx + 0x1b3c]
test eax, eax
je 0x1002ec93
cmp dword [eax + 0x2e8], edi
jne 0x1002ec93
mov eax, dword [ecx + 0x1b24]
cmp eax, 3
jne 0x1002eb7b
cmp byte [ecx + 0xf9], 0
je 0x1002ec93
xor edx, edx
lea ecx, [eax + 0x10]
call fcn.10046bb0
lea ecx, [edx + 0x12]
movaps xmm6, xmm0
call fcn.10046bb0
subss xmm6, xmm0
xorps xmm5, xmm5
lea ecx, [edx + 0x15]
addss xmm6, xmm5
movss dword [ebp - 0x2c], xmm6
call fcn.10046bb0
lea ecx, [edx + 0x14]
jmp 0x1002ebc0
xorps xmm7, xmm7
xorps xmm6, xmm6
movss dword [ebp - 0x24], xmm7
xorps xmm5, xmm5
movss dword [ebp - 0x2c], xmm6
cmp eax, 4
jne 0x1002ebda
xor edx, edx
lea ecx, [eax + 1]
call fcn.10046bb0
lea ecx, [edx + 4]
movaps xmm6, xmm0
call fcn.10046bb0
subss xmm6, xmm0
lea ecx, [edx + 7]
addss xmm6, xmm5
movss dword [ebp - 0x2c], xmm6
call fcn.10046bb0
lea ecx, [edx + 6]
xor edx, edx
movaps xmm7, xmm0
call fcn.10046bb0
mov ecx, dword [ebp - 0x38]
subss xmm7, xmm0
addss xmm7, xmm5
movss dword [ebp - 0x24], xmm7
ucomiss xmm6, xmm5
lahf
test ah, 0x44
jp 0x1002ebf0
ucomiss xmm7, xmm5
lahf
test ah, 0x44
jnp 0x1002ec96
movss xmm2, dword [ecx + 0xa4]
movss xmm0, dword [ecx + 0x18]
minss xmm2, dword [ecx + 0xa8]
mulss xmm0, dword [0x100c4df8]
mov byte [ecx + 0x1b50], 0
movss xmm1, dword [0x100c4cc0]
mov byte [ecx + 0x1b5f], 1
mov ecx, 0x23
mulss xmm2, xmm0
cvttss2si eax, xmm2
movd xmm7, eax
cvtdq2ps xmm7, xmm7
call fcn.10028350
mov edx, edi
mov ecx, dword [ebp - 0x60]
movss xmm0, dword [ebp - 0x2c]
mulss xmm0, xmm7
mov dword [ecx], eax
lea ecx, [ebp - 0x74]
addss xmm0, dword [edi + 0x1c]
movss dword [ebp - 0x4c], xmm0
movss xmm0, dword [ebp - 0x24]
mulss xmm0, xmm7
addss xmm0, dword [edi + 0x20]
movss dword [ebp - 0x48], xmm0
push dword [ebp - 0x48]
push dword [ebp - 0x4c]
call fcn.1002dee0
mov esi, dword [0x100ebc2c]
add esp, 8
xorps xmm5, xmm5
movss xmm0, dword [eax]
movss dword [ebp - 0x3c], xmm0
movss xmm0, dword [eax + 4]
jmp 0x1002ec9b
xorps xmm5, xmm5
movss xmm0, dword [ebp - 0x28]
movss xmm1, dword [ebp - 0x3c]
movss xmm2, dword [0x100c4e28]
ucomiss xmm1, xmm2
lahf
test ah, 0x44
jnp 0x1002ecd6
test dword [edi + 8], 0x100
movss dword [edi + 0x1c], xmm1
movss dword [edi + 0x20], xmm0
jne 0x1002ecd6
comiss xmm5, dword [esi + 0x2d34]
jb 0x1002ecd6
mov eax, dword [esi + 0x1c]
mov dword [esi + 0x2d34], eax
movss xmm0, dword [ebp - 0x30]
ucomiss xmm0, xmm2
lahf
test ah, 0x44
jnp 0x1002ed20
test dword [edi + 8], 0x100
cvttss2si eax, xmm0
movd xmm1, eax
cvttss2si eax, dword [ebp - 0x34]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0xc], xmm1
movss dword [edi + 0x10], xmm0
jne 0x1002ed20
comiss xmm5, dword [esi + 0x2d34]
jb 0x1002ed20
mov eax, dword [esi + 0x1c]
mov dword [esi + 0x2d34], eax
mov eax, dword [edi + 0x1c]
mov ecx, dword [edi + 0x20]
mov dword [edi + 0x130], 0
mov dword [edi + 0x134], 1
mov dword [edi + 0x14], eax
mov dword [edi + 0x18], ecx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.1006cd6e
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret