Function at 0x4084ba
Capabilities:
Check os version

Disassembly:
push 0x198
mov eax, 0x438f10
call fcn.0043805e
push 0x110
xor ebx, ebx
lea eax, [ebp - 0x120]
push ebx
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x124], 0x114
lea eax, [ebp - 0x124]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x120], 5
jne 0x408570
mov dword [ebp - 0x128], ebx
lea eax, [ebp - 0x128]
mov dword [ebp - 4], ebx
push eax
push 0x43fb40
push 1
push ebx
push 0x43fb60
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
test esi, esi
jns 0x408541
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x128]
test eax, eax
je 0x40853d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, esi
jmp 0x40856a
mov eax, dword [ebp - 0x128]
push str.RobloxGameUpdater
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
or dword [ebp - 4], 0xffffffff
mov ebx, eax
mov ecx, dword [ebp - 0x128]
test ecx, ecx
je 0x408568
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
mov eax, ebx
call fcn.0043800d
ret
cmp dword [ebp - 0x120], 6
jb 0x408568
mov dword [ebp - 0x12c], ebx
lea eax, [ebp - 0x12c]
xor ecx, ecx
push eax
push 0x43f880
inc ecx
push ecx
push ebx
push 0x43fa90
mov dword [ebp - 4], ecx
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov edi, eax
test edi, edi
js 0x4086e7
mov ebx, dword [sym.imp.OLEAUT32.dll_VariantClear]
lea eax, [ebp - 0x174]
push eax
call ebx
lea esi, [ebp - 0x174]
lea edi, [ebp - 0x184]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x164]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call ebx
lea esi, [ebp - 0x164]
lea edi, [ebp - 0x194]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x154]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call ebx
lea esi, [ebp - 0x154]
lea edi, [ebp - 0x1a4]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x144]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call ebx
mov byte [ebp - 4], 5
lea esi, [ebp - 0x184]
sub esp, 0x10
mov eax, dword [ebp - 0x12c]
mov edi, esp
sub esp, 0x10
mov ecx, dword [eax]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, esp
lea esi, [ebp - 0x194]
sub esp, 0x10
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, esp
lea esi, [ebp - 0x1a4]
sub esp, 0x10
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, esp
lea esi, [ebp - 0x144]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [ecx + 0x28]
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov edi, eax
lea eax, [ebp - 0x144]
push eax
call esi
lea eax, [ebp - 0x154]
push eax
call esi
lea eax, [ebp - 0x164]
push eax
call esi
lea eax, [ebp - 0x174]
push eax
call esi
test edi, edi
js 0x4086e7
xor esi, esi
mov dword [ebp - 0x130], esi
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x128]
mov edi, dword [ebp - 0x12c]
push 0x4444a8
call fcn.00406c33
mov byte [ebp - 4], 7
mov ecx, dword [eax]
test ecx, ecx
je 0x4086ae
mov ecx, dword [ecx]
jmp 0x4086b0
mov ecx, esi
mov eax, dword [edi]
lea edx, [ebp - 0x130]
push edx
push ecx
push edi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x128]
mov byte [ebp - 4], 6
mov edi, eax
call fcn.00406c98
test edi, edi
jns 0x408702
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x130]
test eax, eax
je 0x4086e7
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x12c]
test eax, eax
je 0x4086fb
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, edi
jmp 0x40856a
mov edi, dword [ebp - 0x130]
lea ecx, [ebp - 0x134]
push str.RobloxGameUpdater
call fcn.00406c33
mov byte [ebp - 4], 8
mov ecx, dword [eax]
test ecx, ecx
je 0x408726
mov ecx, dword [ecx]
jmp 0x408728
mov ecx, esi
mov eax, dword [edi]
push esi
push ecx
push edi
call dword [eax + 0x3c]
lea ecx, [ebp - 0x134]
mov ebx, eax
call fcn.00406c98
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x130]
test eax, eax
je 0x408751
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x12c]
test eax, eax
je 0x408568
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x408568