Function at 0x409d4f
Capabilities:
Create process on windows
Get common file path

Disassembly:
mov eax, 0x41e380
call sub.MSVCRT.dll__EH_prolog
sub esp, 0x30
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x20], esi
call sub.MFC42.DLL_CString::CString
xor ebx, ebx
push 0x400
push 0x402
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], ebx
call sub.MFC42.DLL_CString::GetBuffer
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::ReleaseBuffer
push 0x5c
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::ReverseFind
cmp eax, 0xffffffff
je 0x409dca
inc eax
lea ecx, [ebp - 0x10]
push eax
lea eax, [ebp - 0x1c]
push eax
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::operator_1
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], bl
call fcn.00410848
push 0x4296ac
lea ecx, [ebp - 0x10]
call fcn.00410914
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::MakeLower
lea ecx, [ebp - 0x3c]
call sub.MFC42.DLL_CFileFind::CFileFind
mov eax, dword [ebp - 0x10]
push ebx
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
mov eax, dword [eax - 8]
push eax
call sub.MFC42.DLL_CString::GetBuffer
push eax
lea ecx, [ebp - 0x3c]
call sub.MFC42.DLL_CFileFind::FindFile
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
mov edi, eax
call sub.MFC42.DLL_CString::ReleaseBuffer
cmp edi, ebx
jne 0x409e1b
xor esi, esi
jmp 0x409fa5
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x1c], ebx
call sub.MFC42.DLL_CString::CString
push ebx
mov edi, 0x104
push 0x2b
push edi
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CString::GetBuffer
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
jne 0x409e4e
mov dword [ebp - 0x1c], 1
push 0xffffffffffffffff
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::ReleaseBuffer
push str.TencentQQDownload
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::operator
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::MakeLower
cmp dword [ebp - 0x1c], ebx
jne 0x409f62
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::CString
add esi, 0x58
mov byte [ebp - 4], 4
push esi
push str.DownloadProxy.Downloader.1
call dword [sym.imp.ole32.dll_CLSIDFromProgID]
push edi
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::GetBuffer
push eax
mov ecx, dword [ebp - 0x20]
sub esp, 0x10
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.00409fcd
test eax, eax
jne 0x409ec6
push 0xffffffffffffffff
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::ReleaseBuffer
mov dword [ebp - 0x1c], 1
jmp 0x409f51
or esi, 0xffffffff
lea ecx, [ebp - 0x14]
push esi
call sub.MFC42.DLL_CString::ReleaseBuffer
push 0x429620
push 0x4282a4
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::Replace
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::MakeLower
mov eax, dword [ebp - 0x14]
push ebx
lea ecx, [ebp - 0x14]
mov eax, dword [eax - 8]
push eax
call sub.MFC42.DLL_CString::GetBuffer
push eax
lea ecx, [ebp - 0x3c]
call sub.MFC42.DLL_CFileFind::FindFile
push esi
lea ecx, [ebp - 0x14]
mov edi, eax
call sub.MFC42.DLL_CString::ReleaseBuffer
cmp edi, ebx
je 0x409eba
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x18]
push dword [eax - 8]
call sub.MFC42.DLL_CString::GetBuffer
push eax
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::Find
cmp eax, esi
jne 0x409f48
push dword [ebp - 0x10]
push dword [ebp - 0x14]
call dword [sym.imp.MSVCRT.dll__mbscmp]
pop ecx
test eax, eax
pop ecx
je 0x409f48
mov dword [ebp - 0x1c], 1
push esi
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::ReleaseBuffer
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.00410848
cmp dword [ebp - 0x1c], ebx
je 0x409f96
mov eax, dword [ebp - 0x10]
push ebx
push ebx
push str.__RegServer
mov eax, dword [eax - 8]
lea ecx, [ebp - 0x10]
push eax
call sub.MFC42.DLL_CString::GetBuffer
push eax
push ebx
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::ReleaseBuffer
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.00410848
push 1
pop esi
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], bl
call fcn.004108ea
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00410848
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret