Function at 0x407e02
Capabilities:
Check os version

Disassembly:
push 0x198
mov eax, 0x443f8e
call fcn.00442b30
push 0x110
xor ebx, ebx
lea eax, [ebp - 0x120]
push ebx
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
lea eax, [ebp - 0x124]
push eax
mov esi, ebx
mov dword [ebp - 0x124], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x120], 5
jne 0x407eb1
mov dword [ebp - 0x134], ebx
lea eax, [ebp - 0x134]
push eax
push 0x44bbe8
push 1
push ebx
push 0x44bc08
mov dword [ebp - 4], ebx
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
test esi, esi
jns 0x407e82
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x134]
jmp 0x4080aa
mov eax, dword [ebp - 0x134]
push str.RobloxGameUpdater
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x134]
mov esi, eax
test ecx, ecx
je 0x407ea9
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
mov eax, esi
call fcn.00442adf
ret
cmp dword [ebp - 0x120], 6
jb 0x407ea9
mov dword [ebp - 0x128], ebx
lea eax, [ebp - 0x128]
push eax
xor ecx, ecx
push 0x44b928
inc ecx
push ecx
push ebx
push 0x44bb38
mov dword [ebp - 4], ecx
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov edi, eax
test edi, edi
js 0x40802c
mov ebx, dword [sym.imp.OLEAUT32.dll_VariantClear]
lea eax, [ebp - 0x154]
push eax
call ebx
lea esi, [ebp - 0x154]
lea edi, [ebp - 0x184]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x174]
push eax
movsd dword es:[edi], dword [esi]
call ebx
lea esi, [ebp - 0x174]
lea edi, [ebp - 0x1a4]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x144]
push eax
movsd dword es:[edi], dword [esi]
call ebx
lea esi, [ebp - 0x144]
lea edi, [ebp - 0x194]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x164]
push eax
movsd dword es:[edi], dword [esi]
call ebx
mov byte [ebp - 4], 5
sub esp, 0x10
mov edi, esp
lea esi, [ebp - 0x184]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
sub esp, 0x10
mov edi, esp
lea esi, [ebp - 0x1a4]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
sub esp, 0x10
mov eax, dword [ebp - 0x128]
mov edi, esp
lea esi, [ebp - 0x194]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ecx, dword [eax]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
sub esp, 0x10
mov edi, esp
lea esi, [ebp - 0x164]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push eax
movsd dword es:[edi], dword [esi]
call dword [ecx + 0x28]
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov edi, eax
lea eax, [ebp - 0x164]
push eax
call esi
lea eax, [ebp - 0x144]
push eax
call esi
lea eax, [ebp - 0x174]
push eax
call esi
lea eax, [ebp - 0x154]
push eax
call esi
test edi, edi
js 0x40802c
xor ebx, ebx
mov dword [ebp - 0x12c], ebx
mov byte [ebp - 4], 6
mov esi, dword [ebp - 0x128]
push 0x44dc74
lea ecx, [ebp - 0x130]
call fcn.00406411
mov byte [ebp - 4], 7
mov ecx, dword [eax]
test ecx, ecx
je 0x407fef
mov ecx, dword [ecx]
jmp 0x407ff1
mov ecx, ebx
mov eax, dword [esi]
lea edx, [ebp - 0x12c]
push edx
push ecx
push esi
call dword [eax + 0x1c]
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x130]
mov edi, eax
test ecx, ecx
je 0x408014
call fcn.00406487
test edi, edi
jns 0x408047
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x12c]
test eax, eax
je 0x40802c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x128]
test eax, eax
je 0x408040
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, edi
jmp 0x407eab
mov esi, dword [ebp - 0x12c]
push str.RobloxGameUpdater
lea ecx, [ebp - 0x130]
call fcn.00406411
mov byte [ebp - 4], 8
mov ecx, dword [eax]
test ecx, ecx
je 0x40806b
mov ecx, dword [ecx]
jmp 0x40806d
mov ecx, ebx
mov eax, dword [esi]
push ebx
push ecx
push esi
call dword [eax + 0x3c]
mov ecx, dword [ebp - 0x130]
mov esi, eax
test ecx, ecx
je 0x40808c
call fcn.00406487
mov dword [ebp - 0x130], ebx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x12c]
test eax, eax
je 0x4080a0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x128]
test eax, eax
je 0x407ea9
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x407ea9