Function at 0x418970
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43d980
mov eax, dword fs:[0]
push eax
sub esp, 0x100
mov eax, dword [0x44b19c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xe8], ecx
mov dword [ebp - 0xe4], 0
mov eax, dword [ebp - 0xe8]
movzx ecx, byte [eax + 0x68]
test ecx, ecx
je 0x418ce7
push str..exe
lea ecx, [ebp - 0x8c]
call fcn.00401440
mov dword [ebp - 0xec], eax
mov edx, dword [ebp - 0xec]
mov dword [ebp - 0xf0], edx
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0xe4]
or eax, 1
mov dword [ebp - 0xe4], eax
mov ecx, dword [ebp - 0xf0]
push ecx
call fcn.00439330
add eax, 0x8c
push eax
call fcn.00437f70
add esp, 8
movzx edx, al
test edx, edx
jne 0x418b35
push 0x443dd0
lea ecx, [ebp - 0xa8]
call fcn.00401440
mov dword [ebp - 0xf4], eax
mov eax, dword [ebp - 0xf4]
mov dword [ebp - 0xf8], eax
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0xe4]
or ecx, 2
mov dword [ebp - 0xe4], ecx
mov edx, dword [ebp - 0xf8]
push edx
call fcn.00439330
add eax, 0x8c
push eax
call fcn.00437f70
add esp, 8
movzx eax, al
test eax, eax
jne 0x418b35
push str..msi
lea ecx, [ebp - 0xc4]
call fcn.00401440
mov dword [ebp - 0xfc], eax
mov ecx, dword [ebp - 0xfc]
mov dword [ebp - 0x100], ecx
mov dword [ebp - 4], 2
mov edx, dword [ebp - 0xe4]
or edx, 4
mov dword [ebp - 0xe4], edx
mov eax, dword [ebp - 0x100]
push eax
call fcn.00439330
add eax, 0x8c
push eax
call fcn.00437f70
add esp, 8
movzx ecx, al
test ecx, ecx
jne 0x418b35
push str..MSI
lea ecx, [ebp - 0xe0]
call fcn.00401440
mov dword [ebp - 0x104], eax
mov edx, dword [ebp - 0x104]
mov dword [ebp - 0x108], edx
mov dword [ebp - 4], 3
mov eax, dword [ebp - 0xe4]
or eax, 8
mov dword [ebp - 0xe4], eax
mov ecx, dword [ebp - 0x108]
push ecx
call fcn.00439330
add eax, 0x8c
push eax
call fcn.00437f70
add esp, 8
movzx edx, al
test edx, edx
jne 0x418b35
mov dword [ebp - 0x10c], 0
jmp 0x418b3f
mov dword [ebp - 0x10c], 1
mov al, byte [ebp - 0x10c]
mov byte [ebp - 0x6d], al
mov dword [ebp - 4], 2
mov ecx, dword [ebp - 0xe4]
and ecx, 8
je 0x418b6c
and dword [ebp - 0xe4], 0xfffffff7
lea ecx, [ebp - 0xe0]
call fcn.00401480
mov dword [ebp - 4], 1
mov edx, dword [ebp - 0xe4]
and edx, 4
je 0x418b90
and dword [ebp - 0xe4], 0xfffffffb
lea ecx, [ebp - 0xc4]
call fcn.00401480
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0xe4]
and eax, 2
je 0x418bb4
and dword [ebp - 0xe4], 0xfffffffd
lea ecx, [ebp - 0xa8]
call fcn.00401480
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xe4]
and ecx, 1
je 0x418bd8
and dword [ebp - 0xe4], 0xfffffffe
lea ecx, [ebp - 0x8c]
call fcn.00401480
movzx edx, byte [ebp - 0x6d]
test edx, edx
je 0x418cac
push 0x3c
push 0
lea eax, [ebp - 0x68]
push eax
call fcn.00422140
add esp, 0xc
mov dword [ebp - 0x68], 0x3c
mov dword [ebp - 0x64], 0x440
mov dword [ebp - 0x5c], str.open
mov ecx, dword [0x4430a0]
push ecx
push 0x5c
call fcn.00439330
add eax, 0x8c
mov ecx, eax
call fcn.00403200
add eax, 1
push eax
push 0
lea edx, [ebp - 0x2c]
push edx
call fcn.00439330
add eax, 0x8c
mov ecx, eax
call fcn.00403220
mov dword [ebp - 4], 4
lea ecx, [ebp - 0x2c]
call fcn.00402020
mov dword [ebp - 0x50], eax
call fcn.00439330
add eax, 0x8c
mov ecx, eax
call fcn.00402020
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x4c], 5
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x30]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call fcn.00439330
add eax, 0x8c
mov ecx, eax
call fcn.00402020
push eax
call fcn.00422288
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00401480
jmp 0x418ce7
call fcn.00439330
add eax, 0x8c
mov ecx, eax
call fcn.00402020
push eax
call dword [sym.imp.SHELL32.dll_ILCreateFromPathW]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0
je 0x418ce7
push 0
push 0
push 0
mov edx, dword [ebp - 0x6c]
push edx
call dword [sym.imp.SHELL32.dll_SHOpenFolderAndSelectItems]
mov eax, dword [ebp - 0x6c]
push eax
call dword [sym.imp.SHELL32.dll_ILFree]
call fcn.0043b130
push str.stepFinal
mov ecx, dword [ebp - 0xe8]
call fcn.00435460
mov ecx, dword [ebp - 0xe8]
add ecx, 4
call fcn.00417ac0
mov ecx, dword [ebp - 0xe8]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov ecx, dword [ebp - 0xe8]
add ecx, 4
call fcn.00407ef0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042021d
mov esp, ebp
pop ebp
ret