Function at 0x1005b031
Capabilities:
Get common file path

Disassembly:
push 0x84c
mov eax, 0x100ccaa4
call fcn.1007f5ff
xor edi, edi
push 0x7fe
lea eax, [ebp - 0x80e]
mov esi, ecx
push edi
push eax
mov dword [ebp - 0x830], esi
mov word [ebp - 0x810], di
call fcn.100770c0
add esp, 0xc
lea ecx, [ebp - 0x82c]
call fcn.100016c5
add esi, 0x1c
push esi
push str.DownloadProxy.Downloader.1
mov dword [ebp - 4], edi
call dword [sym.imp.ole32.dll_CLSIDFromProgID]
sub esp, 0x10
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea ebx, [ebp - 0x810]
movsd dword es:[edi], dword [esi]
call fcn.1005d9eb
add esp, 0x10
test eax, eax
jne 0x1005b0b3
xor esi, esi
lea ecx, [ebp - 0x82c]
call fcn.1000175c
mov eax, esi
call fcn.1007f649
ret
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0x82c]
call fcn.1000e54e
lea edi, [ebp - 0x82c]
call fcn.10057cc9
push eax
push 0
mov ecx, edi
call fcn.1000179d
push 0xffffffffffffffff
mov ebx, edi
call fcn.10057d2a
inc eax
push eax
mov ecx, edi
call fcn.1000179d
lea eax, [ebp - 0x838]
push eax
mov ecx, edi
call fcn.10001836
mov ebx, eax
lea eax, [ebp - 0x848]
push eax
mov ecx, edi
call fcn.10001858
mov edi, eax
lea eax, [ebp - 0x840]
push eax
lea ecx, [ebp - 0x82c]
call fcn.10001836
mov esi, fcn.1007d505
push esi
push dword [ebx + 4]
push dword [ebx]
push dword [edi + 4]
push dword [edi]
push dword [eax + 4]
push dword [eax]
lea eax, [ebp - 0x850]
push eax
call fcn.1004101d
mov edi, dword [ebp - 0x830]
add esp, 0x20
lea eax, [ebp - 0x82c]
push eax
lea ecx, [edi + 0x1238]
call fcn.10001771
lea ebx, [edi + 0x121c]
mov ecx, ebx
call fcn.10009105
test al, al
je 0x1005b217
push 0x400
lea eax, [ebp - 0x810]
push 0
push eax
call fcn.100770c0
add esp, 0xc
push 0
push 0x2b
lea eax, [ebp - 0x810]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x1005b217
lea eax, [ebp - 0x810]
push eax
mov ecx, ebx
call fcn.1000e54e
push str.TencentQQDownload
mov ecx, ebx
call fcn.100092d5
lea eax, [ebp - 0x850]
push eax
mov ecx, ebx
call fcn.10001836
mov dword [ebp - 0x830], eax
lea eax, [ebp - 0x840]
push eax
mov ecx, ebx
call fcn.10001858
mov dword [ebp - 0x834], eax
lea eax, [ebp - 0x848]
push eax
mov ecx, ebx
call fcn.10001836
mov ecx, dword [ebp - 0x830]
push esi
push dword [ecx + 4]
push dword [ecx]
mov ecx, dword [ebp - 0x834]
push dword [ecx + 4]
push dword [ecx]
push dword [eax + 4]
push dword [eax]
lea eax, [ebp - 0x858]
push eax
call fcn.1004101d
add esp, 0x20
lea ecx, [edi + 0x1200]
mov dword [ebp - 0x830], ecx
call fcn.10009105
test al, al
je 0x1005b2a9
add edi, 0x30
mov ecx, edi
call fcn.10009105
test al, al
jne 0x1005b246
mov ecx, dword [ebp - 0x830]
push edi
call fcn.10001771
mov ecx, dword [ebp - 0x830]
lea eax, [ebp - 0x858]
push eax
call fcn.10001836
mov ecx, dword [ebp - 0x830]
mov edi, eax
lea eax, [ebp - 0x850]
push eax
call fcn.10001858
mov ecx, dword [ebp - 0x830]
mov dword [ebp - 0x834], eax
lea eax, [ebp - 0x840]
push eax
call fcn.10001836
mov ecx, dword [ebp - 0x834]
push esi
push dword [edi + 4]
push dword [edi]
push dword [ecx + 4]
push dword [ecx]
push dword [eax + 4]
push dword [eax]
lea eax, [ebp - 0x848]
push eax
call fcn.1004101d
add esp, 0x20
mov ecx, ebx
call fcn.10009105
test al, al
jne 0x1005b2de
mov ecx, ebx
call fcn.1000db9e
push eax
push 0
mov ecx, ebx
call fcn.10002331
push eax
lea ecx, [ebp - 0x82c]
call fcn.10002142
cmp eax, 0xffffffff
je 0x1005b2de
xor esi, esi
inc esi
jmp 0x1005b0a0
push dword [ebp - 0x830]
lea eax, [ebp - 0x82c]
push eax
call fcn.10048319
test al, al
pop ecx
pop ecx
jne 0x1005b2d6
jmp 0x1005b09e