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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x118
mov eax, dword [0x1009f080]
xor eax, esp
mov dword [esp + 0x114], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov edi, edx
mov dword [esp + 0x60], eax
mov edx, ecx
mov dword [esp + 0xbc], edi
mov ecx, dword [0x100a1be4]
mov dword [esp + 0x48], edx
mov dword [esp + 0x14], ecx
mov eax, dword [ecx + 0x1a00]
mov byte [eax + 0x7c], 1
mov esi, dword [ecx + 0x1a00]
mov dword [esp + 0xcc], esi
cmp byte [esi + 0x7f], 0
je 0x100493af
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.10054d47
mov esp, ebp
pop ebp
ret
test byte [ecx + 0x1ad8], 1
mov eax, dword [esi + 0x278]
mov dword [esp + 0x44], eax
je 0x100493cc
movss xmm1, dword [ecx + 0x1adc]
jmp 0x100493d4
movss xmm1, dword [esi + 0x1a8]
xorps xmm0, xmm0
comiss xmm0, xmm1
jbe 0x1004940d
cmp dword [esi + 0x190], 0
movss xmm0, dword [esi + 0x244]
je 0x100493f5
movss xmm0, dword [esi + 0x224]
subss xmm0, dword [esi + 0xc8]
addss xmm0, xmm1
movss xmm1, dword [0x10094518]
maxss xmm1, xmm0
mov dword [ecx + 0x1ad8], 0
mov ecx, edx
cvttss2si esi, xmm1
call fcn.10024cc0
call fcn.100257c0
mov edx, dword [ebp + 8]
mov ecx, edx
or ecx, 0x10
test edx, 0x100
cmovne ecx, edx
mov dword [esp + 0x98], ecx
test cl, 8
jne 0x10049454
mov edx, ecx
mov ecx, edi
call fcn.1004c8f0
mov ecx, dword [esp + 0x98]
mov edx, dword [esp + 0x14]
test ecx, 0x6000000
jne 0x10049480
mov eax, dword [edx + 0x2d30]
mov ecx, 0xa900000
test eax, 0x6000000
cmovne ecx, eax
and ecx, 0x6000000
or ecx, dword [esp + 0x98]
mov dword [esp + 0xc], ecx
test ecx, 0x18000000
jne 0x100494ab
mov eax, dword [edx + 0x2d30]
test eax, 0x18000000
mov edx, 0xa900000
cmovne edx, eax
and edx, 0x18000000
or ecx, edx
mov dword [esp + 0xc], ecx
mov edx, ecx
and edx, 0x6000000
je 0x100494bc
lea eax, [edx - 1]
test edx, eax
je 0x100494d7
push 0x11bb
push str.D:MGREffectEditorEffectEditorimguiimgui_widgets.cpp
push str.ImIsPowerOfTwo_flags__ImGuiColorEditFlags__PickerMask_
call fcn.100679c3
mov ecx, dword [esp + 0x18]
add esp, 0xc
mov edx, ecx
and edx, 0x18000000
je 0x100494e8
lea eax, [edx - 1]
test edx, eax
je 0x10049503
push 0x11bc
push str.D:MGREffectEditorEffectEditorimguiimgui_widgets.cpp
push str.ImIsPowerOfTwo_flags__ImGuiColorEditFlags__InputMask_
call fcn.100679c3
mov ecx, dword [esp + 0x18]
add esp, 0xc
mov edx, dword [esp + 0x14]
test cl, 8
jne 0x1004951d
mov eax, dword [edx + 0x2d30]
and eax, 0x10000
or ecx, eax
mov dword [esp + 0xc], ecx
mov eax, ecx
movss xmm2, dword [edx + 0x1568]
and eax, 2
movd xmm4, esi
mov dword [esp + 0x98], eax
and ecx, 0x10002
mov eax, dword [esp + 0xcc]
cvtdq2ps xmm4, xmm4
mov dword [esp + 0xc8], ecx
movss xmm0, dword [eax + 0xcc]
movss xmm3, dword [eax + 0xc8]
mov eax, dword [0x100a1be4]
movss dword [esp + 0x38], xmm0
movss dword [esp + 0x54], xmm0
movaps xmm0, xmm2
movss dword [esp + 0x50], xmm3
movss xmm5, dword [eax + 0x1554]
addss xmm5, xmm5
addss xmm5, dword [eax + 0x18d0]
xor eax, eax
cmp ecx, 0x10000
sete al
inc eax
addss xmm0, xmm5
movss dword [esp + 0x58], xmm5
movd xmm1, eax
xor eax, eax
cvtdq2ps xmm1, xmm1
cmp dword [esp + 0x98], eax
sete al
mulss xmm1, xmm0
movaps xmm0, xmm5
lea eax, [eax*4 + 0xc]
push eax
lea eax, [esp + 0x110]
subss xmm4, xmm1
movaps xmm1, xmm3
push edi
push eax
maxss xmm0, xmm4
addss xmm1, xmm0
movss dword [esp + 0x38], xmm0
addss xmm1, xmm2
movaps xmm0, xmm1
movss dword [esp + 0x48], xmm1
addss xmm0, xmm5
addss xmm0, xmm2
movss dword [esp + 0xc4], xmm0
movaps xmm0, xmm5
mulss xmm0, dword [0x100944c8]
cvttss2si esi, xmm0
mov dword [esp + 0xb4], esi
call fcn.100568e0
movss xmm1, dword [esp + 0x38]
add esp, 0xc
movaps xmm4, xmm1
movaps xmm3, xmm1
mulss xmm4, dword [0x100944e0]
mulss xmm3, dword [0x100944b8]
movaps xmm0, xmm4
movss dword [esp + 0x9c], xmm4
addss xmm0, dword [esp + 0x38]
movss dword [esp + 0x7c], xmm3
movaps xmm2, xmm4
subss xmm2, xmm3
movaps xmm3, xmm1
addss xmm3, dword [esp + 0x58]
movss dword [esp + 0xb4], xmm0
movss dword [esp + 0xe4], xmm0
movaps xmm0, xmm1
mulss xmm0, dword [0x100944ac]
movaps xmm1, xmm2
mulss xmm3, dword [0x100944e0]
cvttss2si eax, xmm0
addss xmm3, dword [esp + 0x50]
movss dword [esp + 0x78], xmm2
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 0xac], xmm3
movss dword [esp + 0xe0], xmm3
subss xmm1, xmm0
movss xmm3, dword [edi + 4]
movaps xmm0, xmm1
mulss xmm0, dword [0x100945f4]
movaps xmm2, xmm1
mov eax, dword [esp + 0xc]
mulss xmm2, dword [0x10094600]
mov dword [esp + 0x34], 0
movss dword [esp + 0x30], xmm1
movss dword [esp + 0xa4], xmm0
movss dword [esp + 0xd0], xmm0
movss dword [esp + 0xf0], xmm0
movaps xmm0, xmm1
mulss xmm0, dword [0x10094510]
movss dword [esp + 0x80], xmm2
movss dword [esp + 0xd4], xmm2
movss xmm2, dword [edi + 8]
movss dword [esp + 0x94], xmm0
movss dword [esp + 0xf4], xmm0
movss xmm0, dword [edi]
movss dword [esp + 0x1c], xmm0
movaps xmm1, xmm0
movss dword [esp + 0x84], xmm1
movss dword [esp + 0x88], xmm1
movaps xmm1, xmm3
movss dword [esp + 0x5c], xmm1
movss dword [esp + 0x74], xmm1
movaps xmm1, xmm2
movss dword [esp + 0x70], xmm1
movss dword [esp + 0x6c], xmm1
movss xmm1, dword [0x10094574]
movss dword [esp + 0x40], xmm3
movss dword [esp + 0x4c], xmm2
movss dword [esp + 0xc4], xmm1
test eax, 0x8000000
je 0x1004988c
comiss xmm2, xmm3
xorps xmm1, xmm1
xorps xmm6, xmm6
movaps xmm5, xmm3
movaps xmm7, xmm2
jbe 0x100497b5
movss xmm6, dword [0x10094604]
movaps xmm5, xmm2
movaps xmm7, xmm3
comiss xmm5, xmm0
movaps xmm4, xmm0
movss dword [esp + 0x4c], xmm4
jbe 0x100497de
movaps xmm4, xmm5
movaps xmm5, xmm0
movss xmm0, dword [0x100945f0]
subss xmm0, xmm6
movss dword [esp + 0x4c], xmm4
movaps xmm6, xmm0
movaps xmm0, xmm5
mov ecx, dword [esp + 0x14]
minss xmm0, xmm7
movaps xmm3, xmm4
movaps xmm2, xmm5
subss xmm2, xmm7
mov eax, dword [ecx + 0x2d3c]
subss xmm3, xmm0
movaps xmm0, xmm3
mulss xmm0, dword [0x10094574]
addss xmm0, dword [0x1009448c]
divss xmm2, xmm0
movaps xmm0, xmm4
addss xmm2, xmm6
addss xmm0, dword [0x1009448c]
andps xmm2, xmmword [0x10094710]
divss xmm3, xmm0
movss dword [esp + 0x1c], xmm2
movss dword [esp + 0x40], xmm3
cmp eax, dword [edi]
jne 0x100498d8
mov eax, dword [ecx + 0x2d40]
cmp eax, dword [edi + 4]
jne 0x100498d8
mov eax, dword [ecx + 0x2d44]
cmp eax, dword [edi + 8]
jne 0x100498d8
ucomiss xmm3, xmm1
lahf
test ah, 0x44
jp 0x10049873
movss xmm0, dword [ecx + 0x2d34]
movss dword [esp + 0x1c], xmm0
ucomiss xmm4, xmm1
lahf
test ah, 0x44
jp 0x100498d8
movss xmm0, dword [ecx + 0x2d38]
movss dword [esp + 0x40], xmm0
jmp 0x100498d8
test eax, 0x10000000
je 0x100498d8
lea eax, [esp + 0x6c]
movaps xmm1, xmm3
push eax
lea edx, [esp + 0x78]
lea ecx, [esp + 0x8c]
call fcn.10019da0
movss xmm0, dword [esp + 0x8c]
add esp, 4
movss dword [esp + 0x84], xmm0
movss xmm0, dword [esp + 0x74]
movss dword [esp + 0x5c], xmm0
movss xmm0, dword [esp + 0x6c]
movss dword [esp + 0x70], xmm0
mov ecx, 8
mov byte [esp + 0xb], 0
mov byte [esp + 0x13], 0
mov byte [esp + 0x12], 0
call fcn.10024880
mov eax, dword [esp + 0xc]
test eax, 0x4000000
je 0x10049eee
movss xmm1, dword [esp + 0x2c]
lea edx, [esp + 0x20]
mov eax, dword [esp + 0x14]
movaps xmm0, xmm1
mov ecx, 0x10093d88
movss dword [esp + 0x24], xmm1
addss xmm0, dword [eax + 0x1568]
addss xmm0, dword [esp + 0x58]
movss dword [esp + 0x20], xmm0
call fcn.1003dd90
mov eax, dword [0x100a1be4]
mov ecx, dword [eax + 0x1a34]
test ecx, ecx
je 0x10049de3
mov eax, dword [eax + 0x1a00]
cmp ecx, dword [eax + 0x10c]
jne 0x10049de3
mov eax, dword [esp + 0x14]
movss xmm0, dword [eax + 0x390]
subss xmm0, dword [esp + 0xb4]
movss xmm1, dword [eax + 0x38c]
subss xmm1, dword [esp + 0xac]
movss xmm4, dword [eax + 0xe8]
movss xmm3, dword [eax + 0xec]
subss xmm4, dword [esp + 0xac]
subss xmm3, dword [esp + 0xb4]
movaps xmm2, xmm0
movss dword [esp + 0xb0], xmm0
mulss xmm2, xmm0
movaps xmm0, xmm1
mulss xmm0, xmm1
movss dword [esp + 0x18], xmm1
movss xmm1, dword [0x10094518]
addss xmm2, xmm0
movss dword [esp + 0xc0], xmm4
movss xmm0, dword [esp + 0x78]
subss xmm0, xmm1
movss dword [esp + 0x90], xmm3
mulss xmm0, xmm0
comiss xmm2, xmm0
jb 0x10049a6b
movss xmm0, dword [esp + 0x9c]
addss xmm0, xmm1
mulss xmm0, xmm0
comiss xmm0, xmm2
jb 0x10049a6b
cvtps2pd xmm0, xmm3
movsd qword [esp + 0x20], xmm0
fld qword [esp + 0x20]
cvtps2pd xmm0, xmm4
movsd qword [esp + 0x20], xmm0
fld qword [esp + 0x20]
call fcn.1007b140
movss xmm2, dword [0x10094560]
xorps xmm0, xmm0
fstp qword [esp + 0x20]
movsd xmm1, qword [esp + 0x20]
cvtpd2ps xmm1, xmm1
divss xmm1, xmm2
mulss xmm1, dword [0x100944e0]
comiss xmm0, xmm1
movss dword [esp + 0x1c], xmm1
jbe 0x10049a63
addss xmm1, dword [0x10094518]
movss dword [esp + 0x1c], xmm1
mov cl, 1
mov byte [esp + 0xb], cl
jmp 0x10049a7d
mov cl, byte [esp + 0xb]
movss xmm2, dword [0x10094560]
movss xmm1, dword [esp + 0x1c]
movaps xmm0, xmm1
mov byte [esp + 0x13], cl
xorps xmm0, xmmword [0x10094730]
addss xmm0, xmm0
mulss xmm0, xmm2
cvtss2sd xmm0, xmm0
movsd qword [esp + 0x20], xmm0
call fcn.1007b690
cvtsd2ss xmm0, xmm0
movss dword [esp + 0xa0], xmm0
movsd xmm0, qword [esp + 0x20]
call fcn.1007c3a0
movss xmm6, dword [esp + 0xa0]
xorps xmm5, xmm5
cvtsd2ss xmm5, xmm0
movss xmm1, dword [esp + 0xa4]
movaps xmm3, xmm6
mulss xmm3, dword [esp + 0x18]
movaps xmm0, xmm5
mulss xmm0, dword [esp + 0xb0]
movaps xmm4, xmm6
mulss xmm4, dword [esp + 0xb0]
subss xmm3, xmm0
movss xmm7, dword [esp + 0x30]
movaps xmm0, xmm5
movss dword [esp + 0x8c], xmm5
mulss xmm0, dword [esp + 0x18]
movaps xmm5, xmm1
subss xmm5, xmm1
subss xmm7, dword [esp + 0xa4]
addss xmm4, xmm0
movaps xmm2, xmm3
movss xmm0, dword [esp + 0x80]
subss xmm2, xmm1
subss xmm0, dword [esp + 0x94]
movss dword [esp + 0xa0], xmm5
movss dword [esp + 0x64], xmm7
movaps xmm1, xmm0
movss dword [esp + 0xb0], xmm0
movaps xmm0, xmm4
mulss xmm1, xmm2
subss xmm0, dword [esp + 0x94]
mulss xmm0, xmm5
xorps xmm5, xmm5
subss xmm1, xmm0
xorps xmm0, xmm0
subss xmm0, dword [esp + 0x80]
comiss xmm5, xmm1
movaps xmm1, xmm0
movss dword [esp + 0x18], xmm0
movaps xmm0, xmm4
mulss xmm1, xmm2
seta cl
subss xmm0, dword [esp + 0x80]
mulss xmm0, xmm7
subss xmm1, xmm0
comiss xmm5, xmm1
seta al
cmp al, cl
jne 0x10049ddb
movss xmm0, dword [esp + 0x94]
subss xmm4, xmm5
subss xmm3, dword [esp + 0x30]
subss xmm0, xmm5
mulss xmm3, xmm0
movss xmm0, dword [esp + 0xa4]
subss xmm0, dword [esp + 0x30]
mulss xmm0, xmm4
subss xmm3, xmm0
comiss xmm5, xmm3
seta al
cmp cl, al
jne 0x10049ddb
movss xmm1, dword [esp + 0x8c]
movaps xmm7, xmm6
mulss xmm7, dword [esp + 0xc0]
movaps xmm0, xmm1
mulss xmm1, dword [esp + 0xc0]
mulss xmm0, dword [esp + 0x90]
mulss xmm6, dword [esp + 0x90]
movss xmm4, dword [esp + 0xa4]
subss xmm7, xmm0
addss xmm6, xmm1
movaps xmm1, xmm7
movss dword [esp + 0x20], xmm7
subss xmm1, xmm4
movaps xmm0, xmm6
movss dword [esp + 0x24], xmm6
subss xmm0, dword [esp + 0x94]
mulss xmm1, dword [esp + 0xb0]
mulss xmm0, dword [esp + 0xa0]
subss xmm1, xmm0
movaps xmm0, xmm6
subss xmm0, dword [esp + 0x80]
comiss xmm5, xmm1
mulss xmm0, dword [esp + 0x64]
movaps xmm1, xmm7
subss xmm1, xmm4
seta cl
mulss xmm1, dword [esp + 0x18]
subss xmm1, xmm0
comiss xmm5, xmm1
seta al
cmp al, cl
jne 0x10049cde
movss xmm3, dword [esp + 0x30]
movaps xmm2, xmm7
movss xmm0, dword [esp + 0x94]
subss xmm2, xmm3
subss xmm0, xmm5
movaps xmm1, xmm4
subss xmm1, xmm3
mulss xmm2, xmm0
movaps xmm0, xmm6
subss xmm0, xmm5
mulss xmm1, xmm0
subss xmm2, xmm1
comiss xmm5, xmm2
seta al
cmp cl, al
je 0x10049d1e
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0xf4]
push eax
lea eax, [esp + 0xd8]
push eax
lea edx, [esp + 0x3c]
lea ecx, [esp + 0x70]
call fcn.10019410
movss xmm3, dword [esp + 0x3c]
add esp, 0xc
movss xmm4, dword [esp + 0xa4]
xorps xmm5, xmm5
movss xmm7, dword [eax]
movss xmm6, dword [eax + 4]
movss xmm1, dword [esp + 0x94]
subss xmm7, xmm3
movaps xmm2, xmm4
subss xmm1, xmm5
movss xmm4, dword [esp + 0x80]
subss xmm2, xmm3
subss xmm4, xmm5
subss xmm6, xmm5
movaps xmm3, xmm2
mulss xmm3, xmm1
movaps xmm0, xmm4
mulss xmm0, xmm2
mulss xmm6, xmm2
subss xmm3, xmm0
movaps xmm0, xmm7
mulss xmm0, xmm1
mulss xmm7, xmm4
subss xmm0, xmm6
movss xmm1, dword [0x10094518]
movaps xmm5, xmm1
subss xmm6, xmm7
divss xmm0, xmm3
divss xmm6, xmm3
subss xmm5, xmm0
movss xmm0, dword [0x100944a0]
movss dword [esp + 0x40], xmm0
comiss xmm0, xmm5
movaps xmm3, xmm5
subss xmm3, xmm6
jbe 0x10049dac
movaps xmm2, xmm0
movss dword [esp + 0x4c], xmm0
jmp 0x10049db9
movaps xmm2, xmm1
minss xmm2, xmm5
movss dword [esp + 0x4c], xmm2
divss xmm3, xmm2
comiss xmm0, xmm3
ja 0x10049dcf
movaps xmm0, xmm1
minss xmm0, xmm3
movss dword [esp + 0x40], xmm0
mov byte [esp + 0x12], 1
mov byte [esp + 0xb], 1
jmp 0x10049de3
mov al, byte [esp + 0xb]
mov byte [esp + 0x13], al
mov eax, dword [esp + 0xc]
test al, 8
jne 0x10049df0
call fcn.10026b20
movss xmm4, dword [esp + 0x2c]
movss xmm3, dword [esp + 0x38]
cmp dword [esp + 0xc8], 0x10000
jne 0x1004a103
mov ecx, dword [0x100a1be4]
lea edx, [esp + 0xd0]
movss xmm0, dword [esp + 0xb8]
movss dword [esp + 0xd4], xmm4
mov eax, dword [ecx + 0x1a00]
mov byte [eax + 0x7c], 1
mov eax, dword [ecx + 0x1a00]
mov ecx, str.alpha
movss dword [eax + 0xc8], xmm0
movss dword [eax + 0xcc], xmm3
movss xmm1, dword [eax + 0xe0]
maxss xmm1, xmm0
movss xmm0, dword [eax + 0xe4]
maxss xmm0, xmm3
movss dword [eax + 0xe0], xmm1
movss dword [eax + 0xe4], xmm0
movss xmm0, dword [esp + 0x58]
movss dword [esp + 0xd0], xmm0
call fcn.1003dd90
mov eax, dword [0x100a1be4]
mov ecx, dword [eax + 0x1a34]
test ecx, ecx
je 0x1004a103
mov eax, dword [eax + 0x1a00]
cmp ecx, dword [eax + 0x10c]
jne 0x1004a103
mov eax, dword [esp + 0x14]
movss xmm0, dword [esp + 0x2c]
movss xmm1, dword [0x10094518]
subss xmm0, xmm1
movss xmm2, dword [eax + 0xec]
subss xmm2, dword [esp + 0x38]
divss xmm2, xmm0
xorps xmm0, xmm0
comiss xmm0, xmm2
jbe 0x1004a0eb
xorps xmm3, xmm3
jmp 0x1004a0f2
test eax, 0x2000000
je 0x10049df0
movss xmm0, dword [esp + 0x2c]
lea edx, [esp + 0xd0]
mov ecx, 0x10093d8c
movss dword [esp + 0xd0], xmm0
movss dword [esp + 0xd4], xmm0
call fcn.1003dd90
mov ecx, dword [0x100a1be4]
mov edx, dword [ecx + 0x1a34]
test edx, edx
je 0x10049fc1
mov eax, dword [ecx + 0x1a00]
cmp edx, dword [eax + 0x10c]
jne 0x10049fc1
mov eax, dword [esp + 0x14]
xorps xmm0, xmm0
movss xmm4, dword [esp + 0x2c]
movss xmm1, dword [0x10094518]
subss xmm4, xmm1
movss xmm3, dword [eax + 0xe8]
subss xmm3, dword [esp + 0x50]
divss xmm3, xmm4
comiss xmm0, xmm3
jbe 0x10049f7c
movss dword [esp + 0x40], xmm0
jmp 0x10049f89
movaps xmm2, xmm1
minss xmm2, xmm3
movss dword [esp + 0x40], xmm2
movss xmm2, dword [eax + 0xec]
subss xmm2, dword [esp + 0x38]
divss xmm2, xmm4
comiss xmm0, xmm2
jbe 0x10049fa5
xorps xmm3, xmm3
jmp 0x10049fac
movaps xmm3, xmm1
minss xmm3, xmm2
movaps xmm0, xmm1
mov al, 1
subss xmm0, xmm3
mov byte [esp + 0xb], al
movss dword [esp + 0x4c], xmm0
jmp 0x10049fc5
mov al, byte [esp + 0xb]
mov byte [esp + 0x12], al
mov byte [esp + 0x11], al
mov eax, dword [esp + 0xc]
test al, 8
jne 0x10049fe0
call fcn.10026b20
mov ecx, dword [0x100a1be4]
mov eax, dword [ecx + 0x1a00]
lea edx, [esp + 0xd0]
movss xmm0, dword [esp + 0x3c]
movss xmm2, dword [esp + 0x38]
mov byte [eax + 0x7c], 1
mov eax, dword [ecx + 0x1a00]
mov ecx, 0x10093d90
movss dword [eax + 0xc8], xmm0
movss dword [eax + 0xcc], xmm2
movss xmm1, dword [eax + 0xe0]
maxss xmm1, xmm0
movss xmm0, dword [eax + 0xe4]
maxss xmm0, xmm2
movss dword [eax + 0xe0], xmm1
movss dword [eax + 0xe4], xmm0
movss xmm0, dword [esp + 0x58]
movss dword [esp + 0xd0], xmm0
movss xmm0, dword [esp + 0x2c]
movss dword [esp + 0xd4], xmm0
call fcn.1003dd90
mov eax, dword [0x100a1be4]
mov ecx, dword [eax + 0x1a34]
test ecx, ecx
je 0x10049df0
mov eax, dword [eax + 0x1a00]
mov dl, byte [esp + 0xb]
movss xmm3, dword [esp + 0x38]
movss xmm4, dword [esp + 0x2c]
mov byte [esp + 0x12], dl
cmp ecx, dword [eax + 0x10c]
jne 0x10049dfc
mov eax, dword [esp + 0x14]
movaps xmm0, xmm4
movss xmm1, dword [0x10094518]
subss xmm0, xmm1
movss xmm2, dword [eax + 0xec]
subss xmm2, xmm3
divss xmm2, xmm0
xorps xmm0, xmm0
comiss xmm0, xmm2
ja 0x1004a0ce
movaps xmm0, xmm1
minss xmm0, xmm2
mov al, byte [esp + 0x11]
movss dword [esp + 0x1c], xmm0
mov byte [esp + 0x13], 1
mov byte [esp + 0xb], 1
mov byte [esp + 0x12], al
jmp 0x10049dfc
movaps xmm3, xmm1
minss xmm3, xmm2
movaps xmm0, xmm1
mov byte [esp + 0xb], 1
subss xmm0, xmm3
movss dword [edi + 0xc], xmm0
call fcn.100248f0
mov eax, dword [esp + 0xc]
test eax, 0x100
jne 0x1004a130
mov eax, dword [esp + 0x14]
xorps xmm0, xmm0
movss xmm1, dword [eax + 0x1568]
call fcn.10025500
call fcn.100257c0
mov eax, dword [esp + 0xc]
test al, al
js 0x1004a195
mov edx, dword [esp + 0x48]
cmp edx, 0xffffffff
jae 0x1004a195
nop dword [eax]
mov cl, byte [edx]
mov byte [esp + 0x11], cl
test cl, cl
je 0x1004a15a
cmp cl, 0x23
jne 0x1004a154
cmp byte [edx + 1], cl
je 0x1004a15a
inc edx
cmp edx, 0xffffffff
jb 0x1004a140
mov dword [esp + 0x18], edx
cmp dword [esp + 0x48], edx
je 0x1004a195
test eax, 0x100
je 0x1004a183
mov eax, dword [esp + 0x14]
xorps xmm0, xmm0
movss xmm1, dword [eax + 0x1568]
call fcn.10025500
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x48]
push 0
call fcn.1003ca80
mov eax, dword [esp + 0x10]
add esp, 4
test eax, 0x100
jne 0x1004a33f
mov ecx, 0x10
call fcn.10024880
mov eax, dword [esp + 0xc]
test al, 2
je 0x1004a1bc
movss xmm1, dword [0x10094518]
jmp 0x1004a1c1
movss xmm1, dword [edi + 0xc]
movss xmm0, dword [edi]
movss dword [esp + 0xd0], xmm0
movss xmm0, dword [edi + 4]
movss dword [esp + 0xd4], xmm0
movss xmm0, dword [edi + 8]
movss dword [esp + 0xd8], xmm0
movss dword [esp + 0xdc], xmm1
test al, al
jns 0x1004a208
push str.Current
call fcn.1003d200
mov eax, dword [esp + 0x10]
add esp, 4
movss xmm1, dword [esp + 0x58]
lea edx, [esp + 0xd0]
movaps xmm0, xmm1
and eax, 0x180e0040
mulss xmm0, dword [0x1009455c]
mov ecx, str.current
mov dword [esp + 0x8c], eax
movss dword [esp + 0x20], xmm0
movss dword [esp + 0x64], xmm0
movaps xmm0, xmm1
addss xmm0, xmm1
movss dword [esp + 0x24], xmm0
push dword [esp + 0x24]
movss dword [esp + 0x94], xmm0
push dword [esp + 0x24]
push eax
call fcn.1004ba70
add esp, 0xc
cmp dword [esp + 0x60], 0
je 0x1004a331
push str.Original
call fcn.1003d200
mov eax, dword [esp + 0x10]
add esp, 4
test al, 2
mov eax, dword [esp + 0x60]
je 0x1004a292
movss xmm1, dword [0x10094518]
jmp 0x1004a297
movss xmm1, dword [eax + 0xc]
movss xmm0, dword [eax]
lea edx, [esp + 0xf0]
movss dword [esp + 0xf0], xmm0
mov ecx, str.original
movss xmm0, dword [eax + 4]
movss dword [esp + 0xf4], xmm0
movss xmm0, dword [eax + 8]
movss dword [esp + 0xf8], xmm0
movss xmm0, dword [esp + 0x64]
movss dword [esp + 0x20], xmm0
movss xmm0, dword [esp + 0x90]
movss dword [esp + 0x24], xmm0
push dword [esp + 0x24]
movss dword [esp + 0x100], xmm1
push dword [esp + 0x24]
push dword [esp + 0x94]
call fcn.1004ba70
add esp, 0xc
test al, al
je 0x1004a331
xor eax, eax
cmp dword [esp + 0x98], eax
sete al
lea eax, [eax*4 + 0xc]
push eax
push dword [esp + 0x64]
push edi
call fcn.100568e0
add esp, 0xc
mov byte [esp + 0xb], 1
call fcn.100248f0
call fcn.10025900
mov eax, dword [esp + 0xc]
cmp byte [esp + 0x13], 0
jne 0x1004a351
cmp byte [esp + 0x12], 0
je 0x1004a412
test eax, 0x8000000
je 0x1004a3eb
movss xmm1, dword [esp + 0x4c]
lea eax, [edi + 8]
xorps xmm0, xmm0
lea edx, [edi + 4]
comiss xmm1, xmm0
jbe 0x1004a375
movaps xmm3, xmm1
jmp 0x1004a37d
movss xmm3, dword [0x10094490]
movss xmm1, dword [esp + 0x40]
comiss xmm1, xmm0
movss xmm2, dword [0x10094494]
ja 0x1004a393
movaps xmm1, xmm2
movss xmm0, dword [esp + 0x1c]
comiss xmm0, dword [0x10094518]
jb 0x1004a3a6
subss xmm0, xmm2
push eax
mov ecx, edi
movaps xmm2, xmm3
call fcn.10019da0
mov ecx, dword [esp + 0x18]
add esp, 4
movss xmm0, dword [esp + 0x40]
movss xmm1, dword [esp + 0x1c]
movss dword [ecx + 0x2d34], xmm1
movss dword [ecx + 0x2d38], xmm0
movq xmm0, qword [edi]
movq qword [ecx + 0x2d3c], xmm0
mov eax, dword [edi + 8]
mov dword [ecx + 0x2d44], eax
jmp 0x1004a412
test eax, 0x10000000
je 0x1004a412
movss xmm0, dword [esp + 0x40]
movss xmm1, dword [esp + 0x1c]
movss dword [edi + 4], xmm0
movss xmm0, dword [esp + 0x4c]
movss dword [edi], xmm1
movss dword [edi + 8], xmm0
mov eax, dword [esp + 0xc]
mov byte [esp + 0x11], 0
test al, 0x20
jne 0x1004a6b9
cmp dword [esp + 0xc8], 0x10000
jne 0x1004a43b
movss xmm0, dword [esp + 0xb8]
jmp 0x1004a441
movss xmm0, dword [esp + 0x3c]
addss xmm0, dword [esp + 0x58]
mov eax, dword [0x100a1be4]
mov dword [esp + 0x8c], eax
subss xmm0, dword [esp + 0x50]
mov ecx, dword [eax + 0x1a00]
mov dword [esp + 0x18], ecx
ucomiss xmm0, dword [0x1009447c]
lahf
test ah, 0x44
jp 0x1004a478
movss xmm0, dword [ecx + 0x254]
movss dword [ecx + 0x1a8], xmm0
add ecx, 0x1bc
mov dword [esp + 0x90], ecx
mov eax, dword [ecx + 4]
mov edx, dword [ecx]
cmp edx, eax
jne 0x1004a4c4
inc edx
mov dword [esp + 0x64], edx
test eax, eax
je 0x1004a4ad
cdq
sub eax, edx
mov edx, dword [esp + 0x64]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x1004a4b2
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.1002c1d0
mov ecx, dword [esp + 0x90]
mov edx, dword [ecx]
mov ecx, dword [ecx + 8]
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 0x1a8]
mov dword [ecx + edx*4], eax
mov eax, dword [esp + 0x18]
inc dword [eax + 0x1bc]
mov eax, dword [esp + 0x8c]
and dword [eax + 0x1ad8], 0xfffffffe
mov eax, dword [esp + 0xc]
mov ecx, eax
and ecx, 0x198e001a
mov dword [esp + 0x48], ecx
test eax, 0x100000
jne 0x1004a50c
test eax, 0x700000
jne 0x1004a553
or ecx, 0x100004
mov edx, edi
push ecx
mov ecx, str.rgb
call fcn.10047fc0
add esp, 4
test al, al
je 0x1004a54b
mov eax, dword [esp + 0x14]
cmp dword [eax + 0x1a34], 0
je 0x1004a541
cmp byte [eax + 0x1a41], 0
mov byte [esp + 0x11], 1
je 0x1004a546
mov byte [esp + 0x11], 0
mov byte [esp + 0xb], 1
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0xc]
test eax, 0x200000
jne 0x1004a561
test eax, 0x700000
jne 0x1004a57f
or ecx, 0x200004
mov edx, edi
push ecx
mov ecx, str.hsv
call fcn.10047fc0
add esp, 4
or byte [esp + 0xb], al
mov eax, dword [esp + 0xc]
test eax, 0x400000
jne 0x1004a58d
test eax, 0x700000
jne 0x1004a5aa
mov eax, dword [esp + 0x48]
mov edx, edi
or eax, 0x400004
mov ecx, str.hex
push eax
call fcn.10047fc0
add esp, 4
or byte [esp + 0xb], al
call fcn.10025720
cmp byte [esp + 0x11], 0
mov eax, dword [esp + 0xc]
je 0x1004a6b9
xorps xmm2, xmm2
test eax, 0x8000000
je 0x1004a6bc
movss xmm3, dword [edi + 4]
xorps xmm6, xmm6
movss xmm5, dword [edi + 8]
comiss xmm5, xmm3
movss xmm4, dword [edi]
jbe 0x1004a5f3
movss xmm6, dword [0x10094604]
movaps xmm0, xmm3
movaps xmm3, xmm5
movaps xmm5, xmm0
comiss xmm3, xmm4
jbe 0x1004a610
movaps xmm0, xmm4
movaps xmm4, xmm3
movaps xmm3, xmm0
movss xmm0, dword [0x100945f0]
subss xmm0, xmm6
movaps xmm6, xmm0
movaps xmm0, xmm3
movaps xmm1, xmm4
minss xmm0, xmm5
subss xmm3, xmm5
subss xmm1, xmm0
movaps xmm0, xmm4
addss xmm0, dword [0x1009448c]
movaps xmm7, xmm1
mulss xmm1, dword [0x10094574]
divss xmm7, xmm0
addss xmm1, dword [0x1009448c]
divss xmm3, xmm1
addss xmm3, xmm6
andps xmm3, xmmword [0x10094710]
comiss xmm2, xmm3
jb 0x1004a6bc
movss xmm0, dword [esp + 0x1c]
comiss xmm0, xmm2
jbe 0x1004a6bc
comiss xmm2, xmm4
jb 0x1004a68e
movss xmm1, dword [esp + 0x4c]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jnp 0x1004a68a
movaps xmm2, xmm1
movss xmm1, dword [esp + 0x40]
mulss xmm2, dword [0x100944e0]
jmp 0x1004a6a4
mov eax, dword [esp + 0xc]
comiss xmm2, xmm7
jb 0x1004a6bc
movss xmm1, dword [esp + 0x40]
movaps xmm2, xmm4
mulss xmm1, dword [0x100944e0]
lea eax, [edi + 8]
mov ecx, edi
push eax
lea edx, [edi + 4]
call fcn.10019da0
mov eax, dword [esp + 0x10]
add esp, 4
xorps xmm2, xmm2
cmp byte [esp + 0xb], 0
je 0x1004a852
test eax, 0x8000000
je 0x1004a7e9
movss xmm0, dword [edi + 4]
xorps xmm5, xmm5
movss xmm3, dword [edi + 8]
movaps xmm1, xmm0
comiss xmm3, xmm0
movss xmm7, dword [edi]
movaps xmm6, xmm3
movss dword [esp + 0x84], xmm7
movss dword [esp + 0x5c], xmm0
movss dword [esp + 0x70], xmm3
jbe 0x1004a711
movss xmm5, dword [0x10094604]
movaps xmm1, xmm3
movaps xmm6, xmm0
comiss xmm1, xmm7
movaps xmm4, xmm7
movss dword [esp + 0x4c], xmm4
jbe 0x1004a73a
movss xmm0, dword [0x100945f0]
movaps xmm4, xmm1
subss xmm0, xmm5
movss dword [esp + 0x4c], xmm4
movaps xmm1, xmm7
movaps xmm5, xmm0
movaps xmm0, xmm1
mov ecx, dword [esp + 0x14]
minss xmm0, xmm6
movaps xmm3, xmm4
subss xmm1, xmm6
mov eax, dword [ecx + 0x2d3c]
subss xmm3, xmm0
movaps xmm0, xmm3
mulss xmm0, dword [0x10094574]
addss xmm0, dword [0x1009448c]
divss xmm1, xmm0
movaps xmm0, xmm4
addss xmm1, xmm5
addss xmm0, dword [0x1009448c]
andps xmm1, xmmword [0x10094710]
divss xmm3, xmm0
movss dword [esp + 0x1c], xmm1
movss dword [esp + 0x40], xmm3
cmp eax, dword [edi]
jne 0x1004a856
mov eax, dword [ecx + 0x2d40]
cmp eax, dword [edi + 4]
jne 0x1004a856
mov eax, dword [ecx + 0x2d44]
cmp eax, dword [edi + 8]
jne 0x1004a856
ucomiss xmm3, xmm2
lahf
test ah, 0x44
jp 0x1004a7d0
movss xmm0, dword [ecx + 0x2d34]
movss dword [esp + 0x1c], xmm0
ucomiss xmm4, xmm2
lahf
test ah, 0x44
jp 0x1004a856
movss xmm0, dword [ecx + 0x2d38]
movss dword [esp + 0x40], xmm0
jmp 0x1004a856
test eax, 0x10000000
je 0x1004a852
movss xmm0, dword [edi]
lea eax, [esp + 0x6c]
movss xmm1, dword [edi + 4]
lea edx, [esp + 0x74]
movss xmm2, dword [edi + 8]
lea ecx, [esp + 0x88]
push eax
movss dword [esp + 0x20], xmm0
movss dword [esp + 0x44], xmm1
movss dword [esp + 0x50], xmm2
call fcn.10019da0
movss xmm0, dword [esp + 0x8c]
add esp, 4
movss dword [esp + 0x84], xmm0
movss xmm0, dword [esp + 0x74]
movss dword [esp + 0x5c], xmm0
movss xmm0, dword [esp + 0x6c]
movss dword [esp + 0x70], xmm0
mov ecx, dword [esp + 0x14]
movss xmm2, dword [ecx + 0x1518]
xorps xmm0, xmm0
comiss xmm0, xmm2
movss xmm0, dword [0x10094518]
jbe 0x1004a873
xorps xmm1, xmm1
jmp 0x1004a87a
movaps xmm1, xmm0
minss xmm1, xmm2
mulss xmm1, dword [0x100945a8]
mov dword [esp + 0xd0], 0x3f800000
movss dword [esp + 0xdc], xmm2
movaps xmm2, xmm0
mov dword [esp + 0xd4], 0x3f800000
addss xmm1, dword [0x100944e0]
mov dword [esp + 0xd8], 0x3f800000
cvttss2si edx, xmm1
movaps xmm1, xmm0
movss xmm0, dword [esp + 0x1c]
shl edx, 0x18
mov eax, edx
mov dword [esp + 0xa0], edx
or eax, 0xffffff
mov ecx, edx
mov dword [esp + 0x60], eax
or ecx, 0xff
mov eax, edx
mov dword [esp + 0xf0], ecx
or eax, 0x808080
mov dword [esp + 0x108], ecx
mov dword [esp + 0x6c], eax
lea ecx, [esp + 0xd0]
mov eax, edx
or eax, 0xffff
mov dword [esp + 0xf4], eax
mov eax, edx
or eax, 0xff00
mov dword [esp + 0xf8], eax
mov eax, edx
or eax, 0xffff00
mov dword [esp + 0xfc], eax
mov eax, edx
or eax, 0xff0000
mov dword [esp + 0x100], eax
mov eax, edx
or eax, 0xff00ff
lea edx, [esp + 0xd4]
mov dword [esp + 0x104], eax
lea eax, [esp + 0xd8]
push eax
call fcn.10019da0
movss xmm3, dword [esp + 0xd4]
xorps xmm0, xmm0
movss xmm2, dword [0x10094518]
add esp, 4
comiss xmm0, xmm3
jbe 0x1004a97c
xorps xmm1, xmm1
jmp 0x1004a983
movaps xmm1, xmm2
minss xmm1, xmm3
movss xmm3, dword [0x100945a8]
movss xmm4, dword [0x100944e0]
movss xmm5, dword [esp + 0xd4]
comiss xmm0, xmm5
mulss xmm1, xmm3
addss xmm1, xmm4
cvttss2si ecx, xmm1
jbe 0x1004a9b2
xorps xmm1, xmm1
jmp 0x1004a9b9
movaps xmm1, xmm2
minss xmm1, xmm5
movss xmm5, dword [esp + 0xd8]
mulss xmm1, xmm3
addss xmm1, xmm4
cvttss2si eax, xmm1
shl eax, 8
or ecx, eax
comiss xmm0, xmm5
jbe 0x1004a9dd
xorps xmm1, xmm1
jmp 0x1004a9e4
movaps xmm1, xmm2
minss xmm1, xmm5
movss xmm5, dword [esp + 0xdc]
mulss xmm1, xmm3
addss xmm1, xmm4
cvttss2si eax, xmm1
shl eax, 0x10
or ecx, eax
comiss xmm0, xmm5
jbe 0x1004aa08
xorps xmm1, xmm1
jmp 0x1004aa0f
movaps xmm1, xmm2
minss xmm1, xmm5
movss xmm5, dword [esp + 0x84]
mulss xmm1, xmm3
addss xmm1, xmm4
cvttss2si eax, xmm1
shl eax, 0x18
or eax, ecx
comiss xmm0, xmm5
mov dword [esp + 0x74], eax
jbe 0x1004aa37
xorps xmm1, xmm1
jmp 0x1004aa3e
movaps xmm1, xmm2
minss xmm1, xmm5
movss xmm5, dword [esp + 0x5c]
comiss xmm0, xmm5
mulss xmm1, xmm3
addss xmm1, xmm4
cvttss2si ecx, xmm1
jbe 0x1004aa5a
xorps xmm1, xmm1
jmp 0x1004aa61
movaps xmm1, xmm2
minss xmm1, xmm5
movss xmm5, dword [esp + 0x70]
mulss xmm1, xmm3
addss xmm1, xmm4
cvttss2si eax, xmm1
shl eax, 8
or ecx, eax
comiss xmm0, xmm5
jbe 0x1004aa82
xorps xmm1, xmm1
jmp 0x1004aa89
movaps xmm1, xmm2
minss xmm1, xmm5
mulss xmm1, xmm3
addss xmm1, xmm4
cvttss2si eax, xmm1
shl eax, 0x10
or ecx, eax
mov eax, dword [esp + 0x14]
movss xmm5, dword [eax + 0x1518]
comiss xmm0, xmm5
jbe 0x1004aab0
xorps xmm1, xmm1
jmp 0x1004aab7
movaps xmm1, xmm2
minss xmm1, xmm5
mov eax, dword [esp + 0xc]
mulss xmm1, xmm3
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 0
addss xmm1, xmm4
cvttss2si edx, xmm1
shl edx, 0x18
or edx, ecx
mov dword [esp + 0x70], edx
test eax, 0x4000000
je 0x1004b30a
movss xmm0, dword [esp + 0x9c]
movaps xmm3, xmm4
movss xmm5, dword [esp + 0x78]
mov eax, 0x2aaaaaab
divss xmm3, xmm0
mov edi, dword [esp + 0x44]
addss xmm5, xmm0
cvttss2si ecx, xmm0
mulss xmm5, xmm4
imul ecx
movss dword [esp + 0xb0], xmm3
movss dword [esp + 0xc0], xmm5
mov eax, 4
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp ecx, eax
cmovle ecx, eax
xor eax, eax
mov dword [esp + 0x50], ecx
mov dword [esp + 0x48], eax
nop word [eax + eax]
movd xmm1, eax
lea eax, [esp + 0xe0]
cvtdq2ps xmm1, xmm1
mov esi, dword [edi + 0x18]
push ecx
push ecx
mov ecx, edi
movaps xmm0, xmm1
addss xmm1, xmm2
divss xmm0, dword [0x10094574]
divss xmm1, dword [0x10094574]
addss xmm0, xmm0
movaps xmm2, xmm5
addss xmm1, xmm1
mulss xmm0, dword [0x10094560]
mulss xmm1, dword [0x10094560]
subss xmm0, xmm3
addss xmm1, xmm3
movaps xmm3, xmm0
movss dword [esp + 0x20], xmm0
movss dword [esp], xmm1
push eax
movss dword [esp + 0x68], xmm1
call fcn.10035130
movss xmm0, dword [esp + 0x7c]
push ecx
movss dword [esp], xmm0
mov ecx, edi
push 0
push dword [esp + 0x68]
push dword [edi + 0x58]
push dword [edi + 0x60]
call fcn.10034110
movss xmm0, dword [esp + 0x18]
cvtps2pd xmm0, xmm0
mov dword [edi + 0x58], 0
call fcn.1007b690
movss xmm1, dword [esp + 0x18]
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [esp + 0x78]
addss xmm0, dword [esp + 0xac]
movss dword [esp + 0x90], xmm0
cvtps2pd xmm0, xmm1
call fcn.1007c3a0
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [esp + 0x78]
addss xmm0, dword [esp + 0xb4]
movss dword [esp + 0x8c], xmm0
movss xmm0, dword [esp + 0x5c]
cvtps2pd xmm0, xmm0
call fcn.1007b690
movss xmm1, dword [esp + 0x5c]
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [esp + 0x78]
addss xmm0, dword [esp + 0xac]
movss dword [esp + 0x64], xmm0
cvtps2pd xmm0, xmm1
call fcn.1007c3a0
movss xmm3, dword [esp + 0x64]
xorps xmm4, xmm4
movss xmm5, dword [esp + 0x90]
movss xmm6, dword [esp + 0x8c]
subss xmm3, xmm5
cvtsd2ss xmm4, xmm0
mov edx, dword [esp + 0x48]
mov ecx, dword [edi + 0x20]
movss xmm2, dword [0x10094518]
movaps xmm0, xmm3
mulss xmm4, dword [esp + 0x78]
movaps xmm7, xmm2
mov eax, dword [esp + edx*4 + 0xf4]
mov edx, dword [esp + edx*4 + 0xf0]
mulss xmm0, xmm3
mov dword [esp + 0x18], eax
addss xmm4, dword [esp + 0xb4]
mov eax, dword [edi + 0x18]
subss xmm4, xmm6
movaps xmm1, xmm4
mulss xmm1, xmm4
addss xmm1, xmm0
divss xmm7, xmm1
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mov dword [esp + 0x84], eax
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
mov dword [esp + 0x3c], eax
cmp eax, dword [esp + 0x84]
jae 0x1004ae32
movzx eax, dl
mov dword [esp + 0x5c], eax
mov eax, edx
shr eax, 8
movzx esi, al
mov eax, dword [esp + 0x18]
shr eax, 0x10
movzx ecx, al
mov eax, dword [esp + 0x18]
shr edx, 0x10
movzx edx, dl
shr eax, 8
sub ecx, edx
mov dword [esp + 0x88], edx
movzx edx, al
mov eax, dword [esp + 0x18]
sub edx, esi
movzx edi, al
sub edi, dword [esp + 0x5c]
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x64], esi
mov esi, dword [esp + 0x88]
nop dword [eax]
movss xmm0, dword [eax]
movss xmm1, dword [eax + 4]
subss xmm0, xmm5
subss xmm1, xmm6
mulss xmm0, xmm3
mulss xmm1, xmm4
addss xmm1, xmm0
xorps xmm0, xmm0
mulss xmm1, xmm7
comiss xmm0, xmm1
jbe 0x1004ad7e
xorps xmm2, xmm2
jmp 0x1004ad82
minss xmm2, xmm1
movd xmm1, ecx
movaps xmm0, xmm2
cvtdq2ps xmm1, xmm1
mulss xmm0, xmm1
movd xmm1, esi
cvtdq2ps xmm1, xmm1
mov esi, dword [esp + 0x3c]
addss xmm0, xmm1
movd xmm1, edx
cvtdq2ps xmm1, xmm1
cvttss2si eax, xmm0
movaps xmm0, xmm2
mulss xmm0, xmm1
shl eax, 8
movd xmm1, dword [esp + 0x64]
cvtdq2ps xmm1, xmm1
mov dword [esp + 0xc], eax
addss xmm0, xmm1
cvttss2si eax, xmm0
movd xmm0, edi
or dword [esp + 0xc], eax
shl dword [esp + 0xc], 8
cvtdq2ps xmm0, xmm0
mulss xmm2, xmm0
movd xmm0, dword [esp + 0x5c]
cvtdq2ps xmm0, xmm0
addss xmm2, xmm0
cvttss2si eax, xmm2
movss xmm2, dword [0x10094518]
or dword [esp + 0xc], eax
mov eax, dword [esp + 0x3c]
mov eax, dword [eax + 0x10]
and eax, 0xff000000
or dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
mov dword [esi + 0x10], eax
mov eax, esi
mov esi, dword [esp + 0x88]
add eax, 0x14
mov dword [esp + 0x3c], eax
cmp eax, dword [esp + 0x84]
jb 0x1004ad50
mov edi, dword [esp + 0x44]
mov eax, dword [esp + 0x48]
movss xmm5, dword [esp + 0xc0]
inc eax
movss xmm3, dword [esp + 0xb0]
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x48], eax
cmp eax, 6
jl 0x1004ab50
movss xmm0, dword [esp + 0x1c]
addss xmm0, xmm0
mulss xmm0, dword [0x10094560]
movss dword [esp + 0x1c], xmm0
cvtps2pd xmm0, xmm0
call fcn.1007b690
movss xmm1, dword [esp + 0x1c]
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x3c], xmm0
cvtps2pd xmm0, xmm1
call fcn.1007c3a0
cmp byte [esp + 0x13], 0
xorps xmm2, xmm2
movss xmm3, dword [esp + 0x78]
addss xmm3, dword [esp + 0x9c]
cvtsd2ss xmm2, xmm0
movss xmm0, dword [esp + 0x3c]
mulss xmm0, xmm3
movss xmm1, dword [esp + 0x7c]
movss dword [esp + 0x50], xmm2
mulss xmm0, dword [0x100944e0]
addss xmm0, dword [esp + 0xac]
movss dword [esp + 0x64], xmm0
movaps xmm0, xmm2
mulss xmm0, xmm3
mulss xmm0, dword [0x100944e0]
addss xmm0, dword [esp + 0xb4]
movss dword [esp + 0x68], xmm0
je 0x1004af04
mulss xmm1, dword [0x100944ec]
jmp 0x1004af0c
mulss xmm1, dword [0x100944e4]
movaps xmm0, xmm1
movss dword [esp + 0x7c], xmm1
divss xmm0, dword [0x10094528]
cvttss2si esi, xmm0
cmp esi, 9
jge 0x1004af2d
mov esi, 9
jmp 0x1004af37
mov eax, 0x20
cmp esi, eax
cmovg esi, eax
push esi
push dword [esp + 0x78]
lea eax, [esp + 0x6c]
movaps xmm2, xmm1
push eax
mov ecx, edi
call fcn.10035e10
movss xmm2, dword [esp + 0x7c]
lea eax, [esp + 0x64]
addss xmm2, dword [0x10094518]
push ecx
mov dword [esp], 0x3f800000
mov ecx, edi
push esi
push dword [esp + 0x74]
push eax
call fcn.10035cd0
movss xmm2, dword [esp + 0x7c]
lea eax, [esp + 0x64]
push ecx
mov dword [esp], 0x3f800000
mov ecx, edi
push esi
mov esi, dword [esp + 0x68]
push esi
push eax
call fcn.10035cd0
movss xmm3, dword [esp + 0x3c]
xorps xmm1, xmm1
movss xmm5, dword [esp + 0x50]
movaps xmm2, xmm3
mulss xmm2, dword [esp + 0x30]
movaps xmm0, xmm5
mov eax, dword [0x100a1be4]
mov ecx, edi
movss xmm6, dword [esp + 0xac]
movaps xmm4, xmm3
mulss xmm0, xmm1
push 6
movss xmm7, dword [esp + 0xb8]
mulss xmm4, dword [esp + 0xa8]
push 6
subss xmm2, xmm0
movaps xmm0, xmm3
mulss xmm0, xmm1
movaps xmm1, xmm5
mulss xmm1, dword [esp + 0xac]
addss xmm2, xmm6
movss dword [esp + 0x20], xmm2
movss dword [esp + 0xd8], xmm2
movaps xmm2, xmm5
mulss xmm2, dword [esp + 0x38]
addss xmm2, xmm0
movaps xmm0, xmm5
mulss xmm0, dword [esp + 0x88]
mulss xmm5, dword [esp + 0x9c]
addss xmm2, xmm7
movss dword [esp + 0x50], xmm2
movss dword [esp + 0xdc], xmm2
movaps xmm2, xmm4
subss xmm2, xmm0
movaps xmm0, xmm3
mulss xmm0, dword [esp + 0x88]
subss xmm4, xmm5
mulss xmm3, dword [esp + 0x9c]
addss xmm0, xmm1
addss xmm4, xmm6
addss xmm3, xmm1
addss xmm2, xmm6
addss xmm0, xmm7
movss dword [esp + 0xa4], xmm4
addss xmm3, xmm7
movss dword [esp + 0xe8], xmm4
movss dword [esp + 0x38], xmm2
movss dword [esp + 0x3c], xmm0
movss xmm0, dword [eax + 0x18d8]
movss dword [esp + 0x58], xmm0
movss xmm0, dword [eax + 0x18dc]
movss dword [esp + 0x44], xmm3
movss dword [esp + 0xec], xmm3
movss dword [esp + 0x6c], xmm0
call fcn.10033f10
mov ecx, dword [edi + 0x3c]
mov ax, word [edi + 0x34]
movss xmm2, dword [esp + 0x18]
movss xmm3, dword [esp + 0x48]
mov word [ecx], ax
mov eax, dword [edi + 0x38]
add dword [edi + 0x3c], 2
movss xmm0, dword [esp + 0x50]
movss xmm1, dword [esp + 0x64]
movss dword [eax], xmm2
movss dword [eax + 4], xmm3
mov eax, dword [edi + 0x38]
mov edx, dword [esp + 0x74]
movss xmm5, dword [esp + 0x30]
movss xmm4, dword [esp + 0x34]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [edi + 0x38]
movss xmm7, dword [esp + 0x9c]
movss xmm6, dword [esp + 0x3c]
mov dword [eax + 0x10], edx
add dword [edi + 0x38], 0x14
inc dword [edi + 0x34]
mov eax, dword [edi + 0x3c]
mov ecx, dword [edi + 0x34]
mov word [eax], cx
mov eax, dword [edi + 0x38]
add dword [edi + 0x3c], 2
movss dword [eax], xmm5
movss dword [eax + 4], xmm4
mov eax, dword [edi + 0x38]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [edi + 0x38]
mov dword [eax + 0x10], edx
add dword [edi + 0x38], 0x14
mov eax, dword [edi + 0x3c]
inc dword [edi + 0x34]
mov ecx, dword [edi + 0x34]
mov word [eax], cx
mov eax, dword [edi + 0x38]
add dword [edi + 0x3c], 2
movss dword [eax], xmm7
movss dword [eax + 4], xmm6
mov eax, dword [edi + 0x38]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [edi + 0x38]
mov dword [eax + 0x10], esi
add dword [edi + 0x38], 0x14
mov eax, dword [edi + 0x3c]
inc dword [edi + 0x34]
mov ecx, dword [edi + 0x34]
mov word [eax], cx
mov eax, dword [edi + 0x38]
add dword [edi + 0x3c], 2
movss dword [eax], xmm2
movss dword [eax + 4], xmm3
mov eax, dword [edi + 0x38]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [edi + 0x38]
mov dword [eax + 0x10], 0
mov eax, dword [edi + 0x3c]
add dword [edi + 0x38], 0x14
inc dword [edi + 0x34]
mov ecx, dword [edi + 0x34]
mov word [eax], cx
mov eax, dword [edi + 0x38]
add dword [edi + 0x3c], 2
mov ecx, dword [esp + 0xa0]
movss dword [eax], xmm5
movss dword [eax + 4], xmm4
mov eax, dword [edi + 0x38]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [edi + 0x38]
mov dword [eax + 0x10], ecx
add dword [edi + 0x38], 0x14
inc dword [edi + 0x34]
mov eax, dword [edi + 0x3c]
mov ecx, dword [edi + 0x34]
push ecx
mov dword [esp], 0x3fc00000
mov word [eax], cx
mov ecx, edi
mov eax, dword [edi + 0x38]
add dword [edi + 0x3c], 2
push dword [esp + 0x70]
movss dword [eax], xmm7
movss dword [eax + 4], xmm6
mov eax, dword [edi + 0x38]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [edi + 0x38]
mov dword [eax + 0x10], 0
lea eax, [esp + 0xe8]
add dword [edi + 0x38], 0x14
inc dword [edi + 0x34]
push eax
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0xe0]
push eax
call fcn.10035aa0
movss xmm1, dword [0x10094518]
xorps xmm0, xmm0
movaps xmm2, xmm1
subss xmm2, dword [esp + 0x4c]
comiss xmm0, xmm2
jbe 0x1004b27e
xorps xmm5, xmm5
jmp 0x1004b285
movaps xmm5, xmm1
minss xmm5, xmm2
movss xmm2, dword [esp + 0x40]
comiss xmm0, xmm2
jbe 0x1004b295
xorps xmm4, xmm4
jmp 0x1004b29c
movaps xmm4, xmm1
minss xmm4, xmm2
movss xmm1, dword [esp + 0x18]
subss xmm1, dword [esp + 0x9c]
movss xmm3, dword [esp + 0x30]
movss xmm2, dword [esp + 0x34]
mov esi, dword [esp + 0xa8]
mulss xmm1, xmm4
addss xmm1, dword [esp + 0x9c]
subss xmm3, xmm1
mulss xmm3, xmm5
addss xmm3, xmm1
movss xmm1, dword [esp + 0x48]
subss xmm1, dword [esp + 0x3c]
movss dword [esp + 0x20], xmm3
mulss xmm1, xmm4
addss xmm1, dword [esp + 0x3c]
subss xmm2, xmm1
mulss xmm2, xmm5
addss xmm2, xmm1
movss dword [esp + 0x24], xmm2
jmp 0x1004b654
test eax, 0x2000000
je 0x1004b65f
movss xmm1, dword [esp + 0x50]
movss xmm2, dword [esp + 0x2c]
movaps xmm0, xmm1
mov eax, dword [esp + 0x60]
addss xmm0, xmm2
mov ecx, dword [esp + 0x74]
addss xmm1, xmm2
push eax
push ecx
push ecx
mov ecx, dword [esp + 0x50]
movss dword [esp + 0x3c], xmm0
movss xmm0, dword [esp + 0x44]
push eax
addss xmm0, xmm2
movss dword [esp + 0x28], xmm1
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x64]
push eax
movss dword [esp + 0x4c], xmm0
call fcn.10035920
mov ecx, dword [esp + 0xa0]
lea eax, [esp + 0xe0]
movss xmm0, dword [esp + 0x18]
push ecx
push ecx
mov ecx, dword [esp + 0x4c]
push 0
push 0
push eax
movss dword [esp + 0xf4], xmm0
lea eax, [esp + 0x64]
movss xmm0, dword [esp + 0x48]
push eax
movss dword [esp + 0xfc], xmm0
call fcn.10035920
movss xmm0, dword [esp + 0x18]
movss dword [esp + 0x64], xmm0
movss xmm0, dword [esp + 0x34]
movss dword [esp + 0x68], xmm0
xorps xmm0, xmm0
push dword [esp + 0x68]
push dword [esp + 0x68]
push dword [esp + 0x5c]
push dword [esp + 0x5c]
call fcn.1001b040
movss xmm2, dword [esp + 0x50]
xorps xmm0, xmm0
movss xmm1, dword [0x10094518]
add esp, 0x10
comiss xmm0, xmm2
jbe 0x1004b3f6
xorps xmm3, xmm3
jmp 0x1004b3fd
movaps xmm3, xmm1
minss xmm3, xmm2
movss xmm5, dword [esp + 0x2c]
movss xmm6, dword [esp + 0x50]
movss xmm4, dword [0x100944e0]
movaps xmm2, xmm6
mulss xmm3, xmm5
movss xmm7, dword [0x10094544]
addss xmm2, xmm7
addss xmm3, xmm6
addss xmm6, xmm5
addss xmm3, xmm4
subss xmm6, xmm7
cvttss2si eax, xmm3
movd xmm3, eax
cvtdq2ps xmm3, xmm3
comiss xmm2, xmm3
jbe 0x1004b44c
movss dword [esp + 0x20], xmm2
jmp 0x1004b45f
comiss xmm3, xmm6
jbe 0x1004b459
movss dword [esp + 0x20], xmm6
jmp 0x1004b45f
movss dword [esp + 0x20], xmm3
movaps xmm2, xmm1
subss xmm2, dword [esp + 0x4c]
comiss xmm0, xmm2
jbe 0x1004b472
xorps xmm1, xmm1
jmp 0x1004b476
minss xmm1, xmm2
movss xmm2, dword [esp + 0x38]
mulss xmm1, xmm5
movss xmm0, dword [esp + 0x34]
subss xmm0, xmm7
addss xmm1, xmm2
addss xmm1, xmm4
cvttss2si eax, xmm1
movaps xmm1, xmm2
addss xmm1, xmm7
movd xmm3, eax
cvtdq2ps xmm3, xmm3
comiss xmm1, xmm3
jbe 0x1004b4b1
movss dword [esp + 0x24], xmm1
jmp 0x1004b4c4
comiss xmm3, xmm0
jbe 0x1004b4be
movss dword [esp + 0x24], xmm0
jmp 0x1004b4c4
movss dword [esp + 0x24], xmm3
movss xmm3, dword [esp + 0x3c]
movaps xmm1, xmm5
divss xmm1, dword [0x10094574]
mov esi, dword [esp + 0x44]
xor ecx, ecx
movaps xmm0, xmm3
movss dword [esp + 0xd0], xmm3
addss xmm0, dword [esp + 0x58]
movss dword [esp + 0x50], xmm1
movss dword [esp + 0xe0], xmm0
nop dword [eax]
mov eax, dword [esp + ecx*4 + 0xf4]
lea edi, [ecx + 1]
movd xmm0, edi
cvtdq2ps xmm0, xmm0
push eax
push eax
lea eax, [esp + 0xe8]
mulss xmm0, xmm1
addss xmm0, xmm2
movss dword [esp + 0xec], xmm0
movd xmm0, ecx
mov ecx, dword [esp + ecx*4 + 0xf8]
cvtdq2ps xmm0, xmm0
push ecx
push ecx
push eax
lea eax, [esp + 0xe4]
mov ecx, esi
push eax
mulss xmm0, xmm1
addss xmm0, xmm2
movss dword [esp + 0xec], xmm0
call fcn.10035920
movss xmm1, dword [esp + 0x50]
mov ecx, edi
movss xmm2, dword [esp + 0x38]
cmp ecx, 6
jl 0x1004b500
movss xmm3, dword [esp + 0x3c]
movaps xmm0, xmm2
addss xmm0, dword [esp + 0x2c]
movaps xmm1, xmm3
movss dword [esp + 0x54], xmm2
addss xmm1, dword [esp + 0x58]
movss dword [esp + 0x50], xmm3
movss dword [esp + 0x34], xmm0
xorps xmm0, xmm0
push dword [esp + 0x34]
movss dword [esp + 0x34], xmm1
push dword [esp + 0x34]
push dword [esp + 0x5c]
push dword [esp + 0x5c]
call fcn.1001b040
mov esi, dword [esp + 0xb8]
movss xmm1, dword [esp + 0x68]
addss xmm1, dword [0x10094544]
mov ecx, dword [esp + 0x54]
movd xmm2, esi
cvtdq2ps xmm2, xmm2
movaps xmm0, xmm2
movss dword [esp + 0x44], xmm2
addss xmm0, dword [0x10094518]
movss xmm2, dword [esp + 0x4c]
push dword [esp + 0x44]
subss xmm2, dword [0x10094518]
movss dword [esp + 0x44], xmm0
movss xmm0, dword [esp + 0x30]
mulss xmm0, dword [esp + 0x40]
push dword [esp + 0x44]
movss dword [esp + 0x68], xmm2
addss xmm0, dword [esp + 0x50]
addss xmm0, dword [0x100944e0]
cvttss2si eax, xmm0
movd xmm0, eax
mov eax, dword [esp + 0x2c]
cvtdq2ps xmm0, xmm0
movss xmm2, dword [eax + 0x1518]
movss dword [esp + 0x6c], xmm0
push dword [esp + 0x6c]
push dword [esp + 0x6c]
call fcn.10049130
add esp, 0x20
xorps xmm0, xmm0
mov edx, dword [esp + 0x70]
mov edi, dword [esp + 0xbc]
cmp byte [esp + 0x12], 0
je 0x1004b679
movss xmm1, dword [0x10094580]
movss dword [esp + 0xc4], xmm1
jmp 0x1004b681
movss xmm1, dword [0x10094574]
test edx, 0xff000000
je 0x1004b6c5
comiss xmm0, xmm1
jae 0x1004b6c5
mov ecx, dword [esp + 0x44]
lea eax, [esp + 0x20]
push 0xc
push 0
push eax
movaps xmm2, xmm1
call fcn.10034ff0
mov eax, dword [esp + 0x44]
mov ecx, eax
push dword [esp + 0x70]
push dword [eax + 0x58]
push dword [eax + 0x60]
call fcn.10034c20
mov eax, dword [esp + 0x44]
mov dword [eax + 0x58], 0
jmp 0x1004b6c9
mov eax, dword [esp + 0x44]
test dword [esp + 0x6c], 0xff000000
xorps xmm0, xmm0
movss xmm1, dword [esp + 0xc4]
movaps xmm2, xmm1
addss xmm2, dword [0x10094518]
je 0x1004b73d
comiss xmm0, xmm2
jae 0x1004b73d
subss xmm2, dword [0x100944e0]
push 0xc
push 0
lea ecx, [esp + 0x28]
push ecx
mov ecx, eax
call fcn.10034ff0
mov eax, dword [esp + 0x44]
push ecx
mov dword [esp], 0x3f800000
mov ecx, eax
push 1
push dword [esp + 0x74]
push dword [eax + 0x58]
push dword [eax + 0x60]
call fcn.10034110
mov eax, dword [esp + 0x44]
xorps xmm0, xmm0
movss xmm1, dword [esp + 0xc4]
mov dword [eax + 0x58], 0
test dword [esp + 0x60], 0xff000000
je 0x1004b791
comiss xmm0, xmm1
jae 0x1004b791
subss xmm1, dword [0x100944e0]
push 0xc
push 0
lea ecx, [esp + 0x28]
push ecx
movaps xmm2, xmm1
mov ecx, eax
call fcn.10034ff0
mov eax, dword [esp + 0x44]
push ecx
mov dword [esp], 0x3f800000
mov ecx, eax
push 1
push dword [esp + 0x68]
push dword [eax + 0x58]
push dword [eax + 0x60]
call fcn.10034110
mov eax, dword [esp + 0x44]
mov dword [eax + 0x58], 0
cmp dword [esp + 0xc8], 0x10000
jne 0x1004b945
movss xmm2, dword [edi + 0xc]
xorps xmm1, xmm1
comiss xmm1, xmm2
jbe 0x1004b7ba
movss dword [esp + 0xa8], xmm1
jmp 0x1004b7cf
movss xmm0, dword [0x10094518]
minss xmm0, xmm2
movss dword [esp + 0xa8], xmm0
movss xmm3, dword [esp + 0xb8]
xor edx, edx
movss xmm0, dword [esp + 0x38]
movaps xmm2, xmm3
addss xmm2, dword [esp + 0x58]
movss dword [esp + 0xe4], xmm0
mov ecx, eax
addss xmm0, dword [esp + 0x2c]
mov dword [esp + 0x34], 0
push dword [esp + 0x34]
mov dword [esp + 0x34], 0
push dword [esp + 0x34]
movss dword [esp + 0xf0], xmm2
subss xmm2, xmm3
movss dword [esp + 0xf4], xmm0
push dword [esp + 0xf4]
movss dword [esp + 0xec], xmm3
xorps xmm3, xmm3
push dword [esp + 0xf4]
mov edi, dword [esp + 0xf0]
push dword [esp + 0xf4]
mulss xmm2, dword [0x100944e0]
push edi
push 0xffffffffffffffff
call fcn.1003ac00
mov ecx, dword [esp + 0x8c]
add esp, 0x1c
mov eax, ecx
and eax, 0xffffff
push eax
push eax
push ecx
push ecx
mov ecx, dword [esp + 0x54]
lea eax, [esp + 0xf8]
push eax
lea eax, [esp + 0xf4]
push eax
call fcn.10035920
push dword [esp + 0xec]
xorps xmm0, xmm0
push dword [esp + 0xec]
push dword [esp + 0xec]
push edi
call fcn.1001b040
movss xmm1, dword [0x10094518]
movd xmm2, esi
cvtdq2ps xmm2, xmm2
mov ecx, dword [esp + 0x54]
movaps xmm0, xmm2
movss dword [esp + 0x44], xmm2
movss xmm2, dword [esp + 0xc8]
addss xmm0, xmm1
subss xmm2, xmm1
subss xmm1, dword [esp + 0xb8]
push dword [esp + 0x44]
movss dword [esp + 0x44], xmm0
push dword [esp + 0x44]
mulss xmm1, dword [esp + 0x44]
movss dword [esp + 0x38], xmm2
addss xmm1, dword [esp + 0x50]
addss xmm1, dword [0x100944e0]
cvttss2si eax, xmm1
movss xmm1, dword [esp + 0x70]
addss xmm1, dword [0x10094544]
movd xmm0, eax
mov eax, dword [esp + 0x2c]
cvtdq2ps xmm0, xmm0
movss xmm2, dword [eax + 0x1518]
movss dword [esp + 0x3c], xmm0
push dword [esp + 0x3c]
push dword [esp + 0x3c]
call fcn.10049130
add esp, 0x20
call fcn.10025900
cmp byte [esp + 0xb], 0
je 0x1004ba23
mov ecx, dword [esp + 0xbc]
lea esi, [esp + 0x10c]
xor edx, edx
cmp dword [esp + 0x98], edx
sete dl
lea edx, [edx*4 + 0xc]
sub edx, 4
jb 0x1004b991
nop dword [eax + eax]
mov eax, dword [esi]
cmp eax, dword [ecx]
jne 0x1004b99a
add esi, 4
add ecx, 4
sub edx, 4
jae 0x1004b980
cmp edx, 0xfffffffc
je 0x1004ba1e
mov al, byte [esi]
cmp al, byte [ecx]
jne 0x1004b9c7
cmp edx, 0xfffffffd
je 0x1004ba1e
mov al, byte [esi + 1]
cmp al, byte [ecx + 1]
jne 0x1004b9c7
cmp edx, 0xfffffffe
je 0x1004ba1e
mov al, byte [esi + 2]
cmp al, byte [ecx + 2]
jne 0x1004b9c7
cmp edx, 0xffffffff
je 0x1004ba1e
mov al, byte [esi + 3]
cmp al, byte [ecx + 3]
je 0x1004ba1e
mov esi, dword [0x100a1be4]
mov ecx, dword [esp + 0xcc]
mov eax, dword [esi + 0x1a34]
cmp eax, dword [ecx + 0x10c]
je 0x1004ba06
test eax, eax
je 0x1004ba06
cmp byte [esi + 0x1d90], 0
jne 0x1004ba06
push 0xbda
push str.D:MGREffectEditorEffectEditorimguiimgui.cpp
push str.g.ActiveId__id__g.ActiveId__0__g.DragDropActive
call fcn.100679c3
add esp, 0xc
mov eax, dword [esi + 0x1a00]
mov word [esi + 0x1a43], 0x101
or dword [eax + 0x110], 4
jmp 0x1004ba23
mov byte [esp + 0xb], 0
mov eax, dword [0x100a1be4]
mov esi, dword [eax + 0x1a00]
cmp dword [esi + 0xbc], 0
jg 0x1004ba4e
push 0x539
push str.D:MGREffectEditorEffectEditorimguiimgui.h
push str.Size___0
call fcn.100679c3
add esp, 0xc
dec dword [esi + 0xbc]
mov ecx, dword [esp + 0x11c]
mov al, byte [esp + 0xb]
pop edi
pop esi
xor ecx, esp
call fcn.10054d47
mov esp, ebp
pop ebp
ret