Function at 0x411640
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x443a58
call fcn.0043680c
sub esp, 0x4a8
push ebx
push edi
xor ebx, ebx
mov edi, ecx
cmp dword [ebp + 8], ebx
mov dword [ebp - 0x10], edi
jne 0x411666
push 0x57
pop eax
jmp 0x411922
push esi
push 0xffffffffffffffff
push dword [ebp + 8]
lea ecx, [ebp - 0x18]
call fcn.004066bf
push str.MUpdate2ASDTemp
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], ebx
call fcn.00406cdd
push 1
pop esi
push edi
push str._Autoup___s::ShutdownASDWd__starts
push esi
mov dword [ebp - 0x24], esi
call fcn.00408bf4
push 0x3c
mov dword [ebp + 8], ebx
mov dword [ebp - 0x20], ebx
pop ebx
push ebx
lea eax, [ebp - 0x70]
push 0
push eax
call fcn.004369c0
add esp, 0x18
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x70], ebx
call fcn.00406a8a
push eax
push edi
mov ebx, str.ASDWd.exe
push str._Autoup___s::ShutdownASDWd_Directory:_s
push esi
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x5c], str._D4CA7724_5A8C_419F_BEA1_F478B7972C63
mov dword [ebp - 0x6c], 0x440
mov dword [ebp - 0x54], esi
call fcn.00408bf4
add esp, 0x10
push dword [ebp - 0x60]
push edi
push str._Autoup___s::ShutdownASDWd_lpFile:_s
push esi
call fcn.00408bf4
add esp, 0x10
push dword [ebp - 0x5c]
push edi
push str._Autoup___s::ShutdownASDWd_lpParameters:_s
push esi
call fcn.00408bf4
add esp, 0x10
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
mov dword [ebp - 0x14], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
push edi
push str._Autoup___s::ShutdownASDWd_ShellExecuteEx_return:_d
push esi
call fcn.00408bf4
add esp, 0x10
cmp dword [ebp - 0x14], 0
je 0x411746
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x411746
mov dword [ebp + 8], eax
jmp 0x411843
and byte [ebp - 0x4b4], 0
mov ecx, 0xff
xor eax, eax
lea edi, [ebp - 0x4b3]
rep stosd dword es:[edi], eax
push str._D4CA7724_5A8C_419F_BEA1_F478B7972C63
push ebx
push dword [ebp - 0x18]
stosw word es:[edi], ax
stosb byte es:[edi], al
push str._s_s__s
lea eax, [ebp - 0x4b4]
push 0x400
push eax
call fcn.0040cc1f
add esp, 0x18
push dword [ebp - 0x1c]
push dword [ebp - 0x10]
push str._Autoup___s::ShutdownASDWd__ShellExecuteEx_Failed.___u_
push esi
call fcn.00408bf4
add esp, 0x10
push dword [ebp - 0x18]
push dword [ebp - 0x10]
push str._Autoup___s::ShutdownASDWd__createprocess_Directory:_s
push esi
call fcn.00408bf4
add esp, 0x10
lea eax, [ebp - 0x4b4]
push eax
push dword [ebp - 0x10]
push str._Autoup___s::ShutdownASDWd__createprocess_szCommand:_s
push esi
call fcn.00408bf4
xor edi, edi
push 0x44
lea eax, [ebp - 0xb4]
push edi
push eax
call fcn.004369c0
push 0x10
lea eax, [ebp - 0x34]
push edi
push eax
mov dword [ebp - 0xb4], 0x44
call fcn.004369c0
add esp, 0x28
lea eax, [ebp - 0x34]
lea ecx, [ebp - 0x18]
push eax
lea eax, [ebp - 0xb4]
push eax
call fcn.00406a8a
push eax
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x4b4]
push edi
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x411824
mov eax, dword [ebp - 0x34]
mov edi, dword [ebp - 0x10]
mov dword [ebp + 8], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x20], eax
jmp 0x41184d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push ebx
push dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
push str._Autoup___s::ShutdownASDWd__FAILED_to_CreateProcess_for__s___u_
push esi
call fcn.00408bf4
mov edi, dword [ebp - 0x10]
add esp, 0x14
cmp dword [ebp - 0x14], 0
je 0x4118fd
cmp dword [ebp + 8], 0
je 0x4118fd
and dword [ebp - 0x14], 0
push ebx
push edi
push str._Autoup___s::ShutdownASDWd__s_executed_successfully
push esi
mov dword [ebp - 0x10], esi
call fcn.00408bf4
add esp, 0x10
push 0x3e8
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x4118a8
cmp eax, 0x102
jne 0x4118d4
cmp dword [ebp - 0x14], 0x3c
jge 0x411892
inc dword [ebp - 0x14]
jmp 0x4118cc
and dword [ebp - 0x10], 0
push ebx
push edi
push str._Autoup___s::ShutdownASDWd_FAILED_to_wait_for__s:time_over
push esi
call fcn.00408bf4
add esp, 0x10
jmp 0x4118cc
lea eax, [ebp - 0x24]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push dword [ebp - 0x24]
push ebx
push edi
push str._Autoup___s::ShutdownASDWd__s_exit_code__d_
push esi
call fcn.00408bf4
add esp, 0x14
and dword [ebp - 0x10], 0
cmp dword [ebp - 0x10], 0
je 0x4118e5
jmp 0x41186e
push eax
push ebx
push edi
push str._Autoup___s::ShutdownASDWd_FAILED_to_wait_for__s:_d
push esi
call fcn.00408bf4
add esp, 0x14
push dword [ebp + 8]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
cmp dword [ebp - 0x20], 0
je 0x411910
push dword [ebp - 0x20]
call esi
jmp 0x411910
push dword [ebp - 0x1c]
push ebx
push edi
push str._Autoup___s::ShutdownASDWd_Failed_to_execute__s_GetLastErr:_u_
push esi
call fcn.00408bf4
add esp, 0x14
mov esi, dword [ebp - 0x24]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00406733
mov eax, esi
pop esi
mov ecx, dword [ebp - 0xc]
pop edi
pop ebx
mov dword fs:[0], ecx
leave
ret 4