Function at 0x403982
Capabilities:
Check os version

Disassembly:
push ebp
sub esp, 0x114
lea ebp, [esp - 4]
mov eax, dword [0x4861f4]
xor eax, ebp
mov dword [ebp + 0x114], eax
push 0x80
mov eax, 0x45c145
call fcn.004467e3
push 0x110
xor esi, esi
lea eax, [ebp + 4]
push esi
push eax
call fcn.004463b0
add esp, 0xc
lea eax, [ebp]
push eax
xor ebx, ebx
mov dword [ebp], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp + 4], 5
jne 0x403a2f
mov dword [ebp - 0x14], esi
lea eax, [ebp - 0x14]
push eax
push 0x465be0
push 1
push esi
push 0x465c00
mov dword [ebp - 4], esi
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov edi, eax
cmp edi, esi
jge 0x403a11
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
cmp eax, esi
je 0x403a0a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, edi
jmp 0x403bda
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
push str.RobloxGameUpdater
push eax
call dword [ecx + 0x1c]
or dword [ebp - 4], 0xffffffff
mov ebx, eax
mov eax, dword [ebp - 0x14]
cmp eax, esi
jmp 0x403bd0
cmp dword [ebp + 4], 6
jb 0x403bd8
mov dword [ebp - 0x10], esi
lea ecx, [ebp - 0x10]
push ecx
xor eax, eax
push 0x465920
inc eax
push eax
push esi
push 0x465b30
mov dword [ebp - 4], eax
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov edi, eax
cmp edi, esi
jge 0x403a67
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
jmp 0x403a00
mov ebx, dword [sym.imp.OLEAUT32.dll_VariantClear]
lea eax, [ebp - 0x3c]
push eax
call ebx
lea esi, [ebp - 0x3c]
lea edi, [ebp - 0x6c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x5c]
push eax
movsd dword es:[edi], dword [esi]
call ebx
lea esi, [ebp - 0x5c]
lea edi, [ebp - 0x8c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x2c]
push eax
movsd dword es:[edi], dword [esi]
call ebx
lea esi, [ebp - 0x2c]
lea edi, [ebp - 0x7c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x4c]
push eax
movsd dword es:[edi], dword [esi]
call ebx
mov byte [ebp - 4], 5
sub esp, 0x10
mov edi, esp
lea esi, [ebp - 0x6c]
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 - 0x8c]
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
mov eax, dword [ebp - 0x10]
lea esi, [ebp - 0x7c]
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 - 0x4c]
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 - 0x4c]
push eax
call esi
lea eax, [ebp - 0x2c]
push eax
call esi
lea eax, [ebp - 0x5c]
push eax
call esi
lea eax, [ebp - 0x3c]
push eax
call esi
test edi, edi
jge 0x403b18
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
test eax, eax
jmp 0x403a02
and dword [ebp - 0x18], 0
mov byte [ebp - 4], 6
mov esi, dword [ebp - 0x10]
push 0x4685b8
lea edi, [ebp - 0x14]
call fcn.00401c45
mov byte [ebp - 4], 7
mov eax, dword [eax]
test eax, eax
je 0x403b3e
mov eax, dword [eax]
jmp 0x403b40
xor eax, eax
mov ecx, dword [esi]
lea edx, [ebp - 0x18]
push edx
push eax
push esi
call dword [ecx + 0x1c]
lea edi, [ebp - 0x14]
mov esi, eax
mov byte [ebp - 4], 6
call fcn.00401ca5
test esi, esi
jge 0x403b83
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x403b6e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x403b7f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, esi
jmp 0x403bda
mov esi, dword [ebp - 0x18]
push str.RobloxGameUpdater
lea edi, [ebp - 0x1c]
call fcn.00401c45
mov byte [ebp - 4], 8
mov eax, dword [eax]
test eax, eax
je 0x403ba1
mov eax, dword [eax]
jmp 0x403ba3
xor eax, eax
mov ecx, dword [esi]
push 0
push eax
push esi
call dword [ecx + 0x3c]
lea edi, [ebp - 0x1c]
mov ebx, eax
call fcn.00401ca5
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x403bc7
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x403bd8
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x114]
xor ecx, ebp
call fcn.004428bd
add ebp, 0x118
leave
ret