Function at 0x40cfb0
Capabilities:
Check if file exists
Create process on windows
Delete file
Move file
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x429870
mov eax, dword fs:[0]
push eax
sub esp, 0xc4
push ebx
push esi
push edi
mov eax, dword [0x44c264]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [sym.imp.QQMusicCommon.dll_class_ATL::CStringT_wchar_t__class_ATL::StrTraitATL_wchar_t__class_ATL::ChTraitsCRT_wchar_t______cdecl_qqmusic::GetAppDataFolder_void_]
lea eax, [ebp - 0x30]
push eax
call esi
push str.qmdb
push eax
lea ecx, [ebp - 0x24]
push ecx
mov dword [ebp - 4], 0
call fcn.00401af0
add esp, 0x10
mov eax, dword [ebp - 0x30]
add eax, 0xfffffff0
mov byte [ebp - 4], 2
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40d025
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x34]
push ecx
call esi
push str.qmdbex
push eax
lea edx, [ebp - 0x20]
push edx
mov byte [ebp - 4], 3
call fcn.00401af0
add esp, 0x10
mov eax, dword [ebp - 0x34]
add eax, 0xfffffff0
mov byte [ebp - 4], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d064
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x24]
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push ecx
call ebx
test eax, eax
jne 0x40d095
mov edx, dword [ebp - 0x20]
push edx
call ebx
test eax, eax
jne 0x40d095
push eax
push 0x42ecc8
push 0x42eca8
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x40d3ac
push 1
mov ecx, edi
call fcn.0040b630
lea eax, [ebp - 0x38]
push eax
call esi
push str.Backup_
push eax
lea ecx, [ebp - 0x18]
push ecx
mov byte [ebp - 4], 6
call fcn.00401af0
add esp, 0x10
mov eax, dword [ebp - 0x38]
add eax, 0xfffffff0
mov byte [ebp - 4], 8
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40d0dd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x18]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x2c], esp
mov edi, esp
push eax
call fcn.00401330
add eax, 0x10
add esp, 4
mov dword [edi], eax
call dword [sym.imp.QQMusicCommon.dll_int___cdecl_QM::CreateDirectoryW_class_ATL::CStringT_wchar_t__class_ATL::StrTraitATL_wchar_t__class_ATL::ChTraitsCRT_wchar_t____]
lea ecx, [ebp - 0x40]
push ecx
call esi
push str.qmlist.db
push eax
lea edx, [ebp - 0x10]
push edx
mov byte [ebp - 4], 9
call fcn.00401af0
add esp, 0x14
mov eax, dword [ebp - 0x40]
add eax, 0xfffffff0
mov byte [ebp - 4], 0xb
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d13c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str.qmlist.db
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp - 0x14]
push edx
call fcn.00401af0
add esp, 0xc
mov eax, dword [ebp - 0x14]
push eax
mov byte [ebp - 4], 0xc
call ebx
test eax, eax
je 0x40d175
mov ecx, dword [ebp - 0x10]
push ecx
call ebx
test eax, eax
je 0x40d18d
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x40d17f
mov edx, dword [ebp - 0x10]
push edx
call ebx
test eax, eax
je 0x40d18d
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileW]
mov ebx, dword [sym.imp.QQMusicCommon.dll_class_ATL::CStringT_wchar_t__class_ATL::StrTraitATL_wchar_t__class_ATL::ChTraitsCRT_wchar_t______cdecl_qqmusic::GetExeFolder_void_]
lea edx, [ebp - 0x3c]
push edx
call ebx
push str.DataTransformEx.exe
push eax
lea eax, [ebp - 0x28]
push eax
mov byte [ebp - 4], 0xd
call fcn.00401af0
add esp, 0x10
mov eax, dword [ebp - 0x3c]
add eax, 0xfffffff0
mov byte [ebp - 4], 0xf
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d1d2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x3c
xor edi, edi
lea ecx, [ebp - 0x8c]
push edi
push ecx
call sub.MSVCR80.dll_memset
mov edx, dword [ebp - 0x28]
add esp, 0xc
lea eax, [ebp - 0x8c]
push eax
mov dword [ebp - 0x8c], 0x3c
mov dword [ebp - 0x88], 0x40
mov dword [ebp - 0x84], edi
mov dword [ebp - 0x80], edi
mov dword [ebp - 0x7c], edx
mov dword [ebp - 0x74], edi
mov dword [ebp - 0x70], 5
mov dword [ebp - 0x6c], edi
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov ecx, dword [ebp - 0x54]
mov esi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x2710
push ecx
call esi
cmp eax, edi
je 0x40d275
mov edi, dword [sym.imp.QQMusicCommon.dll_void___cdecl_qqmusic::WriteLog_unsigned_long_int__wchar_t_const__]
push eax
push str.Wait_QQMusic_to_exit_failed._with_return_value__u._Now_kill_qqmusic_rudly.
push 4
call edi
mov edx, dword [ebp - 0x54]
add esp, 0xc
push 0
push edx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, dword [ebp - 0x54]
push 0xbb8
push eax
call esi
test eax, eax
je 0x40d273
push eax
push str.Wait_QQMusic_to_exit_failed_twice_with_return_value__u._I_have_no_idea.
push 4
call edi
add esp, 0xc
xor edi, edi
lea ecx, [ebp - 0x2c]
push ecx
call ebx
push str.QQMusic.exe
push eax
lea edx, [ebp - 0x1c]
push edx
mov byte [ebp - 4], 0x10
call fcn.00401af0
mov eax, dword [ebp - 0x2c]
add eax, 0xfffffff0
add esp, 0x10
mov byte [ebp - 4], 0xf
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d2b4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x40
lea ecx, [ebp - 0xcc]
push edi
push ecx
call sub.MSVCR80.dll_memset
mov ecx, dword [ebp - 0x1c]
add esp, 0xc
xor eax, eax
lea edx, [ebp - 0x50]
push edx
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0xd0]
push eax
push edi
push edi
push edi
push edi
push edi
push edi
push ecx
push edi
mov dword [ebp - 0xd0], 0x44
mov dword [ebp - 0x50], edi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
push edi
call dword [sym.imp.USER32.dll_PostQuitMessage]
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40d320
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff0
mov byte [ebp - 4], 0xc
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d343
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
mov byte [ebp - 4], 0xb
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d366
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
mov byte [ebp - 4], 8
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d389
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
mov byte [ebp - 4], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d3ac
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
mov byte [ebp - 4], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d3cf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x24]
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
jg 0x40d3f5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret