Function at 0x45f2e0
Capabilities:
Check os version
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46fadc
mov eax, dword fs:[0]
push eax
sub esp, 0x17c
mov eax, dword [0x4ab368]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
test esi, esi
je 0x45f53f
lea eax, [ebp - 0x124]
push eax
mov dword [ebp - 0x124], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x120], 6
sbb ecx, ecx
inc ecx
je 0x45f546
lea ecx, [ebp - 0x130]
call dword [sym.imp.MFC80U.DLL_Ordinal_293]
lea ecx, [ebp - 0x12c]
mov dword [ebp - 4], 0
call dword [sym.imp.MFC80U.DLL_Ordinal_293]
push esi
lea ecx, [ebp - 0x128]
mov byte [ebp - 4], 1
call dword [sym.imp.MFC80U.DLL_Ordinal_283]
push 0x47eaa8
lea ecx, [ebp - 0x128]
mov byte [ebp - 4], 2
call dword [sym.imp.MFC80U.DLL_Ordinal_6166]
push 0
lea ecx, [ebp - 0x128]
call dword [sym.imp.MFC80U.DLL_Ordinal_860]
cmp ax, 0x22
jne 0x45f439
push 1
push 0x22
lea ecx, [ebp - 0x128]
call dword [sym.imp.MFC80U.DLL_Ordinal_2260]
mov esi, eax
cmp esi, 0xffffffff
lea ecx, [ebp - 0x128]
je 0x45f521
lea edx, [esi - 1]
push edx
push 1
lea eax, [ebp - 0x134]
push eax
call dword [sym.imp.MFC80U.DLL_Ordinal_4101]
push eax
lea ecx, [ebp - 0x12c]
mov byte [ebp - 4], 3
call dword [sym.imp.MFC80U.DLL_Ordinal_774]
lea ecx, [ebp - 0x134]
mov byte [ebp - 4], 2
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
lea ecx, [ebp - 0x128]
call dword [sym.imp.MFC80U.DLL_Ordinal_2895]
sub eax, esi
sub eax, 1
push eax
lea ecx, [ebp - 0x134]
push ecx
lea ecx, [ebp - 0x128]
call dword [sym.imp.MFC80U.DLL_Ordinal_5558]
push eax
lea ecx, [ebp - 0x130]
mov byte [ebp - 4], 4
call dword [sym.imp.MFC80U.DLL_Ordinal_774]
lea ecx, [ebp - 0x134]
mov byte [ebp - 4], 2
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
jmp 0x45f45d
lea edx, [ebp - 0x128]
push edx
lea ecx, [ebp - 0x12c]
call dword [sym.imp.MFC80U.DLL_Ordinal_774]
push 0x472710
lea ecx, [ebp - 0x130]
call dword [sym.imp.MFC80U.DLL_Ordinal_776]
mov edi, dword [ebp + 0xc]
push edi
push 0
lea ecx, [ebp - 0x130]
call dword [sym.imp.MFC80U.DLL_Ordinal_870]
push eax
lea ecx, [ebp - 0x12c]
call dword [sym.imp.MFC80U.DLL_Ordinal_870]
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push edi
lea ecx, [ebp - 0x130]
mov esi, eax
call dword [sym.imp.MFC80U.DLL_Ordinal_870]
push eax
lea ecx, [ebp - 0x12c]
call dword [sym.imp.MFC80U.DLL_Ordinal_870]
cmp esi, 0x20
push eax
push esi
jle 0x45f4fb
push str.ShellExecute_OK__nRet:_ld__strPath:_s__param:_s__uCumShow:_lu
push str.Update_WinExecInstantReturn
push 3
push str.QQUPDATECENTER::WinExecInstantReturn
push 0x39
push str.R:TempViewQQ1.84MiscAUClientUtilFunAutoUpdateUtil.cpp
call fcn.0040afd8
add esp, 0x28
lea ecx, [ebp - 0x128]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
lea ecx, [ebp - 0x12c]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
lea ecx, [ebp - 0x130]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov eax, 0x21
jmp 0x45f5ec
push str.ShellExecute_Failed__nRet:_ld__strPath:_s__param:_s__uCumShow:_lu
push str.Update_WinExecInstantReturn
push 3
push str.QQUPDATECENTER::WinExecInstantReturn
push 0x3e
push str.R:TempViewQQ1.84MiscAUClientUtilFunAutoUpdateUtil.cpp
call fcn.0040afd8
add esp, 0x28
lea ecx, [ebp - 0x128]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
lea ecx, [ebp - 0x12c]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
lea ecx, [ebp - 0x130]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
xor eax, eax
jmp 0x45f5ec
push 0x44
lea eax, [ebp - 0x188]
push 0
push eax
call fcn.00463688
mov cx, word [ebp + 0xc]
add esp, 0xc
lea edx, [ebp - 0x144]
push edx
lea eax, [ebp - 0x188]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push esi
push 0
mov dword [ebp - 0x188], 0x44
mov dword [ebp - 0x15c], 1
mov word [ebp - 0x158], cx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x45f5be
mov ecx, dword [ebp - 0x144]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
mov edx, dword [ebp - 0x140]
push edx
call esi
mov eax, 0x21
jmp 0x45f5ec
call dword [sym.imp.KERNEL32.dll_GetLastError]
sub eax, 2
je 0x45f5e7
sub eax, 1
je 0x45f5e0
sub eax, 0xbe
jne 0x45f53f
mov eax, 0xb
jmp 0x45f5ec
mov eax, 3
jmp 0x45f5ec
mov eax, 2
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00463522
mov esp, ebp
pop ebp
ret