Function at 0x416592
Capabilities:
Check if file exists
Create directory
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x43daf8
mov eax, dword fs:[0]
push eax
sub esp, 0x2c8
mov eax, dword [0x44b074]
xor eax, esp
mov dword [esp + 0x2c0], eax
push ebx
push esi
push edi
mov eax, dword [0x44b074]
xor eax, esp
push eax
lea eax, [esp + 0x2d8]
mov dword fs:[0], eax
xor esi, esi
push 0x40
lea eax, [esp + 0x34]
mov ebx, ecx
push esi
push eax
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x38], esi
call fcn.0041e7c0
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 word [esp + 0xc8], si
call fcn.0041e7c0
add esp, 0xc
push 0x44196c
lea edi, [ebx + 0x3c]
push edi
call fcn.0040a91a
test eax, eax
jne 0x416684
lea ebx, [esp + 0x14]
call fcn.0040a7fc
mov dword [esp + 0x2e0], esi
call fcn.004013c0
or dword [esp + 0x2e0], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
call fcn.004019a0
mov esi, edi
call fcn.00401000
mov eax, 0x443768
mov ecx, edi
call fcn.00401a10
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.00401a10
mov ebx, dword [esp + 0x10]
push 0x44196c
push edi
call fcn.0040a91a
test eax, eax
je 0x4166b3
mov esi, edi
call fcn.0040f7a9
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4166b3
mov byte [0x44e24b], 6
xor eax, eax
jmp 0x416817
mov eax, dword [edi]
mov esi, 0x443a0c
push esi
push eax
call fcn.0041d3c2
mov eax, dword [edi]
push esi
push eax
call fcn.0041d359
add esp, 0x10
lea esi, [ebx + 0x44]
push 0x44196c
push esi
mov dword [esp + 0x18], esi
call fcn.0040a91a
test eax, eax
jne 0x4166f8
push 1
call fcn.00416514
test al, al
pop ecx
jne 0x4166f8
mov byte [0x44e24b], 7
jmp 0x4166ac
lea esi, [ebx + 0x48]
push 0x44196c
push esi
mov dword [esp + 0x1c], esi
call fcn.0040a91a
test eax, eax
jne 0x416723
push 2
call fcn.00416514
test al, al
pop ecx
jne 0x416723
mov byte [0x44e24b], 8
jmp 0x4166ac
xor esi, esi
cmp dword [ebx + 8], esi
jne 0x416759
push esi
lea edx, [esp + 0x1c]
mov ecx, str.ProductID
mov dword [esp + 0x1c], esi
call fcn.0040a419
test eax, eax
pop ecx
jne 0x41674e
mov byte [0x44e24b], 9
jmp 0x4166ac
mov eax, dword [esp + 0x18]
cmp eax, esi
mov dword [ebx + 8], eax
je 0x41678c
lea eax, [esp + 0x74]
push eax
call fcn.00413fd5
mov dword [esp + 0x2e0], 1
push dword [ebx + 8]
lea ecx, [esp + 0x78]
call fcn.00414303
or dword [esp + 0x2e0], 0xffffffff
lea eax, [esp + 0x74]
push eax
call fcn.004140bb
call fcn.0040a7a4
test eax, eax
je 0x41679a
call fcn.00417144
mov esi, dword [esp + 0x14]
call fcn.0040f7a9
mov esi, dword [esp + 0x10]
push eax
call fcn.0040f7a9
push eax
push dword [ebx + 8]
mov esi, edi
push dword [ebx + 4]
call fcn.0040f7a9
push eax
lea eax, [esp + 0xd0]
push str._s_cmd1_supplyid_d_target_d_cgi_s_productname_s_
push eax
call fcn.00419454
add esp, 0x1c
call fcn.0040a8ee
mov esi, dword [esp + 0x10]
call fcn.0040a8ee
mov esi, dword [esp + 0x14]
call fcn.0040a8ee
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 0x416814
mov byte [0x44e24b], 0xa
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.0041e8c8
mov esp, ebp
pop ebp
ret