Function at 0x418f50
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43416b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push esi
lea ecx, [ebp - 0x14]
call dword [sym.imp.MFC80U.DLL_Ordinal_293]
mov dword [ebp - 4], 0
mov esi, dword [ebp + 8]
add esi, 0x18
push esi
push str.DownloadProxy.Downloader.1
call dword [sym.imp.ole32.dll_CLSIDFromProgID]
push 0x104
lea ecx, [ebp - 0x14]
call dword [sym.imp.MFC80U.DLL_Ordinal_2460]
mov ecx, dword [esi]
mov edx, dword [esi + 4]
push eax
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esi + 8]
mov dword [eax + 4], edx
mov edx, dword [esi + 0xc]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
call fcn.00418b10
test eax, eax
push 0xffffffffffffffff
lea ecx, [ebp - 0x14]
jne 0x418fd1
call dword [sym.imp.MFC80U.DLL_Ordinal_5398]
jmp 0x419154
call dword [sym.imp.MFC80U.DLL_Ordinal_5398]
push 0x442838
push 0x446764
lea ecx, [ebp - 0x14]
call dword [sym.imp.MFC80U.DLL_Ordinal_5485]
lea ecx, [ebp - 0x14]
call dword [sym.imp.MFC80U.DLL_Ordinal_4074]
lea ecx, [ebp - 0x10]
call dword [sym.imp.MFC80U.DLL_Ordinal_293]
push 0x400
push 0x402
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call dword [sym.imp.MFC80U.DLL_Ordinal_2460]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call dword [sym.imp.MFC80U.DLL_Ordinal_5398]
push 0x5c
lea ecx, [ebp - 0x10]
call dword [sym.imp.MFC80U.DLL_Ordinal_5524]
cmp eax, 0xffffffff
je 0x419063
add eax, 1
push eax
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x10]
call dword [sym.imp.MFC80U.DLL_Ordinal_3990]
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call dword [sym.imp.MFC80U.DLL_Ordinal_774]
lea ecx, [ebp + 8]
mov byte [ebp - 4], 1
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
push 0x452da8
lea ecx, [ebp - 0x10]
call dword [sym.imp.MFC80U.DLL_Ordinal_896]
lea ecx, [ebp - 0x10]
call dword [sym.imp.MFC80U.DLL_Ordinal_4074]
lea ecx, [ebp - 0x18]
mov esi, 1
call dword [sym.imp.MFC80U.DLL_Ordinal_293]
push 0
push 0x2b
push 0x104
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 3
call dword [sym.imp.MFC80U.DLL_Ordinal_2460]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
jne 0x4190ad
xor esi, esi
push 0xffffffffffffffff
lea ecx, [ebp - 0x18]
call dword [sym.imp.MFC80U.DLL_Ordinal_5398]
push str.TencentQQDownload
lea ecx, [ebp - 0x18]
call dword [sym.imp.MFC80U.DLL_Ordinal_899]
lea ecx, [ebp - 0x18]
call dword [sym.imp.MFC80U.DLL_Ordinal_4074]
cmp esi, 1
jne 0x419131
mov ecx, dword [ebp - 0x18]
mov eax, dword [ecx - 0xc]
push 0
push eax
lea ecx, [ebp - 0x18]
call dword [sym.imp.MFC80U.DLL_Ordinal_2460]
push eax
lea ecx, [ebp - 0x14]
call dword [sym.imp.MFC80U.DLL_Ordinal_2261]
cmp eax, 0xffffffff
je 0x419131
push 0xffffffffffffffff
lea ecx, [ebp - 0x18]
call dword [sym.imp.MFC80U.DLL_Ordinal_5398]
lea ecx, [ebp - 0x18]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
lea ecx, [ebp - 0x10]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
lea ecx, [ebp - 0x14]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret 4
mov edx, dword [ebp - 0x10]
push edx
lea ecx, [ebp - 0x14]
call dword [sym.imp.MFC80U.DLL_Ordinal_1472]
test eax, eax
lea ecx, [ebp - 0x18]
je 0x419103
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
lea ecx, [ebp - 0x10]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
lea ecx, [ebp - 0x14]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov ecx, dword [ebp - 0xc]
xor eax, eax
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret 4