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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x138
mov eax, dword [0x10167080]
xor eax, esp
mov dword [esp + 0x134], eax
push esi
push edi
mov edi, dword [0x1021abec]
mov dword [esp + 0x20], edx
mov edx, ecx
mov ecx, dword [ebp + 8]
mov dword [esp + 0x2c], edx
mov eax, dword [edi + 0x199c]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x18], edi
mov byte [eax + 0x78], 1
mov eax, dword [edi + 0x199c]
mov dword [esp + 0x48], eax
cmp byte [eax + 0x7b], 0
je 0x1008c207
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0x134]
xor ecx, esp
call fcn.100d8e9a
mov esp, ebp
pop ebp
ret
movss xmm0, dword [edi + 0x1550]
addss xmm0, xmm0
addss xmm0, dword [edi + 0x18bc]
movss dword [esp + 0x4c], xmm0
test cl, 0x10
je 0x1008c22b
xorps xmm3, xmm3
jmp 0x1008c236
movaps xmm3, xmm0
addss xmm3, dword [edi + 0x1564]
mov esi, eax
xorps xmm0, xmm0
movss xmm2, dword [esi + 0x168]
comiss xmm0, xmm2
jbe 0x1008c2b8
movss xmm4, dword [esi + 0xc4]
movss xmm1, dword [esi + 0x210]
mov edi, dword [esi + 0x1b8]
subss xmm4, dword [esi + 0xc]
subss xmm1, dword [esi + 0xc]
test edi, edi
je 0x1008c2a0
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 + 0x18]
subss xmm1, xmm4
addss xmm1, xmm2
movss xmm2, dword [0x101519fc]
maxss xmm2, xmm1
cvttss2si eax, xmm2
movd xmm0, eax
mov eax, edx
mov dword [esp + 0x34], eax
cvtdq2ps xmm0, xmm0
subss xmm0, xmm3
movss dword [esp + 0x10], xmm0
cmp edx, 0xffffffff
jae 0x1008c2f1
mov cl, byte [eax]
test cl, cl
je 0x1008c2f1
inc eax
cmp cl, 0x23
jne 0x1008c2e8
cmp byte [eax], cl
je 0x1008c2f1
mov dword [esp + 0x34], eax
cmp eax, 0xffffffff
jb 0x1008c2d8
call fcn.10076df0
mov ecx, dword [esp + 0x2c]
call fcn.10076d00
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x44], ecx
test cl, 0x20
je 0x1008c31c
and ecx, 0xff9fffff
or ecx, 0x100008
mov dword [esp + 0xc], ecx
mov esi, dword [esp + 0x20]
test cl, 8
jne 0x1008c332
mov edx, ecx
mov ecx, esi
call fcn.10090a00
mov ecx, dword [esp + 0xc]
test ecx, 0x700000
jne 0x1008c347
mov eax, dword [edi + 0x2be0]
and eax, 0x700000
or ecx, eax
test ecx, 0x1800000
jne 0x1008c35c
mov eax, dword [edi + 0x2be0]
and eax, 0x1800000
or ecx, eax
test ecx, 0x6000000
jne 0x1008c371
mov eax, dword [edi + 0x2be0]
and eax, 0x6000000
or ecx, eax
mov eax, dword [edi + 0x2be0]
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 + 0xc], ecx
and edx, 0xffffff01
mov dword [esp + 0x50], eax
movzx eax, dl
add eax, 3
mov dword [esp + 0x38], edx
mov dword [esp + 0x30], eax
movss dword [esp + 0x60], xmm2
movss dword [esp + 0x64], xmm5
movss dword [esp + 0x68], xmm1
test dl, dl
je 0x1008c3db
movss xmm0, dword [esi + 0xc]
movss dword [esp + 0x6c], xmm0
jmp 0x1008c3e3
mov dword [esp + 0x6c], 0x3f800000
test ecx, 0x200000
je 0x1008c47b
comiss xmm1, xmm5
xorps xmm4, xmm4
movaps xmm3, xmm5
jbe 0x1008c408
movss xmm4, dword [0x1013df50]
movaps xmm3, xmm1
movaps xmm1, xmm5
comiss xmm3, xmm2
movaps xmm5, xmm2
jbe 0x1008c425
movss xmm0, dword [0x10151c08]
movaps xmm5, xmm3
subss xmm0, xmm4
movaps xmm3, xmm2
movaps xmm4, xmm0
movaps xmm0, xmm3
movaps xmm2, xmm5
minss xmm0, xmm1
subss xmm3, xmm1
subss xmm2, xmm0
movaps xmm0, xmm2
mulss xmm0, dword [0x1013df34]
addss xmm0, dword [0x101518ec]
divss xmm3, xmm0
addss xmm3, xmm4
movaps xmm0, xmm3
call fcn.10006ce0
movss dword [esp + 0x60], xmm0
movaps xmm0, xmm5
addss xmm0, dword [0x101518ec]
movss dword [esp + 0x68], xmm5
divss xmm2, xmm0
movss dword [esp + 0x64], xmm2
movss xmm0, dword [esp + 0x60]
xorps xmm5, xmm5
comiss xmm0, xmm5
movss xmm2, dword [0x10151c0c]
movss xmm1, dword [0x1015199c]
jb 0x1008c49e
movaps xmm4, xmm1
jmp 0x1008c4a1
movaps xmm4, xmm2
movss xmm0, dword [esp + 0x60]
movss xmm3, dword [0x10151b90]
mulss xmm0, xmm3
addss xmm0, xmm4
cvttss2si esi, xmm0
movss xmm0, dword [esp + 0x64]
comiss xmm0, xmm5
mov dword [esp + 0x70], esi
jb 0x1008c4cf
movaps xmm4, xmm1
jmp 0x1008c4d2
movaps xmm4, xmm2
movss xmm0, dword [esp + 0x64]
mulss xmm0, xmm3
addss xmm0, xmm4
cvttss2si edx, xmm0
movss xmm0, dword [esp + 0x68]
comiss xmm0, xmm5
mov dword [esp + 0x74], edx
jb 0x1008c4f8
movaps xmm4, xmm1
jmp 0x1008c4fb
movaps xmm4, xmm2
movss xmm0, dword [esp + 0x68]
mulss xmm0, xmm3
addss xmm0, xmm4
cvttss2si eax, xmm0
movss xmm0, dword [esp + 0x6c]
comiss xmm0, xmm5
mov dword [esp + 0x78], eax
jae 0x1008c51f
movaps xmm1, xmm2
movss xmm0, dword [esp + 0x6c]
mulss xmm0, xmm3
mov byte [esp + 0xb], 0
mov byte [esp + 0x17], 0
addss xmm0, xmm1
cvttss2si edi, xmm0
mov dword [esp + 0x7c], edi
test ecx, 0x300000
je 0x1008caf4
test cl, 0x20
jne 0x1008caf4
mov edx, dword [esp + 0x30]
test ecx, 0x1000000
movss xmm4, dword [esp + 0x10]
mov ecx, str.M:000
movaps xmm1, xmm4
mov esi, dword [0x1021abec]
push 0
lea eax, [edx - 1]
movd xmm2, eax
mov eax, dword [esp + 0x1c]
cvtdq2ps xmm2, xmm2
mov edi, dword [esi + 0x18b8]
push 0
movss xmm3, dword [eax + 0x1564]
movaps xmm0, xmm2
mulss xmm0, xmm3
subss xmm1, xmm0
movd xmm0, edx
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
cvttss2si eax, xmm1
movss xmm1, dword [0x101519fc]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
maxss xmm1, xmm0
addss xmm3, xmm1
movss dword [esp + 0x24], xmm1
movss xmm1, dword [0x101519fc]
mulss xmm3, xmm2
subss xmm4, xmm3
movss xmm3, dword [0x10151bf0]
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 + 0x34]
mov dword [esp], 0xbf800000
push eax
maxss xmm1, xmm0
mov ecx, edi
movss xmm0, dword [esi + 0x18bc]
movaps xmm2, xmm0
movss dword [esp + 0x24], xmm0
movss dword [esp + 0x70], xmm1
call fcn.100abda0
movss xmm0, dword [esp + 0x24]
xorps xmm4, xmm4
comiss xmm0, xmm4
jbe 0x1008c640
movss xmm1, dword [esp + 0x10]
divss xmm1, dword [edi]
subss xmm0, xmm1
addss xmm0, dword [0x101519e8]
mov dword [esp + 0x80], 0x1014a50c
mov dword [esp + 0x84], 0x1014a510
mov dword [esp + 0x88], 0x1014a514
mov dword [esp + 0x8c], 0x1014a518
cvttss2si eax, xmm0
mov dword [esp + 0xc8], 0x1014a51c
mov dword [esp + 0xcc], 0x1014a51c
mov dword [esp + 0xd0], 0x1014a51c
mov dword [esp + 0xd4], 0x1014a51c
mov dword [esp + 0xd8], str.R:_3d
mov dword [esp + 0xdc], str.G:_3d
movss xmm0, dword [esp + 0x28]
movss dword [esp + 0x28], xmm0
movss xmm0, dword [esp + 0x1c]
mov dword [esp + 0xe0], str.B:_3d
movd xmm1, eax
cvtdq2ps xmm1, xmm1
mov dword [esp + 0xe4], str.A:_3d
mov dword [esp + 0xe8], str.H:_3d
mov dword [esp + 0xec], str.S:_3d
mov dword [esp + 0xf0], str.V:_3d
mov dword [esp + 0xf4], str.A:_3d
comiss xmm1, xmm0
mov dword [esp + 0x98], str._0.3f
mov dword [esp + 0x9c], str._0.3f
mov dword [esp + 0xa0], str._0.3f
mov dword [esp + 0xa4], str._0.3f
mov dword [esp + 0xa8], str.R:_0.3f
mov dword [esp + 0xac], str.G:_0.3f
mov dword [esp + 0xb0], str.B:_0.3f
mov dword [esp + 0xb4], str.A:_0.3f
mov dword [esp + 0xb8], str.H:_0.3f
mov dword [esp + 0xbc], str.S:_0.3f
mov dword [esp + 0xc0], str.V:_0.3f
mov dword [esp + 0xc4], str.A:_0.3f
jb 0x1008c7a6
xor eax, eax
mov dword [esp + 0x10], eax
jmp 0x1008c7bb
mov ecx, dword [esp + 0xc]
and ecx, 0x200000
neg ecx
sbb ecx, ecx
neg ecx
inc ecx
mov dword [esp + 0x10], ecx
mov eax, dword [esi + 0x199c]
ucomiss xmm0, xmm4
mov byte [eax + 0x78], 1
mov ecx, dword [esi + 0x199c]
mov dword [esp + 0x1c], ecx
lahf
test ah, 0x44
jp 0x1008c7e0
movss xmm0, dword [ecx + 0x21c]
lea edi, [ecx + 0x17c]
movss dword [ecx + 0x168], xmm0
mov ecx, dword [edi + 4]
mov eax, dword [edi]
cmp eax, ecx
jne 0x1008c824
lea esi, [eax + 1]
test ecx, ecx
je 0x1008c809
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x1008c80e
mov eax, 8
cmp eax, esi
mov ecx, edi
cmovg esi, eax
push esi
call fcn.1007efa0
mov esi, dword [0x1021abec]
xorps xmm4, xmm4
mov edx, dword [edi]
mov ecx, dword [edi + 8]
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0x168]
mov dword [ecx + edx*4], eax
inc dword [edi]
xor edi, edi
cmp dword [esp + 0x30], edi
jbe 0x1008ca5e
mov eax, dword [esp + 0xc]
mov ecx, eax
and ecx, 0x1000000
and eax, 8
shl dword [esp + 0x10], 4
mov dword [esp + 0x54], ecx
mov dword [esp + 0x24], eax
test edi, edi
je 0x1008c878
mov eax, dword [esp + 0x18]
xorps xmm0, xmm0
movss xmm1, dword [eax + 0x1564]
call fcn.100770c0
lea eax, [edi + 1]
cmp eax, dword [esp + 0x30]
jne 0x1008c905
movss xmm0, dword [esp + 0x5c]
mov eax, dword [esi + 0x199c]
ucomiss xmm0, xmm4
mov byte [eax + 0x78], 1
mov ecx, dword [esi + 0x199c]
mov dword [esp + 0x3c], ecx
lahf
test ah, 0x44
jp 0x1008c8b0
movss xmm0, dword [ecx + 0x21c]
lea esi, [ecx + 0x17c]
movss dword [ecx + 0x168], xmm0
mov ecx, dword [esi + 4]
mov edx, dword [esi]
cmp edx, ecx
jne 0x1008c8f1
inc edx
mov dword [esp + 0x1c], edx
test ecx, ecx
je 0x1008c8df
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x1c]
sar eax, 1
add eax, ecx
jmp 0x1008c8e4
mov eax, 8
cmp eax, edx
mov ecx, esi
cmovg edx, eax
push edx
call fcn.1007efa0
mov edx, dword [esi]
mov eax, dword [esp + 0x3c]
mov ecx, dword [esi + 8]
mov eax, dword [eax + 0x168]
mov dword [ecx + edx*4], eax
inc dword [esi]
cmp dword [esp + 0x54], 0
je 0x1008c97d
cmp byte [esp + 0x50], 0
mov eax, dword [esp + 0x10]
je 0x1008c91c
xorps xmm0, xmm0
jmp 0x1008c924
movss xmm0, dword [0x101519fc]
movss xmm3, dword [0x10151930]
mov edx, 4
push ecx
mov ecx, dword [esp + edi*4 + 0x84]
mov dword [esp], 0x3f800000
push dword [esp + eax + 0x9c]
lea eax, [esp + 0x44]
movss dword [esp + 0x44], xmm0
push eax
lea eax, [esp + 0x28]
mov dword [esp + 0x28], 0
push eax
lea eax, [esp + 0x70]
lea eax, [eax + edi*4]
push eax
call fcn.10084a10
add esp, 0x14
or al, byte [esp + 0xb]
mov byte [esp + 0x17], al
mov byte [esp + 0xb], al
jmp 0x1008c9d8
movss xmm3, dword [0x101519fc]
xor ecx, ecx
cmp byte [esp + 0x50], cl
mov eax, 0xff
push ecx
cmovne eax, ecx
mov dword [esp], 0x3f800000
mov dword [esp + 0x40], eax
xor edx, edx
mov eax, dword [esp + 0x14]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + edi*4 + 0x84]
push dword [esp + eax + 0xcc]
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x80]
lea eax, [eax + edi*4]
push eax
call fcn.10084a10
add esp, 0x14
or byte [esp + 0xb], al
cmp dword [esp + 0x24], 0
mov esi, dword [0x1021abec]
jne 0x1008ca4b
cmp byte [esi + 0x403], 0
je 0x1008ca4b
mov ecx, 8
call fcn.1006efa0
test al, al
je 0x1008ca4b
mov eax, dword [esi + 0x199c]
xor edx, edx
mov ecx, dword [eax + 0x1bc]
mov eax, dword [eax + 0x1c4]
push dword [eax + ecx*4 - 4]
mov ecx, str.context
call fcn.1006c490
add esp, 4
cmp dword [esi + 0x19bc], eax
jne 0x1008ca2f
mov dword [esi + 0x19c4], eax
cmp dword [esi + 0x19c0], eax
jne 0x1008ca3e
mov byte [esi + 0x19cf], 1
mov ecx, eax
call fcn.100773c0
mov esi, dword [0x1021abec]
add dword [esp + 0x10], 4
inc edi
xorps xmm4, xmm4
cmp edi, dword [esp + 0x30]
jl 0x1008c860
mov eax, dword [esi + 0x199c]
mov byte [eax + 0x78], 1
mov ecx, dword [esi + 0x199c]
mov edx, dword [ecx + 0x17c]
sub edx, 1
mov dword [ecx + 0x17c], edx
jne 0x1008ca89
movss xmm0, dword [ecx + 0x21c]
jmp 0x1008ca95
mov eax, dword [ecx + 0x184]
movss xmm0, dword [eax + edx*4 - 4]
movss dword [ecx + 0x168], xmm0
mov eax, dword [esi + 0x199c]
mov byte [eax + 0x78], 1
mov ecx, dword [esi + 0x199c]
mov edx, dword [ecx + 0x17c]
sub edx, 1
mov dword [ecx + 0x17c], edx
jne 0x1008cad7
movss xmm0, dword [ecx + 0x21c]
movss dword [ecx + 0x168], xmm0
mov ecx, dword [esp + 0xc]
jmp 0x1008cdb5
mov eax, dword [ecx + 0x184]
movss xmm0, dword [eax + edx*4 - 4]
movss dword [ecx + 0x168], xmm0
mov ecx, dword [esp + 0xc]
jmp 0x1008cdb5
test ecx, 0x400000
je 0x1008cdaf
test cl, 0x20
jne 0x1008cdaf
cmp byte [esp + 0x38], 0
mov ecx, 0xff
je 0x1008cb69
test edi, edi
jns 0x1008cb1d
xor edi, edi
jmp 0x1008cb22
cmp edi, ecx
cmovg edi, ecx
test eax, eax
jns 0x1008cb2a
xor eax, eax
jmp 0x1008cb32
cmp eax, 0xff
cmovg eax, ecx
test edx, edx
jns 0x1008cb3a
xor edx, edx
jmp 0x1008cb3f
cmp edx, ecx
cmovg edx, ecx
test esi, esi
jns 0x1008cb47
xor esi, esi
jmp 0x1008cb4c
cmp esi, ecx
cmovg esi, ecx
push edi
push eax
push edx
push esi
push 0x1014a5a0
lea eax, [esp + 0x10c]
push 0x40
push eax
call fcn.1006c450
add esp, 0x1c
jmp 0x1008cbad
test eax, eax
jns 0x1008cb71
xor eax, eax
jmp 0x1008cb79
cmp eax, 0xff
cmovg eax, ecx
test edx, edx
jns 0x1008cb81
xor edx, edx
jmp 0x1008cb86
cmp edx, ecx
cmovg edx, ecx
test esi, esi
jns 0x1008cb8e
xor esi, esi
jmp 0x1008cb93
cmp esi, ecx
cmovg esi, ecx
push eax
push edx
push esi
push 0x1014a5b4
lea eax, [esp + 0x108]
push 0x40
push eax
call fcn.1006c450
add esp, 0x18
movss xmm4, dword [esp + 0x10]
ucomiss xmm4, dword [0x1013df4c]
mov ecx, dword [0x1021abec]
mov eax, dword [ecx + 0x199c]
mov byte [eax + 0x78], 1
mov ecx, dword [ecx + 0x199c]
lahf
mov dword [esp + 0x24], ecx
test ah, 0x44
jp 0x1008cbe2
movss xmm4, dword [ecx + 0x21c]
lea esi, [ecx + 0x17c]
movss dword [ecx + 0x168], xmm4
mov edi, dword [esi + 4]
mov ecx, dword [esi]
cmp ecx, edi
jne 0x1008cc1b
inc ecx
test edi, edi
je 0x1008cc09
mov eax, edi
cdq
sub eax, edx
sar eax, 1
add eax, edi
jmp 0x1008cc0e
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.1007efa0
mov edx, dword [esi]
mov ecx, dword [esi + 8]
mov eax, dword [esp + 0x24]
push 0
push 0
push 6
mov eax, dword [eax + 0x168]
mov dword [ecx + edx*4], eax
lea eax, [esp + 0x60]
inc dword [esi]
lea edx, [esp + 0x104]
push eax
push 0x40
mov ecx, str.Text
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
call fcn.10088cf0
add esp, 0x14
test al, al
je 0x1008cced
mov byte [esp + 0xb], 1
lea ecx, [esp + 0xf8]
mov al, byte [ecx]
cmp al, 0x23
je 0x1008cc82
cmp al, 0x20
je 0x1008cc82
cmp al, 9
jne 0x1008cc85
inc ecx
jmp 0x1008cc74
cmp byte [esp + 0x38], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x70], 0
je 0x1008ccd0
lea eax, [esp + 0x7c]
push eax
lea eax, [esp + 0x7c]
push eax
lea eax, [esp + 0x7c]
push eax
lea eax, [esp + 0x7c]
push eax
push str._02X_02X_02X_02X
push ecx
call fcn.10058ba0
add esp, 0x18
jmp 0x1008cced
lea eax, [esp + 0x78]
push eax
lea eax, [esp + 0x78]
push eax
lea eax, [esp + 0x78]
push eax
push str._02X_02X_02X
push ecx
call fcn.10058ba0
add esp, 0x14
mov ecx, dword [esp + 0xc]
mov esi, dword [0x1021abec]
test cl, 8
jne 0x1008cd66
cmp byte [esi + 0x403], 0
mov edi, dword [esi + 0x199c]
je 0x1008cd66
mov ecx, 8
call fcn.1006efa0
test al, al
je 0x1008cd62
mov ecx, dword [edi + 0x1bc]
xor edx, edx
mov eax, dword [edi + 0x1c4]
push dword [eax + ecx*4 - 4]
mov ecx, str.context
call fcn.1006c490
add esp, 4
cmp dword [esi + 0x19bc], eax
jne 0x1008cd46
mov dword [esi + 0x19c4], eax
cmp dword [esi + 0x19c0], eax
jne 0x1008cd55
mov byte [esi + 0x19cf], 1
mov ecx, eax
call fcn.100773c0
mov esi, dword [0x1021abec]
mov ecx, dword [esp + 0xc]
mov eax, dword [esi + 0x199c]
mov byte [eax + 0x78], 1
mov edx, dword [esi + 0x199c]
mov edi, dword [edx + 0x17c]
sub edi, 1
mov dword [edx + 0x17c], edi
jne 0x1008cd99
movss xmm0, dword [edx + 0x21c]
movss dword [edx + 0x168], xmm0
jmp 0x1008cdb5
mov eax, dword [edx + 0x184]
movss xmm0, dword [eax + edi*4 - 4]
movss dword [edx + 0x168], xmm0
jmp 0x1008cdb5
mov esi, dword [0x1021abec]
xor edi, edi
test cl, 0x10
jne 0x1008d0f7
mov esi, dword [esp + 0x18]
test cl, 0x20
jne 0x1008cddd
movss xmm1, dword [esi + 0x1564]
xorps xmm0, xmm0
call fcn.100770c0
mov ecx, dword [esp + 0xc]
cmp byte [esp + 0x38], 0
mov eax, dword [esp + 0x20]
je 0x1008cdef
movss xmm1, dword [eax + 0xc]
jmp 0x1008cdf7
movss xmm1, dword [0x101519fc]
movss xmm0, dword [eax]
lea edx, [esp + 0x80]
movss dword [esp + 0x80], xmm0
movss xmm0, dword [eax + 4]
push edi
movss dword [esp + 0x88], xmm0
movss xmm0, dword [eax + 8]
push edi
push ecx
mov ecx, str.ColorButton
movss dword [esp + 0x94], xmm0
movss dword [esp + 0x98], xmm1
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
call fcn.1008fea0
add esp, 0xc
test al, al
je 0x1008cf0f
test byte [esp + 0xc], 4
jne 0x1008cf0f
movups xmm0, xmmword [esp + 0x80]
xor edx, edx
movups xmmword [esi + 0x2be4], xmm0
mov esi, dword [0x1021abec]
mov eax, dword [esi + 0x199c]
mov ecx, dword [eax + 0x1bc]
mov eax, dword [eax + 0x1c4]
push dword [eax + ecx*4 - 4]
mov ecx, 0x1014a600
call fcn.1006c490
add esp, 4
cmp dword [esi + 0x19bc], eax
jne 0x1008cea3
mov dword [esi + 0x19c4], eax
cmp dword [esi + 0x19c0], eax
jne 0x1008ceb2
mov byte [esi + 0x19cf], 1
mov ecx, eax
call fcn.100773c0
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x18]
mov esi, dword [0x1021abec]
movss xmm1, dword [ecx + 0x110]
movss xmm0, dword [eax + 0x1560]
addss xmm0, dword [ecx + 0x11c]
subss xmm1, dword [0x101519fc]
mov dword [esi + 0x1a60], edi
mov dword [esi + 0x1a64], edi
mov dword [esi + 0x1a3c], 1
movss dword [esi + 0x1a5c], xmm0
movss dword [esi + 0x1a58], xmm1
jmp 0x1008cf15
mov esi, dword [0x1021abec]
test byte [esp + 0xc], 8
jne 0x1008cf7c
cmp byte [esi + 0x403], 0
je 0x1008cf7c
mov ecx, 8
call fcn.1006efa0
test al, al
je 0x1008cf7c
mov eax, dword [esi + 0x199c]
xor edx, edx
mov ecx, dword [eax + 0x1bc]
mov eax, dword [eax + 0x1c4]
push dword [eax + ecx*4 - 4]
mov ecx, str.context
call fcn.1006c490
add esp, 4
cmp dword [esi + 0x19bc], eax
jne 0x1008cf66
mov dword [esi + 0x19c4], eax
cmp dword [esi + 0x19c0], eax
jne 0x1008cf75
mov byte [esi + 0x19cf], 1
mov ecx, eax
call fcn.100773c0
mov ecx, 0x1014a600
call fcn.10077830
test al, al
je 0x1008d0ed
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x2c]
mov eax, dword [eax + 0x199c]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x34]
cmp ecx, eax
je 0x1008cfdf
mov edx, eax
call fcn.1007f800
mov ecx, dword [0x1021abec]
mov eax, dword [ecx + 0x199c]
mov byte [eax + 0x78], 1
mov eax, dword [ecx + 0x199c]
cmp byte [eax + 0x7b], 0
jne 0x1008cfdf
xorps xmm1, xmm1
mov dword [esp + 0x3c], edi
lea ecx, [esp + 0x3c]
mov dword [esp + 0x40], edi
call fcn.1006ecd0
movss xmm0, dword [esp + 0x4c]
mov eax, dword [esp + 0x44]
mulss xmm0, dword [0x10151aec]
and eax, 0x7890002
mov ecx, dword [0x1021abec]
or eax, 0x740080
mov dword [esp + 0x44], eax
ucomiss xmm0, dword [0x1013df4c]
mov eax, dword [ecx + 0x199c]
mov byte [eax + 0x78], 1
mov ecx, dword [ecx + 0x199c]
mov dword [esp + 0x4c], ecx
lahf
test ah, 0x44
jp 0x1008d02e
movss xmm0, dword [ecx + 0x21c]
lea esi, [ecx + 0x17c]
movss dword [ecx + 0x168], xmm0
mov edi, dword [esi + 4]
mov ecx, dword [esi]
cmp ecx, edi
jne 0x1008d067
inc ecx
test edi, edi
je 0x1008d055
mov eax, edi
cdq
sub eax, edx
sar eax, 1
add eax, edi
jmp 0x1008d05a
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.1007efa0
mov edx, dword [esi]
mov ecx, dword [esi + 8]
mov eax, dword [esp + 0x4c]
mov eax, dword [eax + 0x168]
mov dword [ecx + edx*4], eax
mov ecx, str.picker
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
add eax, 0x2be4
inc dword [esi]
push eax
mov eax, dword [esp + 0x48]
push eax
call fcn.1008d810
mov ecx, dword [0x1021abec]
add esp, 8
or byte [esp + 0xb], al
mov eax, dword [ecx + 0x199c]
mov byte [eax + 0x78], 1
mov ecx, dword [ecx + 0x199c]
mov edx, dword [ecx + 0x17c]
sub edx, 1
mov dword [ecx + 0x17c], edx
jne 0x1008d0d0
movss xmm0, dword [ecx + 0x21c]
jmp 0x1008d0dc
mov eax, dword [ecx + 0x184]
movss xmm0, dword [eax + edx*4 - 4]
movss dword [ecx + 0x168], xmm0
call fcn.10077ae0
mov edi, dword [esp + 0x24]
mov ecx, dword [esp + 0xc]
mov esi, dword [0x1021abec]
mov eax, dword [esp + 0x2c]
cmp eax, dword [esp + 0x34]
je 0x1008d12c
test cl, cl
js 0x1008d12c
mov eax, dword [esp + 0x18]
xorps xmm0, xmm0
movss xmm1, dword [eax + 0x1564]
call fcn.100770c0
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x2c]
call fcn.1007f800
mov esi, dword [0x1021abec]
test edi, edi
jne 0x1008d1bd
cmp byte [esp + 0x17], 0
jne 0x1008d14f
movups xmm0, xmmword [esp + 0x70]
cvtdq2ps xmm0, xmm0
divps xmm0, xmmword [0x10151f00]
movups xmmword [esp + 0x60], xmm0
test dword [esp + 0xc], 0x200000
je 0x1008d180
movss xmm2, dword [esp + 0x68]
lea eax, [esp + 0x68]
movss xmm1, dword [esp + 0x64]
lea edx, [esp + 0x64]
movss xmm0, dword [esp + 0x60]
lea ecx, [esp + 0x60]
push eax
call fcn.1006cc50
add esp, 4
cmp byte [esp + 0xb], 0
je 0x1008d1bd
cmp byte [esp + 0x38], 0
mov eax, dword [esp + 0x20]
movss xmm0, dword [esp + 0x60]
movss dword [eax], xmm0
movss xmm0, dword [esp + 0x64]
movss dword [eax + 4], xmm0
movss xmm0, dword [esp + 0x68]
movss dword [eax + 8], xmm0
je 0x1008d1bd
movss xmm0, dword [esp + 0x6c]
movss dword [eax + 0xc], xmm0
mov eax, dword [esi + 0x199c]
dec dword [eax + 0x1bc]
call fcn.10076f30
mov esi, dword [esp + 0x48]
test byte [esi + 0x10c], 1
je 0x1008d250
test dword [esp + 0xc], 0x200
jne 0x1008d250
call fcn.1007c170
test al, al
je 0x1008d250
mov ecx, str._COL3F
call fcn.1007c2b0
mov esi, dword [esp + 0x20]
test eax, eax
je 0x1008d215
mov eax, dword [eax]
mov byte [esp + 0xb], 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.1007c2b0
mov ecx, eax
test ecx, ecx
je 0x1008d23d
mov eax, dword [esp + 0x30]
shl eax, 2
push eax
push dword [ecx]
push esi
call fcn.100dab50
add esp, 0xc
mov byte [esp + 0xb], 1
mov ecx, dword [0x1021abec]
mov esi, dword [esp + 0x48]
mov byte [ecx + 0x1c5d], 0
jmp 0x1008d256
mov ecx, dword [0x1021abec]
test edi, edi
je 0x1008d276
mov edx, dword [esp + 0x18]
mov eax, dword [edx + 0x19bc]
test eax, eax
je 0x1008d276
cmp dword [edx + 0x19e0], edi
jne 0x1008d276
mov dword [esi + 0x108], eax
mov al, byte [esp + 0xb]
test al, al
je 0x1008d292
mov byte [ecx + 0x19ce], 1
mov ecx, dword [ecx + 0x199c]
or dword [ecx + 0x10c], 4
mov ecx, dword [esp + 0x13c]
pop edi
pop esi
xor ecx, esp
call fcn.100d8e9a
mov esp, ebp
pop ebp
ret