Function at 0x10028320
Capabilities:
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, 0x98
mov eax, dword [0x10039040]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [0x10039928]
mov dword [ebp - 0x3c], edx
mov eax, dword [edi + 0x1c20]
mov ecx, eax
and eax, 0xffffffef
shr ecx, 4
mov dword [edi + 0x1c20], eax
and ecx, 0xffffff01
mov eax, dword [edi + 0x1b9c]
mov dword [ebp - 0x64], ecx
mov byte [eax + 0x8c], 1
mov eax, dword [edi + 0x1b9c]
mov dword [ebp - 0x70], eax
cmp byte [eax + 0x8f], 0
jne 0x10028b68
mov ecx, dword [eax + 0xc4]
mov esi, str.Sky_Color
mov eax, dword [eax + 0xcc]
xor edx, edx
push dword [eax + ecx*4 - 4]
mov ecx, esi
call fcn.10003760
add esp, 4
mov dword [ebp - 0x6c], eax
cmp dword [edi + 0x1bd4], eax
jne 0x100283c3
mov dword [edi + 0x1bd8], eax
cmp dword [edi + 0x1c0c], eax
jne 0x100283d2
mov byte [edi + 0x1c10], 1
movss xmm0, dword [edi + 0x1554]
mov ecx, str.Sky_Color
addss xmm0, xmm0
addss xmm0, dword [edi + 0x1930]
movss dword [ebp - 0x84], xmm0
cmp esi, 0xffffffff
jae 0x1002840e
mov dl, byte [ecx]
test dl, dl
je 0x1002840e
cmp dl, 0x23
jne 0x10028408
cmp byte [ecx + 1], dl
je 0x1002840e
inc ecx
cmp ecx, 0xffffffff
jb 0x100283f8
movss xmm4, dword [edi + 0x1930]
xorps xmm0, xmm0
cmp ecx, str.Sky_Color
jne 0x10028426
xorps xmm3, xmm3
jmp 0x1002846f
movss xmm3, dword [0x10036d0c]
lea eax, [ebp - 0x78]
push ecx
push ecx
push str.Sky_Color
push ecx
mov ecx, dword [edi + 0x192c]
movaps xmm2, xmm4
mov dword [esp], 0xbf800000
push eax
call fcn.10022350
movss xmm0, dword [ebp - 0x78]
addss xmm0, dword [0x10036c48]
movss xmm4, dword [ebp - 0x74]
cvttss2si eax, xmm0
xorps xmm0, xmm0
movd xmm3, eax
cvtdq2ps xmm3, xmm3
test byte [edi + 0x1c80], 1
mov eax, dword [edi + 0x1b9c]
movss dword [ebp - 0x94], xmm3
je 0x10028490
movss xmm1, dword [edi + 0x1c84]
jmp 0x10028498
movss xmm1, dword [eax + 0x1b0]
comiss xmm0, xmm1
jbe 0x100284d7
cmp dword [eax + 0x198], 0
movss xmm2, dword [eax + 0x248]
jne 0x100284b7
cmp dword [edi + 0x1ed4], 0
je 0x100284bf
movss xmm2, dword [eax + 0x218]
subss xmm2, dword [eax + 0xd0]
addss xmm2, xmm1
movss xmm1, dword [0x10036c50]
maxss xmm1, xmm2
comiss xmm3, xmm0
mov eax, dword [ebp - 0x70]
movss xmm5, dword [eax + 0xd0]
movss xmm7, dword [edi + 0x1554]
movaps xmm2, xmm5
cvttss2si esi, xmm1
movss xmm6, dword [eax + 0xd4]
mov dword [ebp - 0x7c], esi
movss dword [ebp - 0x58], xmm5
movss dword [ebp - 0x54], xmm6
movd xmm1, esi
cvtdq2ps xmm1, xmm1
addss xmm2, xmm1
movaps xmm1, xmm7
addss xmm1, xmm7
movss dword [ebp - 0x50], xmm2
addss xmm1, xmm4
addss xmm1, xmm6
movss dword [ebp - 0x4c], xmm1
jbe 0x10028539
addss xmm3, dword [edi + 0x1568]
jmp 0x1002853c
xorps xmm3, xmm3
addss xmm1, xmm0
movss dword [ebp - 0x30], xmm5
addss xmm2, xmm3
movss dword [ebp - 0x2c], xmm6
lea ecx, [ebp - 0x78]
movss dword [ebp - 0x24], xmm1
subss xmm1, xmm6
movss dword [ebp - 0x28], xmm2
subss xmm2, xmm5
movss dword [ebp - 0x74], xmm1
movaps xmm1, xmm7
movss dword [ebp - 0x78], xmm2
call fcn.1000e8d0
mov edx, dword [ebp - 0x6c]
lea eax, [ebp - 0x58]
push ecx
push eax
lea ecx, [ebp - 0x30]
call fcn.1000ea50
add esp, 8
test al, al
je 0x10028b68
mov esi, dword [ebp - 0x6c]
lea eax, [ebp - 0x5a]
push 0
push eax
lea eax, [ebp - 0x5b]
mov edx, esi
push eax
lea ecx, [ebp - 0x58]
call fcn.10026340
mov byte [ebp - 0x5a], al
not esi
mov eax, 0x10036845
mov cl, 0x23
add esp, 0xc
mov dword [ebp - 0x60], eax
mov edx, esi
mov byte [ebp - 0x59], cl
nop
cmp cl, 0x23
jne 0x100285cf
cmp byte [eax], cl
jne 0x100285cf
cmp byte [eax + 1], cl
cmove edx, esi
movzx eax, byte [ebp - 0x59]
movzx ecx, dl
xor ecx, eax
shr edx, 8
mov eax, dword [ebp - 0x60]
xor edx, dword [ecx*4 + 0x100326b0]
mov cl, byte [eax]
inc eax
mov byte [ebp - 0x59], cl
mov dword [ebp - 0x60], eax
test cl, cl
jne 0x100285c0
mov eax, dword [0x10039928]
not edx
mov esi, dword [ebp - 0x7c]
mov dword [ebp - 0x74], edx
mov ecx, dword [eax + 0x1ce8]
cmp dword [eax + 0x1cdc], ecx
jle 0x1002861f
mov eax, dword [eax + 0x1ce4]
lea ecx, [ecx + ecx*8]
mov byte [ebp - 0x59], 1
cmp dword [eax + ecx*4], edx
je 0x10028623
mov byte [ebp - 0x59], 0
cmp byte [ebp - 0x5b], 0
mov ecx, 0x144
movss xmm1, dword [0x10036c50]
mov eax, 0x134
cmovne eax, ecx
xorps xmm0, xmm0
mov ecx, dword [0x10039928]
movups xmm3, xmmword [eax + ecx + 0x1518]
comiss xmm0, xmm3
movaps xmm5, xmm3
movaps xmmword [ebp - 0x30], xmm3
shufps xmm5, xmm3, 0xff
mulss xmm5, dword [ecx + 0x1518]
jbe 0x1002866a
xorps xmm2, xmm2
jmp 0x10028671
movaps xmm2, xmm1
minss xmm2, xmm3
movss xmm4, dword [0x10036cec]
movss xmm3, dword [0x10036c18]
movss xmm6, dword [ebp - 0x2c]
comiss xmm0, xmm6
mulss xmm2, xmm4
addss xmm2, xmm3
cvttss2si ecx, xmm2
jbe 0x1002869c
xorps xmm2, xmm2
jmp 0x100286a3
movaps xmm2, xmm1
minss xmm2, xmm6
movss xmm6, dword [ebp - 0x28]
mulss xmm2, xmm4
addss xmm2, xmm3
cvttss2si eax, xmm2
shl eax, 8
or ecx, eax
comiss xmm0, xmm6
jbe 0x100286c3
xorps xmm2, xmm2
jmp 0x100286ca
movaps xmm2, xmm1
minss xmm2, xmm6
mulss xmm2, xmm4
addss xmm2, xmm3
cvttss2si eax, xmm2
shl eax, 0x10
or ecx, eax
comiss xmm0, xmm5
mov dword [ebp - 0x34], ecx
jbe 0x100286e8
xorps xmm1, xmm1
jmp 0x100286ec
minss xmm1, xmm5
movss xmm0, dword [ebp - 0x50]
lea ecx, [ebp - 0x58]
subss xmm0, dword [ebp - 0x84]
mov edx, dword [ebp - 0x6c]
movss dword [ebp - 0x8c], xmm1
movss xmm1, dword [ebp - 0x58]
movss dword [ebp - 0x7c], xmm1
maxss xmm1, xmm0
push 1
movss dword [ebp - 0x60], xmm1
call fcn.10004bf0
movss xmm0, dword [ebp - 0x60]
add esp, 4
movss dword [ebp - 0x28], xmm0
movss xmm0, dword [ebp - 0x4c]
movss dword [ebp - 0x80], xmm0
push 0x50
push ecx
movss dword [ebp - 0x24], xmm0
movss xmm0, dword [edi + 0x1558]
movss dword [esp], xmm0
movss xmm0, dword [ebp - 0x8c]
mulss xmm0, dword [0x10036cec]
mov ecx, dword [ebp - 0x70]
addss xmm0, dword [0x10036c18]
mov ecx, dword [ecx + 0x284]
cvttss2si eax, xmm0
shl eax, 0x18
or eax, dword [ebp - 0x34]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.1001eb80
cmp byte [ebp - 0x59], 0
jne 0x10028797
cmp byte [ebp - 0x5b], 0
mov eax, 0x214
je 0x1002879c
mov eax, 0x224
mov ecx, dword [0x10039928]
xorps xmm0, xmm0
movss xmm1, dword [0x10036c50]
movups xmm2, xmmword [eax + ecx + 0x1518]
movss xmm7, dword [ecx + 0x1518]
comiss xmm0, xmm2
movaps xmm5, xmm2
movaps xmmword [ebp - 0x30], xmm2
shufps xmm5, xmm2, 0xff
mulss xmm5, xmm7
jbe 0x100287d6
xorps xmm4, xmm4
jmp 0x100287dd
movaps xmm4, xmm1
minss xmm4, xmm2
movss xmm3, dword [0x10036cec]
movss xmm2, dword [0x10036c18]
movss xmm6, dword [ebp - 0x2c]
comiss xmm0, xmm6
mulss xmm4, xmm3
addss xmm4, xmm2
cvttss2si ecx, xmm4
jbe 0x10028808
xorps xmm4, xmm4
jmp 0x1002880f
movaps xmm4, xmm1
minss xmm4, xmm6
movss xmm6, dword [ebp - 0x28]
mulss xmm4, xmm3
addss xmm4, xmm2
cvttss2si eax, xmm4
shl eax, 8
or ecx, eax
comiss xmm0, xmm6
jbe 0x1002882f
xorps xmm4, xmm4
jmp 0x10028836
movaps xmm4, xmm1
minss xmm4, xmm6
mulss xmm4, xmm3
addss xmm4, xmm2
cvttss2si eax, xmm4
shl eax, 0x10
or ecx, eax
comiss xmm0, xmm5
jbe 0x10028851
xorps xmm4, xmm4
jmp 0x10028858
movaps xmm4, xmm1
minss xmm4, xmm5
mov eax, dword [0x10039928]
mulss xmm4, xmm3
movups xmm6, xmmword [eax + 0x15dc]
addss xmm4, xmm2
movaps xmm5, xmm6
movaps xmmword [ebp - 0x30], xmm6
shufps xmm5, xmm6, 0xff
mulss xmm5, xmm7
cvttss2si edx, xmm4
shl edx, 0x18
or edx, ecx
comiss xmm0, xmm6
jbe 0x1002888e
xorps xmm4, xmm4
jmp 0x10028895
movaps xmm4, xmm1
minss xmm4, xmm6
movss xmm6, dword [ebp - 0x2c]
comiss xmm0, xmm6
mulss xmm4, xmm3
addss xmm4, xmm2
cvttss2si ecx, xmm4
jbe 0x100288b0
xorps xmm4, xmm4
jmp 0x100288b7
movaps xmm4, xmm1
minss xmm4, xmm6
movss xmm6, dword [ebp - 0x28]
mulss xmm4, xmm3
addss xmm4, xmm2
cvttss2si eax, xmm4
shl eax, 8
or ecx, eax
comiss xmm0, xmm6
jbe 0x100288d7
xorps xmm4, xmm4
jmp 0x100288de
movaps xmm4, xmm1
minss xmm4, xmm6
mulss xmm4, xmm3
addss xmm4, xmm2
cvttss2si eax, xmm4
shl eax, 0x10
or ecx, eax
comiss xmm0, xmm5
jbe 0x100288f9
xorps xmm1, xmm1
jmp 0x100288fd
minss xmm1, xmm5
movss xmm0, dword [ebp - 0x60]
mulss xmm1, xmm3
movss dword [ebp - 0x28], xmm0
movss xmm0, dword [ebp - 0x54]
addss xmm1, xmm2
movss dword [ebp - 0x24], xmm0
movss xmm0, dword [ebp - 0x84]
cvttss2si eax, xmm1
movd xmm1, esi
shl eax, 0x18
or eax, ecx
cvtdq2ps xmm1, xmm1
mov dword [ebp - 0x34], eax
mov eax, 0xa0
lea ecx, [eax + 0x50]
comiss xmm0, xmm1
movss xmm0, dword [edi + 0x1558]
cmovae eax, ecx
push eax
push ecx
movss dword [esp], xmm0
lea eax, [ebp - 0x50]
push edx
push eax
lea eax, [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x70]
mov ecx, dword [eax + 0x284]
call fcn.1001eb80
movss xmm1, dword [ebp - 0x60]
movss xmm2, dword [ebp - 0x50]
movaps xmm0, xmm1
addss xmm0, dword [ebp - 0x84]
subss xmm0, dword [edi + 0x1550]
comiss xmm2, xmm0
jb 0x10028a5e
mov eax, dword [ebp - 0x70]
movaps xmm5, xmm1
movss xmm0, dword [edi + 0x1554]
movss xmm6, dword [ebp - 0x54]
addss xmm5, xmm0
push dword [ebp - 0x34]
mov ecx, dword [eax + 0x284]
addss xmm6, xmm0
mov eax, dword [ecx + 0x2c]
movss xmm0, dword [eax + 0xc]
lea eax, [ebp - 0x28]
movaps xmm4, xmm0
mulss xmm0, dword [0x10036c18]
push eax
mulss xmm4, dword [0x10036c10]
lea eax, [ebp - 0x90]
push eax
addss xmm5, xmm0
addss xmm6, xmm0
movaps xmm2, xmm4
lea eax, [ebp - 0x88]
mulss xmm2, dword [0x10036bd8]
movaps xmm3, xmm4
push eax
mulss xmm3, dword [0x10036c34]
movaps xmm1, xmm4
mulss xmm1, dword [0x10036d18]
movaps xmm0, xmm4
mulss xmm0, dword [0x10036c40]
addss xmm2, xmm5
mulss xmm4, dword [0x10036d14]
addss xmm3, xmm6
addss xmm0, xmm5
addss xmm1, xmm5
movss dword [ebp - 0x88], xmm2
addss xmm4, xmm6
movss dword [ebp - 0x84], xmm3
movss dword [ebp - 0x28], xmm0
movss dword [ebp - 0x90], xmm1
movss dword [ebp - 0x24], xmm4
movss dword [ebp - 0x8c], xmm4
call fcn.1001ece0
push dword [ebp - 0x4c]
movss xmm0, dword [edi + 0x1558]
push dword [ebp - 0x50]
push dword [ebp - 0x54]
push dword [ebp - 0x58]
call fcn.10004890
mov ecx, dword [ebp - 0x3c]
add esp, 0x10
test ecx, ecx
je 0x10028b05
cmp byte [edi + 0x2ee4], 0
movss xmm0, dword [ebp - 0x7c]
addss xmm0, dword [edi + 0x1550]
movss dword [ebp - 0x38], xmm0
movss xmm0, dword [ebp - 0x54]
addss xmm0, dword [edi + 0x1554]
movss dword [ebp - 0x34], xmm0
je 0x10028acb
mov eax, dword [0x10039928]
mov dword [eax + 0x2efc], 0x10036858
mov dword [eax + 0x2f00], 0x10036854
movss xmm0, dword [ebp - 0x60]
lea eax, [ebp - 0x28]
push 0
push eax
push 0
push ecx
movss dword [ebp - 0x40], xmm0
lea edx, [ebp - 0x40]
movss xmm0, dword [ebp - 0x80]
push ecx
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
movss dword [ebp - 0x3c], xmm0
call fcn.10004470
add esp, 0x14
movss xmm0, dword [ebp - 0x94]
comiss xmm0, dword [0x10036bd8]
jbe 0x10028b51
movss xmm0, dword [ebp - 0x50]
xor edx, edx
addss xmm0, dword [edi + 0x1568]
mov ecx, str.Sky_Color
movss dword [ebp - 0x40], xmm0
movss xmm0, dword [ebp - 0x54]
addss xmm0, dword [edi + 0x1554]
movss dword [ebp - 0x3c], xmm0
push dword [ebp - 0x3c]
push dword [ebp - 0x40]
push 1
call fcn.10003cd0
add esp, 0xc
cmp byte [ebp - 0x5a], 0
mov eax, dword [ebp - 0x6c]
jne 0x10028b7d
cmp dword [edi + 0x1d0c], eax
je 0x10028b7d
cmp byte [ebp - 0x59], 0
jne 0x10028b9d
xor al, al
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1002f40a
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
cmp byte [ebp - 0x59], 0
jne 0x10028b9d
mov ecx, dword [ebp - 0x70]
cmp dword [ecx + 0x144], 0
jne 0x10028b95
mov dword [ecx + 0x32c], eax
mov ecx, dword [ebp - 0x74]
call fcn.1000f510
cmp byte [ebp - 0x64], 0
je 0x10028bc7
movss xmm0, dword [edi + 0x1c5c]
or dword [edi + 0x1c20], 0x10
movd xmm1, esi
cvtdq2ps xmm1, xmm1
maxss xmm0, xmm1
movss dword [edi + 0x1c5c], xmm0
jmp 0x10028c40
mov eax, dword [0x10039928]
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0x7f7fffff
movss xmm0, dword [eax + 0x1564]
movss xmm1, dword [eax + 0x1520]
movaps xmm2, xmm0
addss xmm2, dword [eax + 0x1930]
or dword [eax + 0x1c20], 0x10
addss xmm1, xmm1
mov dword [eax + 0x1c6c], 0
mov dword [eax + 0x1c70], 0
mulss xmm2, dword [0x10036cc4]
subss xmm2, xmm0
movd xmm0, esi
cvtdq2ps xmm0, xmm0
addss xmm2, xmm1
movss dword [ebp - 0x30], xmm0
movss dword [ebp - 0x24], xmm2
movups xmm0, xmmword [ebp - 0x30]
movups xmmword [eax + 0x1c5c], xmm0
push dword [edi + 0x1ce8]
lea eax, [ebp - 0x14]
push str.Combo__02d
push 0x10
push eax
call fcn.10003720
add esp, 0x10
lea ecx, [ebp - 0x14]
call fcn.10008dc0
mov esi, eax
test esi, esi
je 0x10028dd3
cmp byte [esi + 0x8b], 0
je 0x10028dd3
lea eax, [ebp - 0x68]
mov dword [ebp - 0x64], 0
push eax
lea edx, [ebp - 0x28]
mov dword [ebp - 0x68], 0
mov ecx, esi
call fcn.10009460
add esp, 4
lea eax, [ebp - 0x68]
mov edx, esi
lea ecx, [ebp - 0x28]
push eax
call fcn.10009590
add esp, 4
lea eax, [ebp - 0x28]
mov edx, esi
lea ecx, [ebp - 0x78]
push eax
call fcn.10009250
mov dword [esi + 0xa8], 3
lea ecx, [esi + 0xa8]
mov esi, dword [0x10039928]
add esp, 4
mov eax, dword [esi + 0x1cfc]
movss xmm4, dword [esi + 0x15c8]
movss xmm3, dword [esi + 0x15c4]
mov eax, dword [eax]
movss xmm6, dword [eax + 8]
movss xmm5, dword [eax + 4]
movaps xmm0, xmm6
addss xmm0, dword [eax + 0x10]
movaps xmm7, xmm5
addss xmm7, dword [eax + 0xc]
movaps xmm1, xmm0
movss dword [ebp - 0x64], xmm0
movaps xmm0, xmm4
subss xmm1, xmm6
addss xmm0, xmm4
comiss xmm1, xmm0
jbe 0x10028d22
xorps xmm4, xmmword [0x10036e90]
jmp 0x10028d25
xorps xmm4, xmm4
movaps xmm1, xmm7
movaps xmm0, xmm3
subss xmm1, xmm5
addss xmm0, xmm3
comiss xmm1, xmm0
jbe 0x10028d41
xorps xmm3, xmmword [0x10036e90]
jmp 0x10028d44
xorps xmm3, xmm3
movss xmm0, dword [ebp - 0x7c]
lea eax, [ebp - 0x58]
push 1
push eax
subss xmm5, xmm3
movss dword [ebp - 0x28], xmm0
movss xmm0, dword [ebp - 0x80]
subss xmm6, xmm4
addss xmm4, dword [ebp - 0x64]
lea eax, [ebp - 0x48]
movss dword [ebp - 0x24], xmm0
push eax
addss xmm3, xmm7
movss dword [ebp - 0x48], xmm5
push ecx
lea eax, [ebp - 0x78]
movss dword [ebp - 0x44], xmm6
push eax
lea edx, [ebp - 0x28]
movss dword [ebp - 0x3c], xmm4
lea ecx, [ebp - 0x68]
movss dword [ebp - 0x40], xmm3
call fcn.1000f8a0
mov eax, dword [ebp - 0x68]
add esp, 0x14
mov ecx, dword [ebp - 0x64]
or dword [esi + 0x1c20], 1
mov dword [esi + 0x1c30], eax
mov dword [esi + 0x1c34], ecx
mov dword [esi + 0x1c38], 0
mov dword [esi + 0x1c3c], 0
mov dword [esi + 0x1c24], 1
jmp 0x10028dd9
mov esi, dword [0x10039928]
movss xmm0, dword [edi + 0x1550]
lea eax, [ebp - 0x2c]
movss xmm1, dword [esi + 0x151c]
lea ecx, [esi + 0x1ca0]
movss dword [ebp - 0x64], xmm0
movss xmm0, dword [edi + 0x1520]
movss dword [ebp - 0x74], xmm0
movss xmm0, dword [esi + 0x1520]
push eax
mov dword [ebp - 0x2c], 1
movss dword [ebp - 0x28], xmm1
movss dword [ebp - 0x24], xmm0
call fcn.10014250
movss xmm0, dword [ebp - 0x64]
lea ecx, [ebp - 0x14]
movss dword [esi + 0x151c], xmm0
xor edx, edx
movss xmm0, dword [ebp - 0x74]
push 0x4000147
movss dword [esi + 0x1520], xmm0
call fcn.1000ba60
add esp, 4
mov byte [ebp - 0x5a], al
call fcn.10003c50
cmp byte [ebp - 0x5a], 0
jne 0x10028ea2
mov esi, dword [0x10039928]
mov eax, dword [esi + 0x1b9c]
cmp dword [esi + 0x1d00], eax
jne 0x10028e81
mov dword [esi + 0x1e00], eax
mov dword [esi + 0x1e04], 2
test dword [eax + 8], 0x1000000
je 0x10028e91
mov byte [esi + 0x1b46], 1
call fcn.1000e220
mov byte [esi + 0x1b46], 0
jmp 0x10028b68
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
xor ecx, ebp
pop esi
call fcn.1002f40a
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret