Function at 0x4172cd
Capabilities:
Check if file exists
Create directory
Create process on windows
Print debug messages

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x453728
mov eax, dword fs:[0]
push eax
sub esp, 0x2c8
mov eax, dword [0x464074]
xor eax, esp
mov dword [esp + 0x2c0], eax
push ebx
push esi
push edi
mov eax, dword [0x464074]
xor eax, esp
push eax
lea eax, [esp + 0x2d8]
mov dword fs:[0], eax
push 0x40
xor esi, esi
lea eax, [esp + 0x34]
mov ebx, ecx
push esi
push eax
mov dword [esp + 0x1c], ebx
call fcn.0042b930
xor eax, eax
mov dword [esp + 0x28], esi
lea edi, [esp + 0x2c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
add esp, 0xc
push 0x208
stosd dword es:[edi], eax
lea eax, [esp + 0xc2]
push esi
push eax
mov dword [esp + 0x38], 0x44
mov word [esp + 0xc8], si
call fcn.0042b930
add esp, 0xc
push 0x456bbc
lea edi, [ebx + 0x38]
push edi
call fcn.00406eea
test eax, eax
jne 0x4173c3
lea ebx, [esp + 0x14]
call fcn.0040b04b
mov dword [esp + 0x2e0], esi
call fcn.004019f8
or dword [esp + 0x2e0], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
call fcn.00401550
mov esi, edi
call fcn.0040167f
mov eax, 0x45abec
mov ecx, edi
call fcn.00401c1e
mov eax, dword [edi]
push 0
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
mov eax, str.QQPCDownload.exe
mov ecx, edi
call fcn.00401c1e
mov ebx, dword [esp + 0x10]
push 0x456bbc
push edi
call fcn.00406eea
test eax, eax
je 0x4173f2
mov esi, edi
call fcn.0040fffb
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4173f2
mov byte [0x46747b], 6
xor eax, eax
jmp 0x4175d1
mov eax, dword [edi]
mov esi, 0x45aeac
push esi
push eax
call fcn.0041c77b
mov eax, dword [edi]
push esi
push eax
call fcn.0041c712
add esp, 0x10
lea esi, [ebx + 0x40]
push 0x456bbc
push esi
mov dword [esp + 0x20], esi
call fcn.00406eea
test eax, eax
jne 0x417437
push 1
call fcn.0041724f
test al, al
pop ecx
jne 0x417437
mov byte [0x46747b], 7
jmp 0x4173eb
lea esi, [ebx + 0x44]
push 0x456bbc
push esi
mov dword [esp + 0x18], esi
call fcn.00406eea
test eax, eax
jne 0x417462
push 2
call fcn.0041724f
test al, al
pop ecx
jne 0x417462
mov byte [0x46747b], 8
jmp 0x4173eb
xor esi, esi
cmp dword [ebx + 0xc], esi
jne 0x417498
push esi
lea edx, [esp + 0x18]
mov ecx, str.ProductID
mov dword [esp + 0x18], esi
call fcn.0040ac68
test eax, eax
pop ecx
jne 0x41748d
mov byte [0x46747b], 9
jmp 0x4173eb
mov eax, dword [esp + 0x14]
cmp eax, esi
mov dword [ebx + 0xc], eax
je 0x4174cb
lea eax, [esp + 0x74]
push eax
call fcn.00414aaf
mov dword [esp + 0x2e0], 1
push dword [ebx + 0xc]
lea ecx, [esp + 0x78]
call fcn.00414ddd
or dword [esp + 0x2e0], 0xffffffff
lea eax, [esp + 0x74]
push eax
call fcn.00414b95
call fcn.0040aff3
test eax, eax
je 0x4174d9
call fcn.00417f50
mov esi, dword [esp + 0x10]
call fcn.0040fffb
mov esi, dword [esp + 0x18]
push eax
call fcn.0040fffb
push eax
push dword [ebx + 0xc]
mov esi, edi
push dword [ebx + 8]
call fcn.0040fffb
push eax
lea eax, [esp + 0xd0]
push str._s_cmd1_supplyid_d_target_d_cgi_s_productname_s_
push eax
call fcn.0041a2e8
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
add esp, 0x1c
lea eax, [esp + 0xbc]
push eax
call esi
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x30]
push eax
xor eax, eax
push eax
push eax
push eax
push eax
push eax
push eax
lea ecx, [esp + 0xdc]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x4175b5
push str.Create_QQPCDownload_Failure
call esi
push dword [edi]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4175b5
push str.File_Ok_excute
call esi
mov esi, dword [esp + 0x10]
call fcn.0040fffb
mov esi, dword [esp + 0x18]
push eax
call fcn.0040fffb
push eax
push dword [ebx + 0xc]
lea eax, [esp + 0xc8]
push dword [ebx + 8]
push str.cmd1_supplyid_d_target_d_cgi_s_productname_s_
push eax
call fcn.0041a2e8
mov eax, dword [edi]
add esp, 0x18
xor ecx, ecx
push ecx
push ecx
lea edx, [esp + 0xc4]
push edx
push eax
push str.open
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jge 0x4175b5
mov byte [0x46747b], 0xa
mov esi, edi
call fcn.0040b13d
mov esi, dword [esp + 0x18]
call fcn.0040b13d
mov esi, dword [esp + 0x10]
call fcn.0040b13d
xor eax, eax
inc eax
mov ecx, dword [esp + 0x2d8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2c0]
xor ecx, esp
call fcn.0042ba38
mov esp, ebp
pop ebp
ret