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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x62e9ca
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
mov eax, dword [0x721970]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
push str.CorelDownloadMgr
lea ecx, [ebp - 0x28]
call fcn.00418d40
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x6c]
call fcn.00418d40
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x6c]
push ecx
lea ecx, [ebp - 0x28]
call fcn.00419090
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x6c]
call fcn.00418cc0
mov edx, dword [ebp + 8]
push edx
lea ecx, [ebp - 0x50]
call fcn.00418d40
mov byte [ebp - 4], 2
push str.DIM.exe
lea ecx, [ebp - 0x5c]
call fcn.00418d40
mov byte [ebp - 4], 3
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x50]
call fcn.00419090
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x5c]
call fcn.00418cc0
push 0x44
push 0
lea ecx, [ebp - 0xcc]
push ecx
call fcn.0060f700
add esp, 0xc
mov dword [ebp - 0xcc], 0x44
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
lea edx, [ebp - 0x38]
push edx
lea eax, [ebp - 0xcc]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x28]
call fcn.00419180
push eax
lea ecx, [ebp - 0x28]
call fcn.00419200
push eax
lea ecx, [ebp - 0x50]
call fcn.00419160
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov dword [ebp - 0x14], eax
push 0xffffffffffffffff
lea ecx, [ebp - 0x28]
call fcn.004192a0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x60], eax
cmp dword [ebp + 0x14], 0
je 0x40e17c
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp - 0x38]
mov dword [ecx], edx
lea ecx, [ebp - 0x44]
call fcn.00418c90
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x38]
push eax
mov ecx, dword [ebp - 0x30]
push ecx
push str.::LaunchDIMEXE___procId:__d__prochandle:_0x_X
lea edx, [ebp - 0x44]
push edx
call fcn.00419510
add esp, 0x10
push 4
lea ecx, [ebp - 0x44]
call fcn.00419160
push eax
call fcn.00439fb0
add esp, 8
cmp dword [ebp - 0x14], 0
je 0x40e242
cmp dword [ebp + 0x10], 0
je 0x40e242
mov dword [ebp - 0x18], 1
push 0x1f4
mov eax, dword [ebp - 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x40e1e7
mov dword [ebp - 0x18], 0
jmp 0x40e21a
push 1
push 0
push 0
push 0
lea ecx, [ebp - 0x88]
push ecx
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x40e21a
lea edx, [ebp - 0x88]
push edx
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x88]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
cmp dword [ebp - 0x18], 0
jne 0x40e1cb
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x38]
push edx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov eax, dword [ebp - 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x34]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x1c], edx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x44]
call fcn.00418cc0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x50]
call fcn.00418cc0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00418cc0
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret