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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x138
mov eax, dword [0x1006a00c]
xor eax, esp
mov dword [esp + 0x134], eax
push esi
push edi
mov edi, dword [0x1006b178]
mov dword [esp + 0x18], edx
mov edx, ecx
mov ecx, dword [ebp + 8]
mov dword [esp + 0x28], edx
mov eax, dword [edi + 0x199c]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x14], edi
mov byte [eax + 0x78], 1
mov eax, dword [edi + 0x199c]
mov dword [esp + 0x24], eax
cmp byte [eax + 0x7b], 0
je 0x1002aba7
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0x134]
xor ecx, esp
call fcn.1003f934
mov esp, ebp
pop ebp
ret
movss xmm0, dword [edi + 0x1550]
addss xmm0, xmm0
addss xmm0, dword [edi + 0x18bc]
movss dword [esp + 0x3c], xmm0
test cl, 0x10
je 0x1002abcb
xorps xmm3, xmm3
jmp 0x1002abd6
movaps xmm3, xmm0
addss xmm3, dword [edi + 0x1564]
mov esi, eax
xorps xmm0, xmm0
movss xmm2, dword [esi + 0x168]
comiss xmm0, xmm2
jbe 0x1002ac58
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 0x1002ac40
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 + 0x28]
mulss xmm1, dword [eax + ecx*4]
addss xmm1, dword [edi + 0x14]
subss xmm1, dword [esi + 0x3c]
mov edi, dword [esp + 0x14]
subss xmm1, xmm4
addss xmm1, xmm2
movss xmm2, dword [0x1006747c]
maxss xmm2, xmm1
cvttss2si eax, xmm2
movd xmm0, eax
mov eax, edx
mov dword [esp + 0x38], eax
cvtdq2ps xmm0, xmm0
subss xmm0, xmm3
movss dword [esp + 0xbc], xmm0
cmp edx, 0xffffffff
jae 0x1002ac99
nop dword [eax + eax]
mov cl, byte [eax]
test cl, cl
je 0x1002ac99
inc eax
cmp cl, 0x23
jne 0x1002ac90
cmp byte [eax], cl
je 0x1002ac99
mov dword [esp + 0x38], eax
cmp eax, 0xffffffff
jb 0x1002ac80
call fcn.1000cec0
mov ecx, dword [esp + 0x28]
call fcn.1000ce50
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x34], ecx
test ecx, 0x20
je 0x1002acc7
and ecx, 0xff9fffff
or ecx, 0x100008
mov dword [esp + 0xc], ecx
mov esi, dword [esp + 0x18]
test cl, 8
jne 0x1002acdd
mov edx, ecx
mov ecx, esi
call fcn.1002f3e0
mov ecx, dword [esp + 0xc]
mov edx, dword [edi + 0x2be0]
test ecx, 0x700000
jne 0x1002acf4
mov eax, edx
and eax, 0x700000
or ecx, eax
test ecx, 0x1800000
jne 0x1002ad05
mov eax, edx
and eax, 0x1800000
or ecx, eax
test ecx, 0x6000000
jne 0x1002ad16
mov eax, edx
and eax, 0x6000000
or ecx, eax
movss xmm2, dword [esi]
and edx, 0xf80fffff
movss xmm5, dword [esi + 4]
or ecx, edx
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 + 0x40], eax
movzx eax, dl
add eax, 3
mov dword [esp + 0x30], edx
mov dword [esp + 0x2c], eax
movss dword [esp + 0xd8], xmm2
movss dword [esp + 0xdc], xmm5
movss dword [esp + 0xe0], xmm1
test dl, dl
je 0x1002ad87
movss xmm0, dword [esi + 0xc]
movss dword [esp + 0xe4], xmm0
jmp 0x1002ad92
mov dword [esp + 0xe4], 0x3f800000
mov eax, ecx
and eax, 0x200000
mov dword [esp + 0x44], eax
je 0x1002ae38
comiss xmm1, xmm5
xorps xmm4, xmm4
movaps xmm3, xmm5
jbe 0x1002adbc
movss xmm4, dword [0x100675cc]
movaps xmm3, xmm1
movaps xmm1, xmm5
comiss xmm3, xmm2
movaps xmm5, xmm2
jbe 0x1002add9
movss xmm0, dword [0x100675b8]
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 [0x100674e4]
addss xmm0, dword [0x100673ec]
divss xmm3, xmm0
addss xmm3, xmm4
movaps xmm0, xmm3
call fcn.10001510
movss dword [esp + 0xd8], xmm0
movaps xmm0, xmm5
addss xmm0, dword [0x100673ec]
movss dword [esp + 0xe0], xmm5
divss xmm2, xmm0
movss dword [esp + 0xdc], xmm2
movss xmm0, dword [esp + 0xd8]
xorps xmm5, xmm5
comiss xmm0, xmm5
movss xmm2, dword [0x100675bc]
movss xmm1, dword [0x10067444]
jb 0x1002ae5e
movaps xmm4, xmm1
jmp 0x1002ae61
movaps xmm4, xmm2
movss xmm0, dword [esp + 0xd8]
movss xmm3, dword [0x10067574]
mulss xmm0, xmm3
addss xmm0, xmm4
cvttss2si esi, xmm0
movss xmm0, dword [esp + 0xdc]
comiss xmm0, xmm5
mov dword [esp + 0xe8], esi
jb 0x1002ae98
movaps xmm4, xmm1
jmp 0x1002ae9b
movaps xmm4, xmm2
movss xmm0, dword [esp + 0xdc]
mulss xmm0, xmm3
addss xmm0, xmm4
cvttss2si edx, xmm0
movss xmm0, dword [esp + 0xe0]
comiss xmm0, xmm5
mov dword [esp + 0xec], edx
jb 0x1002aeca
movaps xmm4, xmm1
jmp 0x1002aecd
movaps xmm4, xmm2
movss xmm0, dword [esp + 0xe0]
mulss xmm0, xmm3
addss xmm0, xmm4
cvttss2si eax, xmm0
movss xmm0, dword [esp + 0xe4]
comiss xmm0, xmm5
mov dword [esp + 0xf0], eax
jae 0x1002aefa
movaps xmm1, xmm2
movss xmm0, dword [esp + 0xe4]
mulss xmm0, xmm3
mov byte [esp + 0xb], 0
mov byte [esp + 0x13], 0
addss xmm0, xmm1
cvttss2si edi, xmm0
mov dword [esp + 0x1c], edi
mov dword [esp + 0xf4], edi
mov edi, ecx
and edi, 0x20
test ecx, 0x300000
je 0x1002b48f
test edi, edi
jne 0x1002b48f
mov edx, dword [esp + 0x2c]
movss xmm4, dword [esp + 0xbc]
movaps xmm1, xmm4
lea eax, [edx - 1]
movd xmm3, eax
mov eax, dword [esp + 0x14]
cvtdq2ps xmm3, xmm3
movss xmm2, 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 [0x1006747c]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
maxss xmm1, xmm0
addss xmm2, xmm1
movss dword [esp + 0xb8], xmm1
movss xmm1, dword [0x1006747c]
mulss xmm2, xmm3
movss xmm3, dword [0x100675a4]
subss xmm4, xmm2
cvttss2si eax, xmm4
movd xmm0, eax
mov eax, ecx
and eax, 0x1000000
mov ecx, str.M:0.000
mov dword [esp + 0x54], eax
mov eax, str.M:000
cmove ecx, eax
mov eax, dword [0x1006b178]
cvtdq2ps xmm0, xmm0
push ecx
push edi
mov esi, dword [eax + 0x18b8]
push ecx
push ecx
maxss xmm1, xmm0
mov dword [esp], 0xbf800000
movss xmm0, dword [eax + 0x18bc]
mov ecx, esi
lea eax, [esp + 0x2c]
movss dword [esp + 0xcc], xmm0
push eax
movaps xmm2, xmm0
movss dword [esp + 0x64], xmm1
call fcn.1001eb90
movss xmm0, dword [esp + 0x1c]
xorps xmm4, xmm4
comiss xmm0, xmm4
jbe 0x1002b037
movss xmm1, dword [esp + 0xbc]
divss xmm1, dword [esi]
subss xmm0, xmm1
addss xmm0, dword [0x10067478]
mov dword [esp + 0xc0], 0x10066974
mov dword [esp + 0xc4], 0x10066978
mov dword [esp + 0xc8], 0x1006697c
mov dword [esp + 0xcc], 0x10066980
cvttss2si eax, xmm0
mov dword [esp + 0x88], 0x10066984
mov dword [esp + 0x8c], 0x10066984
mov dword [esp + 0x90], 0x10066984
mov dword [esp + 0x94], 0x10066984
mov dword [esp + 0x98], str.R:_3d
mov dword [esp + 0x9c], str.G:_3d
movss xmm0, dword [esp + 0x20]
movss dword [esp + 0x20], xmm0
movss xmm0, dword [esp + 0xb8]
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 0x1002b17e
xor esi, esi
jmp 0x1002b191
xor edx, edx
cmp dword [esp + 0x44], edx
setne dl
inc edx
mov dword [esp + 0xb8], edx
mov esi, edx
mov ecx, dword [0x1006b178]
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 0x1002b1bf
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 0x1002b1fa
inc ecx
test eax, eax
je 0x1002b1e5
cdq
sub eax, edx
sar eax, 1
add eax, dword [edi + 4]
jmp 0x1002b1ea
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edi
call fcn.100129d0
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 + 0x2c], edi
jbe 0x1002b3ef
mov eax, dword [esp + 0xc]
and eax, 8
shl esi, 4
mov dword [esp + 0x48], eax
mov dword [esp + 0xb8], esi
test edi, edi
je 0x1002b24a
mov eax, dword [esp + 0x14]
xorps xmm0, xmm0
movss xmm1, dword [eax + 0x1564]
call fcn.1000d1a0
lea eax, [edi + 1]
mov dword [esp + 0x1c], eax
cmp eax, dword [esp + 0x2c]
jne 0x1002b2e5
movss xmm0, dword [esp + 0x50]
mov ecx, dword [0x1006b178]
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 0x1002b28f
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 0x1002b2c7
inc ecx
test eax, eax
je 0x1002b2b5
cdq
sub eax, edx
sar eax, 1
add eax, dword [esi + 4]
jmp 0x1002b2ba
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.100129d0
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 + 0x54], 0
je 0x1002b365
cmp byte [esp + 0x40], 0
je 0x1002b2f8
xorps xmm0, xmm0
jmp 0x1002b300
movss xmm0, dword [0x1006747c]
movss xmm3, dword [0x10067404]
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.10024370
add esp, 0x14
or al, byte [esp + 0xb]
mov byte [esp + 0x13], al
mov byte [esp + 0xb], al
jmp 0x1002b3c8
movss xmm3, dword [0x1006747c]
xor ecx, ecx
cmp byte [esp + 0x40], 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.10024370
add esp, 0x14
or byte [esp + 0xb], al
cmp dword [esp + 0x48], 0
jne 0x1002b3d4
call fcn.1000d660
mov edi, dword [esp + 0x1c]
add esi, 4
xorps xmm4, xmm4
mov dword [esp + 0xb8], esi
cmp edi, dword [esp + 0x2c]
jl 0x1002b232
mov edx, dword [0x1006b178]
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 0x1002b420
movss xmm0, dword [ecx + 0x21c]
jmp 0x1002b42c
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]
mov edx, dword [ecx + 0x17c]
sub edx, 1
mov dword [ecx + 0x17c], edx
jne 0x1002b470
movss xmm0, dword [ecx + 0x21c]
xor eax, eax
movss dword [ecx + 0x168], xmm0
mov ecx, dword [esp + 0xc]
jmp 0x1002b6f0
mov eax, dword [ecx + 0x184]
movss xmm0, dword [eax + edx*4 - 4]
xor eax, eax
movss dword [ecx + 0x168], xmm0
mov ecx, dword [esp + 0xc]
jmp 0x1002b6f0
mov dword [esp + 0xb8], edi
test ecx, 0x400000
je 0x1002b6e9
mov dword [esp + 0xb8], edi
test edi, edi
jne 0x1002b6e9
cmp byte [esp + 0x30], 0
je 0x1002b515
mov edi, 0xff
test eax, eax
jns 0x1002b4c5
xor eax, eax
jmp 0x1002b4cd
cmp eax, 0xff
cmovg eax, edi
mov ecx, dword [esp + 0x1c]
test ecx, ecx
jns 0x1002b4d9
xor ecx, ecx
jmp 0x1002b4de
cmp ecx, edi
cmovg ecx, edi
test esi, esi
jns 0x1002b4e6
xor esi, esi
jmp 0x1002b4eb
cmp esi, edi
cmovg esi, edi
test edx, edx
jns 0x1002b4f3
xor edx, edx
jmp 0x1002b4f8
cmp edx, edi
cmovg edx, edi
push ecx
push eax
push edx
push esi
push 0x10066a08
lea eax, [esp + 0x10c]
push 0x40
push eax
call fcn.10002c80
add esp, 0x1c
jmp 0x1002b55e
mov ecx, 0xff
test esi, esi
jns 0x1002b522
xor esi, esi
jmp 0x1002b527
cmp esi, ecx
cmovg esi, ecx
test eax, eax
jns 0x1002b52f
xor eax, eax
jmp 0x1002b537
cmp eax, 0xff
cmovg eax, ecx
test edx, edx
jns 0x1002b53f
xor edx, edx
jmp 0x1002b544
cmp edx, ecx
cmovg edx, ecx
push eax
push edx
push esi
push 0x10066a1c
lea eax, [esp + 0x108]
push 0x40
push eax
call fcn.10002c80
add esp, 0x18
movss xmm4, dword [esp + 0xbc]
ucomiss xmm4, dword [0x100673d8]
mov ecx, dword [0x1006b178]
mov eax, dword [ecx + 0x199c]
mov byte [eax + 0x78], 1
mov ecx, dword [ecx + 0x199c]
lahf
mov dword [esp + 0x1c], ecx
test ah, 0x44
jp 0x1002b596
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 0x1002b5cf
inc ecx
test edi, edi
je 0x1002b5bd
mov eax, edi
cdq
sub eax, edx
sar eax, 1
add eax, edi
jmp 0x1002b5c2
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.100129d0
mov edx, dword [esi]
mov ecx, dword [esi + 8]
mov eax, dword [esp + 0x1c]
push 0
push 0
push 6
mov eax, dword [eax + 0x168]
mov dword [ecx + edx*4], eax
lea eax, [esp + 0x54]
inc dword [esi]
lea edx, [esp + 0x104]
push eax
push 0x40
mov ecx, str.Text
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
call fcn.10026e70
add esp, 0x14
test al, al
je 0x1002b6c2
mov byte [esp + 0xb], 1
lea ecx, [esp + 0xf8]
mov al, byte [ecx]
cmp al, 0x23
je 0x1002b636
cmp al, 0x20
je 0x1002b636
cmp al, 9
jne 0x1002b639
inc ecx
jmp 0x1002b628
cmp byte [esp + 0x30], 0
mov dword [esp + 0xf4], 0
mov dword [esp + 0xf0], 0
mov dword [esp + 0xec], 0
mov dword [esp + 0xe8], 0
je 0x1002b69c
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 0x1002b6c2
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 + 0xc], 8
jne 0x1002b6ce
call fcn.1000d660
mov ecx, dword [0x1006b178]
mov eax, dword [ecx + 0x199c]
mov byte [eax + 0x78], 1
mov ecx, dword [ecx + 0x199c]
jmp 0x1002b444
mov eax, dword [esp + 0xb8]
xor edi, edi
mov dword [esp + 0xb8], edi
test cl, 0x10
jne 0x1002b9d2
mov esi, dword [esp + 0x14]
test eax, eax
jne 0x1002b71e
movss xmm1, dword [esi + 0x1564]
xorps xmm0, xmm0
call fcn.1000d1a0
mov ecx, dword [esp + 0xc]
cmp byte [esp + 0x30], 0
mov eax, dword [esp + 0x18]
je 0x1002b730
movss xmm1, dword [eax + 0xc]
jmp 0x1002b738
movss xmm1, dword [0x1006747c]
movss xmm0, dword [eax]
lea edx, [esp + 0xc0]
movss dword [esp + 0xc0], xmm0
movss xmm0, dword [eax + 4]
push edi
movss dword [esp + 0xc8], xmm0
movss xmm0, dword [eax + 8]
push edi
push ecx
mov ecx, str.ColorButton
movss dword [esp + 0xd4], xmm0
movss dword [esp + 0xd8], xmm1
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
call fcn.1002e7d0
add esp, 0xc
test al, al
mov eax, dword [esp + 0xc]
je 0x1002b852
test al, 4
jne 0x1002b852
movups xmm0, xmmword [esp + 0xc0]
xor edx, edx
movups xmmword [esi + 0x2be4], xmm0
mov esi, dword [0x1006b178]
mov eax, dword [esi + 0x199c]
mov ecx, dword [eax + 0x1bc]
mov eax, dword [eax + 0x1c4]
push dword [eax + ecx*4 - 4]
mov ecx, 0x10066a68
call fcn.10002cc0
add esp, 4
cmp dword [esi + 0x19bc], eax
jne 0x1002b7e5
mov dword [esi + 0x19c4], eax
cmp dword [esi + 0x19c0], eax
jne 0x1002b7f4
mov byte [esi + 0x19cf], 1
mov ecx, eax
call fcn.1000d4a0
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x14]
movss xmm1, dword [eax + 0x110]
movss xmm0, dword [eax + 0x11c]
addss xmm0, dword [esi + 0x1560]
mov eax, dword [0x1006b178]
subss xmm1, dword [0x1006747c]
movss dword [eax + 0x1a5c], xmm0
mov dword [eax + 0x1a60], edi
movss dword [eax + 0x1a58], xmm1
mov dword [eax + 0x1a64], edi
mov dword [eax + 0x1a3c], 1
mov eax, dword [esp + 0xc]
test al, 8
jne 0x1002b85b
call fcn.1000d660
mov ecx, 0x10066a68
call fcn.1000d930
test al, al
je 0x1002b9ce
mov eax, dword [esi + 0x199c]
mov ecx, dword [esp + 0x28]
mov dword [esp + 0xb8], eax
mov eax, dword [esp + 0x38]
cmp ecx, eax
je 0x1002b8bd
mov edx, eax
call fcn.10020b80
mov ecx, dword [0x1006b178]
mov eax, dword [ecx + 0x199c]
mov byte [eax + 0x78], 1
mov eax, dword [ecx + 0x199c]
cmp byte [eax + 0x7b], 0
jne 0x1002b8bd
xorps xmm1, xmm1
mov dword [esp + 0x1c], edi
lea ecx, [esp + 0x1c]
mov dword [esp + 0x20], edi
call fcn.10004c10
movss xmm0, dword [esp + 0x3c]
mov eax, dword [esp + 0x34]
mulss xmm0, dword [0x100674fc]
and eax, 0x7890002
mov ecx, dword [0x1006b178]
or eax, 0x740080
mov dword [esp + 0x34], eax
ucomiss xmm0, dword [0x100673d8]
mov eax, dword [ecx + 0x199c]
mov byte [eax + 0x78], 1
mov ecx, dword [ecx + 0x199c]
mov dword [esp + 0x3c], ecx
lahf
test ah, 0x44
jp 0x1002b90c
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 0x1002b945
inc ecx
test edi, edi
je 0x1002b933
mov eax, edi
cdq
sub eax, edx
sar eax, 1
add eax, edi
jmp 0x1002b938
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.100129d0
mov edx, dword [esi]
mov ecx, dword [esi + 8]
mov eax, dword [esp + 0x3c]
mov eax, dword [eax + 0x168]
mov dword [ecx + edx*4], eax
mov ecx, str.picker
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
add eax, 0x2be4
inc dword [esi]
push eax
mov eax, dword [esp + 0x38]
push eax
call fcn.1002c190
mov ecx, dword [0x1006b178]
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 0x1002b9ae
movss xmm0, dword [ecx + 0x21c]
jmp 0x1002b9ba
mov eax, dword [ecx + 0x184]
movss xmm0, dword [eax + edx*4 - 4]
movss dword [ecx + 0x168], xmm0
call fcn.1000d9e0
mov edi, dword [esp + 0xb8]
mov ecx, dword [esp + 0xc]
mov esi, dword [esp + 0x38]
cmp dword [esp + 0x28], esi
je 0x1002b9ff
test cl, cl
js 0x1002b9ff
mov eax, dword [esp + 0x14]
xorps xmm0, xmm0
movss xmm1, dword [eax + 0x1564]
call fcn.1000d1a0
mov ecx, dword [esp + 0x28]
mov edx, esi
call fcn.10020b80
test edi, edi
jne 0x1002bab1
cmp byte [esp + 0x13], 0
jne 0x1002ba28
movups xmm0, xmmword [esp + 0xe8]
cvtdq2ps xmm0, xmm0
divps xmm0, xmmword [0x10067820]
movups xmmword [esp + 0xd8], xmm0
cmp dword [esp + 0x44], 0
je 0x1002ba68
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.100033a0
add esp, 4
cmp byte [esp + 0xb], 0
je 0x1002bab1
cmp byte [esp + 0x30], 0
mov eax, dword [esp + 0x18]
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 0x1002bab1
movss xmm0, dword [esp + 0xe4]
movss dword [eax + 0xc], xmm0
mov eax, dword [0x1006b178]
mov eax, dword [eax + 0x199c]
dec dword [eax + 0x1bc]
call fcn.1000d000
mov edi, dword [esp + 0x24]
test byte [edi + 0x10c], 1
je 0x1002bc25
test dword [esp + 0xc], 0x200
jne 0x1002bc25
mov esi, dword [0x1006b178]
cmp byte [esi + 0x1c5c], 0
je 0x1002bbce
mov ecx, dword [esi + 0x199c]
mov edx, dword [ecx + 0x10c]
test dl, 1
je 0x1002bbce
mov edi, dword [esi + 0x19a0]
test edi, edi
je 0x1002bbca
mov eax, dword [ecx + 0x2ec]
cmp eax, dword [edi + 0x2ec]
jne 0x1002bbca
lea edi, [ecx + 0x120]
test dl, 2
jne 0x1002bb3f
lea edi, [ecx + 0x110]
mov eax, dword [ecx + 0x108]
test eax, eax
jne 0x1002bb4f
push edi
call fcn.100049e0
cmp dword [esi + 0x1c74], eax
je 0x1002bbca
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.100117d0
mov esi, dword [esp + 0x18]
test eax, eax
je 0x1002bb95
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.100117d0
mov ecx, eax
test ecx, ecx
je 0x1002bbbd
mov eax, dword [esp + 0x2c]
shl eax, 2
push eax
push dword [ecx]
push esi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov byte [esp + 0xb], 1
mov esi, dword [0x1006b178]
mov byte [esi + 0x1c5d], 0
mov edi, dword [esp + 0x24]
mov ecx, dword [esp + 0xb8]
test ecx, ecx
je 0x1002bbf5
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 0x19bc]
test eax, eax
je 0x1002bbf5
cmp dword [edx + 0x19e0], ecx
jne 0x1002bbf5
mov dword [edi + 0x108], eax
mov al, byte [esp + 0xb]
test al, al
je 0x1002bc11
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.1003f934
mov esp, ebp
pop ebp
ret
mov esi, dword [0x1006b178]
jmp 0x1002bbce