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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x120
mov eax, dword [0x10103040]
xor eax, esp
mov dword [esp + 0x11c], eax
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
mov dword [esp + 0x70], ecx
mov ecx, 0x10175a17
push edi
mov dword [esp + 0x28], edx
mov dword [esp + 0x6c], eax
call fcn.100b6430
mov ecx, dword [0x1010713c]
mov dword [esp + 0xc], ecx
mov eax, dword [ecx + 0x199c]
mov byte [eax + 0x7c], 1
mov eax, dword [ecx + 0x199c]
mov ecx, dword [esp + 0x74]
mov dword [esp + 0xc0], eax
mov edi, dword [eax + 0x274]
mov dword [esp + 0x80], edi
call fcn.1004e3c0
call fcn.1004e840
mov edx, esi
or edx, 0x10
test esi, 0x100
cmovne edx, esi
mov dword [esp + 0x78], edx
test dl, 8
jne 0x100853b8
mov ecx, dword [esp + 0x28]
call fcn.100884b0
mov edx, dword [esp + 0x78]
mov esi, dword [esp + 0xc]
test edx, 0x6000000
jne 0x100853e1
mov eax, dword [esi + 0x2c00]
mov ecx, 0x2900000
test eax, 0x6000000
cmovne ecx, eax
and ecx, 0x6000000
or ecx, edx
jmp 0x100853e3
mov ecx, edx
mov edx, ecx
mov dword [esp + 0x18], ecx
and edx, 0x6000000
je 0x100853f8
lea eax, [edx - 1]
test edx, eax
je 0x10085414
push 0x1049
push 0x100f6840
push str.ImIsPowerOfTwo__int__flags__ImGuiColorEditFlags__PickerMask__
call dword [sym.imp.ucrtbased.dll__wassert]
mov ecx, dword [esp + 0x24]
add esp, 0xc
test cl, 8
jne 0x1008542a
mov eax, dword [esi + 0x2c00]
and eax, 0x10000
or ecx, eax
mov dword [esp + 0x18], ecx
mov eax, ecx
mov edx, ecx
and eax, 2
and edx, 0x10002
mov dword [esp + 0xbc], eax
mov eax, dword [esp + 0xc0]
mov dword [esp + 0xb0], edx
movss xmm0, dword [eax + 0xcc]
movss xmm4, dword [eax + 0xc8]
mov eax, dword [0x1010713c]
movss dword [esp + 0x20], xmm0
movss dword [esp + 0x5c], xmm0
xorps xmm0, xmm0
movss dword [esp + 0x58], xmm4
movss xmm5, dword [eax + 0x1538]
addss xmm5, xmm5
addss xmm5, dword [eax + 0x18bc]
mov eax, dword [eax + 0x199c]
mov dword [esp + 0x78], eax
movss xmm2, dword [eax + 0x16c]
comiss xmm0, xmm2
movss dword [esp + 0x54], xmm5
movss dword [esp + 0x38], xmm2
jbe 0x10085521
movss xmm1, dword [eax + 0xc8]
subss xmm1, dword [eax + 0xc]
mov ecx, dword [eax + 0x1bc]
movss dword [esp + 0xa8], xmm1
movss xmm1, dword [eax + 0x214]
subss xmm1, dword [eax + 0xc]
test ecx, ecx
je 0x10085508
mov ecx, dword [ecx + 0xc]
inc ecx
call fcn.10054220
mov eax, dword [esp + 0x78]
movaps xmm1, xmm0
movss xmm2, dword [esp + 0x38]
movss xmm4, dword [esp + 0x58]
movss xmm5, dword [esp + 0x54]
subss xmm1, dword [eax + 0x3c]
mov edx, dword [esp + 0xb0]
subss xmm1, dword [esp + 0xa8]
addss xmm1, xmm2
movss xmm2, dword [0x100fabf8]
maxss xmm2, xmm1
movss xmm3, dword [esi + 0x154c]
cvttss2si eax, xmm2
movaps xmm0, xmm3
addss xmm0, xmm5
movd xmm2, eax
xor eax, eax
cmp edx, 0x10000
cvtdq2ps xmm2, xmm2
sete al
inc eax
movd xmm1, eax
xor eax, eax
cvtdq2ps xmm1, xmm1
cmp dword [esp + 0xbc], eax
sete al
mulss xmm1, xmm0
movaps xmm0, xmm5
lea eax, [eax*4 + 0xc]
push eax
push dword [esp + 0x2c]
subss xmm2, xmm1
movaps xmm1, xmm4
lea eax, [esp + 0x11c]
push eax
maxss xmm0, xmm2
addss xmm1, xmm0
movss dword [esp + 0x30], xmm0
addss xmm1, xmm3
movaps xmm0, xmm1
movss dword [esp + 0x7c], xmm1
addss xmm0, xmm5
addss xmm0, xmm3
movss dword [esp + 0xc0], xmm0
movaps xmm0, xmm5
mulss xmm0, dword [0x100fab98]
cvttss2si esi, xmm0
mov dword [esp + 0x84], esi
call sub.VCRUNTIME140D.dll_memcpy
movss xmm5, dword [esp + 0x30]
add esp, 0xc
movss xmm6, dword [esp + 0x54]
movaps xmm3, xmm5
mulss xmm3, dword [0x100fabb8]
movaps xmm0, xmm5
mov dword [esp + 0x34], 0
mulss xmm0, dword [0x100fab70]
movaps xmm1, xmm3
movss dword [esp + 0x2c], xmm3
subss xmm1, xmm0
movss dword [esp + 0x90], xmm0
movaps xmm0, xmm5
addss xmm0, xmm6
movss dword [esp + 0x8c], xmm1
mulss xmm0, dword [0x100fabb8]
addss xmm0, dword [esp + 0x58]
movss dword [esp + 0x98], xmm0
movss dword [esp + 0xf4], xmm0
movaps xmm0, xmm3
addss xmm0, dword [esp + 0x20]
movss dword [esp + 0x94], xmm0
movss dword [esp + 0xf8], xmm0
movaps xmm0, xmm5
mulss xmm0, dword [0x100fab54]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subss xmm1, xmm0
movaps xmm0, xmm1
movss dword [esp + 0x30], xmm1
mulss xmm0, dword [0x100fadb8]
movaps xmm2, xmm1
mulss xmm2, dword [0x100fadc4]
movss dword [esp + 0xa4], xmm0
movss dword [esp + 0x40], xmm0
movss dword [esp + 0x104], xmm0
movaps xmm0, xmm1
mulss xmm0, dword [0x100fabe8]
movss dword [esp + 0xb8], xmm2
movss dword [esp + 0x44], xmm2
movss dword [esp + 0xac], xmm0
movss dword [esp + 0x108], xmm0
mov eax, dword [esp + 0x28]
xorps xmm4, xmm4
movss xmm1, dword [eax + 4]
movss xmm3, dword [eax + 8]
comiss xmm3, xmm1
movss xmm7, dword [eax]
movss dword [esp + 0x7c], xmm7
jbe 0x100856fc
movss xmm4, dword [0x100fadc8]
movaps xmm0, xmm1
movaps xmm1, xmm3
movaps xmm3, xmm0
comiss xmm1, xmm7
jbe 0x1008571f
movaps xmm0, xmm7
movss dword [esp + 0x7c], xmm1
movaps xmm7, xmm1
movaps xmm1, xmm0
movss xmm0, dword [0x100fadb4]
subss xmm0, xmm4
movaps xmm4, xmm0
movaps xmm0, xmm1
mov ecx, dword [0x1010713c]
minss xmm0, xmm3
mov byte [esp + 0xb], 0
movaps xmm2, xmm7
mov byte [esp + 0x1f], 0
subss xmm1, xmm3
mov byte [esp + 0x13], 0
movss xmm3, dword [0x100facb8]
mov eax, dword [ecx + 0x199c]
subss xmm2, xmm0
movss dword [esp + 0xa8], xmm3
mov byte [eax + 0x7c], 1
mov ecx, dword [ecx + 0x199c]
movaps xmm0, xmm2
mov dword [esp + 0x14], ecx
mulss xmm0, xmm3
or dword [ecx + 0x168], 8
add ecx, 0x174
mov dword [esp + 0x9c], ecx
addss xmm0, dword [0x100fab0c]
mov eax, dword [ecx + 4]
mov edx, dword [ecx]
divss xmm1, xmm0
movaps xmm0, xmm7
addss xmm1, xmm4
addss xmm0, dword [0x100fab0c]
andps xmm1, xmmword [0x100fb000]
movss dword [esp + 0x3c], xmm1
divss xmm2, xmm0
movss dword [esp + 0x68], xmm2
cmp edx, eax
jne 0x100857fb
inc edx
mov dword [esp + 0x38], edx
test eax, eax
je 0x100857d8
cdq
sub eax, edx
mov edx, dword [esp + 0x38]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x100857dd
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.1005cdf0
movss xmm5, dword [esp + 0x24]
movss xmm6, dword [esp + 0x54]
mov ecx, dword [esp + 0x9c]
mov edx, dword [ecx]
mov eax, dword [esp + 0x14]
mov ecx, dword [ecx + 8]
mov eax, dword [eax + 0x168]
mov dword [ecx + edx*4], eax
mov eax, dword [esp + 0x14]
inc dword [eax + 0x174]
mov eax, dword [esp + 0x18]
test eax, 0x4000000
je 0x10085d8b
mov eax, dword [esp + 0xc]
lea edx, [esp + 0xe0]
movaps xmm0, xmm5
movss dword [esp + 0xe4], xmm5
mov ecx, 0x100f7bc0
addss xmm0, dword [eax + 0x154c]
addss xmm0, xmm6
movss dword [esp + 0xe0], xmm0
call fcn.10076a20
mov eax, dword [0x1010713c]
mov ecx, dword [eax + 0x19bc]
test ecx, ecx
je 0x10085c8a
mov eax, dword [eax + 0x199c]
cmp ecx, dword [eax + 0x10c]
jne 0x10085c8a
mov eax, dword [esp + 0xc]
movss xmm0, dword [eax + 0x384]
subss xmm0, dword [esp + 0x94]
movss xmm1, dword [eax + 0x380]
subss xmm1, dword [esp + 0x98]
movss xmm2, dword [eax + 0xe0]
movss xmm3, dword [eax + 0xe4]
subss xmm2, dword [esp + 0x98]
subss xmm3, dword [esp + 0x94]
movaps xmm4, xmm0
movss dword [esp + 0xa0], xmm0
mulss xmm4, xmm0
movaps xmm0, xmm1
mulss xmm0, xmm1
movss dword [esp + 0x9c], xmm1
movss xmm1, dword [0x100fabf8]
addss xmm4, xmm0
movss dword [esp + 0x14], xmm2
movss xmm0, dword [esp + 0x8c]
subss xmm0, xmm1
movss dword [esp + 0x84], xmm3
mulss xmm0, xmm0
comiss xmm4, xmm0
jb 0x100859a8
movss xmm0, dword [esp + 0x2c]
addss xmm0, xmm1
mulss xmm0, xmm0
comiss xmm0, xmm4
jb 0x100859a8
cvtps2pd xmm0, xmm3
movsd qword [esp + 0xe0], xmm0
fld qword [esp + 0xe0]
cvtps2pd xmm0, xmm2
movsd qword [esp + 0xe0], xmm0
fld qword [esp + 0xe0]
call sub.ucrtbased.dll__CIatan2
movss xmm2, dword [0x100fac88]
xorps xmm0, xmm0
fstp qword [esp + 0xe0]
movsd xmm1, qword [esp + 0xe0]
cvtpd2ps xmm1, xmm1
divss xmm1, xmm2
mulss xmm1, dword [0x100fabb8]
comiss xmm0, xmm1
movss dword [esp + 0x3c], xmm1
jbe 0x100859a0
addss xmm1, dword [0x100fabf8]
movss dword [esp + 0x3c], xmm1
mov al, 1
mov byte [esp + 0xb], al
jmp 0x100859ba
mov al, byte [esp + 0xb]
movss xmm2, dword [0x100fac88]
movss xmm1, dword [esp + 0x3c]
movaps xmm0, xmm1
mov byte [esp + 0x1f], al
xorps xmm0, xmmword [0x100fb030]
addss xmm0, xmm0
mulss xmm0, xmm2
cvtss2sd xmm0, xmm0
movsd qword [esp + 0xe0], xmm0
call sub.ucrtbased.dll__libm_sse2_cos_precise
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x38], xmm0
movsd xmm0, qword [esp + 0xe0]
call sub.ucrtbased.dll__libm_sse2_sin_precise
movss xmm4, dword [esp + 0x9c]
xorps xmm2, xmm2
movss xmm1, dword [esp + 0xa0]
movaps xmm6, xmm4
movss xmm7, dword [esp + 0x38]
movss xmm5, dword [esp + 0xa4]
cvtsd2ss xmm2, xmm0
movaps xmm0, xmm1
mulss xmm6, xmm7
mulss xmm0, xmm2
mulss xmm4, xmm2
mulss xmm1, xmm7
subss xmm6, xmm0
movss dword [esp + 0x60], xmm2
movaps xmm0, xmm5
movss xmm2, dword [esp + 0xb8]
subss xmm0, xmm5
subss xmm2, dword [esp + 0xac]
addss xmm4, xmm1
movaps xmm3, xmm6
subss xmm3, xmm5
xorps xmm5, xmm5
movaps xmm1, xmm4
subss xmm1, dword [esp + 0xac]
mulss xmm2, xmm3
mulss xmm1, xmm0
subss xmm2, xmm1
movaps xmm1, xmm4
subss xmm1, dword [esp + 0xb8]
comiss xmm5, xmm2
xorps xmm2, xmm2
subss xmm2, dword [esp + 0xb8]
seta cl
mulss xmm2, xmm3
movss xmm3, dword [esp + 0x30]
movaps xmm0, xmm3
subss xmm0, dword [esp + 0xa4]
mulss xmm1, xmm0
subss xmm2, xmm1
comiss xmm5, xmm2
seta al
cmp al, cl
jne 0x10085c82
movss xmm0, dword [esp + 0xac]
subss xmm6, xmm3
subss xmm0, xmm5
subss xmm4, xmm5
mulss xmm6, xmm0
movss xmm0, dword [esp + 0xa4]
subss xmm0, xmm3
mulss xmm0, xmm4
subss xmm6, xmm0
comiss xmm5, xmm6
seta al
cmp cl, al
jne 0x10085c82
movss xmm1, dword [esp + 0x14]
lea eax, [esp + 0xe0]
movss xmm3, dword [esp + 0x84]
lea edx, [esp + 0x40]
movss xmm4, dword [esp + 0x60]
lea ecx, [esp + 0x30]
movaps xmm2, xmm1
movaps xmm0, xmm3
mulss xmm2, xmm7
push eax
mulss xmm0, xmm4
lea eax, [esp + 0x108]
push eax
mulss xmm1, xmm4
mulss xmm3, xmm7
subss xmm2, xmm0
addss xmm1, xmm3
movss dword [esp + 0x68], xmm2
movss dword [esp + 0xe8], xmm2
movss dword [esp + 0x1c], xmm1
movss dword [esp + 0xec], xmm1
call fcn.1003c2b0
add esp, 8
test al, al
jne 0x10085bac
lea eax, [esp + 0xe0]
push eax
lea eax, [esp + 0x108]
push eax
lea eax, [esp + 0x48]
push eax
lea edx, [esp + 0x3c]
lea ecx, [esp + 0x6c]
call fcn.1003c450
add esp, 0xc
movss xmm7, dword [eax]
movss xmm6, dword [eax + 4]
jmp 0x10085bb8
movss xmm6, dword [esp + 0x14]
movss xmm7, dword [esp + 0x60]
movss xmm2, dword [esp + 0xa4]
xorps xmm5, xmm5
subss xmm2, dword [esp + 0x30]
movss xmm4, dword [esp + 0xb8]
subss xmm6, xmm5
movss xmm1, dword [esp + 0xac]
subss xmm4, xmm5
subss xmm7, dword [esp + 0x30]
subss xmm1, xmm5
movaps xmm3, xmm2
mulss xmm6, xmm2
movaps xmm0, xmm4
mulss xmm0, xmm2
mulss xmm3, xmm1
movss xmm2, dword [0x100fab30]
movss dword [esp + 0x68], xmm2
subss xmm3, xmm0
movaps xmm0, xmm7
mulss xmm0, xmm1
mulss xmm7, xmm4
subss xmm0, xmm6
movss xmm1, dword [0x100fabf8]
movaps xmm5, xmm1
subss xmm6, xmm7
divss xmm0, xmm3
divss xmm6, xmm3
subss xmm5, xmm0
comiss xmm2, xmm5
movaps xmm0, xmm5
subss xmm0, xmm6
jbe 0x10085c53
movaps xmm3, xmm2
movss dword [esp + 0x7c], xmm2
jmp 0x10085c60
movaps xmm3, xmm1
minss xmm3, xmm5
movss dword [esp + 0x7c], xmm3
divss xmm0, xmm3
comiss xmm2, xmm0
ja 0x10085c76
movaps xmm2, xmm1
minss xmm2, xmm0
movss dword [esp + 0x68], xmm2
mov byte [esp + 0x13], 1
mov byte [esp + 0xb], 1
jmp 0x10085c8a
mov al, byte [esp + 0xb]
mov byte [esp + 0x1f], al
test byte [esp + 0x18], 8
jne 0x10085c96
call fcn.1004f4d0
movss xmm3, dword [esp + 0x20]
movss xmm4, dword [esp + 0x24]
cmp dword [esp + 0xb0], 0x10000
jne 0x10085f83
mov ecx, dword [0x1010713c]
lea edx, [esp + 0x40]
movss xmm0, dword [esp + 0xb4]
movss dword [esp + 0x44], xmm4
mov eax, dword [ecx + 0x199c]
mov byte [eax + 0x7c], 1
mov eax, dword [ecx + 0x199c]
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 + 0x54]
movss dword [esp + 0x40], xmm0
call fcn.10076a20
mov eax, dword [0x1010713c]
mov ecx, dword [eax + 0x19bc]
test ecx, ecx
je 0x10085f83
mov eax, dword [eax + 0x199c]
cmp ecx, dword [eax + 0x10c]
jne 0x10085f83
mov eax, dword [esp + 0xc]
movss xmm0, dword [esp + 0x24]
movss xmm1, dword [0x100fabf8]
subss xmm0, xmm1
movss xmm2, dword [eax + 0xe4]
subss xmm2, dword [esp + 0x20]
divss xmm2, xmm0
xorps xmm0, xmm0
comiss xmm0, xmm2
jbe 0x10085f67
xorps xmm3, xmm3
jmp 0x10085f6e
test eax, 0x2000000
je 0x10085c96
lea edx, [esp + 0x40]
movss dword [esp + 0x40], xmm5
mov ecx, 0x100f7bc4
movss dword [esp + 0x44], xmm5
call fcn.10076a20
mov ecx, dword [0x1010713c]
mov edx, dword [ecx + 0x19bc]
test edx, edx
je 0x10085e47
mov eax, dword [ecx + 0x199c]
cmp edx, dword [eax + 0x10c]
jne 0x10085e47
mov eax, dword [esp + 0xc]
xorps xmm0, xmm0
movss xmm4, dword [esp + 0x24]
movss xmm1, dword [0x100fabf8]
subss xmm4, xmm1
movss xmm2, dword [eax + 0xe0]
subss xmm2, dword [esp + 0x58]
divss xmm2, xmm4
comiss xmm0, xmm2
jbe 0x10085e0a
movss dword [esp + 0x68], xmm0
jmp 0x10085e17
movaps xmm3, xmm1
minss xmm3, xmm2
movss dword [esp + 0x68], xmm3
movss xmm2, dword [eax + 0xe4]
subss xmm2, dword [esp + 0x20]
divss xmm2, xmm4
comiss xmm0, xmm2
ja 0x10085e35
movaps xmm0, xmm1
minss xmm0, xmm2
subss xmm1, xmm0
mov al, 1
mov byte [esp + 0xb], al
movss dword [esp + 0x7c], xmm1
jmp 0x10085e4b
mov al, byte [esp + 0xb]
test byte [esp + 0x18], 8
mov byte [esp + 0x13], al
mov byte [esp + 0x12], al
jne 0x10085e65
call fcn.1004f4d0
mov ecx, dword [0x1010713c]
mov eax, dword [ecx + 0x199c]
lea edx, [esp + 0x40]
movss xmm0, dword [esp + 0x70]
movss xmm2, dword [esp + 0x20]
mov byte [eax + 0x7c], 1
mov eax, dword [ecx + 0x199c]
mov ecx, 0x100f7bc8
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 + 0x54]
movss dword [esp + 0x40], xmm0
movss xmm0, dword [esp + 0x24]
movss dword [esp + 0x44], xmm0
call fcn.10076a20
mov eax, dword [0x1010713c]
mov ecx, dword [eax + 0x19bc]
test ecx, ecx
je 0x10085c96
mov eax, dword [eax + 0x199c]
mov dl, byte [esp + 0xb]
mov byte [esp + 0x13], dl
cmp ecx, dword [eax + 0x10c]
jne 0x10085c96
mov eax, dword [esp + 0xc]
movss xmm4, dword [esp + 0x24]
movss xmm3, dword [esp + 0x20]
movaps xmm0, xmm4
movss xmm1, dword [0x100fabf8]
movss xmm2, dword [eax + 0xe4]
subss xmm0, xmm1
subss xmm2, xmm3
divss xmm2, xmm0
xorps xmm0, xmm0
comiss xmm0, xmm2
ja 0x10085f4a
movaps xmm0, xmm1
minss xmm0, xmm2
mov al, byte [esp + 0x12]
movss dword [esp + 0x3c], xmm0
mov byte [esp + 0x1f], 1
mov byte [esp + 0xb], 1
mov byte [esp + 0x13], al
jmp 0x10085ca2
movaps xmm3, xmm1
minss xmm3, xmm2
mov eax, dword [esp + 0x28]
movaps xmm0, xmm1
subss xmm0, xmm3
mov byte [esp + 0xb], 1
movss dword [eax + 0xc], xmm0
call fcn.1004c550
mov eax, dword [esp + 0x18]
test eax, 0x100
jne 0x10085fb0
mov eax, dword [esp + 0xc]
xorps xmm0, xmm0
movss xmm1, dword [eax + 0x154c]
call fcn.1004ebb0
call fcn.1004e840
mov eax, dword [esp + 0x18]
test al, al
js 0x10086010
mov edx, dword [esp + 0x74]
cmp edx, 0xffffffff
jae 0x10086010
nop dword [eax]
mov cl, byte [edx]
mov byte [esp + 0x12], cl
test cl, cl
je 0x10085fda
cmp cl, 0x23
jne 0x10085fd4
cmp byte [edx + 1], cl
je 0x10085fda
inc edx
cmp edx, 0xffffffff
jb 0x10085fc0
mov dword [esp + 0x14], edx
cmp dword [esp + 0x74], edx
je 0x10086010
test eax, 0x100
je 0x10086003
mov eax, dword [esp + 0xc]
xorps xmm0, xmm0
movss xmm1, dword [eax + 0x154c]
call fcn.1004ebb0
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x74]
call fcn.10075280
mov eax, dword [esp + 0x18]
test eax, 0x100
jne 0x10086235
mov ecx, dword [0x1010713c]
mov eax, dword [ecx + 0x199c]
mov byte [eax + 0x7c], 1
mov ecx, dword [ecx + 0x199c]
mov dword [esp + 0x14], ecx
or dword [ecx + 0x168], 0x10
add ecx, 0x174
mov dword [esp + 0x84], ecx
mov eax, dword [ecx + 4]
mov edx, dword [ecx]
cmp edx, eax
jne 0x10086080
inc edx
mov dword [esp + 0x60], edx
test eax, eax
je 0x10086069
cdq
sub eax, edx
mov edx, dword [esp + 0x60]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x1008606e
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.1005cdf0
mov ecx, dword [esp + 0x84]
mov edx, dword [ecx]
mov ecx, dword [ecx + 8]
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0x168]
mov dword [ecx + edx*4], eax
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
inc dword [eax + 0x174]
mov eax, dword [esp + 0x28]
test cl, 2
je 0x100860b3
movss xmm1, dword [0x100fabf8]
jmp 0x100860b8
movss xmm1, dword [eax + 0xc]
movss xmm0, dword [eax]
movss dword [esp + 0xe0], xmm0
movss xmm0, dword [eax + 4]
movss dword [esp + 0xe4], xmm0
movss xmm0, dword [eax + 8]
movss dword [esp + 0xe8], xmm0
movss dword [esp + 0xec], xmm1
test cl, cl
jns 0x100860ff
push str.Current
call fcn.10075800
mov ecx, dword [esp + 0x1c]
add esp, 4
movss xmm1, dword [esp + 0x54]
lea edx, [esp + 0xe0]
movaps xmm0, xmm1
and ecx, 0xe0040
mulss xmm0, dword [0x100fac84]
mov dword [esp + 0xa0], ecx
movss dword [esp + 0x40], xmm0
movss dword [esp + 0x60], xmm0
movaps xmm0, xmm1
addss xmm0, xmm1
movss dword [esp + 0x44], xmm0
push dword [esp + 0x44]
movss dword [esp + 0x88], xmm0
push dword [esp + 0x44]
push ecx
mov ecx, str.current
call fcn.10087720
add esp, 0xc
cmp dword [esp + 0x6c], 0
je 0x1008622b
push str.Original
call fcn.10075800
mov eax, dword [esp + 0x70]
add esp, 4
test byte [esp + 0x18], 2
je 0x10086189
movss xmm1, dword [0x100fabf8]
jmp 0x1008618e
movss xmm1, dword [eax + 0xc]
movss xmm0, dword [eax]
lea edx, [esp + 0x104]
movss dword [esp + 0x104], xmm0
mov ecx, str.original
movss xmm0, dword [eax + 4]
movss dword [esp + 0x108], xmm0
movss xmm0, dword [eax + 8]
movss dword [esp + 0x10c], xmm0
movss xmm0, dword [esp + 0x60]
movss dword [esp + 0x40], xmm0
movss xmm0, dword [esp + 0x84]
movss dword [esp + 0x44], xmm0
push dword [esp + 0x44]
movss dword [esp + 0x114], xmm1
push dword [esp + 0x44]
push dword [esp + 0xa8]
call fcn.10087720
add esp, 0xc
test al, al
je 0x1008622b
xor eax, eax
cmp dword [esp + 0xbc], eax
sete al
lea eax, [eax*4 + 0xc]
push eax
push dword [esp + 0x70]
push dword [esp + 0x30]
call sub.VCRUNTIME140D.dll_memcpy
add esp, 0xc
mov byte [esp + 0xb], 1
call fcn.1004c550
call fcn.1004e9a0
cmp byte [esp + 0x1f], 0
jne 0x10086243
cmp byte [esp + 0x13], 0
je 0x1008629f
mov eax, dword [esp + 0x28]
xorps xmm0, xmm0
movss xmm1, dword [esp + 0x7c]
comiss xmm1, xmm0
lea ecx, [eax + 8]
lea edx, [eax + 4]
jbe 0x10086260
movaps xmm3, xmm1
jmp 0x10086268
movss xmm3, dword [0x100fab18]
movss xmm1, dword [esp + 0x68]
comiss xmm1, xmm0
movss xmm2, dword [0x100fab20]
ja 0x1008627e
movaps xmm1, xmm2
movss xmm0, dword [esp + 0x3c]
comiss xmm0, dword [0x100fabf8]
jb 0x10086291
subss xmm0, xmm2
push ecx
mov ecx, eax
movaps xmm2, xmm3
call fcn.1003da50
add esp, 4
test byte [esp + 0x18], 0x20
mov byte [esp + 0x12], 0
jne 0x1008649a
cmp dword [esp + 0xb0], 0x10000
jne 0x100862c7
movss xmm0, dword [esp + 0xb4]
jmp 0x100862cd
movss xmm0, dword [esp + 0x70]
addss xmm0, dword [esp + 0x54]
subss xmm0, dword [esp + 0x58]
call fcn.1004be10
mov eax, dword [esp + 0x18]
mov ecx, eax
and ecx, 0x18e001a
mov dword [esp + 0x14], ecx
test eax, 0x100000
jne 0x100862fc
test eax, 0x700000
jne 0x10086345
mov edx, dword [esp + 0x28]
or ecx, 0x100004
push ecx
mov ecx, str.rgb
call fcn.10083b40
add esp, 4
test al, al
je 0x1008633d
mov eax, dword [esp + 0xc]
cmp dword [eax + 0x19bc], 0
je 0x10086333
cmp byte [eax + 0x19cd], 0
mov byte [esp + 0x12], 1
je 0x10086338
mov byte [esp + 0x12], 0
mov byte [esp + 0xb], 1
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
test eax, 0x200000
jne 0x10086353
test eax, 0x700000
jne 0x10086373
mov edx, dword [esp + 0x28]
or ecx, 0x200004
push ecx
mov ecx, str.hsv
call fcn.10083b40
add esp, 4
or byte [esp + 0xb], al
mov eax, dword [esp + 0x18]
test eax, 0x400000
jne 0x10086381
test eax, 0x700000
jne 0x100863a0
mov eax, dword [esp + 0x14]
mov ecx, str.hex
mov edx, dword [esp + 0x28]
or eax, 0x400004
push eax
call fcn.10083b40
add esp, 4
or byte [esp + 0xb], al
call fcn.1004c0b0
cmp byte [esp + 0x12], 0
je 0x1008649a
mov ecx, dword [esp + 0x28]
xorps xmm2, xmm2
xorps xmm6, xmm6
movss xmm3, dword [ecx + 4]
movss xmm5, dword [ecx + 8]
comiss xmm5, xmm3
movss xmm4, dword [ecx]
jbe 0x100863de
movss xmm6, dword [0x100fadc8]
movaps xmm0, xmm3
movaps xmm3, xmm5
movaps xmm5, xmm0
comiss xmm3, xmm4
jbe 0x100863fb
movaps xmm0, xmm4
movaps xmm4, xmm3
movaps xmm3, xmm0
movss xmm0, dword [0x100fadb4]
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 [0x100fab0c]
movaps xmm7, xmm1
mulss xmm1, dword [0x100facb8]
divss xmm7, xmm0
addss xmm1, dword [0x100fab0c]
divss xmm3, xmm1
addss xmm3, xmm6
andps xmm3, xmmword [0x100fb000]
comiss xmm2, xmm3
jb 0x1008649a
movss xmm0, dword [esp + 0x3c]
comiss xmm0, xmm2
jbe 0x1008649a
comiss xmm2, xmm4
jb 0x10086475
movss xmm1, dword [esp + 0x7c]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jnp 0x10086475
movaps xmm2, xmm1
movss xmm1, dword [esp + 0x68]
mulss xmm2, dword [0x100fabb8]
jmp 0x1008648b
comiss xmm2, xmm7
jb 0x1008649a
movss xmm1, dword [esp + 0x68]
movaps xmm2, xmm4
mulss xmm1, dword [0x100fabb8]
lea eax, [ecx + 8]
push eax
lea edx, [ecx + 4]
call fcn.1003da50
add esp, 4
movaps xmm0, xmmword [0x100faf50]
lea eax, [esp + 0x48]
movss xmm2, dword [0x100fabf8]
lea edx, [esp + 0x44]
movups xmmword [esp + 0x40], xmm0
lea ecx, [esp + 0x40]
movss xmm0, dword [esp + 0x3c]
movaps xmm1, xmm2
push eax
call fcn.1003da50
add esp, 4
lea ecx, [esp + 0x40]
call fcn.1003d8c0
mov dword [esp + 0x6c], eax
lea ecx, [esp + 0x40]
mov eax, dword [esp + 0x28]
mov dword [esp + 0x4c], 0x3f800000
movss xmm0, dword [eax]
movss dword [esp + 0x40], xmm0
movss xmm0, dword [eax + 4]
movss dword [esp + 0x44], xmm0
movss xmm0, dword [eax + 8]
movss dword [esp + 0x48], xmm0
call fcn.1003d8c0
mov ecx, eax
mov dword [esp + 0xc4], 0xff0000ff
mov eax, dword [esp + 0x18]
mov dword [esp + 0x74], ecx
mov dword [esp + 0xc8], 0xff00ffff
mov dword [esp + 0xcc], 0xff00ff00
mov dword [esp + 0xd0], 0xffffff00
mov dword [esp + 0xd4], 0xffff0000
mov dword [esp + 0xd8], 0xffff00ff
mov dword [esp + 0xdc], 0xff0000ff
mov dword [esp + 0xe4], 0
mov dword [esp + 0xe0], 0
test eax, 0x4000000
je 0x10086fd9
movss xmm0, dword [esp + 0x2c]
mov eax, 0x2aaaaaab
movss xmm3, dword [0x100fac1c]
movss xmm2, dword [esp + 0x8c]
divss xmm3, xmm0
cvttss2si ecx, xmm0
addss xmm2, xmm0
movss dword [esp + 0x104], xmm3
imul ecx
mulss xmm2, dword [0x100fabb8]
mov eax, 4
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
movss dword [esp + 0x9c], xmm2
cmp ecx, eax
cmovle ecx, eax
xor eax, eax
mov dword [esp + 0x58], ecx
mov dword [esp + 0x70], eax
nop word [eax + eax]
movd xmm1, eax
lea eax, [esp + 0xf4]
cvtdq2ps xmm1, xmm1
mov esi, dword [edi + 0x18]
push ecx
push ecx
mov ecx, edi
movaps xmm0, xmm1
addss xmm1, dword [0x100fabf8]
divss xmm0, dword [0x100facb8]
divss xmm1, dword [0x100facb8]
addss xmm0, xmm0
addss xmm1, xmm1
mulss xmm0, dword [0x100fac88]
mulss xmm1, dword [0x100fac88]
subss xmm0, xmm3
addss xmm1, xmm3
movaps xmm3, xmm0
movss dword [esp + 0x1c], xmm0
movss dword [esp], xmm1
push eax
movss dword [esp + 0x18], xmm1
call fcn.100691d0
movss xmm0, dword [esp + 0x90]
push ecx
movss dword [esp], xmm0
mov ecx, edi
push 0
push 0xffffffffffffffff
push dword [edi + 0x54]
push dword [edi + 0x5c]
call fcn.100680c0
movss xmm0, dword [esp + 0x14]
cvtps2pd xmm0, xmm0
mov dword [edi + 0x54], 0
call sub.ucrtbased.dll__libm_sse2_cos_precise
movss xmm1, dword [esp + 0x14]
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [esp + 0x8c]
addss xmm0, dword [esp + 0x98]
movss dword [esp + 0x60], xmm0
cvtps2pd xmm0, xmm1
call sub.ucrtbased.dll__libm_sse2_sin_precise
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [esp + 0x8c]
addss xmm0, dword [esp + 0x94]
movss dword [esp + 0x84], xmm0
movss xmm0, dword [esp + 0xc]
cvtps2pd xmm0, xmm0
call sub.ucrtbased.dll__libm_sse2_cos_precise
movss xmm1, dword [esp + 0xc]
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [esp + 0x8c]
addss xmm0, dword [esp + 0x98]
movss dword [esp + 0x14], xmm0
cvtps2pd xmm0, xmm1
call sub.ucrtbased.dll__libm_sse2_sin_precise
movss xmm2, dword [esp + 0x14]
lea ecx, [esp + 0xc8]
movss xmm4, dword [esp + 0x60]
xorps xmm3, xmm3
movss xmm5, dword [esp + 0x84]
subss xmm2, xmm4
cvtsd2ss xmm3, xmm0
mov eax, dword [esp + 0x70]
movss xmm6, dword [0x100fabf8]
movaps xmm0, xmm2
mulss xmm3, dword [esp + 0x8c]
mov edx, dword [ecx + eax*4]
mov eax, dword [esp + eax*4 + 0xc4]
mov ecx, dword [edi + 0x20]
addss xmm3, dword [esp + 0x94]
mulss xmm0, xmm2
mov dword [esp + 0xc], edx
mov dword [esp + 0xa0], eax
movss dword [esp + 0x14], xmm2
subss xmm3, xmm5
movaps xmm1, xmm3
mulss xmm1, xmm3
addss xmm1, xmm0
divss xmm6, xmm1
mov eax, dword [edi + 0x18]
lea eax, [eax + eax*4]
lea edx, [ecx + eax*4]
lea eax, [esi + esi*4]
mov dword [esp + 0x84], edx
lea eax, [ecx + eax*4]
mov dword [esp + 0x18], eax
cmp eax, edx
jae 0x100868df
mov ecx, dword [esp + 0xa0]
mov eax, ecx
shr eax, 8
movzx edx, al
mov eax, dword [esp + 0xc]
movzx esi, cl
shr eax, 0x10
shr ecx, 0x10
movzx eax, al
movzx edi, cl
sub eax, edi
mov dword [esp + 0x38], edx
mov dword [esp + 0x60], esi
movd xmm7, eax
mov eax, dword [esp + 0xc]
shr eax, 8
movzx ecx, al
mov eax, dword [esp + 0x18]
sub ecx, edx
mov edx, dword [esp + 0xc]
movzx edx, dl
sub edx, esi
mov esi, dword [esp + 0x38]
cvtdq2ps xmm7, xmm7
nop
movss xmm0, dword [eax]
movss xmm1, dword [eax + 4]
subss xmm0, xmm4
subss xmm1, xmm5
mulss xmm0, xmm2
mulss xmm1, xmm3
addss xmm1, xmm0
xorps xmm0, xmm0
mulss xmm1, xmm6
comiss xmm0, xmm1
jbe 0x1008682e
xorps xmm2, xmm2
jmp 0x1008683a
movss xmm2, dword [0x100fabf8]
minss xmm2, xmm1
movaps xmm0, xmm2
movd xmm1, edi
mulss xmm0, xmm7
cvtdq2ps xmm1, xmm1
addss xmm0, xmm1
movd xmm1, ecx
cvtdq2ps xmm1, xmm1
cvttss2si eax, xmm0
movaps xmm0, xmm2
mulss xmm0, xmm1
shl eax, 8
movd xmm1, esi
cvtdq2ps xmm1, xmm1
mov dword [esp + 0xc], eax
mov esi, dword [esp + 0x18]
addss xmm0, xmm1
cvttss2si eax, xmm0
movd xmm0, edx
or dword [esp + 0xc], eax
shl dword [esp + 0xc], 8
cvtdq2ps xmm0, xmm0
mulss xmm2, xmm0
movd xmm0, dword [esp + 0x60]
cvtdq2ps xmm0, xmm0
addss xmm2, xmm0
cvttss2si eax, xmm2
movss xmm2, dword [esp + 0x14]
or dword [esp + 0xc], eax
mov eax, dword [esp + 0x18]
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 + 0x38]
add eax, 0x14
mov dword [esp + 0x18], eax
cmp eax, dword [esp + 0x84]
jb 0x10086800
mov edi, dword [esp + 0x80]
mov eax, dword [esp + 0x70]
movss xmm2, dword [esp + 0x9c]
inc eax
movss xmm3, dword [esp + 0x104]
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x70], eax
cmp eax, 6
jl 0x100865f0
movss xmm0, dword [esp + 0x3c]
addss xmm0, xmm0
mulss xmm0, dword [0x100fac88]
movss dword [esp + 0x3c], xmm0
cvtps2pd xmm0, xmm0
call sub.ucrtbased.dll__libm_sse2_cos_precise
movss xmm3, dword [esp + 0x3c]
cvtsd2ss xmm0, xmm0
movss dword [esp + 0xc], xmm0
cvtps2pd xmm0, xmm3
call sub.ucrtbased.dll__libm_sse2_sin_precise
cmp byte [esp + 0x1f], 0
xorps xmm5, xmm5
movss xmm1, dword [esp + 0x8c]
addss xmm1, dword [esp + 0x2c]
movss xmm3, dword [esp + 0xc]
movss xmm6, dword [esp + 0x98]
movss xmm4, dword [esp + 0x90]
cvtsd2ss xmm5, xmm0
movaps xmm0, xmm1
mulss xmm0, xmm3
mulss xmm1, xmm5
mulss xmm0, dword [0x100fabb8]
mulss xmm1, dword [0x100fabb8]
addss xmm0, xmm6
movss dword [esp + 0x38], xmm5
addss xmm1, dword [esp + 0x94]
movss dword [esp + 0x58], xmm0
movss dword [esp + 0x5c], xmm1
je 0x100869b8
mulss xmm4, dword [0x100fabc4]
jmp 0x100869c0
mulss xmm4, dword [0x100fabbc]
movaps xmm0, xmm4
movss dword [esp + 0x90], xmm4
divss xmm0, dword [0x100fac18]
cvttss2si eax, xmm0
cmp eax, 9
jge 0x100869e4
mov eax, 9
jmp 0x100869ee
mov ecx, 0x20
cmp eax, ecx
cmovg eax, ecx
test dword [esp + 0x6c], 0xff000000
movss xmm2, dword [0x100facbc]
mov esi, dword [esp + 0x78]
mov dword [esp + 0x2c], eax
je 0x10086a74
cmp eax, 2
jle 0x10086b68
movd xmm1, eax
xorps xmm3, xmm3
cvtdq2ps xmm1, xmm1
dec eax
push eax
push ecx
lea eax, [esp + 0x60]
mov ecx, edi
movaps xmm0, xmm1
subss xmm0, dword [0x100fabf8]
mulss xmm0, xmm2
movaps xmm2, xmm4
divss xmm0, xmm1
movss dword [esp], xmm0
push eax
call fcn.100691d0
push dword [esp + 0x6c]
mov ecx, edi
push dword [edi + 0x54]
push dword [edi + 0x5c]
call fcn.10068c80
movss xmm2, dword [0x100facbc]
movss xmm4, dword [esp + 0x90]
mov eax, dword [esp + 0x2c]
mov dword [edi + 0x54], 0
jmp 0x10086a7d
cmp eax, 2
jle 0x10086b68
movd xmm1, eax
xorps xmm3, xmm3
cvtdq2ps xmm1, xmm1
dec eax
push eax
push ecx
lea eax, [esp + 0x60]
mov ecx, edi
movaps xmm0, xmm1
subss xmm0, dword [0x100fabf8]
mulss xmm0, xmm2
movaps xmm2, xmm4
addss xmm2, dword [0x100fabf8]
divss xmm0, xmm1
subss xmm2, dword [0x100fabb8]
movss dword [esp], xmm0
push eax
call fcn.100691d0
push ecx
mov dword [esp], 0x3f800000
mov ecx, edi
push 1
push 0xff808080
push dword [edi + 0x54]
push dword [edi + 0x5c]
call fcn.100680c0
mov eax, dword [esp + 0x2c]
mov dword [edi + 0x54], 0
cmp eax, 2
jle 0x10086b53
movd xmm1, eax
xorps xmm3, xmm3
cvtdq2ps xmm1, xmm1
dec eax
push eax
lea eax, [esp + 0x5c]
push ecx
movss xmm2, dword [esp + 0x98]
mov ecx, edi
movaps xmm0, xmm1
subss xmm0, dword [0x100fabf8]
subss xmm2, dword [0x100fabb8]
mulss xmm0, dword [0x100facbc]
divss xmm0, xmm1
movss dword [esp], xmm0
push eax
call fcn.100691d0
push ecx
mov dword [esp], 0x3f800000
mov ecx, edi
push 1
push 0xffffffffffffffff
push dword [edi + 0x54]
push dword [edi + 0x5c]
call fcn.100680c0
mov dword [edi + 0x54], 0
movss xmm6, dword [esp + 0x98]
movss xmm5, dword [esp + 0x38]
movss xmm3, dword [esp + 0xc]
movaps xmm2, xmm3
mov eax, dword [0x1010713c]
mulss xmm2, dword [esp + 0x30]
xorps xmm1, xmm1
push 6
movaps xmm0, xmm5
movaps xmm4, xmm3
mulss xmm0, xmm1
mov ecx, edi
push 6
mulss xmm4, dword [esp + 0xac]
subss xmm2, xmm0
movaps xmm0, xmm3
mulss xmm0, xmm1
movaps xmm1, xmm5
mulss xmm1, dword [esp + 0xac]
addss xmm2, xmm6
movss dword [esp + 0x68], xmm2
movaps xmm2, xmm5
mulss xmm2, dword [esp + 0x38]
addss xmm2, xmm0
movaps xmm0, xmm5
mulss xmm0, dword [esp + 0xc0]
mulss xmm5, dword [esp + 0xb4]
addss xmm2, dword [esp + 0x9c]
movss dword [esp + 0x6c], xmm2
movaps xmm2, xmm4
subss xmm2, xmm0
movaps xmm0, xmm3
mulss xmm0, dword [esp + 0xc0]
subss xmm4, xmm5
mulss xmm3, dword [esp + 0xb4]
addss xmm0, xmm1
addss xmm2, xmm6
addss xmm3, xmm1
addss xmm4, xmm6
addss xmm0, dword [esp + 0x9c]
movss dword [esp + 0x8c], xmm2
addss xmm3, dword [esp + 0x9c]
movss dword [esp + 0x38], xmm4
movss dword [esp + 0x90], xmm0
movss xmm0, dword [eax + 0x18c4]
movss dword [esp + 0x60], xmm0
movss xmm0, dword [eax + 0x18c8]
movss dword [esp + 0x14], xmm3
movss dword [esp + 0x3c], xmm3
movss dword [esp + 0x10c], xmm0
call fcn.10067ce0
mov ecx, dword [edi + 0x38]
mov ax, word [edi + 0x30]
movss xmm2, dword [esp + 0x60]
movss xmm3, dword [esp + 0x64]
mov word [ecx], ax
mov eax, dword [edi + 0x34]
add dword [edi + 0x38], 2
movss xmm0, dword [esp + 0x58]
movss xmm1, dword [esp + 0x104]
mov edx, dword [esp + 0x6c]
movss dword [eax], xmm2
movss dword [eax + 4], xmm3
mov eax, dword [edi + 0x34]
movss xmm5, dword [esp + 0x84]
movss xmm4, dword [esp + 0x88]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [edi + 0x34]
mov dword [eax + 0x10], edx
mov eax, dword [edi + 0x38]
add dword [edi + 0x34], 0x14
inc dword [edi + 0x30]
mov ecx, dword [edi + 0x30]
mov word [eax], cx
mov eax, dword [edi + 0x34]
add dword [edi + 0x38], 2
movss dword [eax], xmm5
movss dword [eax + 4], xmm4
mov eax, dword [edi + 0x34]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [edi + 0x34]
mov dword [eax + 0x10], edx
add dword [edi + 0x34], 0x14
inc dword [edi + 0x30]
mov eax, dword [edi + 0x38]
mov ecx, dword [edi + 0x30]
movss xmm7, dword [esp + 0x30]
movss xmm6, dword [esp + 0xc]
mov word [eax], cx
add dword [edi + 0x38], 2
mov eax, dword [edi + 0x34]
movss dword [eax], xmm7
movss dword [eax + 4], xmm6
mov eax, dword [edi + 0x34]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [edi + 0x34]
mov dword [eax + 0x10], 0xffffffff
add dword [edi + 0x34], 0x14
inc dword [edi + 0x30]
mov eax, dword [edi + 0x38]
mov ecx, dword [edi + 0x30]
mov word [eax], cx
mov eax, dword [edi + 0x34]
add dword [edi + 0x38], 2
movss dword [eax], xmm2
movss dword [eax + 4], xmm3
mov eax, dword [edi + 0x34]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [edi + 0x34]
mov dword [eax + 0x10], 0
add dword [edi + 0x34], 0x14
inc dword [edi + 0x30]
mov eax, dword [edi + 0x38]
mov ecx, dword [edi + 0x30]
mov word [eax], cx
mov eax, dword [edi + 0x34]
add dword [edi + 0x38], 2
movss dword [eax], xmm5
movss dword [eax + 4], xmm4
mov eax, dword [edi + 0x34]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [edi + 0x34]
mov dword [eax + 0x10], 0xff000000
add dword [edi + 0x34], 0x14
inc dword [edi + 0x30]
mov eax, dword [edi + 0x38]
mov ecx, dword [edi + 0x30]
mov word [eax], cx
mov eax, dword [edi + 0x34]
add dword [edi + 0x38], 2
movss dword [eax], xmm7
movss dword [eax + 4], xmm6
mov eax, dword [edi + 0x34]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [edi + 0x34]
mov dword [eax + 0x10], 0
lea eax, [edi + 0x54]
add dword [edi + 0x34], 0x14
inc dword [edi + 0x30]
mov edx, dword [eax + 4]
mov ecx, dword [eax]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x58], edx
cmp ecx, edx
jne 0x10086e2b
inc ecx
test edx, edx
je 0x10086e14
mov eax, edx
cdq
sub eax, edx
sar eax, 1
add eax, dword [esp + 0x58]
jmp 0x10086e19
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
lea ecx, [edi + 0x54]
call fcn.1005cec0
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax + 8]
mov eax, dword [eax]
mov edx, dword [esp + 0x60]
mov edi, dword [esp + 0x64]
mov dword [ecx + eax*8], edx
mov dword [ecx + eax*8 + 4], edi
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x80]
add eax, 0x54
mov dword [esp + 0x14], eax
mov edx, dword [ecx]
inc edx
mov dword [ecx], edx
mov edi, dword [ecx + 4]
cmp edx, edi
jne 0x10086e8b
lea ecx, [edx + 1]
test edi, edi
je 0x10086e6f
mov eax, edi
cdq
sub eax, edx
sar eax, 1
add eax, edi
jmp 0x10086e74
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, dword [esp + 0x18]
call fcn.1005cec0
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x14]
mov eax, dword [eax]
mov ecx, dword [ecx + 8]
mov edx, dword [esp + 0x84]
mov edi, dword [esp + 0x88]
mov dword [ecx + eax*8], edx
mov dword [ecx + eax*8 + 4], edi
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x80]
add eax, 0x54
mov dword [esp + 0x2c], eax
mov edx, dword [ecx]
inc edx
mov dword [ecx], edx
mov edi, dword [eax + 4]
cmp edx, edi
jne 0x10086eed
lea ecx, [edx + 1]
test edi, edi
je 0x10086ed5
mov eax, edi
cdq
sub eax, edx
sar eax, 1
add eax, edi
jmp 0x10086eda
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, dword [esp + 0x30]
call fcn.1005cec0
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax + 8]
mov eax, dword [eax]
mov edx, dword [esp + 0x30]
mov edi, dword [esp + 0x34]
push ecx
mov dword [ecx + eax*8], edx
mov dword [ecx + eax*8 + 4], edi
mov eax, dword [esp + 0x30]
mov edi, dword [esp + 0x84]
mov ecx, edi
mov dword [esp], 0x3fc00000
push 1
inc dword [eax]
push 0xff808080
push dword [eax]
push dword [edi + 0x5c]
call fcn.100680c0
movss xmm0, dword [0x100fabf8]
xorps xmm1, xmm1
movaps xmm2, xmm0
mov dword [edi + 0x54], 0
subss xmm2, dword [esp + 0x7c]
comiss xmm1, xmm2
jbe 0x10086f4e
xorps xmm4, xmm4
jmp 0x10086f55
movaps xmm4, xmm0
minss xmm4, xmm2
movss xmm2, dword [esp + 0x68]
comiss xmm1, xmm2
jbe 0x10086f65
xorps xmm3, xmm3
jmp 0x10086f6c
movaps xmm3, xmm0
minss xmm3, xmm2
movss xmm0, dword [esp + 0x60]
subss xmm0, dword [esp + 0x30]
movss xmm2, dword [esp + 0x64]
subss xmm2, dword [esp + 0xc]
mulss xmm0, xmm3
mulss xmm2, xmm3
addss xmm0, dword [esp + 0x30]
movss xmm3, dword [esp + 0x84]
addss xmm2, dword [esp + 0xc]
subss xmm3, xmm0
mulss xmm3, xmm4
addss xmm3, xmm0
movss xmm0, dword [esp + 0x88]
subss xmm0, xmm2
movss dword [esp + 0xe0], xmm3
mulss xmm0, xmm4
addss xmm0, xmm2
movss dword [esp + 0xe4], xmm0
jmp 0x1008732a
test eax, 0x2000000
je 0x1008732e
movss xmm1, dword [esp + 0x58]
mov ecx, edi
movss xmm2, dword [esp + 0x24]
movaps xmm0, xmm1
mov eax, dword [esp + 0x6c]
addss xmm0, xmm2
push 0xffffffffffffffff
push eax
push eax
push 0xffffffffffffffff
movss dword [esp + 0x40], xmm0
addss xmm1, xmm2
movss xmm0, dword [esp + 0x30]
lea eax, [esp + 0x40]
addss xmm0, xmm2
push eax
lea eax, [esp + 0x6c]
push eax
movss dword [esp + 0x50], xmm1
movss dword [esp + 0x4c], xmm0
call fcn.10069ea0
movss xmm0, dword [esp + 0x38]
lea eax, [esp + 0xf4]
push 0xff000000
push 0xff000000
push 0
push 0
push eax
movss dword [esp + 0x108], xmm0
lea eax, [esp + 0x6c]
movss xmm0, dword [esp + 0x48]
mov ecx, edi
push eax
movss dword [esp + 0x110], xmm0
call fcn.10069ea0
movss xmm0, dword [esp + 0x38]
movss dword [esp + 0x40], xmm0
movss xmm0, dword [esp + 0x34]
movss dword [esp + 0x44], xmm0
xorps xmm0, xmm0
push dword [esp + 0x44]
push dword [esp + 0x44]
push dword [esp + 0x64]
push dword [esp + 0x64]
call fcn.1003f6c0
movss xmm3, dword [esp + 0x78]
xorps xmm0, xmm0
movss xmm1, dword [0x100fabf8]
add esp, 0x10
comiss xmm0, xmm3
jbe 0x100870c0
xorps xmm2, xmm2
jmp 0x100870c7
movaps xmm2, xmm1
minss xmm2, xmm3
movss xmm5, dword [esp + 0x24]
movss xmm3, dword [esp + 0x58]
movss xmm7, dword [0x100fabb8]
mulss xmm2, xmm5
movss xmm6, dword [0x100fac58]
addss xmm2, xmm3
addss xmm2, xmm7
cvttss2si eax, xmm2
movaps xmm2, xmm3
addss xmm3, xmm5
addss xmm2, xmm6
movd xmm4, eax
cvtdq2ps xmm4, xmm4
subss xmm3, xmm6
comiss xmm2, xmm4
jbe 0x10087119
movss dword [esp + 0xe0], xmm2
jmp 0x10087132
comiss xmm4, xmm3
jbe 0x10087129
movss dword [esp + 0xe0], xmm3
jmp 0x10087132
movss dword [esp + 0xe0], xmm4
movaps xmm2, xmm1
subss xmm2, dword [esp + 0x7c]
comiss xmm0, xmm2
jbe 0x10087145
xorps xmm1, xmm1
jmp 0x10087149
minss xmm1, xmm2
movss xmm2, dword [esp + 0x20]
mulss xmm1, xmm5
movss xmm0, dword [esp + 0x34]
subss xmm0, xmm6
addss xmm1, xmm2
addss xmm1, xmm7
cvttss2si eax, xmm1
movaps xmm1, xmm2
addss xmm1, xmm6
movd xmm3, eax
cvtdq2ps xmm3, xmm3
comiss xmm1, xmm3
jbe 0x10087187
movss dword [esp + 0xe4], xmm1
jmp 0x100871a0
comiss xmm3, xmm0
jbe 0x10087197
movss dword [esp + 0xe4], xmm0
jmp 0x100871a0
movss dword [esp + 0xe4], xmm3
movss xmm3, dword [esp + 0x70]
lea eax, [esp + 0xc8]
movaps xmm1, xmm5
movss dword [esp + 0x40], xmm3
divss xmm1, dword [0x100facb8]
xor ecx, ecx
mov esi, edi
movaps xmm0, xmm3
addss xmm0, dword [esp + 0x54]
movss dword [esp + 0x58], xmm1
movss dword [esp + 0xf4], xmm0
nop word [eax + eax]
mov eax, dword [eax + ecx*4]
lea edi, [ecx + 1]
movd xmm0, edi
cvtdq2ps xmm0, xmm0
push eax
push eax
lea eax, [esp + 0xfc]
mulss xmm0, xmm1
addss xmm0, xmm2
movss dword [esp + 0x100], xmm0
movd xmm0, ecx
mov ecx, dword [esp + ecx*4 + 0xcc]
cvtdq2ps xmm0, xmm0
push ecx
push ecx
push eax
lea eax, [esp + 0x54]
mov ecx, esi
push eax
mulss xmm0, xmm1
addss xmm0, xmm2
movss dword [esp + 0x5c], xmm0
call fcn.10069ea0
movss xmm1, dword [esp + 0x58]
lea eax, [esp + 0xc8]
movss xmm2, dword [esp + 0x20]
mov ecx, edi
cmp ecx, 6
jl 0x100871e0
movss xmm3, dword [esp + 0x70]
movaps xmm0, xmm2
addss xmm0, dword [esp + 0x24]
movaps xmm1, xmm3
movss dword [esp + 0x34], xmm2
addss xmm1, dword [esp + 0x54]
movss dword [esp + 0x30], xmm3
movss dword [esp + 0x44], xmm0
xorps xmm0, xmm0
push dword [esp + 0x44]
movss dword [esp + 0x44], xmm1
push dword [esp + 0x44]
push dword [esp + 0x3c]
push dword [esp + 0x3c]
call fcn.1003f6c0
mov esi, dword [esp + 0x88]
movss xmm1, dword [esp + 0x64]
addss xmm1, dword [0x100fac58]
mov edi, dword [esp + 0x90]
mov ecx, edi
movd xmm2, esi
cvtdq2ps xmm2, xmm2
movaps xmm0, xmm2
movss dword [esp + 0x54], xmm2
addss xmm0, dword [0x100fabf8]
push dword [esp + 0x54]
movss xmm2, dword [esp + 0x84]
subss xmm2, dword [0x100fabf8]
movss dword [esp + 0x54], xmm0
movss xmm0, dword [esp + 0x50]
mulss xmm0, dword [esp + 0x38]
push dword [esp + 0x54]
movss dword [esp + 0x48], xmm2
addss xmm0, dword [esp + 0x38]
addss xmm0, dword [0x100fabb8]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x4c], xmm0
push dword [esp + 0x4c]
push dword [esp + 0x4c]
call fcn.10084e40
add esp, 0x20
mov ecx, dword [esp + 0x74]
cmp byte [esp + 0x13], 0
je 0x10087348
movss xmm2, dword [0x100facc8]
movss dword [esp + 0xa8], xmm2
jmp 0x10087350
movss xmm2, dword [0x100facb8]
test ecx, 0xff000000
je 0x1008738c
push 0xb
push ecx
lea eax, [esp + 0xe8]
mov dword [esp], 0x40b84e89
push eax
xorps xmm3, xmm3
mov ecx, edi
call fcn.100691d0
push dword [esp + 0x74]
mov ecx, edi
push dword [edi + 0x54]
push dword [edi + 0x5c]
call fcn.10068c80
mov dword [edi + 0x54], 0
movss xmm2, dword [esp + 0xa8]
lea eax, [esp + 0xe0]
addss xmm2, dword [0x100fabf8]
push 0xb
push ecx
mov dword [esp], 0x40b84e89
xorps xmm3, xmm3
push eax
subss xmm2, dword [0x100fabb8]
mov ecx, edi
call fcn.100691d0
push ecx
mov dword [esp], 0x3f800000
mov ecx, edi
push 1
push 0xff808080
push dword [edi + 0x54]
push dword [edi + 0x5c]
call fcn.100680c0
movss xmm2, dword [esp + 0xa8]
lea eax, [esp + 0xe0]
subss xmm2, dword [0x100fabb8]
push 0xb
push ecx
mov dword [esp], 0x40b84e89
xorps xmm3, xmm3
push eax
mov ecx, edi
mov dword [edi + 0x54], 0
call fcn.100691d0
push ecx
mov dword [esp], 0x3f800000
mov ecx, edi
push 1
push 0xffffffffffffffff
push dword [edi + 0x54]
push dword [edi + 0x5c]
call fcn.100680c0
cmp dword [esp + 0xb0], 0x10000
mov dword [edi + 0x54], 0
jne 0x100875d9
mov eax, dword [esp + 0x28]
xorps xmm2, xmm2
movss xmm1, dword [eax + 0xc]
comiss xmm2, xmm1
jbe 0x1008745b
movss dword [esp + 0x78], xmm2
jmp 0x1008746d
movss xmm0, dword [0x100fabf8]
minss xmm0, xmm1
movss dword [esp + 0x78], xmm0
movss xmm3, dword [esp + 0xb4]
or edx, 0xffffffff
movss xmm0, dword [esp + 0x20]
movaps xmm1, xmm3
addss xmm1, dword [esp + 0x54]
movss dword [esp + 0xf8], xmm0
xor ecx, ecx
addss xmm0, dword [esp + 0x24]
mov dword [esp + 0x44], 0
push dword [esp + 0x44]
movss dword [esp + 0x100], xmm1
subss xmm1, xmm3
mov dword [esp + 0x44], 0
push dword [esp + 0x44]
movss dword [esp + 0x108], xmm0
push dword [esp + 0x108]
mulss xmm1, dword [0x100fabb8]
push dword [esp + 0x108]
movss dword [esp + 0x104], xmm3
push dword [esp + 0x108]
mov edi, dword [esp + 0x108]
push edi
call fcn.10084b50
mov ecx, dword [esp + 0x8c]
add esp, 0x18
mov eax, ecx
and eax, 0xffffff
push eax
push eax
push ecx
push ecx
mov ecx, dword [esp + 0x90]
lea eax, [esp + 0x10c]
push eax
lea eax, [esp + 0x108]
push eax
call fcn.10069ea0
push dword [esp + 0x100]
xorps xmm0, xmm0
push dword [esp + 0x100]
push dword [esp + 0x100]
push edi
call fcn.1003f6c0
movss xmm1, dword [0x100fabf8]
movd xmm2, esi
cvtdq2ps xmm2, xmm2
mov ecx, dword [esp + 0x90]
movaps xmm0, xmm2
movss dword [esp + 0x54], xmm2
movss xmm2, dword [esp + 0xc4]
addss xmm0, xmm1
subss xmm2, xmm1
subss xmm1, dword [esp + 0x88]
push dword [esp + 0x54]
movss dword [esp + 0x54], xmm0
push dword [esp + 0x54]
mulss xmm1, dword [esp + 0x3c]
movss dword [esp + 0x48], xmm2
addss xmm1, dword [esp + 0x38]
addss xmm1, dword [0x100fabb8]
cvttss2si eax, xmm1
movss xmm1, dword [esp + 0x6c]
addss xmm1, dword [0x100fac58]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x4c], xmm0
push dword [esp + 0x4c]
push dword [esp + 0x4c]
call fcn.10084e40
add esp, 0x20
call fcn.1004e9a0
mov cl, byte [esp + 0xb]
test cl, cl
je 0x100876c5
mov ecx, dword [esp + 0x28]
lea esi, [esp + 0x114]
xor edx, edx
cmp dword [esp + 0xbc], edx
sete dl
lea edx, [edx*4 + 0xc]
sub edx, 4
jb 0x10087621
nop dword [eax]
mov eax, dword [esi]
cmp eax, dword [ecx]
jne 0x1008762a
add esi, 4
add ecx, 4
sub edx, 4
jae 0x10087610
cmp edx, 0xfffffffc
je 0x100876bf
mov al, byte [esi]
cmp al, byte [ecx]
jne 0x1008765b
cmp edx, 0xfffffffd
je 0x100876bf
mov al, byte [esi + 1]
cmp al, byte [ecx + 1]
jne 0x1008765b
cmp edx, 0xfffffffe
je 0x100876bf
mov al, byte [esi + 2]
cmp al, byte [ecx + 2]
jne 0x1008765b
cmp edx, 0xffffffff
je 0x100876bf
mov al, byte [esi + 3]
cmp al, byte [ecx + 3]
je 0x100876bf
mov esi, dword [0x1010713c]
mov ecx, dword [esp + 0xc0]
mov eax, dword [esi + 0x19bc]
cmp eax, dword [ecx + 0x10c]
je 0x1008769f
test eax, eax
je 0x1008769f
cmp byte [esi + 0x1c78], 0
mov edi, dword [sym.imp.ucrtbased.dll__wassert]
jne 0x100876a5
push 0xa9b
push 0x100c05b8
push str.g.ActiveId__id__g.ActiveId__0__g.DragDropActive
call edi
add esp, 0xc
jmp 0x100876a5
mov edi, dword [sym.imp.ucrtbased.dll__wassert]
mov eax, dword [esi + 0x199c]
mov cl, byte [esp + 0xb]
mov byte [esi + 0x19cf], 1
or dword [eax + 0x110], 4
jmp 0x100876cb
xor cl, cl
mov byte [esp + 0xb], cl
mov edi, dword [sym.imp.ucrtbased.dll__wassert]
mov eax, dword [0x1010713c]
mov esi, dword [eax + 0x199c]
cmp dword [esi + 0x1c0], 0
jg 0x100876f9
push 0x4c2
push 0x100c0510
push str.Size___0
call edi
mov al, byte [esp + 0x17]
add esp, 0xc
jmp 0x100876fb
mov al, cl
dec dword [esi + 0x1c0]
mov ecx, dword [esp + 0x124]
pop edi
pop esi
xor ecx, esp
call fcn.100b3fd0
mov esp, ebp
pop ebp
ret