Function at 0x1002a640
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x148
mov eax, dword [0x100a4040]
xor eax, esp
mov dword [esp + 0x144], eax
push esi
push edi
mov edi, dword [0x100e4e74]
mov dword [esp + 0x24], edx
mov edx, ecx
mov ecx, dword [ebp + 8]
mov dword [esp + 0x2c], edx
mov eax, dword [edi + 0x1928]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x1c], edi
mov byte [eax + 0x78], 1
mov eax, dword [edi + 0x1928]
mov dword [esp + 0x28], eax
cmp byte [eax + 0x7b], 0
je 0x1002a6a7
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0x144]
xor ecx, esp
call fcn.10049d20
mov esp, ebp
pop ebp
ret
movss xmm1, dword [edi + 0x1540]
xorps xmm0, xmm0
addss xmm1, xmm1
addss xmm1, dword [edi + 0x1854]
movss dword [esp + 0x48], xmm1
test cl, 0x10
je 0x1002a6ce
xorps xmm3, xmm3
jmp 0x1002a6d9
movaps xmm3, xmm1
addss xmm3, dword [edi + 0x1554]
movss xmm5, dword [0x100a0534]
mov esi, eax
movss xmm2, dword [esi + 0x168]
comiss xmm0, xmm2
jbe 0x1002a75b
movss xmm4, dword [esi + 0xc8]
movss xmm1, dword [esi + 0x21c]
mov edi, dword [esi + 0x1c4]
subss xmm4, dword [esi + 0xc]
subss xmm1, dword [esi + 0xc]
test edi, edi
je 0x1002a748
mov edx, dword [edi + 0xc]
movss xmm1, dword [edi + 0x18]
subss xmm1, dword [edi + 0x14]
lea eax, [edx + 1]
test eax, eax
cmovns edx, eax
mov eax, dword [edi + 0x34]
lea ecx, [edx*8]
sub ecx, edx
mov edx, dword [esp + 0x2c]
mulss xmm1, dword [eax + ecx*4]
addss xmm1, dword [edi + 0x14]
subss xmm1, dword [esi + 0x3c]
mov edi, dword [esp + 0x1c]
subss xmm1, xmm4
addss xmm1, xmm2
movaps xmm2, xmm5
maxss xmm2, xmm1
cvttss2si eax, xmm2
movd xmm0, eax
mov eax, edx
mov dword [esp + 0x44], eax
cvtdq2ps xmm0, xmm0
subss xmm0, xmm3
movss dword [esp + 0x14], xmm0
cmp edx, 0xffffffff
jae 0x1002a799
nop dword [eax + eax]
mov cl, byte [eax]
test cl, cl
je 0x1002a799
inc eax
cmp cl, 0x23
jne 0x1002a790
cmp byte [eax], cl
je 0x1002a799
mov dword [esp + 0x44], eax
cmp eax, 0xffffffff
jb 0x1002a780
call fcn.1002e4a0
mov ecx, dword [esp + 0x2c]
call fcn.10020370
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x40], ecx
test cl, 0x20
je 0x1002a7c4
and ecx, 0xff9fffff
or ecx, 0x100008
mov dword [esp + 0x10], ecx
mov esi, dword [esp + 0x24]
test cl, 8
jne 0x1002a7da
mov edx, ecx
mov ecx, esi
call fcn.10029f60
mov ecx, dword [esp + 0x10]
test ecx, 0x700000
jne 0x1002a7ef
mov eax, dword [edi + 0x2b18]
and eax, 0x700000
or ecx, eax
test ecx, 0x1800000
jne 0x1002a804
mov eax, dword [edi + 0x2b18]
and eax, 0x1800000
or ecx, eax
test ecx, 0x6000000
jne 0x1002a819
mov eax, dword [edi + 0x2b18]
and eax, 0x6000000
or ecx, eax
mov eax, dword [edi + 0x2b18]
movss xmm2, dword [esi]
and eax, 0xf80fffff
movss xmm5, dword [esi + 4]
or ecx, eax
movss xmm1, dword [esi + 8]
mov edx, ecx
shr edx, 1
mov eax, ecx
shr eax, 0x13
not dl
and eax, 0xffffff01
mov dword [esp + 0x10], ecx
and edx, 0xffffff01
mov dword [esp + 0x54], eax
movzx eax, dl
add eax, 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x30], eax
movss dword [esp + 0x78], xmm2
movss dword [esp + 0x7c], xmm5
movss dword [esp + 0x80], xmm1
test dl, dl
je 0x1002a889
movss xmm0, dword [esi + 0xc]
movss dword [esp + 0x84], xmm0
jmp 0x1002a894
mov dword [esp + 0x84], 0x3f800000
test ecx, 0x200000
je 0x1002a92e
comiss xmm1, xmm5
xorps xmm4, xmm4
movaps xmm3, xmm5
jbe 0x1002a8b9
movss xmm4, dword [0x100a06ac]
movaps xmm3, xmm1
movaps xmm1, xmm5
comiss xmm3, xmm2
movaps xmm5, xmm2
jbe 0x1002a8d6
movss xmm0, dword [0x100a0698]
movaps xmm5, xmm3
subss xmm0, xmm4
movaps xmm3, xmm2
movaps xmm4, xmm0
movaps xmm0, xmm3
movss dword [esp + 0x80], xmm5
minss xmm0, xmm1
movaps xmm2, xmm5
subss xmm3, xmm1
subss xmm2, xmm0
movaps xmm0, xmm2
mulss xmm0, dword [0x100a05b4]
addss xmm0, dword [0x100a04b4]
divss xmm3, xmm0
movaps xmm0, xmm5
addss xmm0, dword [0x100a04b4]
addss xmm3, xmm4
divss xmm2, xmm0
andps xmm3, xmmword [0x100a0e90]
movss dword [esp + 0x78], xmm3
movss dword [esp + 0x7c], xmm2
movss xmm0, dword [esp + 0x78]
xorps xmm5, xmm5
comiss xmm0, xmm5
movss xmm2, dword [0x100a069c]
movss xmm1, dword [0x100a0508]
jb 0x1002a951
movaps xmm4, xmm1
jmp 0x1002a954
movaps xmm4, xmm2
movss xmm0, dword [esp + 0x78]
movss xmm3, dword [0x100a0640]
mulss xmm0, xmm3
addss xmm0, xmm4
cvttss2si esi, xmm0
movss xmm0, dword [esp + 0x7c]
comiss xmm0, xmm5
mov dword [esp + 0x88], esi
jb 0x1002a985
movaps xmm4, xmm1
jmp 0x1002a988
movaps xmm4, xmm2
movss xmm0, dword [esp + 0x7c]
mulss xmm0, xmm3
addss xmm0, xmm4
cvttss2si edx, xmm0
movss xmm0, dword [esp + 0x80]
comiss xmm0, xmm5
mov dword [esp + 0x8c], edx
jb 0x1002a9b4
movaps xmm4, xmm1
jmp 0x1002a9b7
movaps xmm4, xmm2
movss xmm0, dword [esp + 0x80]
mulss xmm0, xmm3
addss xmm0, xmm4
cvttss2si eax, xmm0
movss xmm0, dword [esp + 0x84]
comiss xmm0, xmm5
mov dword [esp + 0x90], eax
jae 0x1002a9e4
movaps xmm1, xmm2
movss xmm0, dword [esp + 0x84]
mulss xmm0, xmm3
mov byte [esp + 0xf], 0
mov byte [esp + 0x1b], 0
addss xmm0, xmm1
cvttss2si edi, xmm0
mov dword [esp + 0x94], edi
test ecx, 0x300000
je 0x1002afbc
test cl, 0x20
jne 0x1002afbc
mov edx, dword [esp + 0x30]
test ecx, 0x1000000
movss xmm4, dword [esp + 0x14]
mov ecx, str.M:000
movaps xmm1, xmm4
mov esi, dword [0x100e4e74]
push ecx
lea eax, [edx - 1]
movd xmm2, eax
mov eax, dword [esp + 0x20]
cvtdq2ps xmm2, xmm2
mov edi, dword [esi + 0x1850]
push 0
movss xmm3, dword [eax + 0x1554]
movaps xmm0, xmm3
mulss xmm0, xmm2
subss xmm1, xmm0
movd xmm0, edx
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
cvttss2si eax, xmm1
movss xmm1, dword [0x100a0534]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
maxss xmm1, xmm0
addss xmm3, xmm1
movss dword [esp + 0x28], xmm1
movss xmm1, dword [0x100a0534]
mulss xmm3, xmm2
subss xmm4, xmm3
movss xmm3, dword [0x100a068c]
cvttss2si eax, xmm4
movd xmm0, eax
mov eax, str.M:0.000
cvtdq2ps xmm0, xmm0
cmove eax, ecx
push eax
push ecx
lea eax, [esp + 0x44]
mov dword [esp], 0xbf800000
push eax
maxss xmm1, xmm0
mov ecx, edi
movss xmm0, dword [esi + 0x1854]
movaps xmm2, xmm0
movss dword [esp + 0x28], xmm0
movss dword [esp + 0x6c], xmm1
call fcn.10046480
movss xmm0, dword [esp + 0x34]
xorps xmm2, xmm2
comiss xmm0, xmm2
jbe 0x1002ab0a
movss xmm1, dword [esp + 0x14]
divss xmm1, dword [edi]
subss xmm0, xmm1
addss xmm0, dword [0x100a0530]
mov dword [esp + 0x98], 0x100a0258
mov dword [esp + 0x9c], 0x100a025c
mov dword [esp + 0xa0], 0x100a0260
mov dword [esp + 0xa4], 0x100a0264
cvttss2si eax, xmm0
mov dword [esp + 0xd8], 0x100a0268
mov dword [esp + 0xdc], 0x100a0268
mov dword [esp + 0xe0], 0x100a0268
mov dword [esp + 0xe4], 0x100a0268
mov dword [esp + 0xe8], str.R:_3d
mov dword [esp + 0xec], str.G:_3d
movss xmm0, dword [esp + 0x38]
movss dword [esp + 0x38], xmm0
movss xmm0, dword [esp + 0x20]
mov dword [esp + 0xf0], str.B:_3d
movd xmm1, eax
cvtdq2ps xmm1, xmm1
mov dword [esp + 0xf4], str.A:_3d
mov dword [esp + 0xf8], str.H:_3d
mov dword [esp + 0xfc], str.S:_3d
mov dword [esp + 0x100], str.V:_3d
mov dword [esp + 0x104], str.A:_3d
comiss xmm1, xmm0
mov dword [esp + 0xa8], str._0.3f
mov dword [esp + 0xac], str._0.3f
mov dword [esp + 0xb0], str._0.3f
mov dword [esp + 0xb4], str._0.3f
mov dword [esp + 0xb8], str.R:_0.3f
mov dword [esp + 0xbc], str.G:_0.3f
mov dword [esp + 0xc0], str.B:_0.3f
mov dword [esp + 0xc4], str.A:_0.3f
mov dword [esp + 0xc8], str.H:_0.3f
mov dword [esp + 0xcc], str.S:_0.3f
mov dword [esp + 0xd0], str.V:_0.3f
mov dword [esp + 0xd4], str.A:_0.3f
jb 0x1002ac6c
xor eax, eax
jmp 0x1002ac7c
mov eax, dword [esp + 0x10]
and eax, 0x200000
neg eax
sbb eax, eax
neg eax
inc eax
ucomiss xmm0, xmm2
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0x1928]
mov byte [eax + 0x78], 1
mov ecx, dword [esi + 0x1928]
mov dword [esp + 0x20], ecx
lahf
test ah, 0x44
jp 0x1002aca5
movss xmm0, dword [ecx + 0x228]
lea edi, [ecx + 0x17c]
movss dword [ecx + 0x168], xmm0
mov ecx, dword [edi + 4]
mov eax, dword [edi]
cmp eax, ecx
jne 0x1002ace9
lea esi, [eax + 1]
test ecx, ecx
je 0x1002acce
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x1002acd3
mov eax, 8
cmp eax, esi
mov ecx, edi
cmovg esi, eax
push esi
call fcn.1002f8f0
mov esi, dword [0x100e4e74]
xorps xmm2, xmm2
mov edx, dword [edi]
mov ecx, dword [edi + 8]
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 0x168]
mov dword [ecx + edx*4], eax
inc dword [edi]
xor edi, edi
cmp dword [esp + 0x30], edi
jbe 0x1002af20
mov eax, dword [esp + 0x10]
mov ecx, eax
mov edx, dword [esp + 0x14]
and ecx, 0x1000000
and eax, 8
mov dword [esp + 0x5c], ecx
shl edx, 4
mov dword [esp + 0x34], eax
mov dword [esp + 0x14], edx
movss xmm3, dword [0x100a04cc]
test edi, edi
je 0x1002ad9e
mov eax, dword [esp + 0x1c]
movss xmm1, dword [eax + 0x1554]
mov eax, dword [esi + 0x1928]
mov byte [eax + 0x78], 1
mov ecx, dword [esi + 0x1928]
cmp byte [ecx + 0x7b], 0
jne 0x1002ad9e
comiss xmm2, xmm1
jbe 0x1002ad66
movss xmm1, dword [esi + 0x154c]
addss xmm1, dword [ecx + 0xd0]
movss xmm0, dword [ecx + 0xd4]
movss dword [ecx + 0xc8], xmm1
movss dword [ecx + 0xcc], xmm0
mov eax, dword [ecx + 0xf0]
mov dword [ecx + 0xe8], eax
mov eax, dword [ecx + 0xf4]
mov dword [ecx + 0xec], eax
lea eax, [edi + 1]
cmp eax, dword [esp + 0x30]
jne 0x1002ae2e
movss xmm0, dword [esp + 0x58]
mov eax, dword [esi + 0x1928]
ucomiss xmm0, xmm2
mov byte [eax + 0x78], 1
mov ecx, dword [esi + 0x1928]
mov dword [esp + 0x20], ecx
lahf
test ah, 0x44
jp 0x1002add6
movss xmm0, dword [ecx + 0x228]
lea esi, [ecx + 0x17c]
movss dword [ecx + 0x168], xmm0
mov eax, dword [esi + 4]
mov ecx, dword [esi]
cmp ecx, eax
jne 0x1002ae16
inc ecx
test eax, eax
je 0x1002adfc
cdq
sub eax, edx
sar eax, 1
add eax, dword [esi + 4]
jmp 0x1002ae01
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.1002f8f0
movss xmm3, dword [0x100a04cc]
mov edx, dword [esi]
mov eax, dword [esp + 0x20]
mov ecx, dword [esi + 8]
mov eax, dword [eax + 0x168]
mov dword [ecx + edx*4], eax
inc dword [esi]
mov edx, dword [esp + 0x14]
cmp dword [esp + 0x5c], 0
je 0x1002ae9d
cmp byte [esp + 0x54], 0
je 0x1002ae41
xorps xmm0, xmm0
jmp 0x1002ae49
movss xmm0, dword [0x100a0534]
push ecx
mov ecx, dword [esp + edi*4 + 0x9c]
lea eax, [esp + 0x24]
mov dword [esp], 0x3f800000
push dword [esp + edx + 0xac]
mov edx, 4
movss dword [esp + 0x28], xmm0
push eax
lea eax, [esp + 0x58]
mov dword [esp + 0x58], 0
push eax
lea eax, [esp + 0x88]
lea eax, [eax + edi*4]
push eax
call fcn.10021890
add esp, 0x14
or al, byte [esp + 0xf]
mov byte [esp + 0x1b], al
mov byte [esp + 0xf], al
jmp 0x1002aef4
movss xmm3, dword [0x100a0534]
xor ecx, ecx
cmp byte [esp + 0x54], cl
mov eax, 0xff
push ecx
cmovne eax, ecx
mov dword [esp], 0x3f800000
push dword [esp + edx + 0xdc]
mov dword [esp + 0x54], eax
xor edx, edx
lea eax, [esp + 0x54]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + edi*4 + 0xa0]
push eax
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x98]
lea eax, [eax + edi*4]
push eax
call fcn.10021890
add esp, 0x14
or byte [esp + 0xf], al
cmp dword [esp + 0x34], 0
jne 0x1002af00
call fcn.100180c0
mov edx, dword [esp + 0x14]
inc edi
mov esi, dword [0x100e4e74]
add edx, 4
mov dword [esp + 0x14], edx
cmp edi, dword [esp + 0x30]
jge 0x1002af20
xorps xmm2, xmm2
jmp 0x1002ad2b
mov eax, dword [esi + 0x1928]
mov byte [eax + 0x78], 1
mov ecx, dword [esi + 0x1928]
mov edx, dword [ecx + 0x17c]
sub edx, 1
mov dword [ecx + 0x17c], edx
jne 0x1002af4b
movss xmm0, dword [ecx + 0x228]
jmp 0x1002af57
mov eax, dword [ecx + 0x184]
movss xmm0, dword [eax + edx*4 - 4]
movss dword [ecx + 0x168], xmm0
mov eax, dword [esi + 0x1928]
mov byte [eax + 0x78], 1
mov ecx, dword [esi + 0x1928]
mov edx, dword [ecx + 0x17c]
sub edx, 1
mov dword [ecx + 0x17c], edx
jne 0x1002af9c
movss xmm0, dword [ecx + 0x228]
xorps xmm5, xmm5
movss dword [ecx + 0x168], xmm0
mov ecx, dword [esp + 0x10]
jmp 0x1002b247
mov eax, dword [ecx + 0x184]
xorps xmm5, xmm5
movss xmm0, dword [eax + edx*4 - 4]
movss dword [ecx + 0x168], xmm0
mov ecx, dword [esp + 0x10]
jmp 0x1002b247
test ecx, 0x400000
je 0x1002b241
test cl, 0x20
jne 0x1002b241
cmp byte [esp + 0x3c], 0
mov ecx, 0xff
je 0x1002b031
test edi, edi
jns 0x1002afe5
xor edi, edi
jmp 0x1002afea
cmp edi, ecx
cmovg edi, ecx
test eax, eax
jns 0x1002aff2
xor eax, eax
jmp 0x1002affa
cmp eax, 0xff
cmovg eax, ecx
test edx, edx
jns 0x1002b002
xor edx, edx
jmp 0x1002b007
cmp edx, ecx
cmovg edx, ecx
test esi, esi
jns 0x1002b00f
xor esi, esi
jmp 0x1002b014
cmp esi, ecx
cmovg esi, ecx
push edi
push eax
push edx
push esi
push 0x100a02e4
lea eax, [esp + 0x11c]
push 0x40
push eax
call fcn.1000f050
add esp, 0x1c
jmp 0x1002b075
test eax, eax
jns 0x1002b039
xor eax, eax
jmp 0x1002b041
cmp eax, 0xff
cmovg eax, ecx
test edx, edx
jns 0x1002b049
xor edx, edx
jmp 0x1002b04e
cmp edx, ecx
cmovg edx, ecx
test esi, esi
jns 0x1002b056
xor esi, esi
jmp 0x1002b05b
cmp esi, ecx
cmovg esi, ecx
push eax
push edx
push esi
push 0x100a02f8
lea eax, [esp + 0x118]
push 0x40
push eax
call fcn.1000f050
add esp, 0x18
movss xmm4, dword [esp + 0x14]
ucomiss xmm4, dword [0x100a04a0]
mov ecx, dword [0x100e4e74]
mov eax, dword [ecx + 0x1928]
mov byte [eax + 0x78], 1
mov ecx, dword [ecx + 0x1928]
lahf
mov dword [esp + 0x34], ecx
test ah, 0x44
jp 0x1002b0aa
movss xmm4, dword [ecx + 0x228]
lea esi, [ecx + 0x17c]
movss dword [ecx + 0x168], xmm4
mov edi, dword [esi + 4]
mov ecx, dword [esi]
cmp ecx, edi
jne 0x1002b0e3
inc ecx
test edi, edi
je 0x1002b0d1
mov eax, edi
cdq
sub eax, edx
sar eax, 1
add eax, edi
jmp 0x1002b0d6
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.1002f8f0
mov edx, dword [esi]
mov ecx, dword [esi + 8]
mov eax, dword [esp + 0x34]
push 0
push 0
push 6
mov eax, dword [eax + 0x168]
mov dword [ecx + edx*4], eax
lea eax, [esp + 0x58]
inc dword [esi]
lea edx, [esp + 0x114]
push eax
push 0x40
mov ecx, str.Text
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
call fcn.10024730
add esp, 0x14
test al, al
je 0x1002b1da
mov byte [esp + 0xf], 1
lea ecx, [esp + 0x108]
nop dword [eax]
mov al, byte [ecx]
cmp al, 0x23
je 0x1002b14e
cmp al, 0x20
je 0x1002b14e
cmp al, 9
jne 0x1002b151
inc ecx
jmp 0x1002b140
cmp byte [esp + 0x3c], 0
mov dword [esp + 0x94], 0
mov dword [esp + 0x90], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x88], 0
je 0x1002b1b4
lea eax, [esp + 0x94]
push eax
lea eax, [esp + 0x94]
push eax
lea eax, [esp + 0x94]
push eax
lea eax, [esp + 0x94]
push eax
push str._02X_02X_02X_02X
push ecx
call fcn.1000d840
add esp, 0x18
jmp 0x1002b1da
lea eax, [esp + 0x90]
push eax
lea eax, [esp + 0x90]
push eax
lea eax, [esp + 0x90]
push eax
push str._02X_02X_02X
push ecx
call fcn.1000d840
add esp, 0x14
mov ecx, dword [esp + 0x10]
test cl, 8
jne 0x1002b1ec
call fcn.100180c0
mov ecx, dword [esp + 0x10]
mov esi, dword [0x100e4e74]
mov eax, dword [esi + 0x1928]
mov byte [eax + 0x78], 1
mov edx, dword [esi + 0x1928]
mov edi, dword [edx + 0x17c]
sub edi, 1
mov dword [edx + 0x17c], edi
jne 0x1002b228
movss xmm0, dword [edx + 0x228]
xorps xmm5, xmm5
movss dword [edx + 0x168], xmm0
jmp 0x1002b247
mov eax, dword [edx + 0x184]
xorps xmm5, xmm5
movss xmm0, dword [eax + edi*4 - 4]
movss dword [edx + 0x168], xmm0
jmp 0x1002b247
mov esi, dword [0x100e4e74]
mov edi, dword [esp + 0x1c]
mov dword [esp + 0x14], 0
test cl, 0x10
jne 0x1002b55e
test cl, 0x20
jne 0x1002b2c4
mov eax, dword [esi + 0x1928]
movss xmm1, dword [edi + 0x1554]
mov byte [eax + 0x78], 1
mov edx, dword [esi + 0x1928]
cmp byte [edx + 0x7b], 0
jne 0x1002b2c4
comiss xmm5, xmm1
jbe 0x1002b28c
movss xmm1, dword [esi + 0x154c]
addss xmm1, dword [edx + 0xd0]
movss xmm0, dword [edx + 0xd4]
movss dword [edx + 0xc8], xmm1
movss dword [edx + 0xcc], xmm0
mov eax, dword [edx + 0xf0]
mov dword [edx + 0xe8], eax
mov eax, dword [edx + 0xf4]
mov dword [edx + 0xec], eax
cmp byte [esp + 0x3c], 0
mov eax, dword [esp + 0x24]
je 0x1002b2d6
movss xmm1, dword [eax + 0xc]
jmp 0x1002b2de
movss xmm1, dword [0x100a0534]
movss xmm0, dword [eax]
lea edx, [esp + 0x60]
mov dword [esp + 0x38], 0
push dword [esp + 0x38]
movss dword [esp + 0x64], xmm0
movss xmm0, dword [eax + 4]
mov dword [esp + 0x38], 0
push dword [esp + 0x38]
movss dword [esp + 0x6c], xmm0
movss xmm0, dword [eax + 8]
push ecx
mov ecx, str.ColorButton
movss dword [esp + 0x74], xmm0
movss dword [esp + 0x78], xmm1
call fcn.100298f0
add esp, 0xc
test al, al
mov eax, dword [esp + 0x10]
je 0x1002b3f9
test al, 4
jne 0x1002b3f9
movups xmm0, xmmword [esp + 0x60]
mov esi, dword [0x100e4e74]
xor edx, edx
movups xmmword [edi + 0x2b1c], xmm0
mov eax, dword [esi + 0x1928]
mov ecx, dword [eax + 0x1c8]
mov eax, dword [eax + 0x1d0]
push dword [eax + ecx*4 - 4]
mov ecx, 0x100a0344
call fcn.1000f090
add esp, 4
cmp dword [esi + 0x1944], eax
jne 0x1002b388
mov byte [esi + 0x1950], 1
cmp dword [esi + 0x1948], eax
jne 0x1002b397
mov byte [esi + 0x1954], 1
mov ecx, eax
call fcn.10017a60
mov eax, dword [esp + 0x28]
movss xmm1, dword [eax + 0x10c]
movss xmm0, dword [eax + 0x118]
addss xmm0, dword [edi + 0x1550]
mov eax, dword [0x100e4e74]
subss xmm1, dword [0x100a0534]
movss dword [eax + 0x19d8], xmm0
mov dword [eax + 0x19dc], 0
movss dword [eax + 0x19d4], xmm1
mov dword [eax + 0x19e0], 0
mov dword [eax + 0x19b8], 1
mov eax, dword [esp + 0x10]
test al, 8
jne 0x1002b402
call fcn.100180c0
mov ecx, 0x100a0344
call fcn.10017eb0
test al, al
je 0x1002b550
mov eax, dword [edi + 0x1928]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x44]
cmp ecx, eax
je 0x1002b436
mov edx, eax
call fcn.1001e550
call fcn.1002e140
movss xmm0, dword [esp + 0x48]
mov eax, dword [esp + 0x40]
mulss xmm0, dword [0x100a05c8]
and eax, 0x7890002
mov ecx, dword [0x100e4e74]
or eax, 0x740080
mov dword [esp + 0x40], eax
ucomiss xmm0, dword [0x100a04a0]
mov eax, dword [ecx + 0x1928]
mov byte [eax + 0x78], 1
mov ecx, dword [ecx + 0x1928]
mov dword [esp + 0x48], ecx
lahf
test ah, 0x44
jp 0x1002b485
movss xmm0, dword [ecx + 0x228]
lea esi, [ecx + 0x17c]
movss dword [ecx + 0x168], xmm0
mov edi, dword [esi + 4]
mov ecx, dword [esi]
cmp ecx, edi
jne 0x1002b4be
inc ecx
test edi, edi
je 0x1002b4ac
mov eax, edi
cdq
sub eax, edx
sar eax, 1
add eax, edi
jmp 0x1002b4b1
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.1002f8f0
mov edx, dword [esi]
mov ecx, dword [esi + 8]
mov eax, dword [esp + 0x48]
mov edi, dword [esp + 0x1c]
mov eax, dword [eax + 0x168]
mov dword [ecx + edx*4], eax
lea eax, [edi + 0x2b1c]
mov edx, dword [esp + 0x24]
mov ecx, str.picker
inc dword [esi]
push eax
mov eax, dword [esp + 0x44]
push eax
call fcn.1002b9c0
mov ecx, dword [0x100e4e74]
add esp, 8
or byte [esp + 0xf], al
mov eax, dword [ecx + 0x1928]
mov byte [eax + 0x78], 1
mov ecx, dword [ecx + 0x1928]
mov edx, dword [ecx + 0x17c]
sub edx, 1
mov dword [ecx + 0x17c], edx
jne 0x1002b535
movss xmm0, dword [ecx + 0x228]
movss dword [ecx + 0x168], xmm0
call fcn.10017fd0
jmp 0x1002b554
mov eax, dword [ecx + 0x184]
movss xmm0, dword [eax + edx*4 - 4]
movss dword [ecx + 0x168], xmm0
call fcn.10017fd0
jmp 0x1002b554
mov edi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
mov esi, dword [0x100e4e74]
mov edx, dword [esp + 0x44]
cmp dword [esp + 0x2c], edx
je 0x1002b5e1
test cl, cl
js 0x1002b5e1
mov eax, dword [esi + 0x1928]
movss xmm1, dword [edi + 0x1554]
mov byte [eax + 0x78], 1
mov edi, dword [esi + 0x1928]
cmp byte [edi + 0x7b], 0
jne 0x1002b5d2
xorps xmm0, xmm0
comiss xmm0, xmm1
jbe 0x1002b59a
movss xmm1, dword [esi + 0x154c]
addss xmm1, dword [edi + 0xd0]
movss xmm0, dword [edi + 0xd4]
movss dword [edi + 0xc8], xmm1
movss dword [edi + 0xcc], xmm0
mov eax, dword [edi + 0xf0]
mov dword [edi + 0xe8], eax
mov eax, dword [edi + 0xf4]
mov dword [edi + 0xec], eax
mov ecx, dword [esp + 0x2c]
call fcn.1001e550
mov esi, dword [0x100e4e74]
cmp dword [esp + 0x14], 0
jne 0x1002b684
cmp byte [esp + 0x1b], 0
jne 0x1002b60a
movups xmm0, xmmword [esp + 0x88]
cvtdq2ps xmm0, xmm0
divps xmm0, xmmword [0x100a0bd0]
movups xmmword [esp + 0x78], xmm0
test dword [esp + 0x10], 0x200000
je 0x1002b641
movss xmm2, dword [esp + 0x80]
lea eax, [esp + 0x80]
movss xmm1, dword [esp + 0x7c]
lea edx, [esp + 0x7c]
movss xmm0, dword [esp + 0x78]
lea ecx, [esp + 0x78]
push eax
call fcn.1000f7c0
add esp, 4
cmp byte [esp + 0xf], 0
je 0x1002b684
cmp byte [esp + 0x3c], 0
mov eax, dword [esp + 0x24]
movss xmm0, dword [esp + 0x78]
movss dword [eax], xmm0
movss xmm0, dword [esp + 0x7c]
movss dword [eax + 4], xmm0
movss xmm0, dword [esp + 0x80]
movss dword [eax + 8], xmm0
je 0x1002b684
movss xmm0, dword [esp + 0x84]
movss dword [eax + 0xc], xmm0
mov eax, dword [esi + 0x1928]
dec dword [eax + 0x1c8]
call fcn.1002e5c0
mov edi, dword [esp + 0x28]
test byte [edi + 0x108], 1
je 0x1002b7e3
test dword [esp + 0x10], 0x200
jne 0x1002b7e3
mov esi, dword [0x100e4e74]
cmp byte [esi + 0x1bd8], 0
je 0x1002b79c
mov ecx, dword [esi + 0x1928]
mov edx, dword [ecx + 0x108]
test dl, 1
je 0x1002b79c
mov edi, dword [esi + 0x192c]
test edi, edi
je 0x1002b798
mov eax, dword [ecx + 0x2f8]
cmp eax, dword [edi + 0x2f8]
jne 0x1002b798
lea edi, [ecx + 0x11c]
test dl, 2
jne 0x1002b70d
lea edi, [ecx + 0x10c]
mov eax, dword [ecx + 0x104]
test eax, eax
jne 0x1002b71d
push edi
call fcn.100109c0
cmp dword [esi + 0x1bec], eax
je 0x1002b798
movups xmm0, xmmword [edi]
mov ecx, str._COL3F
mov dword [esi + 0x1c2c], eax
mov byte [esi + 0x1bd9], 1
movups xmmword [esi + 0x1c1c], xmm0
call fcn.1002f0c0
mov esi, dword [esp + 0x24]
test eax, eax
je 0x1002b763
mov eax, dword [eax]
mov byte [esp + 0xf], 1
movq xmm0, qword [eax]
movq qword [esi], xmm0
mov eax, dword [eax + 8]
mov dword [esi + 8], eax
mov ecx, str._COL4F
call fcn.1002f0c0
mov ecx, eax
test ecx, ecx
je 0x1002b78b
mov eax, dword [esp + 0x30]
shl eax, 2
push eax
push dword [ecx]
push esi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov byte [esp + 0xf], 1
mov esi, dword [0x100e4e74]
mov byte [esi + 0x1bd9], 0
mov edi, dword [esp + 0x28]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x1002b7c0
mov edx, dword [esp + 0x1c]
mov ecx, dword [edx + 0x1944]
test ecx, ecx
je 0x1002b7c0
cmp dword [edx + 0x1964], eax
jne 0x1002b7c0
mov dword [edi + 0x104], ecx
mov al, byte [esp + 0xf]
test al, al
je 0x1002b7cf
mov byte [esi + 0x1953], 1
mov ecx, dword [esp + 0x14c]
pop edi
pop esi
xor ecx, esp
call fcn.10049d20
mov esp, ebp
pop ebp
ret
mov esi, dword [0x100e4e74]
jmp 0x1002b79c