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

Disassembly:
push 0x884
mov eax, 0x100ccad7
call fcn.1007f5ff
and word [ebp - 0x818], 0
push 0x800
lea eax, [ebp - 0x816]
push 0
push eax
mov esi, ecx
call fcn.100770c0
add esp, 0xc
lea edi, [esi + 0x1200]
lea eax, [esi + 0x30]
push eax
mov ecx, edi
mov dword [ebp - 0x840], edi
call fcn.10001771
lea eax, [ebp - 0x848]
push eax
mov ecx, edi
call fcn.10001836
mov dword [ebp - 0x83c], eax
lea eax, [ebp - 0x850]
push eax
mov ecx, edi
call fcn.10001858
mov dword [ebp - 0x838], eax
lea eax, [ebp - 0x860]
push eax
mov ecx, edi
call fcn.10001836
mov ecx, dword [ebp - 0x83c]
mov ebx, fcn.1007d505
push ebx
push dword [ecx + 4]
push dword [ecx]
mov ecx, dword [ebp - 0x838]
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
mov ecx, edi
call fcn.10009385
call fcn.100590f7
test al, al
jne 0x1005adfe
xor eax, eax
jmp 0x1005b02b
and dword [ebp - 0x838], 0
push 0x401
lea eax, [ebp - 0x818]
push 0
push eax
call fcn.100770c0
add esp, 0xc
push 0
push 0x2b
lea eax, [ebp - 0x818]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x1005b004
lea edi, [esi + 0x121c]
lea eax, [ebp - 0x818]
push eax
mov ecx, edi
mov dword [ebp - 0x83c], edi
call fcn.1000e54e
push str.TencentQQDownload
mov ecx, edi
call fcn.100092d5
lea eax, [ebp - 0x858]
push eax
mov ecx, edi
call fcn.10001836
mov dword [ebp - 0x84c], eax
lea eax, [ebp - 0x860]
push eax
mov ecx, edi
call fcn.10001858
mov dword [ebp - 0x844], eax
lea eax, [ebp - 0x868]
push eax
mov ecx, edi
call fcn.10001836
mov ecx, dword [ebp - 0x84c]
push ebx
push dword [ecx + 4]
push dword [ecx]
mov ecx, dword [ebp - 0x844]
push dword [ecx + 4]
push dword [ecx]
push dword [eax + 4]
push dword [eax]
lea eax, [ebp - 0x880]
push eax
call fcn.1004101d
add esp, 0x20
lea ecx, [ebp - 0x834]
call fcn.100016c5
and dword [ebp - 4], 0
push 0x401
lea eax, [ebp - 0x818]
push 0
push eax
call fcn.100770c0
add esp, 0xc
add esi, 0x1c
push esi
push str.DownloadProxy.Downloader.1
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 - 0x818]
movsd dword es:[edi], dword [esi]
call fcn.1005d9eb
add esp, 0x10
test eax, eax
je 0x1005afe0
mov eax, ebx
push eax
lea ecx, [ebp - 0x834]
call fcn.1000e54e
lea edi, [ebp - 0x834]
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 - 0x890]
push eax
mov ecx, edi
call fcn.10001836
mov esi, eax
lea eax, [ebp - 0x878]
push eax
mov ecx, edi
call fcn.10001858
mov edi, eax
lea eax, [ebp - 0x888]
push eax
mov ecx, ebx
call fcn.10001836
push fcn.1007d505
push dword [esi + 4]
push dword [esi]
push dword [edi + 4]
push dword [edi]
push dword [eax + 4]
push dword [eax]
lea eax, [ebp - 0x870]
push eax
call fcn.1004101d
add esp, 0x20
mov ecx, ebx
call fcn.10009385
call fcn.100590f7
test al, al
je 0x1005afe0
mov ecx, dword [ebp - 0x83c]
call fcn.1000db9e
mov ecx, dword [ebp - 0x83c]
push eax
push 0
call fcn.10002331
push eax
mov ecx, ebx
call fcn.10002142
cmp eax, 0xffffffff
jne 0x1005afea
push dword [ebp - 0x840]
mov eax, ebx
push eax
call fcn.10048319
test al, al
pop ecx
pop ecx
jne 0x1005afea
mov dword [ebp - 0x838], 1
lea ecx, [ebp - 0x834]
call fcn.1000175c
cmp dword [ebp - 0x838], 0
je 0x1005b028
mov edi, dword [ebp - 0x840]
xor esi, esi
push esi
push esi
push str.__install
mov ecx, edi
call fcn.10009385
push eax
push esi
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
xor eax, eax
inc eax
call fcn.1007f649
ret