Function at 0x1005b147
Capabilities:
Get common file path

Disassembly:
push 0x84c
mov eax, 0x100cd304
call fcn.1007f70f
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.100771d0
add esp, 0xc
lea ecx, [ebp - 0x82c]
call fcn.10001714
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.1005d7cc
add esp, 0x10
test eax, eax
jne 0x1005b1c9
xor esi, esi
lea ecx, [ebp - 0x82c]
call fcn.100017ab
mov eax, esi
call fcn.1007f759
ret
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0x82c]
call fcn.1000e515
lea edi, [ebp - 0x82c]
call fcn.10057dc9
push eax
push 0
mov ecx, edi
call fcn.100017ec
push 0xffffffffffffffff
mov ebx, edi
call fcn.10057e2a
inc eax
push eax
mov ecx, edi
call fcn.100017ec
lea eax, [ebp - 0x838]
push eax
mov ecx, edi
call fcn.10001885
mov ebx, eax
lea eax, [ebp - 0x848]
push eax
mov ecx, edi
call fcn.100018a7
mov edi, eax
lea eax, [ebp - 0x840]
push eax
lea ecx, [ebp - 0x82c]
call fcn.10001885
mov esi, fcn.1007caa3
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.10041687
mov edi, dword [ebp - 0x830]
add esp, 0x20
lea eax, [ebp - 0x82c]
push eax
lea ecx, [edi + 0x1238]
call fcn.100017c0
lea ebx, [edi + 0x121c]
mov ecx, ebx
call fcn.10009256
test al, al
je 0x1005b32d
push 0x400
lea eax, [ebp - 0x810]
push 0
push eax
call fcn.100771d0
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 0x1005b32d
lea eax, [ebp - 0x810]
push eax
mov ecx, ebx
call fcn.1000e515
push str.TencentQQDownload
mov ecx, ebx
call fcn.10009426
lea eax, [ebp - 0x850]
push eax
mov ecx, ebx
call fcn.10001885
mov dword [ebp - 0x830], eax
lea eax, [ebp - 0x840]
push eax
mov ecx, ebx
call fcn.100018a7
mov dword [ebp - 0x834], eax
lea eax, [ebp - 0x848]
push eax
mov ecx, ebx
call fcn.10001885
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.10041687
add esp, 0x20
lea ecx, [edi + 0x1200]
mov dword [ebp - 0x830], ecx
call fcn.10009256
test al, al
je 0x1005b3bf
add edi, 0x30
mov ecx, edi
call fcn.10009256
test al, al
jne 0x1005b35c
mov ecx, dword [ebp - 0x830]
push edi
call fcn.100017c0
mov ecx, dword [ebp - 0x830]
lea eax, [ebp - 0x858]
push eax
call fcn.10001885
mov ecx, dword [ebp - 0x830]
mov edi, eax
lea eax, [ebp - 0x850]
push eax
call fcn.100018a7
mov ecx, dword [ebp - 0x830]
mov dword [ebp - 0x834], eax
lea eax, [ebp - 0x840]
push eax
call fcn.10001885
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.10041687
add esp, 0x20
mov ecx, ebx
call fcn.10009256
test al, al
jne 0x1005b3f4
mov ecx, ebx
call fcn.10009247
push eax
push 0
mov ecx, ebx
call fcn.100023c0
push eax
lea ecx, [ebp - 0x82c]
call fcn.100021d1
cmp eax, 0xffffffff
je 0x1005b3f4
xor esi, esi
inc esi
jmp 0x1005b1b6
push dword [ebp - 0x830]
lea eax, [ebp - 0x82c]
push eax
call fcn.10048069
test al, al
pop ecx
pop ecx
jne 0x1005b3ec
jmp 0x1005b1b4