Function at 0x407e07
Capabilities:
Check os version

Disassembly:
push 0x198
mov eax, 0x44133f
call fcn.0043fef0
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 0x407eb6
mov dword [ebp - 0x134], ebx
lea eax, [ebp - 0x134]
push eax
push 0x449bd8
push 1
push ebx
push 0x449bf8
mov dword [ebp - 4], ebx
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
test esi, esi
jns 0x407e87
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x134]
jmp 0x4080af
mov eax, dword [ebp - 0x134]
push str.CrunchRevGameUpdater
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 0x407eae
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
mov eax, esi
call fcn.0043fe9f
ret
cmp dword [ebp - 0x120], 6
jb 0x407eae
mov dword [ebp - 0x128], ebx
lea eax, [ebp - 0x128]
push eax
xor ecx, ecx
push 0x449918
inc ecx
push ecx
push ebx
push 0x449b28
mov dword [ebp - 4], ecx
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov edi, eax
test edi, edi
js 0x408031
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 0x408031
xor ebx, ebx
mov dword [ebp - 0x12c], ebx
mov byte [ebp - 4], 6
mov esi, dword [ebp - 0x128]
push 0x44bc54
lea ecx, [ebp - 0x130]
call fcn.00406411
mov byte [ebp - 4], 7
mov ecx, dword [eax]
test ecx, ecx
je 0x407ff4
mov ecx, dword [ecx]
jmp 0x407ff6
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 0x408019
call fcn.00406487
test edi, edi
jns 0x40804c
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x12c]
test eax, eax
je 0x408031
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x128]
test eax, eax
je 0x408045
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, edi
jmp 0x407eb0
mov esi, dword [ebp - 0x12c]
push str.CrunchRevGameUpdater
lea ecx, [ebp - 0x130]
call fcn.00406411
mov byte [ebp - 4], 8
mov ecx, dword [eax]
test ecx, ecx
je 0x408070
mov ecx, dword [ecx]
jmp 0x408072
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 0x408091
call fcn.00406487
mov dword [ebp - 0x130], ebx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x12c]
test eax, eax
je 0x4080a5
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x128]
test eax, eax
je 0x407eae
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x407eae