Function at 0x401f71
Capabilities:
Create process on windows
Delete file
Set registry value

Disassembly:
mov eax, 0x4129a8
call fcn.00411610
sub esp, 0x3c
push esi
mov esi, ecx
call fcn.00401f64
test eax, eax
jne 0x401f94
mov eax, 0x80004005
jmp 0x402388
mov ecx, dword [esi + 0xb8]
lea eax, [ebp - 0x2c]
push ebx
push eax
call fcn.0040b542
xor ebx, ebx
lea ecx, [ebp - 0x48]
mov dword [ebp - 4], ebx
call sub.MFC42.DLL_CFile::CFile
push dword [ebp - 0x2c]
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push str._root__r_n
lea ecx, [ebp - 0x14]
call fcn.0041114c
push 0x41c0f8
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.0041114c
push dword [esi + 0xac]
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 3
push str._url__s__url__r_n
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea eax, [ebp - 0x10]
lea ecx, [ebp - 0x14]
push eax
call fcn.00411128
push dword [esi + 0xb0]
lea eax, [ebp - 0x10]
push str._key__s__key__r_n
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea eax, [ebp - 0x10]
lea ecx, [ebp - 0x14]
push eax
call fcn.00411128
push 0x64
lea eax, [ebp - 0x10]
push str._encodenum__d__encodenum__r_n
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea eax, [ebp - 0x10]
lea ecx, [ebp - 0x14]
push eax
call fcn.00411128
push str._execute_1__execute__r_n
lea ecx, [ebp - 0x14]
call fcn.0041112e
push str._forcekill_1__forcekill__r_n
lea ecx, [ebp - 0x14]
call fcn.0041112e
mov ecx, dword [esi + 0xb8]
lea eax, [ebp - 0x34]
push eax
call fcn.0040b2b6
push dword [eax]
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 4
push str._processname__s__processname__r_n
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CString::CString
lea eax, [ebp - 0x10]
lea ecx, [ebp - 0x14]
push eax
call fcn.00411128
push str._others_1__others__r_n
lea ecx, [ebp - 0x14]
call fcn.0041112e
mov ecx, dword [esi + 0xb8]
lea eax, [ebp - 0x34]
push eax
call fcn.0040be53
push dword [eax]
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 5
push str._localpath__s__localpath__r_n
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CString::CString
lea eax, [ebp - 0x10]
lea ecx, [ebp - 0x14]
push eax
call fcn.00411128
lea ecx, [ebp - 0x28]
call sub.MFC42.DLL_CString::CString_5
mov ecx, dword [esi + 0xb8]
lea eax, [ebp - 0x38]
push eax
mov byte [ebp - 4], 6
call fcn.0040be53
push str.Temp
push eax
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 7
push eax
call sub.MFC42.DLL_operator
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 8
call sub.MFC42.DLL_CString::operator_1
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 7
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 6
call sub.MFC42.DLL_CString::CString
push dword [ebp - 0x28]
lea eax, [ebp - 0x10]
push str._tmppath__s__tmppath__r_n
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea eax, [ebp - 0x10]
lea ecx, [ebp - 0x14]
push eax
call fcn.00411128
push str.__root_
lea ecx, [ebp - 0x14]
call fcn.0041112e
push ebx
push 0x1001
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x48]
call sub.MFC42.DLL_CFile::Open
test eax, eax
jne 0x402187
mov esi, 0x80004005
jmp 0x40234a
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x48]
push dword [eax - 8]
push eax
mov eax, dword [ebp - 0x48]
call dword [eax + 0x40]
lea ecx, [ebp - 0x48]
call sub.MFC42.DLL_CFile::Close
lea eax, [ebp - 0x18]
push eax
push str.Software_tencentBMate
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
jne 0x40217d
push edi
lea ecx, [ebp - 0x24]
call sub.MFC42.DLL_CString::CString_5
mov ecx, dword [esi + 0xb8]
lea eax, [ebp - 0x38]
push eax
mov byte [ebp - 4], 9
call fcn.0040b3ac
push eax
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0xa
call sub.MFC42.DLL_CString::operator_1
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 9
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x24]
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [eax - 8]
push eax
push 1
push ebx
push str.Install
push dword [ebp - 0x18]
call edi
test eax, eax
je 0x402214
mov esi, 0x80004005
jmp 0x40233d
lea ecx, [ebp - 0x20]
call sub.MFC42.DLL_CString::CString_5
mov ecx, dword [esi + 0xb8]
mov byte [ebp - 4], 0xb
call fcn.0040be73
push eax
lea eax, [ebp - 0x20]
push 0x41b234
push eax
call sub.MFC42.DLL_CString::Format
mov eax, dword [ebp - 0x20]
add esp, 0xc
push dword [eax - 8]
push eax
push 1
push ebx
push str.AppType
push dword [ebp - 0x18]
call edi
test eax, eax
je 0x40225f
mov esi, 0x80004005
jmp 0x402331
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esi + 0xb8]
lea eax, [ebp - 0x34]
push eax
call fcn.0040b542
mov edi, dword [eax]
mov ecx, dword [esi + 0xb8]
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 0xc
push eax
call fcn.0040b447
mov eax, dword [eax]
push 5
push ebx
push edi
push eax
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
lea ecx, [ebp - 0x38]
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0xb
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x1c]
call sub.MFC42.DLL_CString::CString_5
push dword [esi + 0xac]
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 0xd
push 0x41b208
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0xc
mov ecx, 0x41c238
push dword [ebp - 0x1c]
call fcn.00401429
mov ecx, dword [esi + 0xb8]
lea eax, [ebp - 0x30]
push eax
call fcn.0040be02
push dword [ebp - 0x30]
mov eax, dword [esi + 0xb4]
mov byte [ebp - 4], 0xe
push eax
push str.Param
push str.Update
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov ecx, esi
call fcn.00402395
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0xd
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0xb
call sub.MFC42.DLL_CString::CString
xor esi, esi
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 9
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 6
call sub.MFC42.DLL_CString::CString
pop edi
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], bl
call fcn.00411194
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call sub.MFC42.DLL_CString::CString
mov eax, esi
pop ebx
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret