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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x108
mov dword [esp + 0x24], edx
mov edx, ecx
mov ecx, dword [0x100bd09c]
push esi
push edi
mov dword [esp + 0x40], edx
mov eax, dword [ecx + 0x198c]
mov dword [esp + 0x20], ecx
mov byte [eax + 0x7c], 1
mov eax, dword [ecx + 0x198c]
mov dword [esp + 0x50], eax
cmp byte [eax + 0x7f], 0
je 0x1004a024
xor al, al
pop edi
pop esi
mov esp, ebp
pop ebp
ret
test byte [ebp + 8], 0x10
movss xmm0, dword [ecx + 0x1538]
addss xmm0, xmm0
addss xmm0, dword [ecx + 0x18ac]
movss dword [esp + 0x70], xmm0
je 0x1004a049
xorps xmm3, xmm3
jmp 0x1004a054
movaps xmm3, xmm0
addss xmm3, dword [ecx + 0x154c]
mov esi, eax
xorps xmm0, xmm0
movss xmm2, dword [esi + 0x16c]
comiss xmm0, xmm2
jbe 0x1004a0d2
movss xmm4, dword [esi + 0xc8]
movss xmm1, dword [esi + 0x214]
mov edi, dword [esi + 0x1bc]
subss xmm4, dword [esi + 0xc]
subss xmm1, dword [esi + 0xc]
test edi, edi
je 0x1004a0be
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 + 0x40]
mulss xmm1, dword [eax + ecx*4]
addss xmm1, dword [edi + 0x14]
subss xmm1, dword [esi + 0x3c]
subss xmm1, xmm4
addss xmm1, xmm2
movss xmm2, dword [0x1009ee70]
maxss xmm2, xmm1
mov dword [esp + 0x78], edx
mov edi, edx
cvttss2si eax, xmm2
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subss xmm0, xmm3
movss dword [esp + 0x1c], xmm0
cmp edx, 0xffffffff
jae 0x1004a10b
mov al, byte [edi]
test al, al
je 0x1004a107
cmp al, 0x23
jne 0x1004a101
cmp byte [edi + 1], al
je 0x1004a107
inc edi
cmp edi, 0xffffffff
jb 0x1004a0f2
mov dword [esp + 0x78], edi
call fcn.1002c990
mov ecx, dword [esp + 0x40]
call fcn.1002c850
mov ecx, dword [ebp + 8]
mov dword [esp + 0x6c], ecx
test cl, 0x20
je 0x1004a134
and ecx, 0xff9fffff
or ecx, 0x100008
mov dword [ebp + 8], ecx
mov esi, dword [esp + 0x2c]
test cl, 8
jne 0x1004a149
mov edx, ecx
mov ecx, esi
call fcn.1004e4a0
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 0x20]
mov edx, dword [edx + 0x2bf0]
test ecx, 0x700000
jne 0x1004a164
mov eax, edx
and eax, 0x700000
or ecx, eax
test ecx, 0x1800000
jne 0x1004a175
mov eax, edx
and eax, 0x1800000
or ecx, eax
test ecx, 0x6000000
jne 0x1004a186
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 [ebp + 8], ecx
and edx, 0xffffff01
mov dword [esp + 0x74], eax
movzx eax, dl
add eax, 3
mov dword [esp + 0x4c], edx
mov dword [esp + 0x44], eax
movss dword [esp + 0x30], xmm2
movss dword [esp + 0x34], xmm5
movss dword [esp + 0x38], xmm1
test dl, dl
je 0x1004a1ea
movss xmm0, dword [esi + 0xc]
movss dword [esp + 0x3c], xmm0
jmp 0x1004a1f2
mov dword [esp + 0x3c], 0x3f800000
mov eax, ecx
and eax, 0x200000
mov dword [esp + 0x7c], eax
je 0x1004a28e
comiss xmm1, xmm5
xorps xmm4, xmm4
movaps xmm3, xmm5
jbe 0x1004a21c
movss xmm4, dword [0x1009f024]
movaps xmm3, xmm1
movaps xmm1, xmm5
comiss xmm3, xmm2
movaps xmm5, xmm2
jbe 0x1004a239
movss xmm0, dword [0x1009f010]
movaps xmm5, xmm3
subss xmm0, xmm4
movaps xmm3, xmm2
movaps xmm4, xmm0
movaps xmm0, xmm3
movss dword [esp + 0x38], xmm5
minss xmm0, xmm1
movaps xmm2, xmm5
subss xmm3, xmm1
subss xmm2, xmm0
movaps xmm0, xmm2
mulss xmm0, dword [0x1009eef0]
addss xmm0, dword [0x1009ed9c]
divss xmm3, xmm0
movaps xmm0, xmm5
addss xmm0, dword [0x1009ed9c]
addss xmm3, xmm4
divss xmm2, xmm0
andps xmm3, xmmword [0x1009f320]
movss dword [esp + 0x30], xmm3
movss dword [esp + 0x34], xmm2
movss xmm0, dword [esp + 0x30]
xorps xmm2, xmm2
comiss xmm0, xmm2
movss xmm3, dword [0x1009f014]
movss xmm1, dword [0x1009ee38]
jb 0x1004a2b1
movaps xmm5, xmm1
jmp 0x1004a2b4
movaps xmm5, xmm3
movss xmm0, dword [esp + 0x30]
movss xmm4, dword [0x1009ef8c]
mulss xmm0, xmm4
addss xmm0, xmm5
cvttss2si eax, xmm0
movss xmm0, dword [esp + 0x34]
comiss xmm0, xmm2
mov dword [esp + 0x18], eax
mov dword [esp + 0x5c], eax
jb 0x1004a2e6
movaps xmm5, xmm1
jmp 0x1004a2e9
movaps xmm5, xmm3
movss xmm0, dword [esp + 0x34]
mulss xmm0, xmm4
addss xmm0, xmm5
cvttss2si esi, xmm0
movss xmm0, dword [esp + 0x38]
comiss xmm0, xmm2
mov dword [esp + 0x60], esi
jb 0x1004a30f
movaps xmm5, xmm1
jmp 0x1004a312
movaps xmm5, xmm3
movss xmm0, dword [esp + 0x38]
mulss xmm0, xmm4
addss xmm0, xmm5
cvttss2si edx, xmm0
movss xmm0, dword [esp + 0x3c]
comiss xmm0, xmm2
mov dword [esp + 0x64], edx
jae 0x1004a336
movaps xmm1, xmm3
movss xmm0, dword [esp + 0x3c]
mulss xmm0, xmm4
mov byte [esp + 0x16], 0
mov byte [esp + 0x17], 0
addss xmm0, xmm1
cvttss2si eax, xmm0
mov dword [esp + 0x24], eax
mov dword [esp + 0x68], eax
test ecx, 0x300000
je 0x1004a886
test cl, 0x20
jne 0x1004a886
mov edx, dword [esp + 0x44]
movss xmm4, dword [esp + 0x1c]
movaps xmm1, xmm4
mov edi, dword [0x100bd09c]
lea eax, [edx - 1]
movd xmm3, eax
mov eax, dword [esp + 0x20]
cvtdq2ps xmm3, xmm3
movss xmm2, dword [eax + 0x154c]
movaps xmm0, xmm2
mulss xmm0, xmm3
subss xmm1, xmm0
movd xmm0, edx
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
cvttss2si eax, xmm1
movss xmm1, dword [0x1009ee70]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
maxss xmm1, xmm0
addss xmm2, xmm1
movss dword [esp + 0x1c], xmm1
movss xmm1, dword [0x1009ee70]
mulss xmm2, xmm3
movss xmm3, dword [0x1009f000]
subss xmm4, xmm2
movss xmm2, dword [edi + 0x18ac]
cvttss2si eax, xmm4
movd xmm0, eax
mov eax, ecx
and eax, 0x1000000
mov ecx, str.M:000
push ecx
cvtdq2ps xmm0, xmm0
mov dword [esp + 0xa0], eax
mov eax, str.M:0.000
cmove eax, ecx
push 0
push eax
push ecx
mov ecx, dword [edi + 0x18a8]
maxss xmm1, xmm0
lea eax, [esp + 0x34]
mov dword [esp], 0xbf800000
push eax
movss dword [esp + 0xac], xmm1
call fcn.1003f3d0
movss xmm0, dword [esp + 0x24]
addss xmm0, dword [0x1009ee68]
mov dword [esp + 0x80], 0x1009c340
mov dword [esp + 0x84], 0x1009c344
mov dword [esp + 0x88], 0x1009c348
mov dword [esp + 0x8c], 0x1009c34c
cvttss2si eax, xmm0
mov dword [esp + 0xd0], 0x1009c350
mov dword [esp + 0xd4], 0x1009c350
mov dword [esp + 0xd8], 0x1009c350
mov dword [esp + 0xdc], 0x1009c350
mov dword [esp + 0xe0], str.R:_3d
mov dword [esp + 0xe4], str.G:_3d
movss xmm0, dword [esp + 0x28]
movss dword [esp + 0x28], xmm0
mov dword [esp + 0xe8], str.B:_3d
mov dword [esp + 0xec], str.A:_3d
movd xmm1, eax
cvtdq2ps xmm1, xmm1
mov dword [esp + 0xf0], str.H:_3d
mov dword [esp + 0xf4], str.S:_3d
mov dword [esp + 0xf8], str.V:_3d
mov dword [esp + 0xfc], str.A:_3d
mov dword [esp + 0xa0], str._0.3f
mov dword [esp + 0xa4], str._0.3f
mov dword [esp + 0xa8], str._0.3f
mov dword [esp + 0xac], str._0.3f
mov dword [esp + 0xb0], str.R:_0.3f
mov dword [esp + 0xb4], str.G:_0.3f
mov dword [esp + 0xb8], str.B:_0.3f
mov dword [esp + 0xbc], str.A:_0.3f
mov dword [esp + 0xc0], str.H:_0.3f
mov dword [esp + 0xc4], str.S:_0.3f
mov dword [esp + 0xc8], str.V:_0.3f
movss xmm0, dword [esp + 0x1c]
comiss xmm1, xmm0
mov dword [esp + 0xcc], str.A:_0.3f
jb 0x1004a5a6
xor esi, esi
jmp 0x1004a5b6
xor ecx, ecx
cmp dword [esp + 0x7c], ecx
setne cl
inc ecx
mov dword [esp + 0x18], ecx
mov esi, ecx
mov eax, dword [edi + 0x198c]
xorps xmm4, xmm4
ucomiss xmm0, xmm4
mov byte [eax + 0x7c], 1
mov ecx, dword [edi + 0x198c]
mov dword [esp + 0x18], ecx
lahf
test ah, 0x44
jp 0x1004a5de
movss xmm0, dword [ecx + 0x220]
lea edi, [ecx + 0x180]
movss dword [ecx + 0x16c], xmm0
mov ecx, dword [edi + 4]
mov edx, dword [edi]
cmp edx, ecx
jne 0x1004a624
inc edx
mov dword [esp + 0x1c], edx
test ecx, ecx
je 0x1004a60d
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x1c]
sar eax, 1
add eax, ecx
jmp 0x1004a612
mov eax, 8
cmp eax, edx
mov ecx, edi
cmovg edx, eax
push edx
call fcn.10032d60
mov edx, dword [edi]
xorps xmm4, xmm4
mov ecx, dword [edi + 8]
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 0x16c]
mov dword [ecx + edx*4], eax
inc dword [edi]
xor edi, edi
cmp dword [esp + 0x44], edi
jbe 0x1004a7fa
mov eax, dword [ebp + 8]
and eax, 8
shl esi, 4
mov dword [esp + 0x54], eax
mov dword [esp + 0x18], esi
test edi, edi
je 0x1004a66b
mov eax, dword [esp + 0x20]
xorps xmm0, xmm0
movss xmm1, dword [eax + 0x154c]
call fcn.1002cc60
lea eax, [edi + 1]
mov dword [esp + 0x24], eax
cmp eax, dword [esp + 0x44]
jne 0x1004a709
movss xmm0, dword [esp + 0x98]
mov ecx, dword [0x100bd09c]
ucomiss xmm0, xmm4
mov eax, dword [ecx + 0x198c]
mov byte [eax + 0x7c], 1
mov ecx, dword [ecx + 0x198c]
mov dword [esp + 0x48], ecx
lahf
test ah, 0x44
jp 0x1004a6b0
movss xmm0, dword [ecx + 0x220]
lea esi, [ecx + 0x180]
movss dword [ecx + 0x16c], xmm0
mov ecx, dword [esi + 4]
mov edx, dword [esi]
cmp edx, ecx
jne 0x1004a6f3
inc edx
mov dword [esp + 0x1c], edx
test ecx, ecx
je 0x1004a6df
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x1c]
sar eax, 1
add eax, ecx
jmp 0x1004a6e4
mov eax, 8
cmp eax, edx
mov ecx, esi
cmovg edx, eax
push edx
call fcn.10032d60
mov edx, dword [esi]
mov ecx, dword [esi + 8]
mov eax, dword [esp + 0x48]
mov eax, dword [eax + 0x16c]
mov dword [ecx + edx*4], eax
inc dword [esi]
mov esi, dword [esp + 0x18]
cmp dword [esp + 0x9c], 0
je 0x1004a782
cmp byte [esp + 0x74], 0
je 0x1004a71f
xorps xmm0, xmm0
jmp 0x1004a727
movss xmm0, dword [0x1009ee70]
movss xmm3, dword [0x1009edd4]
lea eax, [esp + 0x48]
push ecx
mov ecx, dword [esp + edi*4 + 0x84]
mov edx, 4
mov dword [esp], 0x3f800000
push dword [esp + esi + 0xa4]
movss dword [esp + 0x50], xmm0
push eax
lea eax, [esp + 0x28]
mov dword [esp + 0x28], 0
push eax
lea eax, [esp + 0x40]
lea eax, [eax + edi*4]
push eax
call fcn.10044750
mov cl, byte [esp + 0x2a]
add esp, 0x14
or cl, al
or byte [esp + 0x17], cl
mov byte [esp + 0x16], cl
jmp 0x1004a7d6
movss xmm3, dword [0x1009ee70]
xor ecx, ecx
cmp byte [esp + 0x74], cl
mov eax, 0xff
push ecx
cmovne eax, ecx
mov dword [esp], 0x3f800000
push dword [esp + esi + 0xd4]
mov dword [esp + 0x50], eax
xor edx, edx
lea eax, [esp + 0x50]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + edi*4 + 0x88]
push eax
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x6c]
lea eax, [eax + edi*4]
push eax
call fcn.10044750
add esp, 0x14
or byte [esp + 0x16], al
cmp dword [esp + 0x54], 0
jne 0x1004a7e2
call fcn.1002d0f0
mov edi, dword [esp + 0x24]
add esi, 4
xorps xmm4, xmm4
mov dword [esp + 0x18], esi
cmp edi, dword [esp + 0x44]
jl 0x1004a653
mov edx, dword [0x100bd09c]
mov eax, dword [edx + 0x198c]
mov byte [eax + 0x7c], 1
mov ecx, dword [edx + 0x198c]
mov esi, dword [ecx + 0x180]
sub esi, 1
mov dword [ecx + 0x180], esi
jne 0x1004a82b
movss xmm0, dword [ecx + 0x220]
jmp 0x1004a837
mov eax, dword [ecx + 0x188]
movss xmm0, dword [eax + esi*4 - 4]
movss dword [ecx + 0x16c], xmm0
mov eax, dword [edx + 0x198c]
mov byte [eax + 0x7c], 1
mov ecx, dword [edx + 0x198c]
mov edx, dword [ecx + 0x180]
sub edx, 1
mov dword [ecx + 0x180], edx
jne 0x1004a871
movss xmm0, dword [ecx + 0x220]
mov edi, dword [esp + 0x78]
jmp 0x1004aae3
mov eax, dword [ecx + 0x188]
mov edi, dword [esp + 0x78]
movss xmm0, dword [eax + edx*4 - 4]
jmp 0x1004aae3
mov eax, ecx
and eax, 0x400020
cmp eax, 0x400000
jne 0x1004aaee
cmp byte [esp + 0x4c], 0
je 0x1004a906
mov ecx, dword [esp + 0x24]
mov eax, 0xff
mov dword [esp + 0x54], eax
test ecx, ecx
jns 0x1004a8b4
xor ecx, ecx
jmp 0x1004a8b9
cmp ecx, eax
cmovg ecx, eax
test edx, edx
jns 0x1004a8c1
xor edx, edx
jmp 0x1004a8c6
cmp edx, eax
cmovg edx, eax
test esi, esi
jns 0x1004a8ce
xor esi, esi
jmp 0x1004a8d3
cmp esi, eax
cmovg esi, eax
mov eax, dword [esp + 0x18]
test eax, eax
jns 0x1004a8df
xor eax, eax
jmp 0x1004a8e9
cmp eax, 0xff
cmovg eax, dword [esp + 0x54]
push ecx
push edx
push esi
push eax
push 0x1009c3d4
lea eax, [esp + 0xe4]
push 0x40
push eax
call fcn.10021df0
add esp, 0x1c
jmp 0x1004a953
mov ecx, 0xff
test edx, edx
jns 0x1004a913
xor edx, edx
jmp 0x1004a918
cmp edx, ecx
cmovg edx, ecx
test esi, esi
jns 0x1004a920
xor esi, esi
jmp 0x1004a925
cmp esi, ecx
cmovg esi, ecx
mov eax, dword [esp + 0x18]
test eax, eax
jns 0x1004a931
xor eax, eax
jmp 0x1004a939
cmp eax, 0xff
cmovg eax, ecx
push edx
push esi
push eax
push 0x1009c3e8
lea eax, [esp + 0xe0]
push 0x40
push eax
call fcn.10021df0
add esp, 0x18
movss xmm4, dword [esp + 0x1c]
ucomiss xmm4, dword [0x1009ed8c]
mov ecx, dword [0x100bd09c]
mov eax, dword [ecx + 0x198c]
mov byte [eax + 0x7c], 1
mov ecx, dword [ecx + 0x198c]
lahf
mov dword [esp + 0x54], ecx
test ah, 0x44
jp 0x1004a988
movss xmm4, dword [ecx + 0x220]
lea esi, [ecx + 0x180]
movss dword [ecx + 0x16c], xmm4
mov ecx, dword [esi + 4]
mov edx, dword [esi]
cmp edx, ecx
jne 0x1004a9cb
inc edx
mov dword [esp + 0x24], edx
test ecx, ecx
je 0x1004a9b7
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x24]
sar eax, 1
add eax, ecx
jmp 0x1004a9bc
mov eax, 8
cmp eax, edx
mov ecx, esi
cmovg edx, eax
push edx
call fcn.10032d60
mov edx, dword [esi]
mov eax, dword [esp + 0x54]
mov ecx, dword [esi + 8]
push 0
push 0
mov eax, dword [eax + 0x16c]
mov dword [ecx + edx*4], eax
lea eax, [esp + 0x5c]
inc dword [esi]
lea edx, [esp + 0xd8]
push 6
push eax
push 0x40
mov ecx, str.Text
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
call fcn.100473b0
add esp, 0x14
test al, al
je 0x1004aa9b
mov byte [esp + 0x16], 1
lea ecx, [esp + 0xd0]
mov al, byte [ecx]
cmp al, 0x23
je 0x1004aa30
cmp al, 0x20
je 0x1004aa30
cmp al, 9
jne 0x1004aa33
inc ecx
jmp 0x1004aa22
cmp byte [esp + 0x4c], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x5c], 0
je 0x1004aa7e
lea eax, [esp + 0x68]
push eax
lea eax, [esp + 0x68]
push eax
lea eax, [esp + 0x68]
push eax
lea eax, [esp + 0x68]
push eax
push str._02X_02X_02X_02X
push ecx
call fcn.100207c0
add esp, 0x18
jmp 0x1004aa9b
lea eax, [esp + 0x64]
push eax
lea eax, [esp + 0x64]
push eax
lea eax, [esp + 0x64]
push eax
push str._02X_02X_02X
push ecx
call fcn.100207c0
add esp, 0x14
test byte [ebp + 8], 8
jne 0x1004aaa6
call fcn.1002d0f0
mov ecx, dword [0x100bd09c]
mov eax, dword [ecx + 0x198c]
mov byte [eax + 0x7c], 1
mov ecx, dword [ecx + 0x198c]
mov edx, dword [ecx + 0x180]
sub edx, 1
mov dword [ecx + 0x180], edx
jne 0x1004aad7
movss xmm0, dword [ecx + 0x220]
jmp 0x1004aae3
mov eax, dword [ecx + 0x188]
movss xmm0, dword [eax + edx*4 - 4]
movss dword [ecx + 0x16c], xmm0
mov ecx, dword [ebp + 8]
mov esi, dword [esp + 0x20]
mov dword [esp + 0x18], 0
test cl, 0x10
jne 0x1004adf5
test cl, 0x20
jne 0x1004ab1b
movss xmm1, dword [esi + 0x154c]
xorps xmm0, xmm0
call fcn.1002cc60
mov ecx, dword [ebp + 8]
cmp byte [esp + 0x4c], 0
mov eax, dword [esp + 0x2c]
je 0x1004ab2d
movss xmm1, dword [eax + 0xc]
jmp 0x1004ab35
movss xmm1, dword [0x1009ee70]
movss xmm0, dword [eax]
lea edx, [esp + 0x80]
mov dword [esp + 0x28], 0
push dword [esp + 0x28]
movss dword [esp + 0x84], xmm0
movss xmm0, dword [eax + 4]
mov dword [esp + 0x28], 0
push dword [esp + 0x28]
movss dword [esp + 0x8c], xmm0
movss xmm0, dword [eax + 8]
push ecx
mov ecx, str.ColorButton
movss dword [esp + 0x94], xmm0
movss dword [esp + 0x98], xmm1
call fcn.1004db00
add esp, 0xc
test al, al
mov eax, dword [ebp + 8]
je 0x1004ac63
test al, 4
jne 0x1004ac63
movups xmm0, xmmword [esp + 0x80]
xor edx, edx
movups xmmword [esi + 0x2bf4], xmm0
mov esi, dword [0x100bd09c]
mov eax, dword [esi + 0x198c]
mov ecx, dword [eax + 0x1c0]
mov eax, dword [eax + 0x1c8]
push dword [eax + ecx*4 - 4]
mov ecx, 0x1009c434
call fcn.10021e30
add esp, 4
cmp dword [esi + 0x19ac], eax
jne 0x1004abef
mov dword [esi + 0x19b4], eax
cmp dword [esi + 0x19b0], eax
jne 0x1004abfe
mov byte [esi + 0x19c0], 1
mov ecx, eax
call fcn.1002cf30
mov eax, dword [esp + 0x50]
mov esi, dword [esp + 0x20]
movss xmm1, dword [eax + 0x114]
movss xmm0, dword [eax + 0x120]
addss xmm0, dword [esi + 0x1548]
mov eax, dword [0x100bd09c]
subss xmm1, dword [0x1009ee70]
movss dword [eax + 0x1a50], xmm0
mov dword [eax + 0x1a54], 0
movss dword [eax + 0x1a4c], xmm1
mov dword [eax + 0x1a58], 0
mov dword [eax + 0x1a30], 1
mov eax, dword [ebp + 8]
test al, 8
jne 0x1004ac6c
call fcn.1002d0f0
mov ecx, 0x1009c434
call fcn.1002d3b0
test al, al
je 0x1004adf2
mov eax, dword [esi + 0x198c]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x40]
cmp eax, edi
je 0x1004acd1
mov edx, edi
mov ecx, eax
call fcn.10040ba0
mov ecx, dword [0x100bd09c]
mov eax, dword [ecx + 0x198c]
mov byte [eax + 0x7c], 1
mov eax, dword [ecx + 0x198c]
cmp byte [eax + 0x7f], 0
jne 0x1004acd1
xorps xmm1, xmm1
mov dword [esp + 0x24], 0
lea ecx, [esp + 0x24]
mov dword [esp + 0x28], 0
call fcn.10024330
movss xmm0, dword [esp + 0x70]
mov eax, dword [esp + 0x6c]
mulss xmm0, dword [0x1009ef08]
and eax, 0x7890002
mov ecx, dword [0x100bd09c]
or eax, 0x740080
mov dword [esp + 0x6c], eax
ucomiss xmm0, dword [0x1009ed8c]
mov eax, dword [ecx + 0x198c]
mov byte [eax + 0x7c], 1
mov ecx, dword [ecx + 0x198c]
mov dword [esp + 0x24], ecx
lahf
test ah, 0x44
jp 0x1004ad20
movss xmm0, dword [ecx + 0x220]
lea esi, [ecx + 0x180]
movss dword [ecx + 0x16c], xmm0
mov ecx, dword [esi + 4]
mov edx, dword [esi]
cmp edx, ecx
jne 0x1004ad63
inc edx
mov dword [esp + 0x70], edx
test ecx, ecx
je 0x1004ad4f
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x70]
sar eax, 1
add eax, ecx
jmp 0x1004ad54
mov eax, 8
cmp eax, edx
mov ecx, esi
cmovg edx, eax
push edx
call fcn.10032d60
mov edx, dword [esi]
mov ecx, dword [esi + 8]
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 0x16c]
mov dword [ecx + edx*4], eax
mov ecx, str.picker
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x2c]
add eax, 0x2bf4
inc dword [esi]
push eax
mov eax, dword [esp + 0x70]
push eax
call fcn.1004b580
mov esi, dword [0x100bd09c]
add esp, 8
or byte [esp + 0x16], al
mov eax, dword [esi + 0x198c]
mov byte [eax + 0x7c], 1
mov ecx, dword [esi + 0x198c]
mov edx, dword [ecx + 0x180]
sub edx, 1
mov dword [ecx + 0x180], edx
jne 0x1004adca
movss xmm0, dword [ecx + 0x220]
jmp 0x1004add6
mov eax, dword [ecx + 0x188]
movss xmm0, dword [eax + edx*4 - 4]
movss dword [ecx + 0x16c], xmm0
mov ecx, dword [esi + 0x198c]
call fcn.1002e260
call fcn.1002bfb0
mov esi, dword [esp + 0x20]
mov ecx, dword [ebp + 8]
cmp dword [esp + 0x40], edi
je 0x1004ae1a
test cl, cl
js 0x1004ae1a
movss xmm1, dword [esi + 0x154c]
xorps xmm0, xmm0
call fcn.1002cc60
mov ecx, dword [esp + 0x40]
mov edx, edi
call fcn.10040ba0
cmp dword [esp + 0x18], 0
jne 0x1004aeab
cmp byte [esp + 0x17], 0
jne 0x1004ae40
movups xmm0, xmmword [esp + 0x5c]
cvtdq2ps xmm0, xmm0
divps xmm0, xmmword [0x1009f300]
movups xmmword [esp + 0x30], xmm0
cmp dword [esp + 0x7c], 0
je 0x1004ae6e
movss xmm2, dword [esp + 0x38]
lea eax, [esp + 0x38]
movss xmm1, dword [esp + 0x34]
lea edx, [esp + 0x34]
movss xmm0, dword [esp + 0x30]
lea ecx, [esp + 0x30]
push eax
call fcn.100224b0
add esp, 4
cmp byte [esp + 0x16], 0
je 0x1004aeab
cmp byte [esp + 0x4c], 0
mov eax, dword [esp + 0x2c]
movss xmm0, dword [esp + 0x30]
movss dword [eax], xmm0
movss xmm0, dword [esp + 0x34]
movss dword [eax + 4], xmm0
movss xmm0, dword [esp + 0x38]
movss dword [eax + 8], xmm0
je 0x1004aeab
movss xmm0, dword [esp + 0x3c]
movss dword [eax + 0xc], xmm0
mov eax, dword [0x100bd09c]
mov eax, dword [eax + 0x198c]
dec dword [eax + 0x1c0]
call fcn.1002cad0
mov edi, dword [esp + 0x50]
test byte [edi + 0x110], 1
je 0x1004b010
test dword [ebp + 8], 0x200
jne 0x1004b010
mov esi, dword [0x100bd09c]
cmp byte [esi + 0x1c68], 0
je 0x1004afca
mov ecx, dword [esi + 0x198c]
test byte [ecx + 0x110], 1
je 0x1004afca
mov edx, dword [esi + 0x1990]
test edx, edx
je 0x1004afca
mov eax, dword [ecx + 0x2f0]
cmp eax, dword [edx + 0x2f0]
jne 0x1004afca
test byte [ecx + 0x110], 2
mov eax, 0x114
mov edi, 0x124
cmove edi, eax
mov eax, dword [ecx + 0x10c]
add edi, ecx
test eax, eax
jne 0x1004af4b
push edi
call fcn.100240a0
cmp dword [esi + 0x1c80], eax
je 0x1004afc6
movups xmm0, xmmword [edi]
mov ecx, str._COL3F
mov dword [esi + 0x1cc0], eax
mov byte [esi + 0x1c69], 1
movups xmmword [esi + 0x1cb0], xmm0
call fcn.100318f0
mov esi, dword [esp + 0x2c]
test eax, eax
je 0x1004af91
mov eax, dword [eax]
mov byte [esp + 0x16], 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.100318f0
mov ecx, eax
test ecx, ecx
je 0x1004afb9
mov eax, dword [esp + 0x44]
shl eax, 2
push eax
push dword [ecx]
push esi
call fcn.100695f0
add esp, 0xc
mov byte [esp + 0x16], 1
mov esi, dword [0x100bd09c]
mov byte [esi + 0x1c69], 0
mov edi, dword [esp + 0x50]
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x1004afee
mov edx, dword [esp + 0x20]
mov eax, dword [edx + 0x19ac]
test eax, eax
je 0x1004afee
cmp dword [edx + 0x19d4], ecx
jne 0x1004afee
mov dword [edi + 0x10c], eax
mov al, byte [esp + 0x16]
test al, al
je 0x1004b00a
mov ecx, dword [esi + 0x198c]
mov byte [esi + 0x19bf], 1
or dword [ecx + 0x110], 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov esi, dword [0x100bd09c]
jmp 0x1004afca