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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x118
mov eax, dword [0x1007a00c]
xor eax, esp
mov dword [esp + 0x114], eax
push esi
push edi
mov edi, dword [0x1007acc0]
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 0x1002a097
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.1004edb4
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 0x1002a0bb
xorps xmm3, xmm3
jmp 0x1002a0c6
movaps xmm3, xmm0
addss xmm3, dword [edi + 0x1564]
mov esi, eax
xorps xmm0, xmm0
movss xmm2, dword [esi + 0x168]
comiss xmm0, xmm2
jbe 0x1002a148
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 0x1002a130
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 [0x1007724c]
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 0x1002a181
mov al, byte [ecx]
test al, al
je 0x1002a17d
cmp al, 0x23
jne 0x1002a177
cmp byte [ecx + 1], al
je 0x1002a17d
inc ecx
cmp ecx, 0xffffffff
jb 0x1002a168
mov dword [esp + 0x40], ecx
call fcn.1000c620
mov ecx, dword [esp + 0x38]
call fcn.1000c520
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x48], ecx
test cl, 0x20
je 0x1002a1ac
and ecx, 0xff9fffff
or ecx, 0x100008
mov dword [esp + 0x1c], ecx
mov esi, dword [esp + 0x28]
test cl, 8
jne 0x1002a1c2
mov edx, ecx
mov ecx, esi
call fcn.1002e870
mov ecx, dword [esp + 0x1c]
mov edx, dword [edi + 0x2be0]
test ecx, 0x700000
jne 0x1002a1d9
mov eax, edx
and eax, 0x700000
or ecx, eax
test ecx, 0x1800000
jne 0x1002a1ea
mov eax, edx
and eax, 0x1800000
or ecx, eax
test ecx, 0x6000000
jne 0x1002a1fb
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 0x1002a26c
movss xmm0, dword [esi + 0xc]
movss dword [esp + 0xc4], xmm0
jmp 0x1002a277
mov dword [esp + 0xc4], 0x3f800000
mov eax, ecx
and eax, 0x200000
mov dword [esp + 0x54], eax
je 0x1002a31c
comiss xmm1, xmm5
xorps xmm4, xmm4
movaps xmm3, xmm5
jbe 0x1002a2a1
movss xmm4, dword [0x10077464]
movaps xmm3, xmm1
movaps xmm1, xmm5
comiss xmm3, xmm2
movaps xmm5, xmm2
jbe 0x1002a2be
movss xmm0, dword [0x10077450]
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 [0x100772dc]
addss xmm0, dword [0x100771b4]
divss xmm3, xmm0
movaps xmm0, xmm5
addss xmm0, dword [0x100771b4]
addss xmm3, xmm4
divss xmm2, xmm0
andps xmm3, xmmword [0x10077850]
movss dword [esp + 0xb8], xmm3
movss dword [esp + 0xbc], xmm2
movss xmm0, dword [esp + 0xb8]
xorps xmm4, xmm4
comiss xmm0, xmm4
movss xmm2, dword [0x10077454]
movss xmm1, dword [0x10077210]
jb 0x1002a342
movaps xmm5, xmm1
jmp 0x1002a345
movaps xmm5, xmm2
movss xmm0, dword [esp + 0xb8]
movss xmm3, dword [0x10077408]
mulss xmm0, xmm3
addss xmm0, xmm5
cvttss2si edi, xmm0
movss xmm0, dword [esp + 0xbc]
comiss xmm0, xmm4
mov dword [esp + 0xc8], edi
jb 0x1002a37c
movaps xmm5, xmm1
jmp 0x1002a37f
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 0x1002a3ae
movaps xmm5, xmm1
jmp 0x1002a3b1
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 0x1002a3de
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 0x1002a934
test cl, 0x20
jne 0x1002a934
mov edx, dword [esp + 0x3c]
movss xmm4, dword [esp + 0x18]
movaps xmm1, xmm4
mov edi, dword [0x1007acc0]
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 [0x1007724c]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
maxss xmm1, xmm0
addss xmm2, xmm1
movss dword [esp + 0x98], xmm1
movss xmm1, dword [0x1007724c]
mulss xmm2, xmm3
movss xmm3, dword [0x10077440]
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.1001e8d0
movss xmm0, dword [esp + 0x2c]
xorps xmm4, xmm4
comiss xmm0, xmm4
jbe 0x1002a510
movss xmm1, dword [esp + 0x18]
divss xmm1, dword [esi]
subss xmm0, xmm1
addss xmm0, dword [0x10077248]
mov dword [esp + 0xa0], 0x10076998
mov dword [esp + 0xa4], 0x1007699c
mov dword [esp + 0xa8], 0x100769a0
mov dword [esp + 0xac], 0x100769a4
cvttss2si eax, xmm0
mov dword [esp + 0xd8], 0x100769a8
mov dword [esp + 0xdc], 0x100769a8
mov dword [esp + 0xe0], 0x100769a8
mov dword [esp + 0xe4], 0x100769a8
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 0x1002a663
xor esi, esi
jmp 0x1002a673
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 0x1002a698
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 0x1002a6e4
inc edx
mov dword [esp + 0x98], edx
test ecx, ecx
je 0x1002a6cd
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x98]
sar eax, 1
add eax, ecx
jmp 0x1002a6d2
mov eax, 8
cmp eax, edx
mov ecx, edi
cmovg edx, eax
push edx
call fcn.10011ef0
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 0x1002a8da
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 0x1002a72c
mov eax, dword [esp + 0x24]
xorps xmm0, xmm0
movss xmm1, dword [eax + 0x1564]
call fcn.1000c910
lea eax, [edi + 1]
mov dword [esp + 0x2c], eax
cmp eax, dword [esp + 0x3c]
jne 0x1002a7d3
movss xmm0, dword [esp + 0x60]
mov ecx, dword [0x1007acc0]
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 0x1002a771
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 0x1002a7ba
inc edx
mov dword [esp + 0x98], edx
test ecx, ecx
je 0x1002a7a6
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x98]
sar eax, 1
add eax, ecx
jmp 0x1002a7ab
mov eax, 8
cmp eax, edx
mov ecx, esi
cmovg edx, eax
push edx
call fcn.10011ef0
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 0x1002a853
cmp byte [esp + 0x50], 0
je 0x1002a7e6
xorps xmm0, xmm0
jmp 0x1002a7ee
movss xmm0, dword [0x1007724c]
movss xmm3, dword [0x100771cc]
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.10024650
add esp, 0x14
or al, byte [esp + 0x17]
mov byte [esp + 0x23], al
mov byte [esp + 0x17], al
jmp 0x1002a8b6
movss xmm3, dword [0x1007724c]
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.10024650
add esp, 0x14
or byte [esp + 0x17], al
cmp dword [esp + 0x58], 0
jne 0x1002a8c2
call fcn.1000cdd0
mov edi, dword [esp + 0x2c]
add esi, 4
xorps xmm4, xmm4
mov dword [esp + 0x18], esi
cmp edi, dword [esp + 0x3c]
jl 0x1002a714
mov edx, dword [0x1007acc0]
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 0x1002a90b
movss xmm0, dword [ecx + 0x21c]
jmp 0x1002a917
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 0x1002ab7c
mov eax, ecx
and eax, 0x400020
cmp eax, 0x400000
jne 0x1002abaf
cmp byte [esp + 0x44], 0
je 0x1002a9aa
mov eax, dword [esp + 0x2c]
mov ecx, 0xff
test eax, eax
jns 0x1002a95e
xor eax, eax
jmp 0x1002a966
cmp eax, 0xff
cmovg eax, ecx
test edx, edx
jns 0x1002a96e
xor edx, edx
jmp 0x1002a973
cmp edx, ecx
cmovg edx, ecx
test esi, esi
jns 0x1002a97b
xor esi, esi
jmp 0x1002a980
cmp esi, ecx
cmovg esi, ecx
test edi, edi
jns 0x1002a988
xor edi, edi
jmp 0x1002a98d
cmp edi, ecx
cmovg edi, ecx
push eax
push edx
push esi
push edi
push 0x10076a2c
lea eax, [esp + 0xec]
push 0x40
push eax
call fcn.100028c0
add esp, 0x1c
jmp 0x1002a9f0
mov eax, 0xff
test edx, edx
jns 0x1002a9b7
xor edx, edx
jmp 0x1002a9bc
cmp edx, eax
cmovg edx, eax
test esi, esi
jns 0x1002a9c4
xor esi, esi
jmp 0x1002a9c9
cmp esi, eax
cmovg esi, eax
test edi, edi
jns 0x1002a9d1
xor edi, edi
jmp 0x1002a9d6
cmp edi, eax
cmovg edi, eax
push edx
push esi
push edi
push 0x10076a40
lea eax, [esp + 0xe8]
push 0x40
push eax
call fcn.100028c0
add esp, 0x18
movss xmm4, dword [esp + 0x18]
ucomiss xmm4, dword [0x100771a0]
mov ecx, dword [0x1007acc0]
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 0x1002aa25
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 0x1002aa62
lea edi, [edx + 1]
test ecx, ecx
je 0x1002aa4e
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x1002aa53
mov eax, 8
cmp eax, edi
mov ecx, esi
cmovg edi, eax
push edi
call fcn.10011ef0
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.10027000
add esp, 0x14
test al, al
je 0x1002ab5a
mov byte [esp + 0x17], 1
lea ecx, [esp + 0xd8]
nop dword [eax]
mov al, byte [ecx]
cmp al, 0x23
je 0x1002aace
cmp al, 0x20
je 0x1002aace
cmp al, 9
jne 0x1002aad1
inc ecx
jmp 0x1002aac0
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 0x1002ab34
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.100012f0
add esp, 0x18
jmp 0x1002ab5a
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.100012f0
add esp, 0x14
test byte [esp + 0x1c], 8
jne 0x1002ab66
call fcn.1000cdd0
mov ecx, dword [0x1007acc0]
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 0x1002ab97
movss xmm0, dword [ecx + 0x21c]
jmp 0x1002aba3
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 0x1002ae92
mov esi, dword [esp + 0x24]
test cl, 0x20
jne 0x1002abdb
movss xmm1, dword [esi + 0x1564]
xorps xmm0, xmm0
call fcn.1000c910
mov ecx, dword [esp + 0x1c]
cmp byte [esp + 0x44], 0
mov eax, dword [esp + 0x28]
je 0x1002abed
movss xmm1, dword [eax + 0xc]
jmp 0x1002abf5
movss xmm1, dword [0x1007724c]
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.1002dc70
add esp, 0xc
test al, al
mov eax, dword [esp + 0x1c]
je 0x1002ad0f
test al, 4
jne 0x1002ad0f
movups xmm0, xmmword [esp + 0xa0]
xor edx, edx
movups xmmword [esi + 0x2be4], xmm0
mov esi, dword [0x1007acc0]
mov eax, dword [esi + 0x199c]
mov ecx, dword [eax + 0x1bc]
mov eax, dword [eax + 0x1c4]
push dword [eax + ecx*4 - 4]
mov ecx, 0x10076a8c
call fcn.10002900
add esp, 4
cmp dword [esi + 0x19bc], eax
jne 0x1002aca2
mov dword [esi + 0x19c4], eax
cmp dword [esi + 0x19c0], eax
jne 0x1002acb1
mov byte [esi + 0x19cf], 1
mov ecx, eax
call fcn.1000cc10
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 [0x1007acc0]
subss xmm1, dword [0x1007724c]
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 0x1002ad18
call fcn.1000cdd0
mov ecx, 0x10076a8c
call fcn.1000d0b0
test al, al
je 0x1002ae8e
mov eax, dword [esi + 0x199c]
mov esi, dword [esp + 0x40]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x38]
cmp eax, esi
je 0x1002ad79
mov edx, esi
mov ecx, eax
call fcn.10020ab0
mov ecx, dword [0x1007acc0]
mov eax, dword [ecx + 0x199c]
mov byte [eax + 0x78], 1
mov eax, dword [ecx + 0x199c]
cmp byte [eax + 0x7b], 0
jne 0x1002ad79
xorps xmm1, xmm1
mov dword [esp + 0x2c], edi
lea ecx, [esp + 0x2c]
mov dword [esp + 0x30], edi
call fcn.10004a60
movss xmm0, dword [esp + 0x4c]
mov eax, dword [esp + 0x48]
mulss xmm0, dword [0x100772f4]
and eax, 0x7890002
mov ecx, dword [0x1007acc0]
or eax, 0x740080
mov dword [esp + 0x48], eax
ucomiss xmm0, dword [0x100771a0]
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 0x1002adc8
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 0x1002ae04
lea ecx, [edx + 1]
test eax, eax
je 0x1002adf0
cdq
sub eax, edx
sar eax, 1
add eax, dword [edi + 4]
jmp 0x1002adf5
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edi
call fcn.10011ef0
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.1002b630
mov ecx, dword [0x1007acc0]
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 0x1002ae6b
movss xmm0, dword [ecx + 0x21c]
jmp 0x1002ae77
mov eax, dword [ecx + 0x184]
movss xmm0, dword [eax + edx*4 - 4]
movss dword [ecx + 0x168], xmm0
call fcn.1000d160
mov ecx, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
jmp 0x1002ae96
mov ecx, dword [esp + 0x1c]
mov esi, dword [esp + 0x40]
cmp dword [esp + 0x38], esi
je 0x1002aebf
test cl, cl
js 0x1002aebf
mov eax, dword [esp + 0x24]
xorps xmm0, xmm0
movss xmm1, dword [eax + 0x1564]
call fcn.1000c910
mov ecx, dword [esp + 0x38]
mov edx, esi
call fcn.10020ab0
test edi, edi
jne 0x1002af71
cmp byte [esp + 0x23], 0
jne 0x1002aee8
movups xmm0, xmmword [esp + 0xc8]
cvtdq2ps xmm0, xmm0
divps xmm0, xmmword [0x10077830]
movups xmmword [esp + 0xb8], xmm0
cmp dword [esp + 0x54], 0
je 0x1002af28
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.100030b0
add esp, 4
cmp byte [esp + 0x17], 0
je 0x1002af71
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 0x1002af71
movss xmm0, dword [esp + 0xc4]
movss dword [eax + 0xc], xmm0
mov eax, dword [0x1007acc0]
mov eax, dword [eax + 0x199c]
dec dword [eax + 0x1bc]
call fcn.1000c760
mov edx, dword [esp + 0x34]
test byte [edx + 0x10c], 1
je 0x1002b0e5
test dword [esp + 0x1c], 0x200
jne 0x1002b0e5
mov esi, dword [0x1007acc0]
cmp byte [esi + 0x1c5c], 0
je 0x1002b095
mov ecx, dword [esi + 0x199c]
test byte [ecx + 0x10c], 1
je 0x1002b095
mov edx, dword [esi + 0x19a0]
test edx, edx
je 0x1002b091
mov eax, dword [ecx + 0x2ec]
cmp eax, dword [edx + 0x2ec]
jne 0x1002b091
test byte [ecx + 0x10c], 2
mov eax, pe_nt_image_headers32
mov edi, 0x120
cmove edi, eax
mov eax, dword [ecx + 0x108]
add edi, ecx
test eax, eax
jne 0x1002b012
push edi
call fcn.10004830
cmp dword [esi + 0x1c74], eax
je 0x1002b08d
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.10010d40
mov esi, dword [esp + 0x28]
test eax, eax
je 0x1002b058
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.10010d40
mov ecx, eax
test ecx, ecx
je 0x1002b080
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 [0x1007acc0]
mov byte [esi + 0x1c5d], 0
mov edi, dword [esp + 0x18]
mov edx, dword [esp + 0x34]
test edi, edi
je 0x1002b0b5
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx + 0x19bc]
test eax, eax
je 0x1002b0b5
cmp dword [ecx + 0x19e0], edi
jne 0x1002b0b5
mov dword [edx + 0x108], eax
mov al, byte [esp + 0x17]
test al, al
je 0x1002b0d1
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.1004edb4
mov esp, ebp
pop ebp
ret
mov esi, dword [0x1007acc0]
jmp 0x1002b095