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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x138
mov eax, dword [0x1006b040]
xor eax, esp
mov dword [esp + 0x134], eax
push esi
mov esi, dword [0x1006bc38]
push edi
mov edi, edx
mov dword [esp + 0x1c], esi
mov edx, ecx
mov dword [esp + 0x2c], edi
mov eax, dword [esi + 0x199c]
mov ecx, dword [ebp + 8]
mov dword [esp + 0x34], edx
mov dword [esp + 0x14], ecx
mov byte [eax + 0x78], 1
mov eax, dword [esi + 0x199c]
mov dword [esp + 0x20], eax
cmp byte [eax + 0x7b], 0
je 0x1002ac79
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0x134]
xor ecx, esp
call fcn.1003f8a4
mov esp, ebp
pop ebp
ret
movss xmm0, dword [esi + 0x1550]
addss xmm0, xmm0
addss xmm0, dword [esi + 0x18bc]
movss dword [esp + 0x48], xmm0
test cl, 0x10
je 0x1002ac9d
xorps xmm3, xmm3
jmp 0x1002aca8
movaps xmm3, xmm0
addss xmm3, dword [esi + 0x1564]
movss xmm2, dword [eax + 0x168]
xorps xmm0, xmm0
comiss xmm0, xmm2
jbe 0x1002ad2c
movss xmm4, dword [eax + 0xc4]
mov esi, dword [eax + 0x1b8]
movss xmm1, dword [eax + 0x210]
subss xmm4, dword [eax + 0xc]
subss xmm1, dword [eax + 0xc]
test esi, esi
je 0x1002ad14
mov edx, dword [esi + 0xc]
movss xmm1, dword [esi + 0x18]
subss xmm1, dword [esi + 0x14]
lea eax, [edx + 1]
test eax, eax
cmovns edx, eax
mov eax, dword [esi + 0x34]
lea ecx, [edx*8]
sub ecx, edx
mov edx, dword [esp + 0x34]
mulss xmm1, dword [eax + ecx*4]
mov eax, dword [esp + 0x20]
addss xmm1, dword [esi + 0x14]
subss xmm1, dword [eax + 0x3c]
mov esi, dword [esp + 0x1c]
subss xmm1, xmm4
addss xmm1, xmm2
movss xmm2, dword [0x10068464]
maxss xmm2, xmm1
cvttss2si eax, xmm2
movd xmm0, eax
mov eax, edx
mov dword [esp + 0x3c], eax
cvtdq2ps xmm0, xmm0
subss xmm0, xmm3
movss dword [esp + 0xb8], xmm0
cmp edx, 0xffffffff
jae 0x1002ad69
nop
mov cl, byte [eax]
test cl, cl
je 0x1002ad69
inc eax
cmp cl, 0x23
jne 0x1002ad60
cmp byte [eax], cl
je 0x1002ad69
mov dword [esp + 0x3c], eax
cmp eax, 0xffffffff
jb 0x1002ad50
call fcn.1000cac0
mov ecx, dword [esp + 0x34]
call fcn.1000ca50
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x44], ecx
test cl, 0x20
je 0x1002ad94
and ecx, 0xff9fffff
or ecx, 0x100008
mov dword [esp + 0x14], ecx
test cl, 8
jne 0x1002ada6
mov edx, ecx
mov ecx, edi
call fcn.1002f3c0
mov ecx, dword [esp + 0x14]
test ecx, 0x700000
jne 0x1002adbb
mov eax, dword [esi + 0x2be0]
and eax, 0x700000
or ecx, eax
test ecx, 0x1800000
jne 0x1002add0
mov eax, dword [esi + 0x2be0]
and eax, 0x1800000
or ecx, eax
test ecx, 0x6000000
jne 0x1002ade5
mov eax, dword [esi + 0x2be0]
and eax, 0x6000000
or ecx, eax
mov eax, dword [esi + 0x2be0]
movss xmm2, dword [edi]
and eax, 0xf80fffff
movss xmm5, dword [edi + 4]
or ecx, eax
movss xmm1, dword [edi + 8]
mov edx, ecx
shr edx, 1
mov eax, ecx
shr eax, 0x13
not dl
and eax, 0xffffff01
mov dword [esp + 0x14], ecx
and edx, 0xffffff01
mov dword [esp + 0x30], eax
movzx eax, dl
add eax, 3
mov dword [esp + 0x40], edx
mov dword [esp + 0x38], eax
movss dword [esp + 0xd8], xmm2
movss dword [esp + 0xdc], xmm5
movss dword [esp + 0xe0], xmm1
test dl, dl
je 0x1002ae5b
movss xmm0, dword [edi + 0xc]
movss dword [esp + 0xe4], xmm0
jmp 0x1002ae66
mov dword [esp + 0xe4], 0x3f800000
test ecx, 0x200000
je 0x1002af07
comiss xmm1, xmm5
xorps xmm4, xmm4
movaps xmm3, xmm5
jbe 0x1002ae8b
movss xmm4, dword [0x1006859c]
movaps xmm3, xmm1
movaps xmm1, xmm5
comiss xmm3, xmm2
movaps xmm5, xmm2
jbe 0x1002aea8
movss xmm0, dword [0x10068588]
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 [0x100684cc]
addss xmm0, dword [0x100683d4]
divss xmm3, xmm0
addss xmm3, xmm4
movaps xmm0, xmm3
call fcn.10001510
movss dword [esp + 0xd8], xmm0
movaps xmm0, xmm5
addss xmm0, dword [0x100683d4]
movss dword [esp + 0xe0], xmm5
divss xmm2, xmm0
movss dword [esp + 0xdc], xmm2
movss xmm0, dword [esp + 0xd8]
xorps xmm2, xmm2
comiss xmm0, xmm2
movss xmm3, dword [0x1006858c]
movss xmm1, dword [0x1006842c]
jb 0x1002af2d
movaps xmm5, xmm1
jmp 0x1002af30
movaps xmm5, xmm3
movss xmm0, dword [esp + 0xd8]
movss xmm4, dword [0x10068550]
mulss xmm0, xmm4
addss xmm0, xmm5
cvttss2si esi, xmm0
movss xmm0, dword [esp + 0xdc]
comiss xmm0, xmm2
mov dword [esp + 0xe8], esi
jb 0x1002af67
movaps xmm5, xmm1
jmp 0x1002af6a
movaps xmm5, xmm3
movss xmm0, dword [esp + 0xdc]
mulss xmm0, xmm4
addss xmm0, xmm5
cvttss2si edx, xmm0
movss xmm0, dword [esp + 0xe0]
comiss xmm0, xmm2
mov dword [esp + 0xec], edx
jb 0x1002af99
movaps xmm5, xmm1
jmp 0x1002af9c
movaps xmm5, xmm3
movss xmm0, dword [esp + 0xe0]
mulss xmm0, xmm4
addss xmm0, xmm5
cvttss2si eax, xmm0
movss xmm0, dword [esp + 0xe4]
comiss xmm0, xmm2
mov dword [esp + 0xf0], eax
jae 0x1002afc9
movaps xmm1, xmm3
movss xmm0, dword [esp + 0xe4]
mulss xmm0, xmm4
mov byte [esp + 0x13], 0
mov byte [esp + 0x1b], 0
addss xmm0, xmm1
cvttss2si edi, xmm0
mov dword [esp + 0xf4], edi
test ecx, 0x300000
je 0x1002b510
test cl, 0x20
jne 0x1002b510
mov edx, dword [esp + 0x38]
test ecx, 0x1000000
movss xmm4, dword [esp + 0xb8]
mov ecx, str.M:000
movaps xmm1, xmm4
mov edi, dword [0x1006bc38]
push ecx
lea eax, [edx - 1]
movd xmm2, eax
mov eax, dword [esp + 0x20]
cvtdq2ps xmm2, xmm2
mov esi, dword [edi + 0x18b8]
push 0
movss xmm3, dword [eax + 0x1564]
movaps xmm0, xmm3
mulss xmm0, xmm2
subss xmm1, xmm0
movd xmm0, edx
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
cvttss2si eax, xmm1
movss xmm1, dword [0x10068464]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
maxss xmm1, xmm0
addss xmm3, xmm1
movss dword [esp + 0xc4], xmm1
movss xmm1, dword [0x10068464]
mulss xmm3, xmm2
subss xmm4, xmm3
movss xmm3, dword [0x10068578]
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, esi
movss xmm0, dword [edi + 0x18bc]
movaps xmm2, xmm0
movss dword [esp + 0xcc], xmm0
movss dword [esp + 0x68], xmm1
call fcn.1001ea90
movss xmm0, dword [esp + 0x24]
xorps xmm4, xmm4
comiss xmm0, xmm4
jbe 0x1002b0fb
movss xmm1, dword [esp + 0xb8]
divss xmm1, dword [esi]
subss xmm0, xmm1
addss xmm0, dword [0x10068460]
mov dword [esp + 0xc0], 0x100678c0
mov dword [esp + 0xc4], 0x100678c4
mov dword [esp + 0xc8], 0x100678c8
mov dword [esp + 0xcc], 0x100678cc
cvttss2si eax, xmm0
mov dword [esp + 0x88], 0x100678d0
mov dword [esp + 0x8c], 0x100678d0
mov dword [esp + 0x90], 0x100678d0
mov dword [esp + 0x94], 0x100678d0
mov dword [esp + 0x98], str.R:_3d
mov dword [esp + 0x9c], str.G:_3d
movss xmm0, dword [esp + 0x28]
movss dword [esp + 0x28], xmm0
movss xmm0, dword [esp + 0xbc]
mov dword [esp + 0xa0], str.B:_3d
movd xmm1, eax
cvtdq2ps xmm1, xmm1
mov dword [esp + 0xa4], str.A:_3d
mov dword [esp + 0xa8], str.H:_3d
mov dword [esp + 0xac], str.S:_3d
mov dword [esp + 0xb0], str.V:_3d
mov dword [esp + 0xb4], str.A:_3d
comiss xmm1, xmm0
mov dword [esp + 0x58], str._0.3f
mov dword [esp + 0x5c], str._0.3f
mov dword [esp + 0x60], str._0.3f
mov dword [esp + 0x64], str._0.3f
mov dword [esp + 0x68], str.R:_0.3f
mov dword [esp + 0x6c], str.G:_0.3f
mov dword [esp + 0x70], str.B:_0.3f
mov dword [esp + 0x74], str.A:_0.3f
mov dword [esp + 0x78], str.H:_0.3f
mov dword [esp + 0x7c], str.S:_0.3f
mov dword [esp + 0x80], str.V:_0.3f
mov dword [esp + 0x84], str.A:_0.3f
jb 0x1002b242
xor esi, esi
jmp 0x1002b253
mov esi, dword [esp + 0x14]
and esi, 0x200000
neg esi
sbb esi, esi
neg esi
inc esi
mov eax, dword [edi + 0x199c]
ucomiss xmm0, xmm4
mov byte [eax + 0x78], 1
mov ecx, dword [edi + 0x199c]
mov dword [esp + 0xbc], ecx
lahf
test ah, 0x44
jp 0x1002b27b
movss xmm0, dword [ecx + 0x21c]
lea edi, [ecx + 0x17c]
movss dword [ecx + 0x168], xmm0
mov eax, dword [edi + 4]
mov ecx, dword [edi]
cmp ecx, eax
jne 0x1002b2b6
inc ecx
test eax, eax
je 0x1002b2a1
cdq
sub eax, edx
sar eax, 1
add eax, dword [edi + 4]
jmp 0x1002b2a6
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edi
call fcn.10012510
xorps xmm4, xmm4
mov edx, dword [edi]
mov ecx, dword [edi + 8]
mov eax, dword [esp + 0xbc]
mov eax, dword [eax + 0x168]
mov dword [ecx + edx*4], eax
inc dword [edi]
xor edi, edi
cmp dword [esp + 0x38], edi
jbe 0x1002b4b6
mov eax, dword [esp + 0x14]
mov ecx, eax
and ecx, 0x1000000
and eax, 8
shl esi, 4
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x24], eax
mov dword [esp + 0xb8], esi
nop word [eax + eax]
test edi, edi
je 0x1002b318
mov eax, dword [esp + 0x1c]
xorps xmm0, xmm0
movss xmm1, dword [eax + 0x1564]
call fcn.1000cda0
lea eax, [edi + 1]
cmp eax, dword [esp + 0x38]
jne 0x1002b3af
movss xmm0, dword [esp + 0x54]
mov ecx, dword [0x1006bc38]
ucomiss xmm0, xmm4
mov eax, dword [ecx + 0x199c]
mov byte [eax + 0x78], 1
mov ecx, dword [ecx + 0x199c]
mov dword [esp + 0xbc], ecx
lahf
test ah, 0x44
jp 0x1002b359
movss xmm0, dword [ecx + 0x21c]
lea esi, [ecx + 0x17c]
movss dword [ecx + 0x168], xmm0
mov eax, dword [esi + 4]
mov ecx, dword [esi]
cmp ecx, eax
jne 0x1002b391
inc ecx
test eax, eax
je 0x1002b37f
cdq
sub eax, edx
sar eax, 1
add eax, dword [esi + 4]
jmp 0x1002b384
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.10012510
mov edx, dword [esi]
mov ecx, dword [esi + 8]
mov eax, dword [esp + 0xbc]
mov eax, dword [eax + 0x168]
mov dword [ecx + edx*4], eax
inc dword [esi]
mov esi, dword [esp + 0xb8]
cmp dword [esp + 0x4c], 0
je 0x1002b42f
cmp byte [esp + 0x30], 0
je 0x1002b3c2
xorps xmm0, xmm0
jmp 0x1002b3ca
movss xmm0, dword [0x10068464]
movss xmm3, dword [0x100683ec]
lea eax, [esp + 0xbc]
push ecx
mov ecx, dword [esp + edi*4 + 0xc4]
mov edx, 4
mov dword [esp], 0x3f800000
push dword [esp + esi + 0x5c]
movss dword [esp + 0xc4], xmm0
push eax
lea eax, [esp + 0xc4]
mov dword [esp + 0xc4], 0
push eax
lea eax, [esp + 0xe8]
lea eax, [eax + edi*4]
push eax
call fcn.100242a0
add esp, 0x14
or al, byte [esp + 0x13]
mov byte [esp + 0x1b], al
mov byte [esp + 0x13], al
jmp 0x1002b492
movss xmm3, dword [0x10068464]
xor ecx, ecx
cmp byte [esp + 0x30], cl
mov eax, 0xff
push ecx
cmovne eax, ecx
mov dword [esp], 0x3f800000
push dword [esp + esi + 0x8c]
mov dword [esp + 0xc4], eax
xor edx, edx
lea eax, [esp + 0xc4]
mov dword [esp + 0xc0], ecx
mov ecx, dword [esp + edi*4 + 0xc8]
push eax
lea eax, [esp + 0xc4]
push eax
lea eax, [esp + 0xf8]
lea eax, [eax + edi*4]
push eax
call fcn.100242a0
add esp, 0x14
or byte [esp + 0x13], al
cmp dword [esp + 0x24], 0
jne 0x1002b49e
call fcn.1000d260
inc edi
add esi, 4
xorps xmm4, xmm4
mov dword [esp + 0xb8], esi
cmp edi, dword [esp + 0x38]
jl 0x1002b300
mov edx, dword [0x1006bc38]
mov eax, dword [edx + 0x199c]
mov byte [eax + 0x78], 1
mov ecx, dword [edx + 0x199c]
mov esi, dword [ecx + 0x17c]
sub esi, 1
mov dword [ecx + 0x17c], esi
jne 0x1002b4e7
movss xmm0, dword [ecx + 0x21c]
jmp 0x1002b4f3
mov eax, dword [ecx + 0x184]
movss xmm0, dword [eax + esi*4 - 4]
movss dword [ecx + 0x168], xmm0
mov eax, dword [edx + 0x199c]
mov byte [eax + 0x78], 1
mov ecx, dword [edx + 0x199c]
jmp 0x1002b74f
test ecx, 0x400000
je 0x1002b782
test cl, 0x20
jne 0x1002b782
cmp byte [esp + 0x40], 0
mov ecx, 0xff
je 0x1002b585
test eax, eax
jns 0x1002b539
xor eax, eax
jmp 0x1002b541
cmp eax, 0xff
cmovg eax, ecx
test edi, edi
jns 0x1002b549
xor edi, edi
jmp 0x1002b54e
cmp edi, ecx
cmovg edi, ecx
test esi, esi
jns 0x1002b556
xor esi, esi
jmp 0x1002b55b
cmp esi, ecx
cmovg esi, ecx
test edx, edx
jns 0x1002b563
xor edx, edx
jmp 0x1002b568
cmp edx, ecx
cmovg edx, ecx
push edi
push eax
push edx
push esi
push 0x10067954
lea eax, [esp + 0x10c]
push 0x40
push eax
call fcn.10002c60
add esp, 0x1c
jmp 0x1002b5c9
test esi, esi
jns 0x1002b58d
xor esi, esi
jmp 0x1002b592
cmp esi, ecx
cmovg esi, ecx
test eax, eax
jns 0x1002b59a
xor eax, eax
jmp 0x1002b5a2
cmp eax, 0xff
cmovg eax, ecx
test edx, edx
jns 0x1002b5aa
xor edx, edx
jmp 0x1002b5af
cmp edx, ecx
cmovg edx, ecx
push eax
push edx
push esi
push 0x10067968
lea eax, [esp + 0x108]
push 0x40
push eax
call fcn.10002c60
add esp, 0x18
movss xmm4, dword [esp + 0xb8]
ucomiss xmm4, dword [0x100683c4]
mov ecx, dword [0x1006bc38]
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 0x1002b601
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 0x1002b63a
inc ecx
test edi, edi
je 0x1002b628
mov eax, edi
cdq
sub eax, edx
sar eax, 1
add eax, edi
jmp 0x1002b62d
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.10012510
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 + 0x58]
inc dword [esi]
lea edx, [esp + 0x104]
push eax
push 0x40
mov ecx, str.Text
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
call fcn.10026dd0
add esp, 0x14
test al, al
je 0x1002b72d
mov byte [esp + 0x13], 1
lea ecx, [esp + 0xf8]
mov al, byte [ecx]
cmp al, 0x23
je 0x1002b6a1
cmp al, 0x20
je 0x1002b6a1
cmp al, 9
jne 0x1002b6a4
inc ecx
jmp 0x1002b693
cmp byte [esp + 0x40], 0
mov dword [esp + 0xf4], 0
mov dword [esp + 0xf0], 0
mov dword [esp + 0xec], 0
mov dword [esp + 0xe8], 0
je 0x1002b707
lea eax, [esp + 0xf4]
push eax
lea eax, [esp + 0xf4]
push eax
lea eax, [esp + 0xf4]
push eax
lea eax, [esp + 0xf4]
push eax
push str._02X_02X_02X_02X
push ecx
call fcn.100014f0
add esp, 0x18
jmp 0x1002b72d
lea eax, [esp + 0xf0]
push eax
lea eax, [esp + 0xf0]
push eax
lea eax, [esp + 0xf0]
push eax
push str._02X_02X_02X
push ecx
call fcn.100014f0
add esp, 0x14
test byte [esp + 0x14], 8
jne 0x1002b739
call fcn.1000d260
mov ecx, dword [0x1006bc38]
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 0x1002b76a
movss xmm0, dword [ecx + 0x21c]
jmp 0x1002b776
mov eax, dword [ecx + 0x184]
movss xmm0, dword [eax + edx*4 - 4]
movss dword [ecx + 0x168], xmm0
mov ecx, dword [esp + 0x14]
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x30], 0
test cl, 0x10
jne 0x1002ba7c
test cl, 0x20
jne 0x1002b7b0
movss xmm1, dword [esi + 0x1564]
xorps xmm0, xmm0
call fcn.1000cda0
mov ecx, dword [esp + 0x14]
cmp byte [esp + 0x40], 0
mov eax, dword [esp + 0x2c]
je 0x1002b7c2
movss xmm1, dword [eax + 0xc]
jmp 0x1002b7ca
movss xmm1, dword [0x10068464]
movss xmm0, dword [eax]
lea edx, [esp + 0xc0]
mov dword [esp + 0x28], 0
push dword [esp + 0x28]
movss dword [esp + 0xc4], xmm0
movss xmm0, dword [eax + 4]
mov dword [esp + 0x28], 0
push dword [esp + 0x28]
movss dword [esp + 0xcc], xmm0
movss xmm0, dword [eax + 8]
push ecx
mov ecx, str.ColorButton
movss dword [esp + 0xd4], xmm0
movss dword [esp + 0xd8], xmm1
call fcn.1002e7d0
add esp, 0xc
test al, al
mov eax, dword [esp + 0x14]
je 0x1002b8fa
test al, 4
jne 0x1002b8fa
movups xmm0, xmmword [esp + 0xc0]
xor edx, edx
movups xmmword [esi + 0x2be4], xmm0
mov esi, dword [0x1006bc38]
mov eax, dword [esi + 0x199c]
mov ecx, dword [eax + 0x1bc]
mov eax, dword [eax + 0x1c4]
push dword [eax + ecx*4 - 4]
mov ecx, 0x100679b4
call fcn.10002ca0
add esp, 4
cmp dword [esi + 0x19bc], eax
jne 0x1002b885
mov dword [esi + 0x19c4], eax
cmp dword [esi + 0x19c0], eax
jne 0x1002b894
mov byte [esi + 0x19cf], 1
mov ecx, eax
call fcn.1000d0a0
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
movss xmm1, dword [eax + 0x110]
movss xmm0, dword [eax + 0x11c]
addss xmm0, dword [esi + 0x1560]
mov eax, dword [0x1006bc38]
subss xmm1, dword [0x10068464]
movss dword [eax + 0x1a5c], xmm0
mov dword [eax + 0x1a60], 0
movss dword [eax + 0x1a58], xmm1
mov dword [eax + 0x1a64], 0
mov dword [eax + 0x1a3c], 1
mov eax, dword [esp + 0x14]
test al, 8
jne 0x1002b903
call fcn.1000d260
mov ecx, 0x100679b4
call fcn.1000d520
mov edi, dword [esp + 0x3c]
test al, al
je 0x1002ba76
mov eax, dword [esi + 0x199c]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x34]
cmp eax, edi
je 0x1002b96c
mov edx, edi
mov ecx, eax
call fcn.10020ab0
mov ecx, dword [0x1006bc38]
mov eax, dword [ecx + 0x199c]
mov byte [eax + 0x78], 1
mov eax, dword [ecx + 0x199c]
cmp byte [eax + 0x7b], 0
jne 0x1002b96c
xorps xmm1, xmm1
mov dword [esp + 0x24], 0
lea ecx, [esp + 0x24]
mov dword [esp + 0x28], 0
call fcn.10004c00
movss xmm0, dword [esp + 0x48]
mov eax, dword [esp + 0x44]
mulss xmm0, dword [0x100684e4]
and eax, 0x7890002
mov ecx, dword [0x1006bc38]
or eax, 0x740080
mov dword [esp + 0x44], eax
ucomiss xmm0, dword [0x100683c4]
mov eax, dword [ecx + 0x199c]
mov byte [eax + 0x78], 1
mov ecx, dword [ecx + 0x199c]
mov dword [esp + 0x48], ecx
lahf
test ah, 0x44
jp 0x1002b9bb
movss xmm0, dword [ecx + 0x21c]
lea esi, [ecx + 0x17c]
movss dword [ecx + 0x168], xmm0
mov eax, dword [esi + 4]
mov ecx, dword [esi]
cmp ecx, eax
jne 0x1002b9f3
inc ecx
test eax, eax
je 0x1002b9e1
cdq
sub eax, edx
sar eax, 1
add eax, dword [esi + 4]
jmp 0x1002b9e6
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.10012510
mov edx, dword [esi]
mov ecx, dword [esi + 8]
mov eax, dword [esp + 0x48]
mov eax, dword [eax + 0x168]
mov dword [ecx + edx*4], eax
mov ecx, str.picker
inc dword [esi]
mov esi, dword [esp + 0x1c]
mov edx, dword [esp + 0x2c]
lea eax, [esi + 0x2be4]
push eax
mov eax, dword [esp + 0x48]
push eax
call fcn.1002c250
mov ecx, dword [0x1006bc38]
add esp, 8
or byte [esp + 0x13], 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 0x1002ba5d
movss xmm0, dword [ecx + 0x21c]
jmp 0x1002ba69
mov eax, dword [ecx + 0x184]
movss xmm0, dword [eax + edx*4 - 4]
movss dword [ecx + 0x168], xmm0
call fcn.1000d5d0
mov ecx, dword [esp + 0x14]
jmp 0x1002ba80
mov edi, dword [esp + 0x3c]
cmp dword [esp + 0x34], edi
je 0x1002baa5
test cl, cl
js 0x1002baa5
movss xmm1, dword [esi + 0x1564]
xorps xmm0, xmm0
call fcn.1000cda0
mov ecx, dword [esp + 0x34]
mov edx, edi
call fcn.10020ab0
cmp dword [esp + 0x30], 0
jne 0x1002bb5d
cmp byte [esp + 0x1b], 0
jne 0x1002bad1
movups xmm0, xmmword [esp + 0xe8]
cvtdq2ps xmm0, xmm0
divps xmm0, xmmword [0x100687e0]
movups xmmword [esp + 0xd8], xmm0
test dword [esp + 0x14], 0x200000
je 0x1002bb14
movss xmm2, dword [esp + 0xe0]
lea eax, [esp + 0xe0]
movss xmm1, dword [esp + 0xdc]
lea edx, [esp + 0xdc]
movss xmm0, dword [esp + 0xd8]
lea ecx, [esp + 0xd8]
push eax
call fcn.10003380
add esp, 4
cmp byte [esp + 0x13], 0
je 0x1002bb5d
cmp byte [esp + 0x40], 0
mov eax, dword [esp + 0x2c]
movss xmm0, dword [esp + 0xd8]
movss dword [eax], xmm0
movss xmm0, dword [esp + 0xdc]
movss dword [eax + 4], xmm0
movss xmm0, dword [esp + 0xe0]
movss dword [eax + 8], xmm0
je 0x1002bb5d
movss xmm0, dword [esp + 0xe4]
movss dword [eax + 0xc], xmm0
mov eax, dword [0x1006bc38]
mov eax, dword [eax + 0x199c]
dec dword [eax + 0x1bc]
call fcn.1000cc00
mov edi, dword [esp + 0x20]
test byte [edi + 0x10c], 1
je 0x1002bcce
test dword [esp + 0x14], 0x200
jne 0x1002bcce
mov esi, dword [0x1006bc38]
cmp byte [esi + 0x1c5c], 0
je 0x1002bc7a
mov ecx, dword [esi + 0x199c]
mov edx, dword [ecx + 0x10c]
test dl, 1
je 0x1002bc7a
mov edi, dword [esi + 0x19a0]
test edi, edi
je 0x1002bc76
mov eax, dword [ecx + 0x2ec]
cmp eax, dword [edi + 0x2ec]
jne 0x1002bc76
lea edi, [ecx + 0x120]
test dl, 2
jne 0x1002bbeb
lea edi, [ecx + 0x110]
mov eax, dword [ecx + 0x108]
test eax, eax
jne 0x1002bbfb
push edi
call fcn.100049d0
cmp dword [esi + 0x1c74], eax
je 0x1002bc76
movups xmm0, xmmword [edi]
mov ecx, str._COL3F
mov dword [esi + 0x1cb4], eax
mov byte [esi + 0x1c5d], 1
movups xmmword [esi + 0x1ca4], xmm0
call fcn.100112d0
mov esi, dword [esp + 0x2c]
test eax, eax
je 0x1002bc41
mov eax, dword [eax]
mov byte [esp + 0x13], 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.100112d0
mov ecx, eax
test ecx, ecx
je 0x1002bc69
mov eax, dword [esp + 0x38]
shl eax, 2
push eax
push dword [ecx]
push esi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov byte [esp + 0x13], 1
mov esi, dword [0x1006bc38]
mov byte [esi + 0x1c5d], 0
mov edi, dword [esp + 0x20]
mov ecx, dword [esp + 0x30]
test ecx, ecx
je 0x1002bc9e
mov edx, dword [esp + 0x1c]
mov eax, dword [edx + 0x19bc]
test eax, eax
je 0x1002bc9e
cmp dword [edx + 0x19e0], ecx
jne 0x1002bc9e
mov dword [edi + 0x108], eax
mov al, byte [esp + 0x13]
test al, al
je 0x1002bcba
mov ecx, dword [esi + 0x199c]
mov byte [esi + 0x19ce], 1
or dword [ecx + 0x10c], 4
mov ecx, dword [esp + 0x13c]
pop edi
pop esi
xor ecx, esp
call fcn.1003f8a4
mov esp, ebp
pop ebp
ret
mov esi, dword [0x1006bc38]
jmp 0x1002bc7a