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

Disassembly:
push 0x884
mov eax, 0x100cd337
call fcn.1007f70f
and word [ebp - 0x818], 0
push 0x800
lea eax, [ebp - 0x816]
push 0
push eax
mov esi, ecx
call fcn.100771d0
add esp, 0xc
lea edi, [esi + 0x1200]
lea eax, [esi + 0x30]
push eax
mov ecx, edi
mov dword [ebp - 0x840], edi
call fcn.100017c0
lea eax, [ebp - 0x848]
push eax
mov ecx, edi
call fcn.10001885
mov dword [ebp - 0x83c], eax
lea eax, [ebp - 0x850]
push eax
mov ecx, edi
call fcn.100018a7
mov dword [ebp - 0x838], eax
lea eax, [ebp - 0x860]
push eax
mov ecx, edi
call fcn.10001885
mov ecx, dword [ebp - 0x83c]
mov ebx, fcn.1007caa3
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.10041687
add esp, 0x20
mov ecx, edi
call fcn.100094ad
call fcn.10059212
test al, al
jne 0x1005af14
xor eax, eax
jmp 0x1005b141
and dword [ebp - 0x838], 0
push 0x401
lea eax, [ebp - 0x818]
push 0
push eax
call fcn.100771d0
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 0x1005b11a
lea edi, [esi + 0x121c]
lea eax, [ebp - 0x818]
push eax
mov ecx, edi
mov dword [ebp - 0x83c], edi
call fcn.1000e515
push str.TencentQQDownload
mov ecx, edi
call fcn.10009426
lea eax, [ebp - 0x858]
push eax
mov ecx, edi
call fcn.10001885
mov dword [ebp - 0x84c], eax
lea eax, [ebp - 0x860]
push eax
mov ecx, edi
call fcn.100018a7
mov dword [ebp - 0x844], eax
lea eax, [ebp - 0x868]
push eax
mov ecx, edi
call fcn.10001885
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.10041687
add esp, 0x20
lea ecx, [ebp - 0x834]
call fcn.10001714
and dword [ebp - 4], 0
push 0x401
lea eax, [ebp - 0x818]
push 0
push eax
call fcn.100771d0
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.1005d7cc
add esp, 0x10
test eax, eax
je 0x1005b0f6
mov eax, ebx
push eax
lea ecx, [ebp - 0x834]
call fcn.1000e515
lea edi, [ebp - 0x834]
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 - 0x890]
push eax
mov ecx, edi
call fcn.10001885
mov esi, eax
lea eax, [ebp - 0x878]
push eax
mov ecx, edi
call fcn.100018a7
mov edi, eax
lea eax, [ebp - 0x888]
push eax
mov ecx, ebx
call fcn.10001885
push fcn.1007caa3
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.10041687
add esp, 0x20
mov ecx, ebx
call fcn.100094ad
call fcn.10059212
test al, al
je 0x1005b0f6
mov ecx, dword [ebp - 0x83c]
call fcn.10009247
mov ecx, dword [ebp - 0x83c]
push eax
push 0
call fcn.100023c0
push eax
mov ecx, ebx
call fcn.100021d1
cmp eax, 0xffffffff
jne 0x1005b100
push dword [ebp - 0x840]
mov eax, ebx
push eax
call fcn.10048069
test al, al
pop ecx
pop ecx
jne 0x1005b100
mov dword [ebp - 0x838], 1
lea ecx, [ebp - 0x834]
call fcn.100017ab
cmp dword [ebp - 0x838], 0
je 0x1005b13e
mov edi, dword [ebp - 0x840]
xor esi, esi
push esi
push esi
push str.__install
mov ecx, edi
call fcn.100094ad
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.1007f759
ret