Function at 0x4039ef
Capabilities:
Check os version

Disassembly:
push 0x198
mov eax, 0x465d96
call fcn.0044e593
push pe_nt_image_headers32
xor ebx, ebx
lea eax, [ebp - 0x120]
push ebx
push eax
call fcn.0044da10
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 0x403a9e
mov dword [ebp - 0x134], ebx
lea eax, [ebp - 0x134]
push eax
push 0x46e958
push 1
push ebx
push 0x46e978
mov dword [ebp - 4], ebx
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
test esi, esi
jns 0x403a6f
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x134]
jmp 0x403c97
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 0x403a96
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
mov eax, esi
call fcn.0044e542
ret
cmp dword [ebp - 0x120], 6
jb 0x403a96
mov dword [ebp - 0x128], ebx
lea eax, [ebp - 0x128]
push eax
xor ecx, ecx
push 0x46e698
inc ecx
push ecx
push ebx
push 0x46e8a8
mov dword [ebp - 4], ecx
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov edi, eax
test edi, edi
js 0x403c19
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 0x403c19
xor ebx, ebx
mov dword [ebp - 0x12c], ebx
mov byte [ebp - 4], 6
mov esi, dword [ebp - 0x128]
push 0x477c80
lea ecx, [ebp - 0x130]
call fcn.00401c9f
mov byte [ebp - 4], 7
mov ecx, dword [eax]
test ecx, ecx
je 0x403bdc
mov ecx, dword [ecx]
jmp 0x403bde
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 0x403c01
call fcn.00401d14
test edi, edi
jns 0x403c34
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x12c]
test eax, eax
je 0x403c19
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x128]
test eax, eax
je 0x403c2d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, edi
jmp 0x403a98
mov esi, dword [ebp - 0x12c]
push str.RobloxGameUpdater
lea ecx, [ebp - 0x130]
call fcn.00401c9f
mov byte [ebp - 4], 8
mov ecx, dword [eax]
test ecx, ecx
je 0x403c58
mov ecx, dword [ecx]
jmp 0x403c5a
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 0x403c79
call fcn.00401d14
mov dword [ebp - 0x130], ebx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x12c]
test eax, eax
je 0x403c8d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x128]
test eax, eax
je 0x403a96
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x403a96