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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x118
mov eax, dword [0x1008800c]
xor eax, esp
mov dword [esp + 0x114], eax
push esi
push edi
mov edi, dword [0x10088d30]
mov dword [esp + 0x28], edx
mov edx, ecx
mov ecx, dword [ebp + 8]
mov dword [esp + 0x38], edx
mov eax, dword [edi + 0x199c]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x24], edi
mov byte [eax + 0x78], 1
mov eax, dword [edi + 0x199c]
mov dword [esp + 0x34], eax
cmp byte [eax + 0x7b], 0
je 0x10029c47
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.1005cdd4
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 0x10029c6b
xorps xmm3, xmm3
jmp 0x10029c76
movaps xmm3, xmm0
addss xmm3, dword [edi + 0x1564]
mov esi, eax
xorps xmm0, xmm0
movss xmm2, dword [esi + 0x168]
comiss xmm0, xmm2
jbe 0x10029cf8
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 0x10029ce0
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 + 0x38]
mulss xmm1, dword [eax + ecx*4]
addss xmm1, dword [edi + 0x14]
subss xmm1, dword [esi + 0x3c]
mov edi, dword [esp + 0x24]
subss xmm1, xmm4
addss xmm1, xmm2
movss xmm2, dword [0x10085448]
maxss xmm2, xmm1
mov dword [esp + 0x40], edx
mov ecx, edx
cvttss2si eax, xmm2
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subss xmm0, xmm3
movss dword [esp + 0x18], xmm0
cmp edx, 0xffffffff
jae 0x10029d31
mov al, byte [ecx]
test al, al
je 0x10029d2d
cmp al, 0x23
jne 0x10029d27
cmp byte [ecx + 1], al
je 0x10029d2d
inc ecx
cmp ecx, 0xffffffff
jb 0x10029d18
mov dword [esp + 0x40], ecx
call fcn.1000c590
mov ecx, dword [esp + 0x38]
call fcn.1000c490
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x48], ecx
test cl, 0x20
je 0x10029d5c
and ecx, 0xff9fffff
or ecx, 0x100008
mov dword [esp + 0x1c], ecx
mov esi, dword [esp + 0x28]
test cl, 8
jne 0x10029d72
mov edx, ecx
mov ecx, esi
call fcn.1002e420
mov ecx, dword [esp + 0x1c]
mov edx, dword [edi + 0x2be0]
test ecx, 0x700000
jne 0x10029d89
mov eax, edx
and eax, 0x700000
or ecx, eax
test ecx, 0x1800000
jne 0x10029d9a
mov eax, edx
and eax, 0x1800000
or ecx, eax
test ecx, 0x6000000
jne 0x10029dab
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 + 0x1c], ecx
and edx, 0xffffff01
mov dword [esp + 0x50], eax
movzx eax, dl
add eax, 3
mov dword [esp + 0x44], edx
mov dword [esp + 0x3c], eax
movss dword [esp + 0xb8], xmm2
movss dword [esp + 0xbc], xmm5
movss dword [esp + 0xc0], xmm1
test dl, dl
je 0x10029e1c
movss xmm0, dword [esi + 0xc]
movss dword [esp + 0xc4], xmm0
jmp 0x10029e27
mov dword [esp + 0xc4], 0x3f800000
mov eax, ecx
and eax, 0x200000
mov dword [esp + 0x54], eax
je 0x10029ecc
comiss xmm1, xmm5
xorps xmm4, xmm4
movaps xmm3, xmm5
jbe 0x10029e51
movss xmm4, dword [0x10085664]
movaps xmm3, xmm1
movaps xmm1, xmm5
comiss xmm3, xmm2
movaps xmm5, xmm2
jbe 0x10029e6e
movss xmm0, dword [0x10085650]
movaps xmm5, xmm3
subss xmm0, xmm4
movaps xmm3, xmm2
movaps xmm4, xmm0
movaps xmm0, xmm3
movss dword [esp + 0xc0], xmm5
minss xmm0, xmm1
movaps xmm2, xmm5
subss xmm3, xmm1
subss xmm2, xmm0
movaps xmm0, xmm2
mulss xmm0, dword [0x100854d4]
addss xmm0, dword [0x100853b4]
divss xmm3, xmm0
movaps xmm0, xmm5
addss xmm0, dword [0x100853b4]
addss xmm3, xmm4
divss xmm2, xmm0
andps xmm3, xmmword [0x10085900]
movss dword [esp + 0xb8], xmm3
movss dword [esp + 0xbc], xmm2
movss xmm0, dword [esp + 0xb8]
xorps xmm4, xmm4
comiss xmm0, xmm4
movss xmm2, dword [0x10085654]
movss xmm1, dword [0x10085410]
jb 0x10029ef2
movaps xmm5, xmm1
jmp 0x10029ef5
movaps xmm5, xmm2
movss xmm0, dword [esp + 0xb8]
movss xmm3, dword [0x10085608]
mulss xmm0, xmm3
addss xmm0, xmm5
cvttss2si edi, xmm0
movss xmm0, dword [esp + 0xbc]
comiss xmm0, xmm4
mov dword [esp + 0xc8], edi
jb 0x10029f2c
movaps xmm5, xmm1
jmp 0x10029f2f
movaps xmm5, xmm2
movss xmm0, dword [esp + 0xbc]
mulss xmm0, xmm3
addss xmm0, xmm5
cvttss2si esi, xmm0
movss xmm0, dword [esp + 0xc0]
comiss xmm0, xmm4
mov dword [esp + 0xcc], esi
jb 0x10029f5e
movaps xmm5, xmm1
jmp 0x10029f61
movaps xmm5, xmm2
movss xmm0, dword [esp + 0xc0]
mulss xmm0, xmm3
addss xmm0, xmm5
cvttss2si edx, xmm0
movss xmm0, dword [esp + 0xc4]
comiss xmm0, xmm4
mov dword [esp + 0xd0], edx
jae 0x10029f8e
movaps xmm1, xmm2
movss xmm0, dword [esp + 0xc4]
mulss xmm0, xmm3
mov byte [esp + 0x17], 0
mov byte [esp + 0x23], 0
addss xmm0, xmm1
cvttss2si eax, xmm0
mov dword [esp + 0x2c], eax
mov dword [esp + 0xd4], eax
test ecx, 0x300000
je 0x1002a4e4
test cl, 0x20
jne 0x1002a4e4
mov edx, dword [esp + 0x3c]
movss xmm4, dword [esp + 0x18]
movaps xmm1, xmm4
mov edi, dword [0x10088d30]
lea eax, [edx - 1]
movd xmm3, eax
mov eax, dword [esp + 0x24]
cvtdq2ps xmm3, xmm3
mov esi, dword [edi + 0x18b8]
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 [0x10085448]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
maxss xmm1, xmm0
addss xmm2, xmm1
movss dword [esp + 0x98], xmm1
movss xmm1, dword [0x10085448]
mulss xmm2, xmm3
movss xmm3, dword [0x10085640]
subss xmm4, xmm2
cvttss2si eax, xmm4
movd xmm0, eax
mov eax, ecx
and eax, 0x1000000
mov ecx, str.M:000
cvtdq2ps xmm0, xmm0
push ecx
mov dword [esp + 0x68], eax
mov eax, str.M:0.000
cmove eax, ecx
push 0
push eax
maxss xmm1, xmm0
movss xmm0, dword [edi + 0x18bc]
push ecx
lea eax, [esp + 0x3c]
mov dword [esp], 0xbf800000
push eax
movaps xmm2, xmm0
movss dword [esp + 0x2c], xmm0
mov ecx, esi
movss dword [esp + 0x74], xmm1
call fcn.1001e290
movss xmm0, dword [esp + 0x2c]
xorps xmm4, xmm4
comiss xmm0, xmm4
jbe 0x1002a0c0
movss xmm1, dword [esp + 0x18]
divss xmm1, dword [esi]
subss xmm0, xmm1
addss xmm0, dword [0x10085444]
mov dword [esp + 0xa0], 0x100849a4
mov dword [esp + 0xa4], 0x100849a8
mov dword [esp + 0xa8], 0x100849ac
mov dword [esp + 0xac], 0x100849b0
cvttss2si eax, xmm0
mov dword [esp + 0xd8], 0x100849b4
mov dword [esp + 0xdc], 0x100849b4
mov dword [esp + 0xe0], 0x100849b4
mov dword [esp + 0xe4], 0x100849b4
mov dword [esp + 0xe8], str.R:_3d
mov dword [esp + 0xec], str.G:_3d
movss xmm0, dword [esp + 0x30]
movss dword [esp + 0x30], xmm0
movss xmm0, dword [esp + 0x98]
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 + 0x68], str._0.3f
mov dword [esp + 0x6c], str._0.3f
mov dword [esp + 0x70], str._0.3f
mov dword [esp + 0x74], str._0.3f
mov dword [esp + 0x78], str.R:_0.3f
mov dword [esp + 0x7c], str.G:_0.3f
mov dword [esp + 0x80], str.B:_0.3f
mov dword [esp + 0x84], str.A:_0.3f
mov dword [esp + 0x88], str.H:_0.3f
mov dword [esp + 0x8c], str.S:_0.3f
mov dword [esp + 0x90], str.V:_0.3f
mov dword [esp + 0x94], str.A:_0.3f
jb 0x1002a213
xor esi, esi
jmp 0x1002a223
xor ecx, ecx
cmp dword [esp + 0x54], ecx
setne cl
inc ecx
mov dword [esp + 0x18], ecx
mov esi, ecx
mov eax, dword [edi + 0x199c]
ucomiss xmm0, xmm4
mov byte [eax + 0x78], 1
mov ecx, dword [edi + 0x199c]
mov dword [esp + 0x18], ecx
lahf
test ah, 0x44
jp 0x1002a248
movss xmm0, dword [ecx + 0x21c]
lea edi, [ecx + 0x17c]
movss dword [ecx + 0x168], xmm0
mov ecx, dword [edi + 4]
mov edx, dword [edi]
cmp edx, ecx
jne 0x1002a294
inc edx
mov dword [esp + 0x98], edx
test ecx, ecx
je 0x1002a27d
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x98]
sar eax, 1
add eax, ecx
jmp 0x1002a282
mov eax, 8
cmp eax, edx
mov ecx, edi
cmovg edx, eax
push edx
call fcn.10011e60
mov edx, dword [edi]
xorps xmm4, xmm4
mov ecx, dword [edi + 8]
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 0x168]
mov dword [ecx + edx*4], eax
inc dword [edi]
xor edi, edi
cmp dword [esp + 0x3c], edi
jbe 0x1002a48a
mov eax, dword [esp + 0x1c]
and eax, 8
shl esi, 4
mov dword [esp + 0x58], eax
mov dword [esp + 0x18], esi
test edi, edi
je 0x1002a2dc
mov eax, dword [esp + 0x24]
xorps xmm0, xmm0
movss xmm1, dword [eax + 0x1564]
call fcn.1000c880
lea eax, [edi + 1]
mov dword [esp + 0x2c], eax
cmp eax, dword [esp + 0x3c]
jne 0x1002a383
movss xmm0, dword [esp + 0x60]
mov ecx, dword [0x10088d30]
ucomiss xmm0, xmm4
mov eax, dword [ecx + 0x199c]
mov byte [eax + 0x78], 1
mov ecx, dword [ecx + 0x199c]
mov dword [esp + 0x9c], ecx
lahf
test ah, 0x44
jp 0x1002a321
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 0x1002a36a
inc edx
mov dword [esp + 0x98], edx
test ecx, ecx
je 0x1002a356
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x98]
sar eax, 1
add eax, ecx
jmp 0x1002a35b
mov eax, 8
cmp eax, edx
mov ecx, esi
cmovg edx, eax
push edx
call fcn.10011e60
mov edx, dword [esi]
mov ecx, dword [esi + 8]
mov eax, dword [esp + 0x9c]
mov eax, dword [eax + 0x168]
mov dword [ecx + edx*4], eax
inc dword [esi]
mov esi, dword [esp + 0x18]
cmp dword [esp + 0x64], 0
je 0x1002a403
cmp byte [esp + 0x50], 0
je 0x1002a396
xorps xmm0, xmm0
jmp 0x1002a39e
movss xmm0, dword [0x10085448]
movss xmm3, dword [0x100853cc]
lea eax, [esp + 0x9c]
push ecx
mov ecx, dword [esp + edi*4 + 0xa4]
mov edx, 4
mov dword [esp], 0x3f800000
push dword [esp + esi + 0x6c]
movss dword [esp + 0xa4], xmm0
push eax
lea eax, [esp + 0xa4]
mov dword [esp + 0xa4], 0
push eax
lea eax, [esp + 0xc8]
lea eax, [eax + edi*4]
push eax
call fcn.10024200
add esp, 0x14
or al, byte [esp + 0x17]
mov byte [esp + 0x23], al
mov byte [esp + 0x17], al
jmp 0x1002a466
movss xmm3, dword [0x10085448]
xor ecx, ecx
cmp byte [esp + 0x50], cl
mov eax, 0xff
push ecx
cmovne eax, ecx
mov dword [esp], 0x3f800000
push dword [esp + esi + 0xdc]
mov dword [esp + 0xa4], eax
xor edx, edx
lea eax, [esp + 0xa4]
mov dword [esp + 0xa0], ecx
mov ecx, dword [esp + edi*4 + 0xa8]
push eax
lea eax, [esp + 0xa4]
push eax
lea eax, [esp + 0xd8]
lea eax, [eax + edi*4]
push eax
call fcn.10024200
add esp, 0x14
or byte [esp + 0x17], al
cmp dword [esp + 0x58], 0
jne 0x1002a472
call fcn.1000cd40
mov edi, dword [esp + 0x2c]
add esi, 4
xorps xmm4, xmm4
mov dword [esp + 0x18], esi
cmp edi, dword [esp + 0x3c]
jl 0x1002a2c4
mov edx, dword [0x10088d30]
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 0x1002a4bb
movss xmm0, dword [ecx + 0x21c]
jmp 0x1002a4c7
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 0x1002a72c
mov eax, ecx
and eax, 0x400020
cmp eax, 0x400000
jne 0x1002a75f
cmp byte [esp + 0x44], 0
je 0x1002a55a
mov eax, dword [esp + 0x2c]
mov ecx, 0xff
test eax, eax
jns 0x1002a50e
xor eax, eax
jmp 0x1002a516
cmp eax, 0xff
cmovg eax, ecx
test edx, edx
jns 0x1002a51e
xor edx, edx
jmp 0x1002a523
cmp edx, ecx
cmovg edx, ecx
test esi, esi
jns 0x1002a52b
xor esi, esi
jmp 0x1002a530
cmp esi, ecx
cmovg esi, ecx
test edi, edi
jns 0x1002a538
xor edi, edi
jmp 0x1002a53d
cmp edi, ecx
cmovg edi, ecx
push eax
push edx
push esi
push edi
push 0x10084a38
lea eax, [esp + 0xec]
push 0x40
push eax
call fcn.10002830
add esp, 0x1c
jmp 0x1002a5a0
mov eax, 0xff
test edx, edx
jns 0x1002a567
xor edx, edx
jmp 0x1002a56c
cmp edx, eax
cmovg edx, eax
test esi, esi
jns 0x1002a574
xor esi, esi
jmp 0x1002a579
cmp esi, eax
cmovg esi, eax
test edi, edi
jns 0x1002a581
xor edi, edi
jmp 0x1002a586
cmp edi, eax
cmovg edi, eax
push edx
push esi
push edi
push 0x10084a4c
lea eax, [esp + 0xe8]
push 0x40
push eax
call fcn.10002830
add esp, 0x18
movss xmm4, dword [esp + 0x18]
ucomiss xmm4, dword [0x100853a0]
mov ecx, dword [0x10088d30]
mov eax, dword [ecx + 0x199c]
mov byte [eax + 0x78], 1
mov ecx, dword [ecx + 0x199c]
lahf
mov dword [esp + 0x2c], ecx
test ah, 0x44
jp 0x1002a5d5
movss xmm4, dword [ecx + 0x21c]
lea esi, [ecx + 0x17c]
movss dword [ecx + 0x168], xmm4
mov ecx, dword [esi + 4]
mov edx, dword [esi]
cmp edx, ecx
jne 0x1002a612
lea edi, [edx + 1]
test ecx, ecx
je 0x1002a5fe
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x1002a603
mov eax, 8
cmp eax, edi
mov ecx, esi
cmovg edi, eax
push edi
call fcn.10011e60
mov edx, dword [esi]
mov ecx, dword [esi + 8]
mov eax, dword [esp + 0x2c]
push 0
push 0
push 6
mov eax, dword [eax + 0x168]
mov dword [ecx + edx*4], eax
lea eax, [esp + 0x64]
inc dword [esi]
lea edx, [esp + 0xe4]
push eax
push 0x40
mov ecx, str.Text
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
call fcn.10026bb0
add esp, 0x14
test al, al
je 0x1002a70a
mov byte [esp + 0x17], 1
lea ecx, [esp + 0xd8]
nop dword [eax]
mov al, byte [ecx]
cmp al, 0x23
je 0x1002a67e
cmp al, 0x20
je 0x1002a67e
cmp al, 9
jne 0x1002a681
inc ecx
jmp 0x1002a670
cmp byte [esp + 0x44], 0
mov dword [esp + 0xd4], 0
mov dword [esp + 0xd0], 0
mov dword [esp + 0xcc], 0
mov dword [esp + 0xc8], 0
je 0x1002a6e4
lea eax, [esp + 0xd4]
push eax
lea eax, [esp + 0xd4]
push eax
lea eax, [esp + 0xd4]
push eax
lea eax, [esp + 0xd4]
push eax
push str._02X_02X_02X_02X
push ecx
call fcn.10001310
add esp, 0x18
jmp 0x1002a70a
lea eax, [esp + 0xd0]
push eax
lea eax, [esp + 0xd0]
push eax
lea eax, [esp + 0xd0]
push eax
push str._02X_02X_02X
push ecx
call fcn.10001310
add esp, 0x14
test byte [esp + 0x1c], 8
jne 0x1002a716
call fcn.1000cd40
mov ecx, dword [0x10088d30]
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 0x1002a747
movss xmm0, dword [ecx + 0x21c]
jmp 0x1002a753
mov eax, dword [ecx + 0x184]
movss xmm0, dword [eax + edx*4 - 4]
movss dword [ecx + 0x168], xmm0
mov ecx, dword [esp + 0x1c]
xor edi, edi
mov dword [esp + 0x18], edi
test cl, 0x10
jne 0x1002aa42
mov esi, dword [esp + 0x24]
test cl, 0x20
jne 0x1002a78b
movss xmm1, dword [esi + 0x1564]
xorps xmm0, xmm0
call fcn.1000c880
mov ecx, dword [esp + 0x1c]
cmp byte [esp + 0x44], 0
mov eax, dword [esp + 0x28]
je 0x1002a79d
movss xmm1, dword [eax + 0xc]
jmp 0x1002a7a5
movss xmm1, dword [0x10085448]
movss xmm0, dword [eax]
lea edx, [esp + 0xa0]
movss dword [esp + 0xa0], xmm0
movss xmm0, dword [eax + 4]
push edi
movss dword [esp + 0xa8], xmm0
movss xmm0, dword [eax + 8]
push edi
push ecx
mov ecx, str.ColorButton
movss dword [esp + 0xb4], xmm0
movss dword [esp + 0xb8], xmm1
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edi
call fcn.1002d820
add esp, 0xc
test al, al
mov eax, dword [esp + 0x1c]
je 0x1002a8bf
test al, 4
jne 0x1002a8bf
movups xmm0, xmmword [esp + 0xa0]
xor edx, edx
movups xmmword [esi + 0x2be4], xmm0
mov esi, dword [0x10088d30]
mov eax, dword [esi + 0x199c]
mov ecx, dword [eax + 0x1bc]
mov eax, dword [eax + 0x1c4]
push dword [eax + ecx*4 - 4]
mov ecx, 0x10084a98
call fcn.10002870
add esp, 4
cmp dword [esi + 0x19bc], eax
jne 0x1002a852
mov dword [esi + 0x19c4], eax
cmp dword [esi + 0x19c0], eax
jne 0x1002a861
mov byte [esi + 0x19cf], 1
mov ecx, eax
call fcn.1000cb80
mov eax, dword [esp + 0x34]
mov esi, dword [esp + 0x24]
movss xmm1, dword [eax + 0x110]
movss xmm0, dword [eax + 0x11c]
addss xmm0, dword [esi + 0x1560]
mov eax, dword [0x10088d30]
subss xmm1, dword [0x10085448]
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 + 0x1c]
test al, 8
jne 0x1002a8c8
call fcn.1000cd40
mov ecx, 0x10084a98
call fcn.1000d020
test al, al
je 0x1002aa3e
mov eax, dword [esi + 0x199c]
mov esi, dword [esp + 0x40]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x38]
cmp eax, esi
je 0x1002a929
mov edx, esi
mov ecx, eax
call fcn.10020660
mov ecx, dword [0x10088d30]
mov eax, dword [ecx + 0x199c]
mov byte [eax + 0x78], 1
mov eax, dword [ecx + 0x199c]
cmp byte [eax + 0x7b], 0
jne 0x1002a929
xorps xmm1, xmm1
mov dword [esp + 0x2c], edi
lea ecx, [esp + 0x2c]
mov dword [esp + 0x30], edi
call fcn.100049c0
movss xmm0, dword [esp + 0x4c]
mov eax, dword [esp + 0x48]
mulss xmm0, dword [0x100854ec]
and eax, 0x7890002
mov ecx, dword [0x10088d30]
or eax, 0x740080
mov dword [esp + 0x48], eax
ucomiss xmm0, dword [0x100853a0]
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 0x1002a978
movss xmm0, dword [ecx + 0x21c]
lea edi, [ecx + 0x17c]
movss dword [ecx + 0x168], xmm0
mov eax, dword [edi + 4]
mov edx, dword [edi]
cmp edx, eax
jne 0x1002a9b4
lea ecx, [edx + 1]
test eax, eax
je 0x1002a9a0
cdq
sub eax, edx
sar eax, 1
add eax, dword [edi + 4]
jmp 0x1002a9a5
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edi
call fcn.10011e60
mov edx, dword [edi]
mov ecx, dword [edi + 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 + 0x24]
mov edx, dword [esp + 0x28]
add eax, 0x2be4
inc dword [edi]
push eax
mov eax, dword [esp + 0x4c]
push eax
call fcn.1002b1e0
mov ecx, dword [0x10088d30]
add esp, 8
or byte [esp + 0x17], 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 0x1002aa1b
movss xmm0, dword [ecx + 0x21c]
jmp 0x1002aa27
mov eax, dword [ecx + 0x184]
movss xmm0, dword [eax + edx*4 - 4]
movss dword [ecx + 0x168], xmm0
call fcn.1000d0d0
mov ecx, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
jmp 0x1002aa46
mov ecx, dword [esp + 0x1c]
mov esi, dword [esp + 0x40]
cmp dword [esp + 0x38], esi
je 0x1002aa6f
test cl, cl
js 0x1002aa6f
mov eax, dword [esp + 0x24]
xorps xmm0, xmm0
movss xmm1, dword [eax + 0x1564]
call fcn.1000c880
mov ecx, dword [esp + 0x38]
mov edx, esi
call fcn.10020660
test edi, edi
jne 0x1002ab21
cmp byte [esp + 0x23], 0
jne 0x1002aa98
movups xmm0, xmmword [esp + 0xc8]
cvtdq2ps xmm0, xmm0
divps xmm0, xmmword [0x100858e0]
movups xmmword [esp + 0xb8], xmm0
cmp dword [esp + 0x54], 0
je 0x1002aad8
movss xmm2, dword [esp + 0xc0]
lea eax, [esp + 0xc0]
movss xmm1, dword [esp + 0xbc]
lea edx, [esp + 0xbc]
movss xmm0, dword [esp + 0xb8]
lea ecx, [esp + 0xb8]
push eax
call fcn.10003010
add esp, 4
cmp byte [esp + 0x17], 0
je 0x1002ab21
cmp byte [esp + 0x44], 0
mov eax, dword [esp + 0x28]
movss xmm0, dword [esp + 0xb8]
movss dword [eax], xmm0
movss xmm0, dword [esp + 0xbc]
movss dword [eax + 4], xmm0
movss xmm0, dword [esp + 0xc0]
movss dword [eax + 8], xmm0
je 0x1002ab21
movss xmm0, dword [esp + 0xc4]
movss dword [eax + 0xc], xmm0
mov eax, dword [0x10088d30]
mov eax, dword [eax + 0x199c]
dec dword [eax + 0x1bc]
call fcn.1000c6d0
mov edx, dword [esp + 0x34]
test byte [edx + 0x10c], 1
je 0x1002ac95
test dword [esp + 0x1c], 0x200
jne 0x1002ac95
mov esi, dword [0x10088d30]
cmp byte [esi + 0x1c5c], 0
je 0x1002ac45
mov ecx, dword [esi + 0x199c]
test byte [ecx + 0x10c], 1
je 0x1002ac45
mov edx, dword [esi + 0x19a0]
test edx, edx
je 0x1002ac41
mov eax, dword [ecx + 0x2ec]
cmp eax, dword [edx + 0x2ec]
jne 0x1002ac41
test byte [ecx + 0x10c], 2
mov eax, 0x110
mov edi, 0x120
cmove edi, eax
mov eax, dword [ecx + 0x108]
add edi, ecx
test eax, eax
jne 0x1002abc2
push edi
call fcn.10004790
cmp dword [esi + 0x1c74], eax
je 0x1002ac3d
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.10010cb0
mov esi, dword [esp + 0x28]
test eax, eax
je 0x1002ac08
mov eax, dword [eax]
mov byte [esp + 0x17], 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.10010cb0
mov ecx, eax
test ecx, ecx
je 0x1002ac30
mov eax, dword [esp + 0x3c]
shl eax, 2
push eax
push dword [ecx]
push esi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov byte [esp + 0x17], 1
mov esi, dword [0x10088d30]
mov byte [esi + 0x1c5d], 0
mov edi, dword [esp + 0x18]
mov edx, dword [esp + 0x34]
test edi, edi
je 0x1002ac65
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx + 0x19bc]
test eax, eax
je 0x1002ac65
cmp dword [ecx + 0x19e0], edi
jne 0x1002ac65
mov dword [edx + 0x108], eax
mov al, byte [esp + 0x17]
test al, al
je 0x1002ac81
mov ecx, dword [esi + 0x199c]
mov byte [esi + 0x19ce], 1
or dword [ecx + 0x10c], 4
mov ecx, dword [esp + 0x11c]
pop edi
pop esi
xor ecx, esp
call fcn.1005cdd4
mov esp, ebp
pop ebp
ret
mov esi, dword [0x10088d30]
jmp 0x1002ac45