Function at 0x41ea20
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 [0x46c040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebx + 8]
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x70], eax
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0x6c], eax
mov eax, dword [0x493db8]
test byte [edi + 8], 0x42
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x38], eax
jne 0x41f4f6
cmp byte [edi + 0xa8], 0
jg 0x41f4f6
cmp byte [edi + 0xa9], 0
jg 0x41f4f6
cmp byte [edi + 0x8f], 0
je 0x41f4f6
movss xmm2, dword [eax + 0x3bcc]
xor edx, edx
movss xmm0, dword [edi + 0x48]
movaps xmm1, xmm2
addss xmm0, dword [0x4678a4]
mulss xmm2, dword [0x467858]
mov esi, 4
mov cl, byte [eax + 0x5d]
mulss xmm1, dword [0x4678b0]
test cl, cl
mov byte [ebp - 0x17], 0
addss xmm0, xmm2
cmovne edx, esi
mov dword [ebp - 0x68], edx
maxss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x467888]
cvttss2si esi, xmm0
mov dword [ebp - 0x64], esi
je 0x41eb01
movss xmm0, dword [0x467900]
jmp 0x41eb04
xorps xmm0, xmm0
movss dword [ebp - 0x34], xmm0
mov ecx, str.RESIZE
movss xmm0, dword [0x467968]
movss dword [ebp - 0x2c], xmm0
movss dword [ebp - 0x30], xmm0
movss dword [ebp - 0x3c], xmm0
movss dword [ebp - 0x20], xmm0
mov dword [edi + 0x12c], 1
call fcn.00423080
xor edx, edx
mov dword [ebp - 0x1c], edx
cmp dword [ebx + 0xc], edx
jle 0x41ef9d
nop word [eax + eax]
movss xmm0, dword [edi + 0x10]
lea ecx, [edx + edx*2]
movss xmm1, dword [edi + 0x14]
movaps xmm3, xmm0
addss xmm3, dword [edi + 0x18]
movaps xmm2, xmm1
mov dword [ebp - 0x10], ecx
addss xmm2, dword [edi + 0x1c]
xorps xmm6, xmm6
cvtsi2ss xmm6, esi
subss xmm3, xmm0
subss xmm2, xmm1
mulss xmm3, dword [ecx*8 + 0x462860]
mulss xmm2, dword [ecx*8 + 0x462864]
addss xmm3, xmm0
movss xmm0, dword [ecx*8 + 0x462868]
movaps xmm5, xmm0
mulss xmm0, dword [ebp - 0x34]
addss xmm2, xmm1
mulss xmm5, xmm6
movss xmm1, dword [ecx*8 + 0x46286c]
movaps xmm4, xmm1
mulss xmm1, dword [ebp - 0x34]
mulss xmm4, xmm6
addss xmm5, xmm3
subss xmm3, xmm0
addss xmm4, xmm2
subss xmm2, xmm1
movss dword [ebp - 0x50], xmm5
comiss xmm3, xmm5
movss dword [ebp - 0x58], xmm3
movss dword [ebp - 0x54], xmm2
movss dword [ebp - 0x4c], xmm4
jbe 0x41ebf6
movss dword [ebp - 0x58], xmm5
movss dword [ebp - 0x50], xmm3
comiss xmm2, xmm4
jbe 0x41ec05
movss dword [ebp - 0x54], xmm4
movss dword [ebp - 0x4c], xmm2
mov ecx, dword [edi + 0xc8]
mov esi, 4
mov eax, dword [edi + 0xd0]
lea edi, [ebp - 0x14]
mov dword [ebp - 0x14], 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 + 0x4628c0]
sub esi, 1
jne 0x41ec22
mov eax, dword [0x493db8]
not edx
mov esi, dword [ebp - 0x64]
mov dword [ebp - 0x24], edx
cmp dword [eax + 0x3e50], edx
jne 0x41ec6d
push ecx
push dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x24]
mov edx, 4
call fcn.00429ca0
mov eax, dword [0x493db8]
add esp, 8
mov edx, dword [ebp - 0x24]
cmp dword [eax + 0x3e68], edx
jne 0x41ec7b
mov dword [eax + 0x3e6c], edx
cmp dword [eax + 0x3e90], edx
jne 0x41ec8a
mov byte [eax + 0x3e94], 1
push 0x40800
lea eax, [ebp - 0x15]
push eax
lea eax, [ebp - 0x16]
push eax
lea ecx, [ebp - 0x58]
call fcn.0043d880
mov cl, byte [ebp - 0x16]
add esp, 0xc
test cl, cl
jne 0x41ecb4
mov al, byte [ebp - 0x15]
test al, al
je 0x41ef50
mov edx, dword [ebp - 0x1c]
mov eax, edx
mov ecx, dword [ebp - 0x38]
not eax
and eax, 1
add eax, 5
mov dword [ecx + 0x4154], eax
mov al, byte [ebp - 0x15]
test al, al
je 0x41ef58
cmp word [ecx + 0x367a], 2
jne 0x41ed29
test edx, edx
jne 0x41ed29
push dword [ebp - 0x40]
mov edi, dword [ebp - 0x28]
lea ecx, [ebp - 0x60]
mov edx, edi
call fcn.0041e340
add esp, 4
mov byte [ebp - 0x17], 1
movss xmm3, dword [eax]
movss xmm2, dword [eax + 4]
movss dword [ebp - 0x3c], xmm3
movss dword [ebp - 0x20], xmm2
call fcn.00419390
mov edx, dword [ebp - 0x1c]
cmp byte [ebp - 0x15], 0
je 0x41ef72
mov ecx, 0x20
jmp 0x41ef7d
mov edx, dword [ebp - 0x10]
movss xmm3, dword [0x4678a4]
mov edi, dword [ebx + 0x14]
movss xmm2, dword [0x467980]
movss xmm0, dword [edx*8 + 0x462864]
ucomiss xmm0, xmm3
lahf
test ah, 0x44
jp 0x41ed58
movss xmm6, dword [edi + 4]
jmp 0x41ed5b
movaps xmm6, xmm2
movss xmm1, dword [edx*8 + 0x462860]
ucomiss xmm1, xmm3
lahf
test ah, 0x44
jp 0x41ed73
movss xmm5, dword [edi]
jmp 0x41ed76
movaps xmm5, xmm2
xorps xmm2, xmm2
ucomiss xmm0, xmm2
lahf
test ah, 0x44
jp 0x41ed96
movss xmm0, dword [edi + 0xc]
movss dword [ebp - 0x24], xmm0
movss xmm0, dword [0x467968]
jmp 0x41eda3
movss xmm0, dword [0x467968]
movss dword [ebp - 0x24], xmm0
ucomiss xmm1, xmm2
lahf
test ah, 0x44
jp 0x41edb3
movss xmm7, dword [edi + 8]
jmp 0x41edb6
movaps xmm7, xmm0
movss xmm4, dword [edx*8 + 0x462868]
xorps xmm3, xmm3
movss xmm2, dword [edx*8 + 0x46286c]
movaps xmm0, xmm4
mulss xmm0, dword [ebp - 0x34]
movaps xmm1, xmm2
mulss xmm1, dword [ebp - 0x34]
cvtsi2ss xmm3, esi
xorps xmm3, xmmword [0x467af0]
mulss xmm4, xmm3
mulss xmm2, xmm3
subss xmm4, xmm0
subss xmm2, xmm1
mulss xmm4, dword [edx*8 + 0x462860]
mulss xmm2, dword [edx*8 + 0x462864]
addss xmm4, xmm0
movss xmm0, dword [ecx + 0xd50]
subss xmm0, dword [ecx + 0x3e7c]
addss xmm2, xmm1
addss xmm4, xmm0
movss xmm0, dword [ecx + 0xd54]
subss xmm0, dword [ecx + 0x3e80]
addss xmm0, xmm2
comiss xmm6, xmm0
ja 0x41ee46
movss xmm6, dword [ebp - 0x24]
minss xmm6, xmm0
comiss xmm5, xmm4
ja 0x41ee52
movaps xmm5, xmm7
minss xmm5, xmm4
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0xc]
movss xmm4, dword [edx*8 + 0x462860]
lea ecx, [ebp - 0x48]
movss xmm7, dword [edx*8 + 0x462864]
mov edx, edi
push eax
movss xmm0, dword [edi + 0x10]
movss xmm1, dword [edi + 0x14]
movaps xmm2, xmm0
addss xmm0, dword [edi + 0x18]
subss xmm2, xmm5
movaps xmm3, xmm1
addss xmm1, dword [edi + 0x1c]
subss xmm3, xmm6
mulss xmm2, xmm4
mulss xmm3, xmm7
addss xmm2, xmm5
subss xmm5, xmm0
addss xmm3, xmm6
subss xmm6, xmm1
movss dword [ebp - 0x2c], xmm2
mulss xmm5, xmm4
mulss xmm6, xmm7
addss xmm5, xmm0
movss dword [ebp - 0x30], xmm3
addss xmm6, xmm1
subss xmm5, xmm2
subss xmm6, xmm3
movss dword [ebp - 0xc], xmm5
movss dword [ebp - 8], xmm6
call fcn.0041e340
mov ecx, dword [ebp - 0x10]
add esp, 4
movss xmm3, dword [ebp - 0x48]
xorps xmm2, xmm2
movss dword [ebp - 0x3c], xmm3
movss xmm0, dword [ecx*8 + 0x462860]
ucomiss xmm0, xmm2
lahf
test ah, 0x44
jp 0x41ef16
movss xmm1, dword [ebp - 0x2c]
movaps xmm0, xmm3
subss xmm0, dword [ebp - 0xc]
subss xmm1, xmm0
movss dword [ebp - 0x2c], xmm1
movss xmm0, dword [ecx*8 + 0x462864]
ucomiss xmm0, xmm2
movss xmm2, dword [ebp - 0x44]
movss dword [ebp - 0x20], xmm2
lahf
test ah, 0x44
jp 0x41ef48
movss xmm1, dword [ebp - 0x30]
movaps xmm0, xmm2
subss xmm0, dword [ebp - 8]
subss xmm1, xmm0
movss dword [ebp - 0x30], xmm1
mov edx, dword [ebp - 0x1c]
mov al, byte [ebp - 0x15]
jmp 0x41ef5b
mov edi, dword [ebp - 0x28]
mov edx, dword [ebp - 0x1c]
jmp 0x41ef5e
mov edi, dword [ebp - 0x28]
mov cl, byte [ebp - 0x16]
test edx, edx
je 0x41ed15
test al, al
jne 0x41ed1f
test cl, cl
je 0x41ef90
xor ecx, ecx
cmp byte [ebp - 0x16], cl
setne cl
add ecx, 0x1e
movss xmm1, dword [0x4678a4]
call fcn.00417d60
mov ecx, dword [ebp - 0x6c]
mov dword [ecx + edx*4], eax
inc edx
mov dword [ebp - 0x1c], edx
cmp edx, dword [ebx + 0xc]
jl 0x41eb50
xor edi, edi
mov dword [ebp - 0x14], edi
cmp dword [ebp - 0x68], edi
jbe 0x41f28a
nop dword [eax + eax]
lea eax, [edi*8]
sub eax, edi
shl eax, 2
mov dword [ebp - 0x4c], eax
test edi, edi
je 0x41efe2
cmp edi, 1
je 0x41efe2
mov dword [ebp - 0x24], 3
lea eax, [ebp - 8]
mov dword [ebp - 0x34], 0xd54
mov dword [ebp - 0x1c], 0x3e80
jmp 0x41effa
mov dword [ebp - 0x24], 4
lea eax, [ebp - 0xc]
mov dword [ebp - 0x34], 0xd50
mov dword [ebp - 0x1c], 0x3e7c
mov edx, dword [ebp - 0x28]
movd xmm0, esi
push ecx
cvtdq2ps xmm3, xmm0
mov dword [esp], 0x40800000
lea ecx, [ebp - 0x80]
push edi
mov dword [ebp - 0x40], eax
call fcn.0041e900
mov ecx, dword [edx + 0xc8]
lea eax, [edi + 4]
mov dword [ebp - 0x10], eax
lea esi, [ebp - 0x10]
mov eax, dword [edx + 0xd0]
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 + 0x4628c0]
sub edi, 1
jne 0x41f040
mov eax, dword [0x493db8]
not edx
mov esi, dword [ebp - 0x64]
mov edi, dword [ebp - 0x14]
mov dword [ebp - 0x10], edx
cmp dword [eax + 0x3e50], edx
jne 0x41f08f
push ecx
mov ecx, dword [ebp - 0x10]
lea eax, [edi + 4]
push eax
mov edx, 4
call fcn.00429ca0
mov eax, dword [0x493db8]
add esp, 8
mov edx, dword [ebp - 0x10]
cmp dword [eax + 0x3e68], edx
jne 0x41f09d
mov dword [eax + 0x3e6c], edx
cmp dword [eax + 0x3e90], edx
jne 0x41f0ac
mov byte [eax + 0x3e94], 1
push 0x40800
lea eax, [ebp - 0x15]
push eax
lea eax, [ebp - 0x16]
push eax
lea ecx, [ebp - 0x80]
call fcn.0043d880
mov al, byte [ebp - 0x15]
add esp, 0xc
cmp byte [ebp - 0x16], 0
mov edx, dword [ebp - 0x38]
je 0x41f0e1
movss xmm0, dword [edx + 0x3e60]
comiss xmm0, dword [0x467848]
ja 0x41f0e9
test al, al
je 0x41f27d
mov ecx, dword [ebp - 0x24]
mov dword [edx + 0x4154], ecx
test al, al
je 0x41f27d
mov eax, dword [ebp - 0x70]
mov dword [eax], edi
cmp edi, 3
jne 0x41f2e6
mov eax, dword [ebx + 0x14]
movss xmm4, dword [0x467980]
movss xmm3, dword [eax + 4]
movss xmm1, dword [0x467968]
movss xmm5, dword [0x467968]
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x34]
movss xmm0, dword [eax + 0x10]
movss dword [ebp - 0xc], xmm0
movss xmm0, dword [eax + 0x14]
movss dword [ebp - 8], xmm0
movss xmm0, dword [ecx + edx]
mov ecx, dword [ebp - 0x1c]
subss xmm0, dword [ecx + edx]
mov ecx, dword [ebp - 0x40]
addss xmm0, dword [0x467900]
movss dword [ecx], xmm0
movss xmm0, dword [ebp - 8]
comiss xmm3, xmm0
ja 0x41f16f
movaps xmm3, xmm1
minss xmm3, xmm0
movss xmm0, dword [ebp - 0xc]
comiss xmm4, xmm0
ja 0x41f180
movaps xmm4, xmm5
minss xmm4, xmm0
mov ecx, dword [ebp - 0x4c]
mov edx, eax
movss xmm0, dword [eax + 0x10]
movss xmm1, dword [eax + 0x14]
movaps xmm5, xmm0
addss xmm0, dword [eax + 0x18]
movss xmm7, dword [ecx + 0x4626cc]
subss xmm5, xmm4
minss xmm7, dword [ecx + 0x4626d4]
movss xmm2, dword [ecx + 0x4626c8]
movaps xmm6, xmm1
minss xmm2, dword [ecx + 0x4626d0]
addss xmm1, dword [eax + 0x1c]
subss xmm6, xmm3
lea ecx, [ebp - 0x48]
movss dword [ebp - 0x14], xmm7
push ecx
mulss xmm5, xmm2
lea ecx, [ebp - 0x60]
mulss xmm6, xmm7
addss xmm5, xmm4
movss dword [ebp - 0x4c], xmm2
subss xmm4, xmm0
addss xmm6, xmm3
subss xmm3, xmm1
movss dword [ebp - 0x2c], xmm5
mulss xmm4, xmm2
mulss xmm3, xmm7
addss xmm4, xmm0
movss dword [ebp - 0x30], xmm6
addss xmm3, xmm1
subss xmm4, xmm5
subss xmm3, xmm6
movss dword [ebp - 0x48], xmm4
movss dword [ebp - 0x44], xmm3
call fcn.0041e340
movss xmm0, dword [ebp - 0x4c]
add esp, 4
xorps xmm2, xmm2
ucomiss xmm0, xmm2
movss xmm0, dword [ebp - 0x60]
movss dword [ebp - 0x3c], xmm0
lahf
test ah, 0x44
jp 0x41f252
subss xmm0, dword [ebp - 0x48]
movss xmm1, dword [ebp - 0x2c]
subss xmm1, xmm0
movss dword [ebp - 0x2c], xmm1
movss xmm0, dword [ebp - 0x14]
ucomiss xmm0, xmm2
movss xmm0, dword [ebp - 0x5c]
movss dword [ebp - 0x20], xmm0
lahf
test ah, 0x44
jp 0x41f27d
subss xmm0, dword [ebp - 0x44]
movss xmm1, dword [ebp - 0x30]
subss xmm1, xmm0
movss dword [ebp - 0x30], xmm1
inc edi
mov dword [ebp - 0x14], edi
cmp edi, dword [ebp - 0x68]
jl 0x41efb0
mov edi, dword [0x493db8]
mov esi, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x38]
mov eax, dword [edi + 0x3e30]
dec dword [eax + 0xc8]
mov dword [esi + 0x12c], 0
mov eax, dword [ecx + 0x4138]
test eax, eax
je 0x41f447
cmp dword [eax + 0x2e8], esi
jne 0x41f447
mov eax, dword [ecx + 0x401c]
cmp eax, 2
jne 0x41f33a
cmp byte [ecx + 0xd69], 0
je 0x41f447
lea edx, [eax - 1]
lea ecx, [ebp - 0x48]
jmp 0x41f349
movss xmm1, dword [0x467980]
movaps xmm3, xmm1
movaps xmm0, xmm3
cmp edi, 1
jne 0x41f305
mov eax, dword [ebx + 0x14]
movss xmm4, dword [eax]
jmp 0x41f118
movaps xmm4, xmm1
movaps xmm2, xmm4
cmp edi, 2
jne 0x41f31d
mov eax, dword [ebx + 0x14]
movss xmm1, dword [eax + 0xc]
jmp 0x41f120
movss xmm1, dword [0x467968]
test edi, edi
jne 0x41f120
mov eax, dword [ebx + 0x14]
movss xmm5, dword [eax + 8]
jmp 0x41f128
cmp eax, 3
jne 0x41f447
lea edx, [eax + 1]
lea ecx, [ebp - 0xc]
sub esp, 8
xorps xmm3, xmm3
mov dword [esp + 4], 0
call fcn.00425fb0
add esp, 8
xorps xmm4, xmm4
movss xmm3, dword [eax]
movss xmm7, dword [eax + 4]
ucomiss xmm3, xmm4
lahf
test ah, 0x44
jp 0x41f381
ucomiss xmm7, xmm4
lahf
test ah, 0x44
jnp 0x41f44a
mov ecx, dword [ebp - 0x38]
movss xmm1, dword [ecx + 0x50]
movss xmm0, dword [ecx + 0x18]
mulss xmm0, dword [0x46794c]
minss xmm1, dword [ecx + 0x54]
mulss xmm1, xmm0
cvttss2si eax, xmm1
movss xmm1, dword [0x4678a4]
movd xmm2, eax
mov eax, dword [ebx + 0x14]
cvtdq2ps xmm2, xmm2
movss xmm0, dword [eax]
subss xmm0, dword [esi + 0x10]
mulss xmm3, xmm2
mulss xmm7, xmm2
subss xmm0, dword [esi + 0x18]
maxss xmm3, xmm0
movss xmm0, dword [eax + 4]
subss xmm0, dword [esi + 0x14]
movss dword [ebp - 0x4c], xmm3
subss xmm0, dword [esi + 0x1c]
mov byte [ecx + 0x414c], 0
mov byte [ecx + 0x4027], 1
mov ecx, 0x20
maxss xmm7, xmm0
call fcn.00417d60
mov ecx, dword [ebp - 0x6c]
mov edx, esi
movss xmm0, dword [ebp - 0x4c]
mov dword [ecx], eax
lea eax, [ebp - 0x60]
addss xmm0, dword [esi + 0x20]
addss xmm7, dword [esi + 0x24]
push eax
lea ecx, [ebp - 0x50]
movss dword [ebp - 0x60], xmm0
movss dword [ebp - 0x5c], xmm7
call fcn.0041e340
mov edi, dword [0x493db8]
add esp, 4
xorps xmm4, xmm4
movss xmm0, dword [eax]
movss dword [ebp - 0x3c], xmm0
movss xmm0, dword [eax + 4]
jmp 0x41f44f
xorps xmm4, xmm4
movss xmm0, dword [ebp - 0x20]
movss xmm1, dword [0x467968]
movss xmm2, dword [ebp - 0x3c]
ucomiss xmm2, xmm1
lahf
test ah, 0x44
jnp 0x41f48a
test dword [esi + 8], 0x100
movss dword [esi + 0x20], xmm2
movss dword [esi + 0x24], xmm0
jne 0x41f48a
comiss xmm4, dword [edi + 0x5204]
jb 0x41f48a
mov eax, dword [edi + 0x1c]
mov dword [edi + 0x5204], eax
movss xmm0, dword [ebp - 0x2c]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x41f4d4
test dword [esi + 8], 0x100
cvttss2si eax, xmm0
movd xmm1, eax
cvttss2si eax, dword [ebp - 0x30]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esi + 0x10], xmm1
movss dword [esi + 0x14], xmm0
jne 0x41f4d4
comiss xmm4, dword [edi + 0x5204]
jb 0x41f4d4
mov ecx, dword [edi + 0x1c]
mov dword [edi + 0x5204], ecx
mov ecx, dword [esi + 0x20]
mov edx, dword [esi + 0x24]
mov al, byte [ebp - 0x17]
mov dword [esi + 0x18], ecx
mov dword [esi + 0x1c], edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00448493
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.00448493
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret