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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xf8
mov eax, dword [0x1009c018]
xor eax, esp
mov dword [esp + 0xf4], eax
push esi
push edi
mov edi, dword [0x1009fce4]
mov dword [esp + 0x1c], edx
mov edx, ecx
mov ecx, dword [ebp + 8]
mov dword [esp + 0x4c], edx
mov eax, dword [edi + 0x1b98]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x74], edi
mov byte [eax + 0x8c], 1
mov eax, dword [edi + 0x1b98]
mov dword [esp + 0x58], eax
cmp byte [eax + 0x8f], 0
je 0x10049b2d
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0xf4]
xor ecx, esp
call fcn.1007e605
mov esp, ebp
pop ebp
ret
test byte [edi + 0x1c24], 1
movss xmm2, dword [edi + 0x1558]
addss xmm2, xmm2
addss xmm2, dword [edi + 0x1934]
movss dword [esp + 0x6c], xmm2
je 0x10049b5a
movss xmm0, dword [edi + 0x1c28]
jmp 0x10049b62
movss xmm0, dword [eax + 0x17c]
xorps xmm1, xmm1
comiss xmm1, xmm0
jbe 0x10049ba4
cmp dword [eax + 0x168], 0
movss xmm1, dword [eax + 0x204]
jne 0x10049b84
cmp dword [edi + 0x1f1c], 0
je 0x10049b8c
movss xmm1, dword [eax + 0x1d4]
subss xmm1, dword [eax + 0xd0]
addss xmm1, xmm0
movss xmm0, dword [0x10093af0]
maxss xmm0, xmm1
cvttss2si esi, xmm0
mov dword [esp + 0x28], esi
movd xmm3, esi
cvtdq2ps xmm3, xmm3
test cl, 0x10
je 0x10049bbd
xorps xmm0, xmm0
jmp 0x10049bc8
movaps xmm0, xmm2
addss xmm0, dword [edi + 0x156c]
movss dword [esp + 0x54], xmm0
movaps xmm1, xmm3
mov dword [esp + 0x40], edx
subss xmm1, xmm0
movss dword [esp + 0x50], xmm1
cmp edx, 0xffffffff
jae 0x10049c04
mov esi, edx
mov cl, byte [esi]
test cl, cl
je 0x10049c00
cmp cl, 0x23
jne 0x10049bf6
cmp byte [esi + 1], cl
je 0x10049c00
inc esi
mov dword [esp + 0x40], esi
cmp esi, 0xffffffff
jb 0x10049be6
mov esi, dword [esp + 0x28]
mov dword [edi + 0x1c24], 0
call fcn.10024b60
mov ecx, dword [esp + 0x4c]
call fcn.10024410
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x60], ecx
test ecx, 0x20
je 0x10049c3c
and ecx, 0xff9fffff
or ecx, 0x100008
mov dword [esp + 0x14], ecx
test cl, 8
jne 0x10049c50
mov edx, ecx
mov ecx, dword [esp + 0x1c]
call fcn.1004e230
mov ecx, dword [esp + 0x14]
mov edx, dword [edi + 0x2e84]
test ecx, 0x700000
jne 0x10049c67
mov eax, edx
and eax, 0x700000
or ecx, eax
test ecx, 0x1800000
jne 0x10049c78
mov eax, edx
and eax, 0x1800000
or ecx, eax
test ecx, 0x6000000
jne 0x10049c89
mov eax, edx
and eax, 0x6000000
or ecx, eax
test ecx, 0x18000000
jne 0x10049c9a
mov eax, edx
and eax, 0x18000000
or ecx, eax
and edx, 0xe00fffff
or ecx, edx
mov eax, ecx
mov dword [esp + 0x14], ecx
shr eax, 0x13
mov edx, ecx
shr edx, 1
and eax, 0xffffff01
not dl
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x1c]
and edx, 0xffffff01
mov dword [esp + 0x2c], edx
movzx edx, dl
add edx, 3
cmp byte [esp + 0x2c], 0
movss xmm0, dword [eax]
movss xmm1, dword [eax + 4]
movss xmm2, dword [eax + 8]
mov dword [esp + 0x24], edx
movss dword [esp + 0x98], xmm0
movss dword [esp + 0x9c], xmm1
movss dword [esp + 0xa0], xmm2
je 0x10049d09
movss xmm3, dword [eax + 0xc]
jmp 0x10049d11
movss xmm3, dword [0x10093af0]
movss xmm6, dword [0x10093a24]
mov eax, ecx
and eax, 0x10100000
movss dword [esp + 0xa4], xmm3
mov dword [esp + 0x70], eax
cmp eax, 0x10100000
jne 0x10049d57
lea eax, [esp + 0xa0]
push eax
lea edx, [esp + 0xa0]
lea ecx, [esp + 0x9c]
call fcn.100189b0
add esp, 4
jmp 0x10049e18
mov eax, ecx
and eax, 0x8200000
cmp eax, 0x8200000
jne 0x10049e44
comiss xmm2, xmm1
xorps xmm4, xmm4
movaps xmm3, xmm1
jbe 0x10049d82
movss xmm4, dword [0x10093d28]
movaps xmm3, xmm2
movaps xmm2, xmm1
comiss xmm3, xmm0
movaps xmm5, xmm0
jbe 0x10049d9f
movaps xmm5, xmm3
movaps xmm3, xmm0
movss xmm0, dword [0x10093d14]
subss xmm0, xmm4
movaps xmm4, xmm0
movaps xmm0, xmm3
mov ecx, dword [esp + 0x1c]
minss xmm0, xmm2
movss dword [esp + 0xa0], xmm5
movaps xmm1, xmm5
subss xmm3, xmm2
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 [0x10093bd0]
addss xmm0, xmm6
divss xmm3, xmm0
movaps xmm0, xmm5
addss xmm0, xmm6
addss xmm3, xmm4
divss xmm1, xmm0
andps xmm3, xmmword [0x10094200]
movss dword [esp + 0xa0], xmm3
movss dword [esp + 0xa4], xmm1
call fcn.100499d0
add esp, 8
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x14]
movss xmm0, dword [esp + 0x98]
movss xmm1, dword [esp + 0x9c]
movss xmm2, dword [esp + 0xa0]
movss xmm3, dword [esp + 0xa4]
movss xmm5, dword [0x10093d18]
xorps xmm4, xmm4
comiss xmm0, xmm4
movss xmm7, dword [0x10093a98]
jb 0x10049e61
movaps xmm6, xmm7
jmp 0x10049e64
movaps xmm6, xmm5
comiss xmm1, xmm4
mulss xmm0, dword [0x10093c80]
addss xmm0, xmm6
cvttss2si eax, xmm0
mov dword [esp + 0xa8], eax
jb 0x10049e85
movaps xmm0, xmm7
jmp 0x10049e88
movaps xmm0, xmm5
comiss xmm2, xmm4
movss xmm6, dword [0x10093c80]
mulss xmm1, xmm6
addss xmm1, xmm0
cvttss2si eax, xmm1
mov dword [esp + 0xac], eax
jb 0x10049ead
movaps xmm0, xmm7
jmp 0x10049eb0
movaps xmm0, xmm5
comiss xmm3, xmm4
mulss xmm2, xmm6
addss xmm2, xmm0
cvttss2si eax, xmm2
mov dword [esp + 0xb0], eax
jb 0x10049ecb
movaps xmm5, xmm7
cmp dword [edi + 0x15ac], 0
mulss xmm3, xmm6
mov byte [esp + 0x12], 0
mov byte [esp + 0x13], 0
addss xmm3, xmm5
cvttss2si eax, xmm3
mov dword [esp + 0xb4], eax
mov eax, dword [esp + 0x58]
movss xmm2, dword [eax + 0xd0]
movss xmm3, dword [eax + 0xd4]
movss dword [esp + 0x44], xmm2
movss dword [esp + 0x48], xmm3
jne 0x10049f19
movss xmm1, dword [esp + 0x54]
jmp 0x10049f1c
xorps xmm1, xmm1
movaps xmm0, xmm2
addss xmm0, xmm1
movss dword [eax + 0xd0], xmm0
mov eax, ecx
and eax, 0x20
mov dword [esp + 0x3c], eax
test ecx, 0x300000
je 0x1004a2ba
test eax, eax
jne 0x1004a2ba
movss xmm2, dword [edi + 0x156c]
lea eax, [edx - 1]
movss xmm1, dword [esp + 0x50]
movd xmm3, eax
cvtdq2ps xmm3, xmm3
push 0
push 0
movaps xmm0, xmm3
mulss xmm0, xmm2
subss xmm1, xmm0
movd xmm0, edx
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
cvttss2si eax, xmm1
movss xmm1, dword [0x10093af0]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
maxss xmm1, xmm0
movss xmm0, dword [esp + 0x58]
movss dword [esp + 0x20], xmm1
addss xmm1, xmm2
mulss xmm1, xmm3
movss xmm3, dword [0x10093d04]
subss xmm0, xmm1
movss xmm1, dword [0x10093af0]
cvttss2si eax, xmm0
movd xmm0, eax
mov eax, ecx
and eax, 0x1000000
mov ecx, str.M:000
cvtdq2ps xmm0, xmm0
mov dword [esp + 0x28], eax
mov eax, str.M:0.000
cmove eax, ecx
mov ecx, dword [0x1009fce4]
push eax
push ecx
lea eax, [esp + 0x44]
mov dword [esp], 0xbf800000
movss xmm2, dword [ecx + 0x1934]
maxss xmm1, xmm0
mov ecx, dword [ecx + 0x1930]
push eax
movss dword [esp + 0x44], xmm1
call fcn.1003a4e0
movss xmm0, dword [esp + 0x34]
addss xmm0, dword [0x10093ae8]
movss xmm1, dword [esp + 0x18]
cvttss2si eax, xmm0
movd xmm0, eax
mov eax, dword [esp + 0x14]
cvtdq2ps xmm0, xmm0
comiss xmm0, xmm1
jb 0x1004a039
xor edx, edx
jmp 0x1004a048
mov edx, eax
and edx, 0x200000
neg edx
sbb edx, edx
neg edx
inc edx
xor ecx, ecx
mov dword [esp + 0x78], ecx
cmp dword [esp + 0x24], ecx
jbe 0x1004a262
shl edx, 4
cmp dword [esp + 0x20], ecx
je 0x1004a162
and eax, 8
lea edx, [edx + 0x1008fe18]
mov dword [esp + 0x74], eax
mov esi, eax
mov dword [esp + 0x20], edx
test ecx, ecx
je 0x1004a09a
movss xmm1, dword [edi + 0x156c]
xorps xmm0, xmm0
call fcn.10024920
movss xmm1, dword [esp + 0x18]
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x20]
lea eax, [ecx + 1]
mov dword [esp + 0x5c], eax
cmp eax, dword [esp + 0x24]
jge 0x1004a0ac
movaps xmm0, xmm1
jmp 0x1004a0b2
movss xmm0, dword [esp + 0x30]
mov eax, dword [0x1009fce4]
or dword [eax + 0x1c24], 1
cmp byte [esp + 0x7c], 0
movss dword [eax + 0x1c28], xmm0
je 0x1004a0d2
xorps xmm0, xmm0
jmp 0x1004a0da
movss xmm0, dword [0x10093af0]
movss xmm3, dword [0x10093a40]
lea eax, [esp + 0x74]
push 0
push dword [edx]
mov edx, 8
movss dword [esp + 0x7c], xmm0
push eax
lea eax, [esp + 0x84]
mov dword [esp + 0x84], 0
push eax
lea eax, [esp + 0xa8]
lea eax, [eax + ecx*4]
mov ecx, dword [ecx*4 + 0x1008fe48]
push eax
call fcn.100438d0
mov cl, byte [esp + 0x26]
add esp, 0x14
or cl, al
or byte [esp + 0x13], cl
mov byte [esp + 0x12], cl
test esi, esi
jne 0x1004a13a
call fcn.10025c20
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x5c]
add edx, 4
movss xmm1, dword [esp + 0x18]
mov dword [esp + 0x78], ecx
mov dword [esp + 0x20], edx
cmp ecx, dword [esp + 0x24]
jl 0x1004a078
jmp 0x1004a25e
xor esi, esi
xor edi, edi
cmp byte [esp + 0x7c], 0
mov ecx, 0xff
cmovne ecx, esi
mov esi, dword [esp + 0x74]
mov dword [esp + 0x5c], ecx
and eax, 8
lea ecx, [edx + 0x1008fdc0]
mov dword [esp + 0x64], eax
mov dword [esp + 0x20], ecx
nop dword [eax]
test edi, edi
jle 0x1004a1ae
movss xmm1, dword [esi + 0x156c]
xorps xmm0, xmm0
call fcn.10024920
movss xmm1, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
lea eax, [edi + 1]
mov dword [esp + 0x34], eax
cmp eax, dword [esp + 0x24]
jge 0x1004a1c0
movaps xmm0, xmm1
jmp 0x1004a1c6
movss xmm0, dword [esp + 0x30]
mov eax, dword [0x1009fce4]
mov edx, 4
movss xmm3, dword [0x10093af0]
push 0
push dword [ecx]
or dword [eax + 0x1c24], 1
mov ecx, dword [edi*4 + 0x1008fe48]
movss dword [eax + 0x1c28], xmm0
mov eax, dword [esp + 0x64]
mov dword [esp + 0x84], eax
lea eax, [esp + 0x84]
push eax
lea eax, [esp + 0x84]
mov dword [esp + 0x84], 0
push eax
lea eax, [esp + 0xb8]
lea eax, [eax + edi*4]
push eax
call fcn.100438d0
or byte [esp + 0x26], al
add esp, 0x14
cmp dword [esp + 0x64], 0
jne 0x1004a23b
call fcn.10025c20
mov ecx, dword [esp + 0x20]
mov edi, dword [esp + 0x34]
add ecx, 4
movss xmm1, dword [esp + 0x18]
mov dword [esp + 0x20], ecx
cmp edi, dword [esp + 0x24]
jl 0x1004a190
mov edi, dword [esp + 0x74]
mov esi, dword [esp + 0x28]
movss xmm2, dword [esp + 0x44]
movss xmm3, dword [esp + 0x48]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x18], 0
mov edx, dword [esp + 0x3c]
xor eax, eax
mov dword [esp + 0x28], eax
test cl, 0x10
jne 0x1004a749
mov eax, edx
mov dword [esp + 0x18], eax
test eax, eax
jne 0x1004a50e
cmp dword [edi + 0x15ac], edx
je 0x1004a50e
movss xmm1, dword [esp + 0x50]
addss xmm1, dword [edi + 0x156c]
jmp 0x1004a511
mov dword [esp + 0x18], eax
mov eax, ecx
and eax, 0x400020
cmp eax, 0x400000
jne 0x1004a27a
cmp byte [esp + 0x2c], 0
mov eax, 0xff
je 0x1004a363
mov edx, dword [esp + 0xb4]
test edx, edx
jns 0x1004a2f1
mov dword [esp + 0x74], 0
jmp 0x1004a2fa
cmp edx, eax
cmovg edx, eax
mov dword [esp + 0x74], edx
mov ecx, dword [esp + 0xb0]
test ecx, ecx
jns 0x1004a30f
mov dword [esp + 0x30], 0
jmp 0x1004a318
cmp ecx, eax
cmovg ecx, eax
mov dword [esp + 0x30], ecx
mov edx, dword [esp + 0xac]
test edx, edx
jns 0x1004a327
xor edx, edx
jmp 0x1004a32c
cmp edx, eax
cmovg edx, eax
mov ecx, dword [esp + 0xa8]
test ecx, ecx
jns 0x1004a33b
xor ecx, ecx
jmp 0x1004a340
cmp ecx, eax
cmovg ecx, eax
push dword [esp + 0x74]
lea eax, [esp + 0xbc]
push dword [esp + 0x34]
push edx
push ecx
push 0x1008fbb8
push 0x40
push eax
call fcn.10018250
add esp, 0x1c
jmp 0x1004a3c6
mov ecx, dword [esp + 0xb0]
test ecx, ecx
jns 0x1004a378
mov dword [esp + 0x74], 0
jmp 0x1004a381
cmp ecx, eax
cmovg ecx, eax
mov dword [esp + 0x74], ecx
mov edx, dword [esp + 0xac]
test edx, edx
jns 0x1004a390
xor edx, edx
jmp 0x1004a395
cmp edx, eax
cmovg edx, eax
mov ecx, dword [esp + 0xa8]
test ecx, ecx
jns 0x1004a3a4
xor ecx, ecx
jmp 0x1004a3a9
cmp ecx, eax
cmovg ecx, eax
push dword [esp + 0x74]
lea eax, [esp + 0xbc]
push edx
push ecx
push 0x1008fbcc
push 0x40
push eax
call fcn.10018250
add esp, 0x18
mov eax, dword [0x1009fce4]
xor edx, edx
movss xmm5, dword [esp + 0x50]
mov ecx, str.Text
push 0
push 0
or dword [eax + 0x1c24], 1
movss dword [eax + 0x1c28], xmm5
lea eax, [esp + 0x6c]
push 6
push eax
lea eax, [esp + 0xc8]
mov dword [esp + 0x74], 0
push 0x40
push eax
mov dword [esp + 0x80], 0
call fcn.100465b0
add esp, 0x18
test al, al
je 0x1004a4ca
mov byte [esp + 0x12], 1
lea ecx, [esp + 0xb8]
nop dword [eax + eax]
mov al, byte [ecx]
cmp al, 0x23
je 0x1004a43e
cmp al, 0x20
je 0x1004a43e
cmp al, 9
jne 0x1004a441
inc ecx
jmp 0x1004a430
cmp byte [esp + 0x2c], 0
mov dword [esp + 0xb0], 0
mov dword [esp + 0xac], 0
mov dword [esp + 0xa8], 0
mov dword [esp + 0xb4], 0xff
je 0x1004a4a4
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.10016410
add esp, 0x18
jmp 0x1004a4ca
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.10016410
add esp, 0x14
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x18], edx
test cl, 8
jne 0x1004a4fd
call fcn.10025c20
mov edx, dword [esp + 0x3c]
movss xmm2, dword [esp + 0x44]
movss xmm3, dword [esp + 0x48]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x18], edx
jmp 0x1004a27e
movss xmm2, dword [esp + 0x44]
movss xmm3, dword [esp + 0x48]
jmp 0x1004a27e
xorps xmm1, xmm1
cmp byte [esp + 0x2c], 0
movaps xmm0, xmm2
mov eax, dword [esp + 0x58]
addss xmm0, xmm1
movss dword [eax + 0xd4], xmm3
movss dword [eax + 0xd0], xmm0
mov eax, dword [esp + 0x1c]
je 0x1004a53e
movss xmm1, dword [eax + 0xc]
jmp 0x1004a546
movss xmm1, dword [0x10093af0]
movss xmm0, dword [eax]
lea edx, [esp + 0x80]
mov dword [esp + 0x38], 0
push dword [esp + 0x38]
movss dword [esp + 0x84], xmm0
movss xmm0, dword [eax + 4]
mov dword [esp + 0x38], 0
push dword [esp + 0x38]
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.1004d5a0
add esp, 0xc
test al, al
mov eax, dword [esp + 0x14]
je 0x1004a628
test al, 4
jne 0x1004a628
movups xmm0, xmmword [esp + 0x80]
mov ecx, str.picker
movups xmmword [edi + 0x2e94], xmm0
call fcn.10025690
movss xmm1, dword [edi + 0x1c44]
movss xmm0, dword [edi + 0x1568]
addss xmm0, dword [edi + 0x1c50]
mov eax, dword [0x1009fce4]
subss xmm1, dword [0x10093af0]
or dword [eax + 0x1c74], 1
movss dword [eax + 0x1c88], xmm0
movss dword [eax + 0x1c84], xmm1
mov dword [eax + 0x1c8c], 0
mov dword [eax + 0x1c90], 0
mov dword [eax + 0x1c78], 1
mov eax, dword [esp + 0x14]
test al, 8
jne 0x1004a631
call fcn.10025c20
mov ecx, str.picker
call fcn.10025b90
test al, al
je 0x1004a745
mov eax, dword [edi + 0x1b98]
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x40]
cmp ecx, eax
je 0x1004a6a8
push 0
mov edx, eax
call fcn.1003e490
mov ecx, dword [0x1009fce4]
add esp, 4
mov eax, dword [ecx + 0x1b98]
mov byte [eax + 0x8c], 1
mov eax, dword [ecx + 0x1b98]
cmp byte [eax + 0x8f], 0
jne 0x1004a6a8
movss xmm1, dword [0x10093d28]
lea ecx, [esp + 0x34]
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
call fcn.10024570
mov eax, dword [0x1009fce4]
mov ecx, 0x1008f7e0
movss xmm0, dword [esp + 0x6c]
mulss xmm0, dword [0x10093bec]
mov edx, dword [esp + 0x1c]
or dword [eax + 0x1c24], 1
movss dword [eax + 0x1c28], xmm0
lea eax, [edi + 0x2e94]
push eax
mov eax, dword [esp + 0x64]
and eax, 0x1f890002
or eax, 0x740080
push eax
call fcn.1004ada0
or byte [esp + 0x1a], al
add esp, 8
mov eax, dword [0x1009fce4]
mov dword [esp + 0x60], eax
mov ecx, dword [eax + 0x1b98]
cmp dword [eax + 0x1d40], ecx
jne 0x1004a725
cmp byte [eax + 0x1da1], 0
je 0x1004a725
cmp dword [eax + 0x1d7c], 0
jne 0x1004a725
or dword [eax + 0x1da4], 2
test dword [ecx + 8], 0x1000000
je 0x1004a735
mov byte [eax + 0x1b46], 1
call fcn.10023c30
mov eax, dword [esp + 0x60]
mov byte [eax + 0x1b46], 0
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x18]
cmp dword [esp + 0x4c], edx
je 0x1004a7b0
test cl, cl
js 0x1004a7b0
test eax, eax
je 0x1004a767
movss xmm0, dword [esp + 0x54]
jmp 0x1004a776
movd xmm0, esi
cvtdq2ps xmm0, xmm0
addss xmm0, dword [edi + 0x156c]
movss xmm1, dword [esp + 0x44]
mov eax, dword [esp + 0x58]
addss xmm1, xmm0
movss xmm0, dword [esp + 0x48]
addss xmm0, dword [edi + 0x1558]
mov ecx, dword [esp + 0x4c]
push 0
movss dword [eax + 0xd0], xmm1
movss dword [eax + 0xd4], xmm0
call fcn.1003e490
add esp, 4
cmp byte [esp + 0x12], 0
mov esi, dword [esp + 0x28]
je 0x1004a9d6
test esi, esi
jne 0x1004a9d6
cmp byte [esp + 0x13], 0
jne 0x1004a7f0
movups xmm0, xmmword [esp + 0xa8]
cvtdq2ps xmm0, xmm0
divps xmm0, xmmword [0x100941f0]
movups xmmword [esp + 0x98], xmm0
nop dword [eax + eax]
mov eax, dword [esp + 0x14]
and eax, 0x8200000
cmp eax, 0x8200000
jne 0x1004a8e9
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 + 0x2e88], xmm0
movss dword [edi + 0x2e8c], xmm1
call fcn.100189b0
movss xmm1, dword [esp + 0x9c]
xorps xmm4, xmm4
movss xmm5, dword [0x10093af0]
add esp, 4
comiss xmm4, xmm1
jbe 0x1004a86b
xorps xmm0, xmm0
jmp 0x1004a872
movaps xmm0, xmm5
minss xmm0, xmm1
movss xmm7, dword [0x10093c80]
movss xmm6, dword [0x10093a98]
movss xmm2, dword [esp + 0x9c]
comiss xmm4, xmm2
mulss xmm0, xmm7
addss xmm0, xmm6
cvttss2si ecx, xmm0
jbe 0x1004a8a1
xorps xmm0, xmm0
jmp 0x1004a8a8
movaps xmm0, xmm5
minss xmm0, xmm2
movss xmm3, dword [esp + 0xa0]
mulss xmm0, xmm7
addss xmm0, xmm6
cvttss2si eax, xmm0
shl eax, 8
or ecx, eax
comiss xmm4, xmm3
jbe 0x1004a8cc
xorps xmm5, xmm5
jmp 0x1004a8d0
minss xmm5, xmm3
mulss xmm5, xmm7
addss xmm5, xmm6
cvttss2si eax, xmm5
shl eax, 0x10
or eax, ecx
mov dword [edi + 0x2e90], eax
jmp 0x1004a907
movss xmm3, dword [esp + 0xa0]
xorps xmm4, xmm4
movss xmm2, dword [esp + 0x9c]
movss xmm1, dword [esp + 0x98]
cmp dword [esp + 0x70], 0x10100000
jne 0x1004a9af
movaps xmm5, xmm1
movaps xmm1, xmm2
movaps xmm0, xmm1
movaps xmm6, xmm5
comiss xmm3, xmm0
jbe 0x1004a934
movss xmm4, dword [0x10093d28]
movaps xmm1, xmm3
movaps xmm3, xmm0
comiss xmm1, xmm6
jbe 0x1004a94e
movss xmm0, dword [0x10093d14]
movaps xmm5, xmm1
subss xmm0, xmm4
movaps xmm1, xmm6
movaps xmm4, xmm0
movaps xmm0, xmm1
movaps xmm2, xmm5
minss xmm0, xmm3
subss xmm1, xmm3
movaps xmm3, xmm5
movss dword [esp + 0xa0], xmm3
subss xmm2, xmm0
movaps xmm0, xmm2
mulss xmm0, dword [0x10093bd0]
addss xmm0, dword [0x10093a24]
divss xmm1, xmm0
movaps xmm0, xmm5
addss xmm0, dword [0x10093a24]
addss xmm1, xmm4
divss xmm2, xmm0
andps xmm1, xmmword [0x10094200]
movss dword [esp + 0x98], xmm1
movss dword [esp + 0x9c], xmm2
cmp byte [esp + 0x2c], 0
mov eax, dword [esp + 0x1c]
movss dword [eax], xmm1
movss dword [eax + 4], xmm2
movss dword [eax + 8], xmm3
je 0x1004a9d6
movss xmm0, dword [esp + 0xa4]
movss dword [eax + 0xc], xmm0
mov eax, dword [0x1009fce4]
mov eax, dword [eax + 0x1b98]
dec dword [eax + 0xc4]
call fcn.10024c90
test byte [edi + 0x1c40], 1
je 0x1004ab34
test dword [esp + 0x14], 0x200
jne 0x1004ab34
call fcn.10029840
test al, al
je 0x1004ab34
mov ecx, str._COL3F
mov byte [esp + 0x13], 0
call fcn.100298d0
test eax, eax
je 0x1004aa45
mov eax, dword [eax]
mov ecx, dword [esp + 0x1c]
mov byte [esp + 0x13], 1
mov byte [esp + 0x12], 1
movq xmm0, qword [eax]
movq qword [ecx], xmm0
mov eax, dword [eax + 8]
mov dword [ecx + 8], eax
mov ecx, str._COL4F
call fcn.100298d0
mov ecx, eax
test ecx, ecx
je 0x1004aa72
mov eax, dword [esp + 0x24]
shl eax, 2
push eax
push dword [ecx]
push dword [esp + 0x24]
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov byte [esp + 0x12], 1
jmp 0x1004aa7d
cmp byte [esp + 0x13], 0
je 0x1004ab26
test dword [esp + 0x14], 0x10000000
je 0x1004ab26
mov eax, dword [esp + 0x1c]
movss xmm2, dword [eax + 4]
movss xmm4, dword [eax + 8]
comiss xmm4, xmm2
movss xmm3, dword [eax]
jbe 0x1004aab5
movss xmm5, dword [0x10093d28]
movaps xmm0, xmm2
movaps xmm2, xmm4
movaps xmm4, xmm0
jmp 0x1004aab8
xorps xmm5, xmm5
comiss xmm2, xmm3
jbe 0x1004aad5
movaps xmm0, xmm3
movaps xmm3, xmm2
movaps xmm2, xmm0
movss xmm0, dword [0x10093d14]
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 [0x10093bd0]
addss xmm0, dword [0x10093a24]
divss xmm2, xmm0
movaps xmm0, xmm3
addss xmm0, dword [0x10093a24]
addss xmm2, xmm5
divss xmm1, xmm0
andps xmm2, xmmword [0x10094200]
movss dword [eax], xmm2
movss dword [eax + 4], xmm1
mov eax, dword [0x1009fce4]
mov byte [eax + 0x1e8e], 0
jmp 0x1004ab39
mov eax, dword [0x1009fce4]
test esi, esi
je 0x1004ab55
mov ecx, dword [edi + 0x1bd0]
test ecx, ecx
je 0x1004ab55
cmp dword [edi + 0x1c00], esi
jne 0x1004ab55
mov dword [edi + 0x1c38], ecx
mov cl, byte [esp + 0x12]
test cl, cl
je 0x1004ab6d
or dword [eax + 0x1c40], 4
mov word [eax + 0x1be0], 0x101
mov al, cl
mov ecx, dword [esp + 0xfc]
pop edi
pop esi
xor ecx, esp
call fcn.1007e605
mov esp, ebp
pop ebp
ret