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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xe8
mov eax, dword [0x1010300c]
xor eax, esp
mov dword [esp + 0xe4], eax
push esi
push edi
mov edi, dword [0x1014ec70]
mov esi, edx
mov edx, ecx
mov dword [esp + 0x20], esi
mov ecx, dword [ebp + 8]
mov dword [esp + 0x3c], edx
mov eax, dword [edi + 0x3e18]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x28], edi
mov byte [eax + 0x90], 1
mov eax, dword [edi + 0x3e18]
mov dword [esp + 0x48], eax
cmp byte [eax + 0x93], 0
je 0x10049a0f
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0xe4]
xor ecx, esp
call fcn.1008dd76
mov esp, ebp
pop ebp
ret
test byte [edi + 0x3eac], 1
movss xmm2, dword [edi + 0x37d8]
addss xmm2, xmm2
addss xmm2, dword [edi + 0x3bb4]
movss dword [esp + 0x4c], xmm2
je 0x10049a3c
movss xmm0, dword [edi + 0x3eb0]
jmp 0x10049a44
movss xmm0, dword [eax + 0x188]
xorps xmm1, xmm1
comiss xmm1, xmm0
jbe 0x10049a8c
cmp dword [eax + 0x178], 0
movss xmm2, dword [eax + 0x210]
jne 0x10049a66
cmp dword [edi + 0x41ec], 0
je 0x10049a6e
movss xmm2, dword [eax + 0x1e0]
subss xmm2, dword [eax + 0xd4]
addss xmm2, xmm0
movss xmm0, dword [0x100fca9c]
maxss xmm0, xmm2
movss xmm2, dword [esp + 0x4c]
cvttss2si eax, xmm0
movd xmm3, eax
cvtdq2ps xmm3, xmm3
test cl, 0x10
je 0x10049aa1
xorps xmm0, xmm0
jmp 0x10049aac
movaps xmm0, xmm2
addss xmm0, dword [edi + 0x37ec]
movss dword [esp + 0x18], xmm0
subss xmm3, xmm0
mov dword [esp + 0x38], edx
movss dword [esp + 0x44], xmm3
cmp edx, 0xffffffff
jae 0x10049ae5
mov edi, edx
mov cl, byte [edi]
test cl, cl
je 0x10049ae1
cmp cl, 0x23
jne 0x10049ad7
cmp byte [edi + 1], cl
je 0x10049ae1
inc edi
mov dword [esp + 0x38], edi
cmp edi, 0xffffffff
jb 0x10049ac7
mov edi, dword [esp + 0x28]
mov dword [edi + 0x3eac], 0
call fcn.1001d1d0
mov ecx, dword [esp + 0x3c]
call fcn.1001c180
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x50], ecx
test ecx, 0x20
je 0x10049b1d
and ecx, 0xff9fffff
or ecx, 0x100008
mov dword [esp + 0x14], ecx
test cl, 8
jne 0x10049b2f
mov edx, ecx
mov ecx, esi
call fcn.1004e230
mov ecx, dword [esp + 0x14]
mov edx, dword [edi + 0x515c]
test ecx, 0x700000
jne 0x10049b46
mov eax, edx
and eax, 0x700000
or ecx, eax
test ecx, 0x1800000
jne 0x10049b57
mov eax, edx
and eax, 0x1800000
or ecx, eax
test ecx, 0x6000000
jne 0x10049b68
mov eax, edx
and eax, 0x6000000
or ecx, eax
test ecx, 0x18000000
jne 0x10049b79
mov eax, edx
and eax, 0x18000000
or ecx, eax
movss xmm0, dword [esi]
and edx, 0xe00fffff
movss xmm1, dword [esi + 4]
or ecx, edx
movss xmm2, dword [esi + 8]
mov edx, ecx
shr edx, 1
mov eax, ecx
not dl
shr eax, 0x13
and edx, 0xffffff01
mov dword [esp + 0x14], ecx
mov dword [esp + 0x30], edx
and eax, 0xffffff01
movzx edx, dl
add edx, 3
mov dword [esp + 0x34], eax
cmp byte [esp + 0x30], 0
mov dword [esp + 0x1c], edx
movss dword [esp + 0x88], xmm0
movss dword [esp + 0x8c], xmm1
movss dword [esp + 0x90], xmm2
je 0x10049be4
movss xmm4, dword [esi + 0xc]
jmp 0x10049bec
movss xmm4, dword [0x100fca9c]
movss xmm6, dword [0x100fc9e4]
mov eax, ecx
and eax, 0x10100000
movss dword [esp + 0x94], xmm4
mov dword [esp + 0x54], eax
cmp eax, 0x10100000
jne 0x10049c32
lea eax, [esp + 0x90]
push eax
lea edx, [esp + 0x90]
lea ecx, [esp + 0x8c]
call fcn.1000f490
add esp, 4
jmp 0x10049cf1
mov eax, ecx
and eax, 0x8200000
cmp eax, 0x8200000
jne 0x10049d1d
comiss xmm2, xmm1
xorps xmm4, xmm4
movaps xmm3, xmm1
jbe 0x10049c5d
movss xmm4, dword [0x100fcc78]
movaps xmm3, xmm2
movaps xmm2, xmm1
comiss xmm3, xmm0
movaps xmm5, xmm0
jbe 0x10049c7a
movaps xmm5, xmm3
movaps xmm3, xmm0
movss xmm0, dword [0x100fcc64]
subss xmm0, xmm4
movaps xmm4, xmm0
movaps xmm0, xmm3
movss dword [esp + 0x90], xmm5
minss xmm0, xmm2
movaps xmm1, xmm5
subss xmm3, xmm2
mov ecx, esi
lea eax, [esp + 0x90]
push eax
lea eax, [esp + 0x90]
subss xmm1, xmm0
push eax
lea edx, [esp + 0x90]
movaps xmm0, xmm1
mulss xmm0, dword [0x100fcb28]
addss xmm0, xmm6
divss xmm3, xmm0
movaps xmm0, xmm5
addss xmm0, xmm6
addss xmm3, xmm4
divss xmm1, xmm0
andps xmm3, xmmword [0x100fd090]
movss dword [esp + 0x90], xmm3
movss dword [esp + 0x94], xmm1
call fcn.100498b0
add esp, 8
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
movss xmm0, dword [esp + 0x88]
movss xmm1, dword [esp + 0x8c]
movss xmm2, dword [esp + 0x90]
movss xmm4, dword [esp + 0x94]
movss xmm5, dword [0x100fcc68]
xorps xmm3, xmm3
comiss xmm0, xmm3
movss xmm7, dword [0x100fca58]
jb 0x10049d3a
movaps xmm6, xmm7
jmp 0x10049d3d
movaps xmm6, xmm5
comiss xmm1, xmm3
mulss xmm0, dword [0x100fcc04]
addss xmm0, xmm6
cvttss2si eax, xmm0
mov dword [esp + 0x98], eax
jb 0x10049d5e
movaps xmm0, xmm7
jmp 0x10049d61
movaps xmm0, xmm5
comiss xmm2, xmm3
movss xmm6, dword [0x100fcc04]
mulss xmm1, xmm6
addss xmm1, xmm0
cvttss2si eax, xmm1
mov dword [esp + 0x9c], eax
jb 0x10049d86
movaps xmm0, xmm7
jmp 0x10049d89
movaps xmm0, xmm5
comiss xmm4, xmm3
mulss xmm2, xmm6
addss xmm2, xmm0
cvttss2si eax, xmm2
mov dword [esp + 0xa0], eax
jb 0x10049da4
movaps xmm5, xmm7
cmp dword [edi + 0x382c], 0
mulss xmm4, xmm6
mov byte [esp + 0x12], 0
mov byte [esp + 0x13], 0
addss xmm4, xmm5
cvttss2si eax, xmm4
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0x48]
movss xmm2, dword [eax + 0xd4]
movss xmm4, dword [eax + 0xd8]
movss dword [esp + 0x40], xmm2
movss dword [esp + 0x24], xmm4
jne 0x10049df2
movss xmm1, dword [esp + 0x18]
jmp 0x10049df5
xorps xmm1, xmm1
movaps xmm0, xmm2
addss xmm0, xmm1
movss dword [eax + 0xd4], xmm0
mov eax, ecx
and eax, 0x20
test ecx, 0x300000
je 0x1004a11e
test eax, eax
jne 0x1004a11e
movss xmm2, dword [edi + 0x37ec]
lea eax, [edx - 1]
movss xmm1, dword [esp + 0x44]
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 [0x100fca9c]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
maxss xmm1, xmm0
movss xmm0, dword [esp + 0x4c]
movss dword [esp + 0x34], xmm1
addss xmm1, xmm2
mulss xmm1, xmm3
movss xmm3, dword [0x100fcc50]
subss xmm0, xmm1
movss xmm1, dword [0x100fca9c]
cvttss2si eax, xmm0
movd xmm0, eax
mov eax, ecx
and eax, 0x1000000
mov ecx, str.M:000
cvtdq2ps xmm0, xmm0
mov dword [esp + 0x20], eax
mov eax, str.M:0.000
cmove eax, ecx
mov ecx, dword [0x1014ec70]
push eax
push ecx
lea eax, [esp + 0x68]
mov dword [esp], 0xbf800000
movss xmm2, dword [ecx + 0x3bb4]
maxss xmm1, xmm0
mov ecx, dword [ecx + 0x3bb0]
push eax
movss dword [esp + 0x3c], xmm1
call fcn.10032f20
movss xmm0, dword [esp + 0x58]
addss xmm0, dword [0x100fca94]
movss xmm1, dword [esp + 0x2c]
cvttss2si eax, xmm0
movd xmm0, eax
mov eax, dword [esp + 0x14]
cvtdq2ps xmm0, xmm0
comiss xmm0, xmm1
jb 0x10049f0e
xor ecx, ecx
jmp 0x10049f1d
mov ecx, eax
and ecx, 0x200000
neg ecx
sbb ecx, ecx
neg ecx
inc ecx
mov edx, dword [esp + 0x1c]
xor esi, esi
test edx, edx
je 0x1004a31a
shl ecx, 4
cmp dword [esp + 0x18], esi
je 0x1004a034
and eax, 8
lea ecx, [ecx + 0x100fbb80]
mov dword [esp + 0x60], eax
mov dword [esp + 0x18], ecx
nop dword [eax]
test esi, esi
je 0x10049f72
movss xmm1, dword [edi + 0x37ec]
xorps xmm0, xmm0
call fcn.1001cfa0
movss xmm1, dword [esp + 0x2c]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
lea eax, [esi + 1]
mov dword [esp + 0x58], eax
cmp eax, edx
jge 0x10049f82
movaps xmm0, xmm1
jmp 0x10049f88
movss xmm0, dword [esp + 0x28]
mov eax, dword [0x1014ec70]
or dword [eax + 0x3eac], 1
cmp byte [esp + 0x34], 0
movss dword [eax + 0x3eb0], xmm0
je 0x10049fa8
xorps xmm0, xmm0
jmp 0x10049fb0
movss xmm0, dword [0x100fca9c]
movss xmm3, dword [0x100fca00]
lea eax, [esp + 0x68]
push ecx
push dword [ecx]
mov ecx, dword [esi*4 + 0x100fbbb0]
mov edx, 8
push eax
lea eax, [esp + 0x78]
movss dword [esp + 0x74], xmm0
push eax
lea eax, [esp + 0x98]
mov dword [esp + 0x7c], 0
lea eax, [eax + esi*4]
push eax
call fcn.10042540
mov cl, byte [esp + 0x26]
add esp, 0x14
or cl, al
or byte [esp + 0x13], cl
cmp dword [esp + 0x60], 0
mov byte [esp + 0x12], cl
jne 0x1004a00c
call fcn.1001e3b0
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x58]
add ecx, 4
movss xmm1, dword [esp + 0x2c]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x18], ecx
cmp esi, dword [esp + 0x1c]
jl 0x10049f50
jmp 0x1004a31a
xor esi, esi
lea ecx, [ecx + 0x100fbb28]
cmp byte [esp + 0x34], 0
mov edx, 0xff
mov dword [esp + 0x18], ecx
cmovne edx, esi
and eax, 8
mov dword [esp + 0x34], edx
mov dword [esp + 0x6c], eax
test esi, esi
jle 0x1004a07a
movss xmm1, dword [edi + 0x37ec]
xorps xmm0, xmm0
call fcn.1001cfa0
movss xmm1, dword [esp + 0x2c]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x34]
lea eax, [esi + 1]
mov dword [esp + 0x68], eax
cmp eax, dword [esp + 0x1c]
jge 0x1004a08c
movaps xmm0, xmm1
jmp 0x1004a092
movss xmm0, dword [esp + 0x28]
mov eax, dword [0x1014ec70]
movss xmm3, dword [0x100fca9c]
push ecx
push dword [ecx]
or dword [eax + 0x3eac], 1
mov ecx, dword [esi*4 + 0x100fbbb0]
movss dword [eax + 0x3eb0], xmm0
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0x6c]
mov dword [esp + 0x64], edx
push eax
lea eax, [esp + 0xa8]
mov dword [esp + 0x70], 0
lea eax, [eax + esi*4]
mov edx, 4
push eax
call fcn.10042540
or byte [esp + 0x26], al
add esp, 0x14
cmp dword [esp + 0x6c], 0
jne 0x1004a0f6
call fcn.1001e3b0
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x68]
add ecx, 4
movss xmm1, dword [esp + 0x2c]
mov edx, dword [esp + 0x34]
mov dword [esp + 0x18], ecx
cmp esi, dword [esp + 0x1c]
jl 0x1004a058
jmp 0x1004a31a
mov edx, eax
test ecx, 0x400000
je 0x1004a330
test eax, eax
jne 0x1004a330
mov eax, 0xff
cmp byte [esp + 0x30], dl
je 0x1004a1b5
mov ecx, dword [esp + 0xa4]
test ecx, ecx
jns 0x1004a150
mov dword [esp + 0x28], edx
jmp 0x1004a159
cmp ecx, eax
cmovg ecx, eax
mov dword [esp + 0x28], ecx
mov esi, dword [esp + 0xa0]
test esi, esi
jns 0x1004a168
xor esi, esi
jmp 0x1004a16d
cmp esi, eax
cmovg esi, eax
mov edx, dword [esp + 0x9c]
test edx, edx
jns 0x1004a17c
xor edx, edx
jmp 0x1004a181
cmp edx, eax
cmovg edx, eax
mov ecx, dword [esp + 0x98]
test ecx, ecx
jns 0x1004a190
xor ecx, ecx
jmp 0x1004a195
cmp ecx, eax
cmovg ecx, eax
push dword [esp + 0x28]
lea eax, [esp + 0xac]
push esi
push edx
push ecx
push 0x100fb92c
push 0x40
push eax
call fcn.1000ed80
add esp, 0x1c
jmp 0x1004a20b
mov esi, dword [esp + 0xa0]
test esi, esi
jns 0x1004a1c4
xor esi, esi
jmp 0x1004a1c9
cmp esi, eax
cmovg esi, eax
mov edx, dword [esp + 0x9c]
test edx, edx
jns 0x1004a1d8
xor edx, edx
jmp 0x1004a1dd
cmp edx, eax
cmovg edx, eax
mov ecx, dword [esp + 0x98]
test ecx, ecx
jns 0x1004a1ec
xor ecx, ecx
jmp 0x1004a1f1
cmp ecx, eax
cmovg ecx, eax
push esi
push edx
push ecx
push 0x100fb940
lea eax, [esp + 0xb8]
push 0x40
push eax
call fcn.1000ed80
add esp, 0x18
mov eax, dword [0x1014ec70]
xor edx, edx
movss xmm5, dword [esp + 0x44]
mov ecx, str.Text
push 0
push 0
or dword [eax + 0x3eac], 1
movss dword [eax + 0x3eb0], xmm5
lea eax, [esp + 0x60]
push 6
push eax
lea eax, [esp + 0xb8]
mov dword [esp + 0x68], 0
push 0x40
push eax
mov dword [esp + 0x74], 0
call fcn.10045d10
add esp, 0x18
test al, al
je 0x1004a30a
mov byte [esp + 0x12], 1
lea ecx, [esp + 0xa8]
nop dword [eax]
mov al, byte [ecx]
cmp al, 0x23
je 0x1004a27e
cmp al, 0x20
je 0x1004a27e
cmp al, 9
jne 0x1004a281
inc ecx
jmp 0x1004a270
cmp byte [esp + 0x30], 0
mov dword [esp + 0xa0], 0
mov dword [esp + 0x9c], 0
mov dword [esp + 0x98], 0
mov dword [esp + 0xa4], 0xff
je 0x1004a2e4
lea eax, [esp + 0xa4]
push eax
lea eax, [esp + 0xa4]
push eax
lea eax, [esp + 0xa4]
push eax
lea eax, [esp + 0xa4]
push eax
push str._02X_02X_02X_02X
push ecx
call fcn.1000d060
add esp, 0x18
jmp 0x1004a30a
lea eax, [esp + 0xa0]
push eax
lea eax, [esp + 0xa0]
push eax
lea eax, [esp + 0xa0]
push eax
push str._02X_02X_02X
push ecx
call fcn.1000d060
add esp, 0x14
mov ecx, dword [esp + 0x14]
xor edx, edx
test cl, 8
jne 0x1004a320
call fcn.1001e3b0
mov ecx, dword [esp + 0x14]
xor edx, edx
movss xmm2, dword [esp + 0x40]
movss xmm4, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
xor eax, eax
mov dword [esp + 0x24], eax
test cl, 0x10
jne 0x1004a577
test edx, edx
jne 0x1004a35b
cmp dword [edi + 0x382c], eax
je 0x1004a35b
movss xmm0, dword [esp + 0x44]
addss xmm0, dword [edi + 0x37ec]
jmp 0x1004a35e
xorps xmm0, xmm0
cmp byte [esp + 0x30], 0
addss xmm2, xmm0
mov eax, dword [esp + 0x48]
movss dword [eax + 0xd4], xmm2
movss dword [eax + 0xd8], xmm4
je 0x1004a384
movss xmm1, dword [esi + 0xc]
jmp 0x1004a38c
movss xmm1, dword [0x100fca9c]
movss xmm0, dword [esi]
lea eax, [esp + 0x60]
movss dword [esp + 0x70], xmm0
lea edx, [esp + 0x70]
movss xmm0, dword [esi + 4]
push eax
movss dword [esp + 0x78], xmm0
movss xmm0, dword [esi + 8]
push ecx
mov ecx, str.ColorButton
movss dword [esp + 0x80], xmm0
movss dword [esp + 0x84], xmm1
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
call fcn.1004d560
add esp, 8
test al, al
mov eax, dword [esp + 0x14]
je 0x1004a45f
test al, 4
jne 0x1004a45f
movups xmm0, xmmword [esp + 0x70]
mov ecx, str.picker
movups xmmword [edi + 0x516c], xmm0
call fcn.1001dd20
movss xmm1, dword [edi + 0x3ecc]
movss xmm0, dword [edi + 0x37e8]
addss xmm0, dword [edi + 0x3ed8]
mov eax, dword [0x1014ec70]
addss xmm1, dword [0x100fc9d0]
or dword [eax + 0x3efc], 1
movss dword [eax + 0x3f10], xmm0
movss dword [eax + 0x3f0c], xmm1
mov dword [eax + 0x3f14], 0
mov dword [eax + 0x3f18], 0
mov dword [eax + 0x3f00], 1
mov eax, dword [esp + 0x14]
test al, 8
jne 0x1004a468
call fcn.1001e3b0
mov ecx, str.picker
call fcn.1001e340
test al, al
je 0x1004a573
mov eax, dword [edi + 0x3e18]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x38]
cmp ecx, eax
je 0x1004a4df
push 0
mov edx, eax
call fcn.1003e370
mov ecx, dword [0x1014ec70]
add esp, 4
mov eax, dword [ecx + 0x3e18]
mov byte [eax + 0x90], 1
mov eax, dword [ecx + 0x3e18]
cmp byte [eax + 0x93], 0
jne 0x1004a4df
movss xmm1, dword [0x100fcc78]
lea ecx, [esp + 0x60]
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
call fcn.1001cc40
mov eax, dword [0x1014ec70]
mov edx, esi
movss xmm0, dword [esp + 0x4c]
mov ecx, 0x100faf80
mulss xmm0, dword [0x100fcb54]
or dword [eax + 0x3eac], 1
movss dword [eax + 0x3eb0], xmm0
lea eax, [edi + 0x516c]
push eax
mov eax, dword [esp + 0x54]
and eax, 0x1f890002
or eax, 0x740080
push eax
call fcn.1004ab80
mov esi, dword [0x1014ec70]
add esp, 8
or byte [esp + 0x12], al
mov eax, dword [esi + 0x3e18]
cmp dword [esi + 0x3fcc], eax
jne 0x1004a557
cmp byte [esi + 0x4025], 0
je 0x1004a557
cmp dword [esi + 0x4004], 0
jne 0x1004a557
or dword [esi + 0x4028], 2
test dword [eax + 8], 0x1000000
je 0x1004a567
mov byte [esi + 0x3dc6], 1
call fcn.1001b770
mov byte [esi + 0x3dc6], 0
mov ecx, dword [esp + 0x14]
mov esi, dword [esp + 0x38]
cmp dword [esp + 0x3c], esi
je 0x1004a5a5
test cl, cl
js 0x1004a5a5
movss xmm1, dword [edi + 0x37ec]
xorps xmm0, xmm0
call fcn.1001cfa0
mov ecx, dword [esp + 0x3c]
mov edx, esi
push 0
call fcn.1003e370
add esp, 4
cmp byte [esp + 0x12], 0
mov esi, dword [esp + 0x24]
je 0x1004a7c3
test esi, esi
jne 0x1004a7c3
cmp byte [esp + 0x13], 0
jne 0x1004a5dd
movups xmm0, xmmword [esp + 0x98]
cvtdq2ps xmm0, xmm0
divps xmm0, xmmword [0x100fd070]
movups xmmword [esp + 0x88], xmm0
mov eax, dword [esp + 0x14]
and eax, 0x8200000
cmp eax, 0x8200000
jne 0x1004a6d6
movss xmm0, dword [esp + 0x88]
lea eax, [esp + 0x90]
movss xmm1, dword [esp + 0x8c]
lea edx, [esp + 0x8c]
movss xmm2, dword [esp + 0x90]
lea ecx, [esp + 0x88]
push eax
movss dword [edi + 0x5160], xmm0
movss dword [edi + 0x5164], xmm1
call fcn.1000f490
movss xmm1, dword [esp + 0x8c]
xorps xmm4, xmm4
movss xmm5, dword [0x100fca9c]
add esp, 4
comiss xmm4, xmm1
jbe 0x1004a658
xorps xmm0, xmm0
jmp 0x1004a65f
movaps xmm0, xmm5
minss xmm0, xmm1
movss xmm7, dword [0x100fcc04]
movss xmm6, dword [0x100fca58]
movss xmm2, dword [esp + 0x8c]
comiss xmm4, xmm2
mulss xmm0, xmm7
addss xmm0, xmm6
cvttss2si ecx, xmm0
jbe 0x1004a68e
xorps xmm0, xmm0
jmp 0x1004a695
movaps xmm0, xmm5
minss xmm0, xmm2
movss xmm3, dword [esp + 0x90]
mulss xmm0, xmm7
addss xmm0, xmm6
cvttss2si eax, xmm0
shl eax, 8
or ecx, eax
comiss xmm4, xmm3
jbe 0x1004a6b9
xorps xmm5, xmm5
jmp 0x1004a6bd
minss xmm5, xmm3
mulss xmm5, xmm7
addss xmm5, xmm6
cvttss2si eax, xmm5
shl eax, 0x10
or eax, ecx
mov dword [edi + 0x5168], eax
jmp 0x1004a6f4
movss xmm3, dword [esp + 0x90]
xorps xmm4, xmm4
movss xmm2, dword [esp + 0x8c]
movss xmm1, dword [esp + 0x88]
cmp dword [esp + 0x54], 0x10100000
jne 0x1004a79c
movaps xmm5, xmm1
movaps xmm1, xmm2
movaps xmm0, xmm1
movaps xmm6, xmm5
comiss xmm3, xmm0
jbe 0x1004a721
movss xmm4, dword [0x100fcc78]
movaps xmm1, xmm3
movaps xmm3, xmm0
comiss xmm1, xmm6
jbe 0x1004a73b
movss xmm0, dword [0x100fcc64]
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 + 0x90], xmm3
subss xmm2, xmm0
movaps xmm0, xmm2
mulss xmm0, dword [0x100fcb28]
addss xmm0, dword [0x100fc9e4]
divss xmm1, xmm0
movaps xmm0, xmm5
addss xmm0, dword [0x100fc9e4]
addss xmm1, xmm4
divss xmm2, xmm0
andps xmm1, xmmword [0x100fd090]
movss dword [esp + 0x88], xmm1
movss dword [esp + 0x8c], xmm2
cmp byte [esp + 0x30], 0
mov eax, dword [esp + 0x20]
movss dword [eax], xmm1
movss dword [eax + 4], xmm2
movss dword [eax + 8], xmm3
je 0x1004a7c3
movss xmm0, dword [esp + 0x94]
movss dword [eax + 0xc], xmm0
mov eax, dword [0x1014ec70]
mov eax, dword [eax + 0x3e18]
dec dword [eax + 0xc8]
call fcn.1001d300
test byte [edi + 0x3ec8], 1
je 0x1004a921
test dword [esp + 0x14], 0x200
jne 0x1004a921
call fcn.100226a0
test al, al
je 0x1004a921
mov ecx, str._COL3F
mov byte [esp + 0x13], 0
call fcn.10022760
test eax, eax
je 0x1004a832
mov eax, dword [eax]
mov ecx, dword [esp + 0x20]
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.10022760
mov ecx, eax
test ecx, ecx
je 0x1004a85f
mov eax, dword [esp + 0x1c]
shl eax, 2
push eax
push dword [ecx]
push dword [esp + 0x28]
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov byte [esp + 0x12], 1
jmp 0x1004a86a
cmp byte [esp + 0x13], 0
je 0x1004a913
test dword [esp + 0x14], 0x10000000
je 0x1004a913
mov eax, dword [esp + 0x20]
movss xmm2, dword [eax + 4]
movss xmm5, dword [eax + 8]
comiss xmm5, xmm2
movss xmm4, dword [eax]
jbe 0x1004a8a2
movss xmm3, dword [0x100fcc78]
movaps xmm0, xmm2
movaps xmm2, xmm5
movaps xmm5, xmm0
jmp 0x1004a8a5
xorps xmm3, xmm3
comiss xmm2, xmm4
jbe 0x1004a8c2
movaps xmm0, xmm4
movaps xmm4, xmm2
movaps xmm2, xmm0
movss xmm0, dword [0x100fcc64]
subss xmm0, xmm3
movaps xmm3, xmm0
movaps xmm0, xmm2
movss dword [eax + 8], xmm4
minss xmm0, xmm5
movaps xmm1, xmm4
subss xmm2, xmm5
subss xmm1, xmm0
movaps xmm0, xmm1
mulss xmm0, dword [0x100fcb28]
addss xmm0, dword [0x100fc9e4]
divss xmm2, xmm0
movaps xmm0, xmm4
addss xmm0, dword [0x100fc9e4]
addss xmm2, xmm3
divss xmm1, xmm0
andps xmm2, xmmword [0x100fd090]
movss dword [eax], xmm2
movss dword [eax + 4], xmm1
mov eax, dword [0x1014ec70]
mov byte [eax + 0x414e], 0
jmp 0x1004a926
mov eax, dword [0x1014ec70]
test esi, esi
je 0x1004a942
mov ecx, dword [edi + 0x3e50]
test ecx, ecx
je 0x1004a942
cmp dword [edi + 0x3e6c], esi
jne 0x1004a942
mov dword [edi + 0x3ec0], ecx
mov cl, byte [esp + 0x12]
test cl, cl
je 0x1004a95a
or dword [eax + 0x3ec8], 4
mov word [eax + 0x3e60], 0x101
mov al, cl
mov ecx, dword [esp + 0xec]
pop edi
pop esi
xor ecx, esp
call fcn.1008dd76
mov esp, ebp
pop ebp
ret