Function at 0x40e846
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
sub esp, 0x424
lea ebp, [esp - 4]
mov eax, dword [0x482910]
xor eax, ebp
mov dword [ebp + 0x424], eax
push 0xdc
mov eax, 0x45cdf5
call fcn.00444bf7
xor eax, eax
push 0x206
mov word [ebp + 0x21c], ax
xor esi, esi
lea eax, [ebp + 0x21e]
push esi
push eax
call fcn.00445180
add esp, 0xc
call fcn.0041e1d0
mov eax, dword [eax + 4]
push 0x104
lea ecx, [ebp + 0x21c]
push ecx
push dword [eax + 0x44]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x464f84
lea ecx, [ebp - 0x14]
call fcn.00403312
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], esi
mov edi, 0x464f80
push edi
lea ecx, [ebp - 0x40]
call fcn.00403312
mov dword [ebp - 0x34], eax
mov byte [ebp - 4], 1
push edi
lea ecx, [ebp - 0x38]
call fcn.00403312
mov byte [ebp - 4], 2
lea ecx, [ebp + 0x21c]
push ecx
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.0040dff9
mov byte [ebp - 4], 3
push dword [ebp - 0x34]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.0040dfa2
mov byte [ebp - 4], 4
push dword [ebp - 0x18]
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.0040dfa2
mov byte [ebp - 4], 5
push dword [sym.imp.SoftwareUpdateFiles.dll_class_ATL::CStringT_wchar_t__class_StrTraitMFC_wchar_t__class_ATL::ChTraitsCRT_wchar_t____const_SUConstants::App::Restarted_Switch]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.0040dfa2
add esp, 0x30
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x3c]
call fcn.00402594
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x30]
call fcn.00402594
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x1c]
call fcn.00402594
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x38]
call fcn.00402594
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x40]
call fcn.00402594
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x14]
call fcn.00402594
push 0x44
pop edi
push edi
lea eax, [ebp - 0xe8]
push esi
push eax
call fcn.00445180
push 0x10
lea eax, [ebp - 0x50]
push esi
push eax
mov dword [ebp - 0xe8], edi
call fcn.00445180
add esp, 0x18
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0xe8]
push eax
push esi
push esi
push esi
push esi
push esi
push esi
lea ecx, [ebp - 0x10]
call fcn.004016f5
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x40ead2
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
xor eax, eax
push 0x1fe
mov word [ebp + 0x1c], ax
lea eax, [ebp + 0x1e]
push esi
push eax
call fcn.00445180
movzx eax, word [ebp - 0x1e]
push eax
movzx eax, word [ebp - 0x20]
push eax
movzx eax, word [ebp - 0x22]
push eax
movzx eax, word [ebp - 0x24]
push eax
movzx eax, word [ebp - 0x26]
push eax
movzx eax, word [ebp - 0x2a]
push eax
movzx eax, word [ebp - 0x2c]
push eax
push str.__04d__02d__02d__02d:_02d:_02d:_04d_
lea eax, [ebp + 0x1c]
push 0x100
push eax
call fcn.00401353
add esp, 0x34
push esi
lea ecx, [ebp]
mov dword [ebp + 0x18], 7
call fcn.004017c7
mov byte [ebp - 4], 0xd
push str.Error__CSoftwareUpdateAppApp::LaunchApp__CreateProcess_failed___d_._n
lea ecx, [ebp - 0xa4]
call fcn.0040329d
mov edi, eax
mov byte [ebp - 4], 0xe
lea eax, [ebp + 0x1c]
push eax
lea ecx, [ebp - 0x88]
call fcn.0040329d
mov byte [ebp - 4], 0xf
push edi
push eax
lea eax, [ebp - 0x6c]
push eax
call fcn.004032bf
add esp, 0xc
mov byte [ebp - 4], 0x10
push 0xffffffffffffffff
push esi
push eax
lea ecx, [ebp]
call fcn.00402ed6
mov byte [ebp - 4], 0xf
push esi
push 1
lea ecx, [ebp - 0x6c]
call fcn.0040236c
mov byte [ebp - 4], 0xe
push esi
push 1
lea ecx, [ebp - 0x88]
call fcn.0040236c
mov byte [ebp - 4], 0xd
push esi
push 1
lea ecx, [ebp - 0xa4]
call fcn.0040236c
cmp dword [ebp + 0x18], 8
mov edi, dword [ebp + 4]
jae 0x40eab2
lea edi, [ebp + 4]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push edi
call fcn.0044529f
pop ecx
pop ecx
mov byte [ebp - 4], 0xc
push esi
push 1
lea ecx, [ebp]
call fcn.0040236c
jmp 0x40eaec
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.004019dd
push dword [ebp - 0x50]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x4c]
call esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00402594
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x424]
xor ecx, ebp
call fcn.00444be8
add ebp, 0x428
leave
ret