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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x68
mov eax, dword [0x57d040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x5ad2c8]
movaps xmm4, xmm1
push esi
push edi
mov edi, ecx
movss dword [ebp - 0x1c], xmm4
movss xmm0, dword [eax + 0x468]
mov dword [ebp - 0x20], edi
mulss xmm1, dword [edi + 0x60]
mov esi, dword [edi + 0x24]
mov ecx, dword [edi + 0x28]
movss dword [ebp - 0x38], xmm1
mulss xmm1, dword [0x5735c8]
mulss xmm1, xmm0
mulss xmm0, dword [0x5735fc]
addss xmm1, xmm0
movss xmm0, dword [0x5734f8]
movss dword [ebp - 0x18], xmm1
xorps xmm1, xmm1
movss dword [ebp - 0x14], xmm1
cmp esi, ecx
je 0x47fdd3
mov edi, ecx
mov eax, dword [esi]
mov ecx, dword [eax + 0x94]
test ecx, ecx
je 0x47fdb6
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
movss xmm1, dword [ebp - 0x14]
movss xmm0, dword [0x5734f8]
test al, al
je 0x47fdbf
addss xmm1, xmm0
movss dword [ebp - 0x14], xmm1
add esi, 4
cmp esi, edi
jne 0x47fd92
mov eax, dword [0x5ad2c8]
movss xmm4, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x20]
movss xmm2, dword [eax + 0x468]
mulss xmm2, dword [0x5735c8]
mov esi, dword [0x5af950]
movss xmm3, dword [edi + 0x60]
movss xmm0, dword [0x57346c]
comiss xmm0, xmm3
addss xmm2, dword [esi + 0x37e8]
mulss xmm2, xmm1
mulss xmm2, dword [ebp - 0x38]
addss xmm2, dword [ebp - 0x18]
subss xmm2, dword [edi + 0x20]
mulss xmm2, dword [0x5735b0]
mulss xmm2, dword [eax + 0x460]
addss xmm2, dword [edi + 0x20]
movss dword [edi + 0x20], xmm2
ja 0x480510
mov eax, dword [0x5ad2c8]
movaps xmm1, xmm3
mulss xmm1, xmm2
movss xmm0, dword [eax + 0x468]
mulss xmm0, dword [0x573568]
movss dword [ebp - 0xc], xmm1
comiss xmm0, xmm1
ja 0x480510
movss xmm0, dword [esi + 0x3798]
lea eax, [ebp - 0x30]
mulss xmm3, xmm4
lea ecx, [esi + 0x477c]
push eax
mov dword [ebp - 0x30], 0
movss dword [ebp - 0x2c], xmm0
movss dword [ebp - 0x1c], xmm3
call fcn.00435fb0
movss xmm0, dword [ebp - 0x1c]
lea edx, [ebp - 0x44]
mov ecx, 2
movss dword [esi + 0x3798], xmm0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
call fcn.00421450
cmp dword [edi + 0x14], 0xf
movss xmm1, dword [edi + 0x60]
mov eax, dword [0x5ad2c8]
movaps xmm0, xmm1
mulss xmm0, dword [0x573694]
mov dword [ebp - 0x14], edi
mulss xmm1, dword [ebp - 0xc]
mulss xmm0, dword [eax + 0x468]
movss dword [ebp - 0x40], xmm1
movss dword [ebp - 0x44], xmm0
jbe 0x47feec
mov eax, dword [edi]
mov dword [ebp - 0x14], eax
mov esi, dword [0x5af950]
xor edx, edx
mov eax, dword [esi + 0x3e60]
mov ecx, dword [eax + 0xe0]
mov eax, dword [eax + 0xe8]
push dword [eax + ecx*4 - 4]
mov ecx, dword [ebp - 0x14]
call fcn.00420b60
mov edx, eax
add esp, 4
mov dword [ebp - 0x18], edx
cmp dword [esi + 0x3e94], edx
jne 0x47ff38
push ecx
push dword [ebp - 0x14]
mov edx, 0xb
mov ecx, eax
call fcn.00435960
mov edx, dword [ebp - 0x18]
add esp, 8
mov dword [ebp - 0xc], 1
lea esi, [ebp - 0xc]
not edx
mov edi, 4
nop dword [eax]
movzx eax, byte [esi]
lea esi, [esi + 1]
movzx ecx, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x4e8610]
sub edi, 1
jne 0x47ff50
mov eax, dword [0x5af950]
not edx
mov edi, dword [ebp - 0x20]
mov dword [ebp - 0x18], edx
cmp dword [eax + 0x3e94], edx
jne 0x47ff95
push ecx
mov ecx, dword [ebp - 0x18]
mov edx, 4
push 1
call fcn.00435960
mov edx, dword [ebp - 0x18]
add esp, 8
push 0x18
lea eax, [ebp - 0x44]
xor ecx, ecx
push 1
push eax
call fcn.00426740
add esp, 0xc
mov ecx, 1
call fcn.004214d0
mov ecx, dword [0x5af950]
xor edx, edx
movss xmm1, dword [ebp - 0x1c]
mov eax, dword [ecx + 0x3e60]
movss xmm0, dword [eax + 0x18]
movss xmm5, dword [eax + 0x10]
movss xmm6, dword [eax + 0x14]
movss dword [ebp - 0x20], xmm0
movss xmm0, dword [eax + 0x1c]
mov byte [eax + 0xa8], 1
movups xmm3, xmmword [ecx + 0x3910]
mov eax, dword [ecx + 0x3e60]
mulss xmm1, dword [ecx + 0x3798]
movss dword [ebp - 0x24], xmm0
movss xmm0, dword [edi + 0x1c]
comiss xmm0, dword [0x573478]
mov esi, dword [eax + 0x260]
mov eax, 0x30
mov dword [ebp - 0x40], esi
movaps xmm0, xmm3
movss dword [ebp - 0x18], xmm5
shufps xmm0, xmm3, 0xff
mulss xmm1, xmm0
cmova edx, eax
movss xmm0, dword [0x5734f8]
movss dword [ebp - 0x2c], xmm5
movss dword [ebp - 0xc], xmm1
xorps xmm1, xmm1
comiss xmm1, xmm3
movss dword [ebp - 0x14], xmm6
movss dword [ebp - 0x28], xmm6
movaps xmmword [ebp - 0x60], xmm3
jbe 0x480058
xorps xmm2, xmm2
jmp 0x48005f
movaps xmm2, xmm0
minss xmm2, xmm3
movss xmm3, dword [0x573674]
movss xmm4, dword [0x5734b0]
movss xmm7, dword [ebp - 0x5c]
comiss xmm1, xmm7
mulss xmm2, xmm3
addss xmm2, xmm4
cvttss2si ecx, xmm2
jbe 0x48008a
xorps xmm2, xmm2
jmp 0x480091
movaps xmm2, xmm0
minss xmm2, xmm7
movss xmm7, dword [ebp - 0x58]
mulss xmm2, xmm3
addss xmm2, xmm4
cvttss2si eax, xmm2
shl eax, 8
or ecx, eax
comiss xmm1, xmm7
jbe 0x4800b1
xorps xmm2, xmm2
jmp 0x4800b8
movaps xmm2, xmm0
minss xmm2, xmm7
mulss xmm2, xmm3
addss xmm2, xmm4
cvttss2si eax, xmm2
movss xmm2, dword [ebp - 0xc]
shl eax, 0x10
or ecx, eax
comiss xmm1, xmm2
ja 0x4800da
movaps xmm1, xmm0
minss xmm1, xmm2
movss xmm0, dword [ebp - 0x20]
mov eax, dword [0x5ad2c8]
addss xmm0, xmm5
mulss xmm1, xmm3
push edx
push ecx
mov dword [esp], 0x41000000
addss xmm1, xmm4
movss dword [ebp - 0xc], xmm0
movss dword [ebp - 0x58], xmm0
movss xmm0, dword [eax + 0x468]
mulss xmm0, dword [0x5735fc]
cvttss2si eax, xmm1
addss xmm0, xmm6
shl eax, 0x18
or eax, ecx
mov ecx, esi
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x2c]
movss dword [ebp - 0x54], xmm0
push eax
call fcn.0044c000
movss xmm0, dword [ebp - 0x38]
xorps xmm2, xmm2
movss xmm4, dword [0x573674]
mulss xmm0, xmm4
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x573468]
comiss xmm2, xmm0
jbe 0x480166
xorps xmm3, xmm3
jmp 0x480172
movss xmm3, dword [0x5734f8]
minss xmm3, xmm0
mov eax, dword [0x5ad2c8]
movss xmm0, dword [ebp - 0xc]
mulss xmm3, xmm4
push ecx
movss xmm1, dword [eax + 0x468]
mov ecx, esi
mulss xmm1, dword [0x5735fc]
mov dword [esp], 0x3f800000
addss xmm3, dword [0x5734b0]
movss dword [ebp - 0x2c], xmm0
movss xmm0, dword [ebp - 0x18]
addss xmm1, dword [ebp - 0x14]
addss xmm0, xmm2
cvttss2si eax, xmm3
movss dword [ebp - 0x28], xmm1
shl eax, 0x18
or eax, 0x312c2c
movss dword [ebp - 0x58], xmm0
push eax
lea eax, [ebp - 0x2c]
movss dword [ebp - 0x54], xmm1
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.0044bde0
cmp dword [edi + 0x14], 0xf
mov dword [ebp - 0xc], edi
jbe 0x4801ec
mov eax, dword [edi]
mov dword [ebp - 0xc], eax
movss xmm1, dword [ebp - 0x1c]
xorps xmm0, xmm0
comiss xmm0, xmm1
ja 0x480205
movss xmm0, dword [0x5734f8]
minss xmm0, xmm1
mulss xmm0, dword [0x573674]
mov eax, dword [0x5ad2c8]
addss xmm0, dword [0x5734b0]
movss xmm2, dword [eax + 0x468]
mov edx, dword [eax + 0x464]
cvttss2si ecx, xmm0
movaps xmm0, xmm2
mulss xmm0, dword [0x5735a4]
shl ecx, 0x18
or ecx, 0xffffff
addss xmm0, dword [ebp - 0x18]
movss dword [ebp - 0x2c], xmm0
movaps xmm0, xmm2
mulss xmm0, dword [0x5735a0]
mulss xmm2, dword [0x5735b4]
addss xmm0, dword [ebp - 0x14]
movss dword [ebp - 0x28], xmm0
cmp edx, 5
ja case.default.0x48026c
jmp dword [edx*4 + 0x480524]
mov eax, dword [eax + 0x4f8]
jmp 0x4802a9
mov eax, dword [eax + 0x508]
jmp 0x4802a9
mov eax, dword [eax + 0x518]
jmp 0x4802a9
mov eax, dword [eax + 0x528]
jmp 0x4802a9
mov eax, dword [eax + 0x538]
jmp 0x4802a9
mov eax, dword [eax + 0x548]
jmp 0x4802a9
mov eax, dword [eax + 0x504]
push 0
push ecx
mov dword [esp], 0
push 0
push dword [ebp - 0xc]
push ecx
lea ecx, [ebp - 0x2c]
push ecx
push eax
mov ecx, esi
call fcn.0044ca00
mov ecx, dword [edi + 0x30]
test ecx, ecx
je 0x48031a
cmp dword [ecx + 0xbc], 0
je 0x48031a
mov eax, dword [0x5ad2c8]
movss xmm2, dword [ebp - 0x38]
movss xmm1, dword [eax + 0x468]
movaps xmm0, xmm1
mulss xmm1, dword [0x573598]
mulss xmm0, dword [0x573560]
addss xmm1, dword [ebp - 0x14]
addss xmm0, dword [ebp - 0x18]
movss dword [ebp - 0xc], xmm1
push dword [ebp - 0xc]
movss dword [ebp - 0x10], xmm0
push dword [ebp - 0x10]
push esi
call fcn.00482ff0
cmp dword [edi + 0x14], 0xf
mov dword [ebp - 0x1c], edi
jbe 0x480328
mov eax, dword [edi]
mov dword [ebp - 0x1c], eax
mov esi, dword [0x5af950]
xor edx, edx
mov eax, dword [esi + 0x3e60]
mov ecx, dword [eax + 0xe0]
mov eax, dword [eax + 0xe8]
push dword [eax + ecx*4 - 4]
mov ecx, dword [ebp - 0x1c]
call fcn.00420b60
add esp, 4
mov dword [ebp - 0xc], eax
cmp dword [esi + 0x3e94], eax
jne 0x480372
push ecx
push dword [ebp - 0x1c]
mov edx, 0xb
mov ecx, eax
call fcn.00435960
mov eax, dword [ebp - 0xc]
add esp, 8
movss xmm1, dword [ebp - 0x18]
lea ecx, [ebp - 0x34]
movss xmm2, dword [ebp - 0x14]
mov edx, eax
movss xmm0, dword [ebp - 0x20]
movss xmm3, dword [ebp - 0x24]
addss xmm0, xmm1
addss xmm3, xmm2
movss dword [ebp - 0x34], xmm1
push 0
push 0
movss dword [ebp - 0x30], xmm2
movss dword [ebp - 0x2c], xmm0
movss dword [ebp - 0x28], xmm3
call fcn.0042ea90
add esp, 8
mov dword [ebp - 0x1c], edi
cmp dword [edi + 0x14], 0xf
jbe 0x4803c1
mov eax, dword [edi]
mov dword [ebp - 0x1c], eax
mov esi, dword [0x5af950]
xor edx, edx
mov eax, dword [esi + 0x3e60]
mov ecx, dword [eax + 0xe0]
mov eax, dword [eax + 0xe8]
push dword [eax + ecx*4 - 4]
mov ecx, dword [ebp - 0x1c]
call fcn.00420b60
add esp, 4
mov dword [ebp - 0x24], eax
cmp dword [esi + 0x3e94], eax
jne 0x480408
push ecx
push dword [ebp - 0x1c]
mov edx, 0xb
mov ecx, eax
call fcn.00435960
add esp, 8
mov eax, dword [0x5ad2c8]
lea ecx, [ebp - 0x34]
movss xmm1, dword [ebp - 0x18]
movss xmm2, dword [ebp - 0x14]
movss xmm3, dword [ebp - 0x20]
movss xmm0, dword [eax + 0x468]
addss xmm3, xmm1
mulss xmm0, dword [0x5735fc]
lea eax, [ebp - 0x39]
mov edx, dword [ebp - 0x24]
push 0
push eax
addss xmm0, xmm2
movss dword [ebp - 0x34], xmm1
lea eax, [ebp - 0x3a]
movss dword [ebp - 0x30], xmm2
push eax
movss dword [ebp - 0x2c], xmm3
movss dword [ebp - 0x28], xmm0
call fcn.004385d0
add esp, 0xc
test al, al
je 0x48046e
cmp byte [edi + 0x18], 0
sete al
mov byte [edi + 0x18], al
mov eax, dword [0x5ad2c8]
mov ecx, dword [0x5af950]
movss xmm2, dword [eax + 0x468]
mov eax, dword [ecx + 0x3e60]
mov byte [eax + 0xa8], 1
mov eax, dword [ecx + 0x3e60]
movss xmm1, dword [eax + 0x10]
subss xmm1, dword [eax + 0x74]
movss xmm0, dword [eax + 0x14]
subss xmm0, dword [eax + 0x78]
mov byte [eax + 0x12d], 1
addss xmm1, xmm2
mulss xmm2, dword [0x57360c]
addss xmm0, xmm2
movss dword [eax + 0xec], xmm1
movss dword [eax + 0xf0], xmm0
call fcn.0042ee40
mov esi, dword [edi + 0x24]
mov eax, dword [edi + 0x28]
mov edi, eax
cmp esi, edi
je 0x4804fc
mov ecx, dword [esi]
movss xmm0, dword [ebp - 0x38]
push ecx
movss dword [esp], xmm0
mov eax, dword [ecx]
push dword [ebp - 0x40]
call dword [eax + 0xc]
add esi, 4
cmp esi, edi
jne 0x4804e0
call fcn.0042ef70
call fcn.00426940
mov ecx, 1
call fcn.004214d0
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00492c21
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret