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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xf8
mov eax, dword [0x4ba040]
xor eax, esp
mov dword [esp + 0xf4], eax
mov eax, dword [ebp + 8]
push esi
push edi
mov edi, dword [0x4bead0]
mov esi, edx
mov dword [esp + 0x18], eax
mov edx, ecx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x50], edx
mov eax, dword [edi + 0x3f8c]
mov dword [esp + 0x34], edi
mov byte [eax + 0xb0], 1
mov ecx, dword [edi + 0x3f8c]
mov dword [esp + 0x20], ecx
cmp byte [ecx + 0xb3], 0
je 0x485e2f
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0xf4]
xor ecx, esp
call fcn.0049c694
mov esp, ebp
pop ebp
ret
movss xmm0, dword [edi + 0x38e8]
mov dword [esp + 0x4c], edx
addss xmm0, xmm0
addss xmm0, dword [edi + 0x3cf4]
movss dword [esp + 0x64], xmm0
cmp edx, 0xffffffff
jae 0x485e76
mov edi, edx
mov cl, byte [edi]
test cl, cl
je 0x485e6e
cmp cl, 0x23
jne 0x485e64
cmp byte [edi + 1], cl
je 0x485e6e
inc edi
mov dword [esp + 0x4c], edi
cmp edi, 0xffffffff
jb 0x485e54
mov edi, dword [esp + 0x34]
mov ecx, dword [esp + 0x20]
test byte [edi + 0x48e8], 1
je 0x485e89
movss xmm1, dword [edi + 0x48f8]
jmp 0x485e91
movss xmm1, dword [ecx + 0x1ac]
xorps xmm0, xmm0
comiss xmm0, xmm1
jbe 0x485ed3
cmp dword [ecx + 0x198], 0
jne 0x485eb1
cmp dword [edi + 0x4ce0], 0
lea eax, [ecx + 0x234]
je 0x485eb7
lea eax, [ecx + 0x204]
movss xmm0, dword [eax]
subss xmm0, dword [ecx + 0xf8]
addss xmm0, xmm1
movss xmm1, dword [0x4b6ac4]
maxss xmm1, xmm0
cvttss2si eax, xmm1
mov dword [edi + 0x48e8], 0
mov dword [edi + 0x48ec], 0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x40], xmm0
call fcn.00416bb0
mov ecx, dword [esp + 0x50]
call fcn.00413920
mov eax, dword [edi + 0x5c98]
mov dword [esp + 0x70], eax
test eax, eax
jne 0x485f2e
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0xec]
mov eax, dword [eax + 0xf4]
mov eax, dword [eax + ecx*4 - 4]
mov dword [edi + 0x5c98], eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x68], ecx
test cl, 0x20
je 0x485f4b
and ecx, 0xff9fffff
or ecx, 0x100008
mov dword [esp + 0x18], ecx
test cl, 8
jne 0x485f5d
mov edx, ecx
mov ecx, esi
call fcn.0048ab90
mov ecx, dword [esp + 0x18]
test ecx, 0x700000
jne 0x485f72
mov eax, dword [edi + 0x5c94]
and eax, 0x700000
or ecx, eax
test ecx, 0x1800000
jne 0x485f87
mov eax, dword [edi + 0x5c94]
and eax, 0x1800000
or ecx, eax
test ecx, 0x6000000
jne 0x485f9c
mov eax, dword [edi + 0x5c94]
and eax, 0x6000000
or ecx, eax
test ecx, 0x18000000
jne 0x485fb1
mov eax, dword [edi + 0x5c94]
and eax, 0x18000000
or ecx, eax
mov eax, dword [edi + 0x5c94]
and eax, 0xe00fffff
or ecx, eax
mov edx, ecx
mov dword [esp + 0x18], ecx
shr edx, 1
mov eax, ecx
shr eax, 0x13
not dl
and eax, 0xffffff01
and edx, 0xffffff01
mov dword [esp + 0x7c], eax
movzx eax, dl
add eax, 3
mov dword [esp + 0x54], edx
mov dword [esp + 0x44], eax
test cl, 0x10
je 0x485ff4
xorps xmm0, xmm0
jmp 0x486002
movss xmm0, dword [esp + 0x64]
addss xmm0, dword [edi + 0x38fc]
movss xmm7, dword [esp + 0x40]
movss xmm3, dword [0x4b6ac4]
subss xmm7, xmm0
movss xmm2, dword [esi + 8]
movss dword [esp + 0x60], xmm0
movss dword [esp + 0xa0], xmm2
maxss xmm7, xmm3
movss dword [esp + 0x40], xmm7
movaps xmm1, xmm7
addss xmm1, xmm0
movss xmm0, dword [esi]
movss dword [esp + 0x98], xmm0
movss dword [esp + 0x6c], xmm1
movss xmm1, dword [esi + 4]
movss dword [esp + 0x9c], xmm1
test dl, dl
je 0x486063
movss xmm3, dword [esi + 0xc]
movss xmm6, dword [0x4b69fc]
mov eax, ecx
and eax, 0x10100000
movss dword [esp + 0xa4], xmm3
cmp eax, 0x10100000
jne 0x4860ab
lea eax, [esp + 0xa0]
push eax
lea edx, [esp + 0xa0]
lea ecx, [esp + 0x9c]
call fcn.00404850
movss xmm7, dword [esp + 0x44]
add esp, 4
jmp 0x48616a
mov eax, ecx
and eax, 0x8200000
cmp eax, 0x8200000
jne 0x486192
comiss xmm2, xmm1
xorps xmm4, xmm4
movaps xmm3, xmm1
jbe 0x4860d6
movss xmm4, dword [0x4b6cc0]
movaps xmm3, xmm2
movaps xmm2, xmm1
comiss xmm3, xmm0
movaps xmm5, xmm0
jbe 0x4860f3
movaps xmm5, xmm3
movaps xmm3, xmm0
movss xmm0, dword [0x4b6cac]
subss xmm0, xmm4
movaps xmm4, xmm0
movaps xmm0, xmm3
movss dword [esp + 0xa0], xmm5
minss xmm0, xmm2
movaps xmm1, xmm5
subss xmm3, xmm2
mov ecx, esi
lea eax, [esp + 0xa0]
push eax
lea eax, [esp + 0xa0]
subss xmm1, xmm0
push eax
lea edx, [esp + 0xa0]
movaps xmm0, xmm1
mulss xmm0, dword [0x4b6b94]
addss xmm0, xmm6
divss xmm3, xmm0
movaps xmm0, xmm5
addss xmm0, xmm6
addss xmm3, xmm4
divss xmm1, xmm0
andps xmm3, xmmword [0x4b6f10]
movss dword [esp + 0xa0], xmm3
movss dword [esp + 0xa4], xmm1
call fcn.00485ca0
add esp, 8
mov ecx, dword [esp + 0x18]
movss xmm0, dword [esp + 0x98]
movss xmm1, dword [esp + 0x9c]
movss xmm2, dword [esp + 0xa0]
movss xmm3, dword [esp + 0xa4]
movss xmm5, dword [0x4b6cb0]
xorps xmm4, xmm4
comiss xmm0, xmm4
jb 0x4861ac
movss xmm6, dword [0x4b6a7c]
jmp 0x4861af
movaps xmm6, xmm5
comiss xmm1, xmm4
mulss xmm0, dword [0x4b6c40]
addss xmm0, xmm6
movss xmm6, dword [0x4b6a7c]
cvttss2si eax, xmm0
mov dword [esp + 0xa8], eax
jb 0x4861d8
movaps xmm0, xmm6
jmp 0x4861db
movaps xmm0, xmm5
comiss xmm2, xmm4
mulss xmm1, dword [0x4b6c40]
addss xmm1, xmm0
cvttss2si eax, xmm1
mov dword [esp + 0xac], eax
jb 0x4861fc
movaps xmm0, xmm6
jmp 0x4861ff
movaps xmm0, xmm5
comiss xmm3, xmm4
movss xmm1, dword [0x4b6c40]
mulss xmm2, xmm1
addss xmm2, xmm0
cvttss2si eax, xmm2
mov dword [esp + 0xb0], eax
jb 0x486222
movaps xmm5, xmm6
cmp dword [edi + 0x3944], 0
mov edx, dword [esp + 0x20]
mulss xmm3, xmm1
mov byte [esp + 0x16], 0
mov byte [esp + 0x17], 0
addss xmm3, xmm5
cvttss2si eax, xmm3
mov dword [esp + 0xb4], eax
movss xmm2, dword [edx + 0xf8]
movss xmm3, dword [edx + 0xfc]
movss dword [esp + 0x24], xmm2
movss dword [esp + 0x28], xmm3
jne 0x486270
movss xmm1, dword [esp + 0x60]
jmp 0x486273
xorps xmm1, xmm1
movaps xmm0, xmm2
addss xmm0, xmm1
movss dword [edx + 0xf8], xmm0
test ecx, 0x300000
je 0x48669e
test cl, 0x20
jne 0x48669e
mov eax, dword [esp + 0x44]
movss xmm3, dword [0x4b6c90]
dec eax
push 0
push 0
movd xmm0, eax
mov eax, ecx
cvtdq2ps xmm0, xmm0
and eax, 0x1000000
mov ecx, str.M:000
mov dword [esp + 0x50], eax
mov eax, str.M:0.000
cmove eax, ecx
mov ecx, dword [0x4bead0]
push eax
push ecx
mulss xmm0, dword [edi + 0x38fc]
lea eax, [esp + 0x48]
mov dword [esp], 0xbf800000
movss xmm2, dword [ecx + 0x3cf4]
mov ecx, dword [ecx + 0x3cf0]
subss xmm7, xmm0
push eax
movss dword [esp + 0x44], xmm7
call fcn.004667b0
mov edx, dword [esp + 0x44]
movss xmm0, dword [esp + 0x38]
addss xmm0, dword [0x4b6abc]
movss xmm6, dword [esp + 0x30]
movd xmm7, edx
cvtdq2ps xmm7, xmm7
mov ecx, dword [esp + 0x18]
cvttss2si eax, xmm0
movaps xmm0, xmm6
movss dword [esp + 0x34], xmm7
divss xmm0, xmm7
movd xmm1, eax
cvttss2si eax, xmm0
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm1, xmm0
jb 0x48634f
xor eax, eax
jmp 0x48635d
mov eax, ecx
and eax, 0x200000
neg eax
sbb eax, eax
neg eax
inc eax
xor esi, esi
xorps xmm5, xmm5
test edx, edx
je 0x486917
shl eax, 4
cmp dword [esp + 0x48], esi
je 0x486511
and ecx, 8
mov dword [esp + 0x58], ecx
lea ecx, [eax + 0x4b68d0]
mov dword [esp + 0x2c], ecx
test esi, esi
je 0x4863a0
movss xmm1, dword [edi + 0x38fc]
xorps xmm0, xmm0
call fcn.004165f0
mov ecx, dword [esp + 0x2c]
lea eax, [esi + 1]
movss xmm2, dword [0x4b6ac4]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm6
divss xmm0, xmm7
cvttss2si eax, xmm0
movd xmm1, eax
mov eax, dword [0x4bead0]
cvtdq2ps xmm1, xmm1
or dword [eax + 0x48e8], 1
cmp byte [esp + 0x7c], 0
movaps xmm0, xmm1
movss dword [esp + 0x48], xmm1
subss xmm0, xmm5
maxss xmm0, xmm2
movss dword [eax + 0x48f8], xmm0
je 0x4863f6
xorps xmm0, xmm0
jmp 0x4863f9
movaps xmm0, xmm2
movss xmm3, dword [0x4b6a18]
lea eax, [esp + 0x74]
push 0
push dword [ecx]
mov ecx, dword [esi*4 + 0x4b68c0]
mov edx, 8
push eax
lea eax, [esp + 0x84]
movss dword [esp + 0x80], xmm0
push eax
lea eax, [esp + 0xa8]
mov dword [esp + 0x88], 0
lea eax, [eax + esi*4]
push eax
call fcn.0047c350
mov dl, byte [esp + 0x2a]
add esp, 0x14
or dl, al
or byte [esp + 0x17], dl
cmp dword [esp + 0x58], 0
mov byte [esp + 0x16], dl
jne 0x4864e4
mov eax, dword [0x4bead0]
mov ecx, 1
mov eax, dword [eax + 0x3f8c]
mov dword [esp + 0x74], eax
call fcn.00414570
test al, al
je 0x4864e4
mov ecx, 0x20
call fcn.004094b0
test al, al
je 0x4864e4
mov eax, dword [esp + 0x74]
xor edx, edx
mov ecx, dword [eax + 0xec]
mov eax, dword [eax + 0xf4]
push dword [eax + ecx*4 - 4]
mov ecx, str.context
call fcn.00404090
mov ecx, eax
add esp, 4
mov eax, dword [esp + 0x74]
mov dword [esp + 0x78], ecx
mov eax, dword [eax]
cmp dword [eax + 0x3fc4], ecx
jne 0x4864da
push ecx
push str.context
mov edx, 0xb
call fcn.00427b90
mov ecx, dword [esp + 0x80]
add esp, 8
mov edx, 1
call fcn.004178b0
mov ecx, dword [esp + 0x2c]
inc esi
movss xmm5, dword [esp + 0x48]
add ecx, 4
movss xmm6, dword [esp + 0x30]
movss xmm7, dword [esp + 0x34]
mov dword [esp + 0x2c], ecx
cmp esi, dword [esp + 0x44]
jl 0x486388
jmp 0x486913
xor edx, edx
lea eax, [eax + 0x4b6928]
cmp byte [esp + 0x7c], dl
mov esi, 0xff
mov dword [esp + 0x74], edx
cmovne esi, edx
mov dword [esp + 0x2c], eax
and ecx, 8
mov dword [esp + 0x58], esi
mov dword [esp + 0x38], ecx
mov esi, edx
test edx, edx
jle 0x486552
movss xmm1, dword [edi + 0x38fc]
xorps xmm0, xmm0
call fcn.004165f0
mov edx, dword [esp + 0x74]
lea eax, [edx + 1]
movss xmm3, dword [0x4b6ac4]
movd xmm0, eax
mov edx, 4
cvtdq2ps xmm0, xmm0
mov dword [esp + 0x74], eax
mov ecx, dword [esi*4 + 0x4b68c0]
push 0
mov dword [esp + 0x80], 0
mulss xmm0, xmm6
divss xmm0, xmm7
cvttss2si eax, xmm0
movd xmm1, eax
mov eax, dword [0x4bead0]
cvtdq2ps xmm1, xmm1
or dword [eax + 0x48e8], 1
movaps xmm0, xmm1
movss dword [esp + 0x4c], xmm1
subss xmm0, xmm5
maxss xmm0, dword [0x4b6ac4]
movss dword [eax + 0x48f8], xmm0
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x30]
push dword [eax]
lea eax, [esp + 0x80]
push eax
lea eax, [esp + 0x88]
push eax
lea eax, [esp + 0xb8]
lea eax, [eax + esi*4]
push eax
call fcn.0047c350
or byte [esp + 0x2a], al
add esp, 0x14
cmp dword [esp + 0x38], 0
jne 0x486674
mov eax, dword [0x4bead0]
mov ecx, 1
mov esi, dword [eax + 0x3f8c]
mov dword [esp + 0x78], esi
call fcn.00414570
test al, al
je 0x486674
mov ecx, 0x20
call fcn.004094b0
test al, al
je 0x486674
mov ecx, dword [esi + 0xec]
xor edx, edx
mov eax, dword [esi + 0xf4]
push dword [eax + ecx*4 - 4]
mov ecx, str.context
call fcn.00404090
mov esi, eax
add esp, 4
mov eax, dword [esp + 0x78]
mov eax, dword [eax]
cmp dword [eax + 0x3fc4], esi
jne 0x486668
push ecx
push str.context
mov edx, 0xb
mov ecx, esi
call fcn.00427b90
add esp, 8
mov edx, 1
mov ecx, esi
call fcn.004178b0
add dword [esp + 0x2c], 4
mov edx, dword [esp + 0x74]
movss xmm5, dword [esp + 0x48]
movss xmm6, dword [esp + 0x30]
movss xmm7, dword [esp + 0x34]
cmp edx, dword [esp + 0x44]
jl 0x486538
jmp 0x486913
test ecx, 0x400000
je 0x48692b
test cl, 0x20
jne 0x48692b
cmp byte [esp + 0x54], 0
mov eax, 0xff
je 0x486739
mov ecx, dword [esp + 0xb4]
test ecx, ecx
jns 0x4866d4
mov dword [esp + 0x34], 0
jmp 0x4866dd
cmp ecx, eax
cmovg ecx, eax
mov dword [esp + 0x34], ecx
mov esi, dword [esp + 0xb0]
test esi, esi
jns 0x4866ec
xor esi, esi
jmp 0x4866f1
cmp esi, eax
cmovg esi, eax
mov edx, dword [esp + 0xac]
test edx, edx
jns 0x486700
xor edx, edx
jmp 0x486705
cmp edx, eax
cmovg edx, eax
mov ecx, dword [esp + 0xa8]
test ecx, ecx
jns 0x486714
xor ecx, ecx
jmp 0x486719
cmp ecx, eax
cmovg ecx, eax
push dword [esp + 0x34]
lea eax, [esp + 0xbc]
push esi
push edx
push ecx
push 0x4b6624
push 0x40
push eax
call fcn.00403f20
add esp, 0x1c
jmp 0x48678f
mov esi, dword [esp + 0xb0]
test esi, esi
jns 0x486748
xor esi, esi
jmp 0x48674d
cmp esi, eax
cmovg esi, eax
mov edx, dword [esp + 0xac]
test edx, edx
jns 0x48675c
xor edx, edx
jmp 0x486761
cmp edx, eax
cmovg edx, eax
mov ecx, dword [esp + 0xa8]
test ecx, ecx
jns 0x486770
xor ecx, ecx
jmp 0x486775
cmp ecx, eax
cmovg ecx, eax
push esi
push edx
push ecx
push 0x4b6638
lea eax, [esp + 0xc8]
push 0x40
push eax
call fcn.00403f20
add esp, 0x18
mov eax, dword [0x4bead0]
xor edx, edx
movss xmm0, dword [esp + 0x40]
mov ecx, str.Text
push 0
push 0
or dword [eax + 0x48e8], 1
movss dword [eax + 0x48f8], xmm0
lea eax, [esp + 0x60]
push 4
push eax
lea eax, [esp + 0xc8]
mov dword [esp + 0x68], 0
push 0x40
push eax
mov dword [esp + 0x74], 0
call fcn.00481760
add esp, 0x18
test al, al
je 0x48688b
mov byte [esp + 0x16], 1
lea ecx, [esp + 0xb8]
mov al, byte [ecx]
cmp al, 0x23
je 0x4867ff
cmp al, 0x20
je 0x4867ff
cmp al, 9
jne 0x486802
inc ecx
jmp 0x4867f1
cmp byte [esp + 0x54], 0
mov dword [esp + 0xb0], 0
mov dword [esp + 0xac], 0
mov dword [esp + 0xa8], 0
mov dword [esp + 0xb4], 0xff
je 0x486865
lea eax, [esp + 0xb4]
push eax
lea eax, [esp + 0xb4]
push eax
lea eax, [esp + 0xb4]
push eax
lea eax, [esp + 0xb4]
push eax
push str._02X_02X_02X_02X
push ecx
call fcn.00401350
add esp, 0x18
jmp 0x48688b
lea eax, [esp + 0xb0]
push eax
lea eax, [esp + 0xb0]
push eax
lea eax, [esp + 0xb0]
push eax
push str._02X_02X_02X
push ecx
call fcn.00401350
add esp, 0x14
mov ecx, dword [esp + 0x18]
test cl, 8
jne 0x486917
mov eax, dword [0x4bead0]
mov ecx, 1
mov esi, dword [eax + 0x3f8c]
mov dword [esp + 0x38], esi
call fcn.00414570
test al, al
je 0x486913
mov ecx, 0x20
call fcn.004094b0
test al, al
je 0x486913
mov ecx, dword [esi + 0xec]
xor edx, edx
mov eax, dword [esi + 0xf4]
push dword [eax + ecx*4 - 4]
mov ecx, str.context
call fcn.00404090
mov esi, eax
add esp, 4
mov eax, dword [esp + 0x38]
mov eax, dword [eax]
cmp dword [eax + 0x3fc4], esi
jne 0x486907
push ecx
push str.context
mov edx, 0xb
mov ecx, esi
call fcn.00427b90
add esp, 8
mov edx, 1
mov ecx, esi
call fcn.004178b0
mov ecx, dword [esp + 0x18]
movss xmm2, dword [esp + 0x24]
movss xmm3, dword [esp + 0x28]
mov esi, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
xor eax, eax
mov dword [esp + 0x30], eax
test cl, 0x10
jne 0x486c36
test cl, 0x20
jne 0x486957
cmp dword [edi + 0x3944], eax
je 0x486957
movss xmm1, dword [esp + 0x40]
addss xmm1, dword [edi + 0x38fc]
jmp 0x48695a
xorps xmm1, xmm1
movaps xmm0, xmm2
movss dword [edx + 0xfc], xmm3
addss xmm0, xmm1
movss dword [edx + 0xf8], xmm0
cmp byte [esp + 0x54], al
je 0x48697e
movss xmm1, dword [esi + 0xc]
jmp 0x486986
movss xmm1, dword [0x4b6ac4]
movss xmm0, dword [esi]
lea edx, [esp + 0x80]
movss dword [esp + 0x80], xmm0
movss xmm0, dword [esi + 4]
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x38]
push eax
movss dword [esp + 0x88], xmm0
movss xmm0, dword [esi + 8]
push ecx
mov ecx, str.ColorButton
movss dword [esp + 0x90], xmm0
movss dword [esp + 0x94], xmm1
call fcn.00489fd0
mov ecx, dword [esp + 0x20]
add esp, 8
test al, al
je 0x486a64
test cl, 4
jne 0x486a64
movups xmm0, xmmword [esp + 0x80]
xor edx, edx
mov ecx, str.picker
movups xmmword [edi + 0x5cac], xmm0
call fcn.00417830
movss xmm1, dword [edi + 0x4914]
movss xmm0, dword [edi + 0x38f8]
addss xmm0, dword [edi + 0x4920]
mov eax, dword [0x4bead0]
addss xmm1, dword [0x4b69e8]
mov ecx, dword [esp + 0x18]
or dword [eax + 0x4954], 1
movss dword [eax + 0x4968], xmm0
movss dword [eax + 0x4964], xmm1
mov dword [eax + 0x496c], 0
mov dword [eax + 0x4970], 0
mov dword [eax + 0x4958], 1
test cl, 8
jne 0x486aec
mov eax, dword [0x4bead0]
mov ecx, 1
mov esi, dword [eax + 0x3f8c]
mov dword [esp + 0x38], esi
call fcn.00414570
test al, al
je 0x486ae8
mov ecx, 0x20
call fcn.004094b0
test al, al
je 0x486ae8
mov ecx, dword [esi + 0xec]
xor edx, edx
mov eax, dword [esi + 0xf4]
push dword [eax + ecx*4 - 4]
mov ecx, str.context
call fcn.00404090
mov esi, eax
add esp, 4
mov eax, dword [esp + 0x38]
mov eax, dword [eax]
cmp dword [eax + 0x3fc4], esi
jne 0x486adc
push ecx
push str.context
mov edx, 0xb
mov ecx, esi
call fcn.00427b90
add esp, 8
mov edx, 1
mov ecx, esi
call fcn.004178b0
mov ecx, dword [esp + 0x18]
mov esi, dword [0x4bead0]
mov eax, dword [esi + 0x4a08]
cmp eax, dword [esi + 0x4a14]
jg 0x486b0f
mov dword [esi + 0x4954], 0
jmp 0x486c36
mov esi, dword [esi + 0x3f8c]
xor edx, edx
mov ecx, dword [esi + 0xec]
mov eax, dword [esi + 0xf4]
push dword [eax + ecx*4 - 4]
mov ecx, str.picker
call fcn.00404090
mov ecx, eax
add esp, 4
mov eax, dword [esi]
mov dword [esp + 0x38], ecx
cmp dword [eax + 0x3fc4], ecx
jne 0x486b5b
push ecx
push str.picker
mov edx, 0xb
call fcn.00427b90
mov ecx, dword [esp + 0x40]
add esp, 8
mov edx, 0x141
call fcn.00417d20
test al, al
je 0x486c32
mov eax, dword [edi + 0x3f8c]
cmp word [eax + 0xbc], 1
jne 0x486c2d
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x4c]
cmp ecx, eax
je 0x486be0
push 0
mov edx, eax
call fcn.00475c00
mov ecx, dword [0x4bead0]
add esp, 4
mov eax, dword [ecx + 0x3f8c]
mov byte [eax + 0xb0], 1
mov eax, dword [ecx + 0x3f8c]
cmp byte [eax + 0xb3], 0
jne 0x486be0
movss xmm1, dword [0x4b6cc0]
lea ecx, [esp + 0x38]
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
call fcn.00416490
mov eax, dword [0x4bead0]
mov ecx, 0x4ab0dc
movss xmm0, dword [esp + 0x64]
mulss xmm0, dword [0x4b6bb4]
mov edx, dword [esp + 0x1c]
or dword [eax + 0x48e8], 1
movss dword [eax + 0x48f8], xmm0
lea eax, [edi + 0x5cac]
push eax
mov eax, dword [esp + 0x6c]
and eax, 0x1f890002
or eax, 0x740080
push eax
call fcn.00487370
add esp, 8
or byte [esp + 0x16], al
call fcn.00417fc0
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x4c]
cmp dword [esp + 0x50], esi
je 0x486c97
test cl, cl
js 0x486c97
movss xmm1, dword [edi + 0x38fc]
xorps xmm0, xmm0
call fcn.004165f0
test byte [esp + 0x18], 0x20
je 0x486c63
movss xmm0, dword [esp + 0x60]
jmp 0x486c71
movss xmm0, dword [esp + 0x6c]
addss xmm0, dword [edi + 0x38fc]
movss xmm1, dword [esp + 0x24]
mov edx, esi
mov eax, dword [esp + 0x20]
addss xmm1, xmm0
mov ecx, dword [esp + 0x50]
push 0
movss dword [eax + 0xf8], xmm1
call fcn.00475c00
add esp, 4
cmp byte [esp + 0x16], 0
mov esi, dword [esp + 0x30]
je 0x486ec7
test esi, esi
jne 0x486ec7
cmp byte [esp + 0x17], 0
jne 0x486ccf
movups xmm0, xmmword [esp + 0xa8]
cvtdq2ps xmm0, xmm0
divps xmm0, xmmword [0x4b6eb0]
movups xmmword [esp + 0x98], xmm0
mov eax, dword [esp + 0x18]
and eax, 0x8200000
cmp eax, 0x8200000
jne 0x486dd4
movss xmm0, dword [esp + 0x98]
lea eax, [esp + 0xa0]
movss xmm1, dword [esp + 0x9c]
lea edx, [esp + 0x9c]
movss xmm2, dword [esp + 0xa0]
lea ecx, [esp + 0x98]
push eax
movss dword [edi + 0x5ca0], xmm0
movss dword [edi + 0x5ca4], xmm1
call fcn.00404850
movss xmm1, dword [esp + 0x9c]
xorps xmm5, xmm5
mov eax, dword [edi + 0x5c98]
add esp, 4
comiss xmm5, xmm1
mov dword [edi + 0x5c9c], eax
movss xmm4, dword [0x4b6ac4]
jbe 0x486d56
xorps xmm0, xmm0
jmp 0x486d5d
movaps xmm0, xmm4
minss xmm0, xmm1
movss xmm7, dword [0x4b6c40]
movss xmm6, dword [0x4b6a7c]
movss xmm2, dword [esp + 0x9c]
comiss xmm5, xmm2
mulss xmm0, xmm7
addss xmm0, xmm6
cvttss2si ecx, xmm0
jbe 0x486d8c
xorps xmm0, xmm0
jmp 0x486d93
movaps xmm0, xmm4
minss xmm0, xmm2
movss xmm3, dword [esp + 0xa0]
mulss xmm0, xmm7
addss xmm0, xmm6
cvttss2si eax, xmm0
shl eax, 8
or ecx, eax
comiss xmm5, xmm3
jbe 0x486db7
xorps xmm4, xmm4
jmp 0x486dbb
minss xmm4, xmm3
mulss xmm4, xmm7
addss xmm4, xmm6
cvttss2si eax, xmm4
shl eax, 0x10
or eax, ecx
mov dword [edi + 0x5ca8], eax
jmp 0x486df2
movss xmm3, dword [esp + 0xa0]
xorps xmm5, xmm5
movss xmm2, dword [esp + 0x9c]
movss xmm1, dword [esp + 0x98]
mov eax, dword [esp + 0x18]
and eax, 0x10100000
cmp eax, 0x10100000
jne 0x486ea0
movaps xmm4, xmm1
movaps xmm1, xmm2
movaps xmm0, xmm1
movaps xmm6, xmm4
comiss xmm3, xmm0
jbe 0x486e25
movss xmm5, dword [0x4b6cc0]
movaps xmm1, xmm3
movaps xmm3, xmm0
comiss xmm1, xmm6
jbe 0x486e3f
movss xmm0, dword [0x4b6cac]
movaps xmm4, xmm1
subss xmm0, xmm5
movaps xmm1, xmm6
movaps xmm5, xmm0
movaps xmm0, xmm1
movaps xmm2, xmm4
minss xmm0, xmm3
subss xmm1, xmm3
movaps xmm3, xmm4
movss dword [esp + 0xa0], xmm3
subss xmm2, xmm0
movaps xmm0, xmm2
mulss xmm0, dword [0x4b6b94]
addss xmm0, dword [0x4b69fc]
divss xmm1, xmm0
movaps xmm0, xmm4
addss xmm0, dword [0x4b69fc]
addss xmm1, xmm5
divss xmm2, xmm0
andps xmm1, xmmword [0x4b6f10]
movss dword [esp + 0x98], xmm1
movss dword [esp + 0x9c], xmm2
cmp byte [esp + 0x54], 0
mov eax, dword [esp + 0x1c]
movss dword [eax], xmm1
movss dword [eax + 4], xmm2
movss dword [eax + 8], xmm3
je 0x486ec7
movss xmm0, dword [esp + 0xa4]
movss dword [eax + 0xc], xmm0
cmp dword [esp + 0x70], 0
jne 0x486ed8
mov dword [edi + 0x5c98], 0
mov eax, dword [0x4bead0]
mov eax, dword [eax + 0x3f8c]
dec dword [eax + 0xec]
call fcn.00416d30
test byte [edi + 0x4910], 1
je 0x487053
test byte [edi + 0x490c], 0x80
jne 0x487053
test dword [esp + 0x18], 0x200
jne 0x487053
call fcn.0041cfa0
test al, al
je 0x487053
xor edx, edx
mov byte [esp + 0x17], 0
mov ecx, str._COL3F
call fcn.0041d090
test eax, eax
je 0x486f56
mov eax, dword [eax]
mov ecx, dword [esp + 0x1c]
mov byte [esp + 0x17], 1
mov byte [esp + 0x16], 1
movq xmm0, qword [eax]
movq qword [ecx], xmm0
mov eax, dword [eax + 8]
mov dword [ecx + 8], eax
xor edx, edx
mov ecx, str._COL4F
call fcn.0041d090
mov ecx, eax
test ecx, ecx
je 0x486f85
mov eax, dword [esp + 0x44]
shl eax, 2
push eax
push dword [ecx]
push dword [esp + 0x24]
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov byte [esp + 0x16], 1
jmp 0x486f90
cmp byte [esp + 0x17], 0
je 0x487039
test dword [esp + 0x18], 0x10000000
je 0x487039
mov eax, dword [esp + 0x1c]
movss xmm2, dword [eax + 4]
movss xmm4, dword [eax + 8]
comiss xmm4, xmm2
movss xmm3, dword [eax]
jbe 0x486fc8
movss xmm5, dword [0x4b6cc0]
movaps xmm0, xmm2
movaps xmm2, xmm4
movaps xmm4, xmm0
jmp 0x486fcb
xorps xmm5, xmm5
comiss xmm2, xmm3
jbe 0x486fe8
movaps xmm0, xmm3
movaps xmm3, xmm2
movaps xmm2, xmm0
movss xmm0, dword [0x4b6cac]
subss xmm0, xmm5
movaps xmm5, xmm0
movaps xmm0, xmm2
movss dword [eax + 8], xmm3
minss xmm0, xmm4
movaps xmm1, xmm3
subss xmm2, xmm4
subss xmm1, xmm0
movaps xmm0, xmm1
mulss xmm0, dword [0x4b6b94]
addss xmm0, dword [0x4b69fc]
divss xmm2, xmm0
movaps xmm0, xmm3
addss xmm0, dword [0x4b69fc]
addss xmm2, xmm5
divss xmm1, xmm0
andps xmm2, xmmword [0x4b6f10]
movss dword [eax], xmm2
movss dword [eax + 4], xmm1
mov eax, dword [0x4bead0]
cmp byte [eax + 0x4c76], 0
mov byte [eax + 0x4c32], 0
je 0x487053
call fcn.0041cbf0
test esi, esi
je 0x48706f
mov eax, dword [edi + 0x3fdc]
test eax, eax
je 0x48706f
cmp dword [edi + 0x3ffc], esi
jne 0x48706f
mov dword [edi + 0x4908], eax
mov dl, byte [esp + 0x16]
test dl, dl
je 0x4870b3
mov eax, dword [edi + 0x4908]
test eax, eax
je 0x4870b3
mov ecx, dword [0x4bead0]
cmp word [ecx + 0x5d1e], 0
jg 0x4870b3
mov edx, dword [ecx + 0x3fdc]
cmp edx, eax
je 0x48709f
test edx, edx
jne 0x4870a8
mov word [ecx + 0x3fec], 0x101
or dword [ecx + 0x4910], 4
mov dl, byte [esp + 0x16]
mov ecx, dword [esp + 0xfc]
mov al, dl
pop edi
pop esi
xor ecx, esp
call fcn.0049c694
mov esp, ebp
pop ebp
ret