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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x429782
mov eax, dword fs:[0]
push eax
sub esp, 0x1bc
mov eax, dword [0x44c264]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
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 0x40cab8
lea edx, [ebp - 0x138]
push edx
call dword [sym.imp.QQMusicCommon.dll_class_ATL::CStringT_wchar_t__class_ATL::StrTraitATL_wchar_t__class_ATL::ChTraitsCRT_wchar_t______cdecl_qqmusic::GetExeFolder_void_]
push str.QQMusicUp.exe
push eax
lea eax, [ebp - 0x12c]
push eax
mov dword [ebp - 4], 0
call fcn.00401af0
add esp, 0x10
mov eax, dword [ebp - 0x138]
mov ebx, 2
add eax, 0xfffffff0
or edi, 0xffffffff
mov byte [ebp - 4], bl
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40c97a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [0x44cc60]
mov eax, dword [edx + 0xc]
mov ecx, 0x44cc60
call eax
add eax, 0x10
mov dword [ebp - 0x128], eax
mov byte [ebp - 4], 3
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.QQMusicCommon.dll_unsigned_int___cdecl_qqmusic::GetAppVersionBuildNo_void_]
push eax
call dword [sym.imp.QQMusicCommon.dll_unsigned_int___cdecl_qqmusic::GetAppVersion_void_]
push eax
push 0
push 0x42d8a0
push str._manual
lea ecx, [ebp - 0x128]
push str.__newpath__s_guid_s_qq_u_ver_u_build_ver_u_hWnd_u
push ecx
call fcn.004017c0
push 0x3c
lea edx, [ebp - 0x184]
push 0
push edx
call sub.MSVCR80.dll_memset
mov eax, dword [ebp - 0x12c]
mov esi, dword [ebp - 0x128]
add esp, 0x2c
lea ecx, [ebp - 0x184]
push ecx
mov dword [ebp - 0x184], 0x3c
mov dword [ebp - 0x178], str.open
mov dword [ebp - 0x174], eax
mov dword [ebp - 0x170], esi
mov dword [ebp - 0x16c], 0x42d8a0
mov dword [ebp - 0x168], 1
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
mov byte [ebp - 4], bl
lea eax, [esi - 0x10]
je 0x40ca77
lea edx, [eax + 0xc]
mov ecx, edi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40ca4b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x12c]
add eax, 0xfffffff0
mov dword [ebp - 4], edi
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edi
dec edi
test edi, edi
jg 0x40ca6d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 0x21
jmp 0x40cce0
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40ca8f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x12c]
add eax, 0xfffffff0
mov dword [ebp - 4], edi
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edi
dec edi
test edi, edi
jg 0x40cab1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x40cce0
lea ecx, [ebp - 0x134]
push ecx
call dword [sym.imp.QQMusicCommon.dll_class_ATL::CStringT_wchar_t__class_ATL::StrTraitATL_wchar_t__class_ATL::ChTraitsCRT_wchar_t______cdecl_qqmusic::GetExeFolder_void_]
push str.QQMusicUp.exe
push eax
lea edx, [ebp - 0x130]
push edx
mov dword [ebp - 4], 4
call fcn.00401af0
add esp, 0x10
mov eax, dword [ebp - 0x134]
add eax, 0xfffffff0
mov byte [ebp - 4], 6
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40cb07
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [0x44cc60]
mov eax, dword [edx + 0xc]
mov ecx, 0x44cc60
call eax
add eax, 0x10
mov dword [ebp - 0x128], eax
mov byte [ebp - 4], 7
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.QQMusicCommon.dll_unsigned_int___cdecl_qqmusic::GetAppVersionBuildNo_void_]
push eax
call dword [sym.imp.QQMusicCommon.dll_unsigned_int___cdecl_qqmusic::GetAppVersion_void_]
mov ecx, dword [ebp - 0x130]
push eax
push 0
push 0x42d8a0
push str._manual
push ecx
lea edx, [ebp - 0x128]
push 0x430ae8
push edx
call fcn.004017c0
push 0x44
lea eax, [ebp - 0x1c8]
push 0
push eax
call sub.MSVCR80.dll_memset
mov esi, dword [ebp - 0x128]
add esi, 0xfffffff0
push esi
mov dword [ebp - 0x1c8], 0x44
mov dword [ebp - 0x19c], 1
mov word [ebp - 0x198], 5
call fcn.00401330
add esp, 0x34
lea ecx, [ebp - 0x148]
push ecx
lea edx, [ebp - 0x1c8]
push edx
push 0
push 0
push 0
push 0
push 0
lea edi, [eax + 0x10]
push 0
push edi
push 0
mov dword [ebp - 0x12c], edi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x40cc3f
mov eax, dword [ebp - 0x148]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call ebx
mov ecx, dword [ebp - 0x144]
push ecx
call ebx
lea eax, [edi - 0x10]
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40cc00
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 6
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40cc1d
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
mov eax, dword [ebp - 0x130]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x40ca61
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, 2
sub eax, ebx
lea ecx, [ebp - 0x12c]
je 0x40ccc3
sub eax, 1
je 0x40cca1
sub eax, 0xbe
je 0x40cc7f
call fcn.00412f60
lea ecx, [ebp - 0x128]
call fcn.00412f60
lea ecx, [ebp - 0x130]
call fcn.00412f60
xor eax, eax
jmp 0x40cce0
call fcn.00412f60
lea ecx, [ebp - 0x128]
call fcn.00412f60
lea ecx, [ebp - 0x130]
call fcn.00412f60
mov eax, 0xb
jmp 0x40cce0
call fcn.00412f60
lea ecx, [ebp - 0x128]
call fcn.00412f60
lea ecx, [ebp - 0x130]
call fcn.00412f60
mov eax, 3
jmp 0x40cce0
call fcn.00412f60
lea ecx, [ebp - 0x128]
call fcn.00412f60
lea ecx, [ebp - 0x130]
call fcn.00412f60
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 - 0x10]
xor ecx, ebp
call fcn.0042798a
mov esp, ebp
pop ebp
ret