Function at 0x4ceaf0
Capabilities:
Create process on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d67ff
mov eax, dword fs:[0]
push eax
sub esp, 0x384
mov eax, dword [0x516b80]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x38c], ecx
mov byte [ebp - 0xd], 0
mov ecx, dword [ebp - 0x38c]
add ecx, 0x240
call fcn.00405890
movzx eax, al
test eax, eax
jne 0x4cf00e
mov ecx, dword [ebp - 0x38c]
add ecx, 0x284
push ecx
lea ecx, [ebp - 0x38]
call fcn.00403420
mov dword [ebp - 4], 0
push 0x4fd834
lea ecx, [ebp - 0x38]
call fcn.00408d50
mov edx, dword [ebp - 0x38c]
add edx, 0x240
push edx
lea ecx, [ebp - 0x38]
call fcn.00408d20
mov byte [ebp - 0x15], 0
mov byte [ebp - 0x39], 0
lea eax, [ebp - 0x14]
push eax
lea esi, [ebp - 0x40]
call fcn.00419460
add esp, 4
movzx ecx, al
cmp ecx, 1
jne 0x4cebc1
cmp dword [ebp - 0x40], 1
je 0x4cebab
cmp dword [ebp - 0x40], 0
jne 0x4cebb1
mov byte [ebp - 0x15], 1
jmp 0x4cebc1
cmp dword [ebp - 0x40], 6
je 0x4cebbd
cmp dword [ebp - 0x40], 7
jne 0x4cebc1
mov byte [ebp - 0x39], 1
mov edx, dword [ebp - 0x38c]
mov eax, dword [edx + 0x27c]
mov dword [ebp - 0x390], eax
cmp dword [ebp - 0x390], 0
je 0x4cebfb
cmp dword [ebp - 0x390], 1
je 0x4ced3f
cmp dword [ebp - 0x390], 2
je 0x4cefce
jmp 0x4ceff9
movzx ecx, byte [ebp - 0x39]
cmp ecx, 1
jne 0x4cece3
push 0x44
push 0
lea edx, [ebp - 0x9c]
push edx
call fcn.004991b0
add esp, 0xc
mov dword [ebp - 0x9c], 0x44
push 0x10
push 0
lea eax, [ebp - 0x50]
push eax
call fcn.004991b0
add esp, 0xc
lea ecx, [ebp - 0x50]
push ecx
lea edx, [ebp - 0x9c]
push edx
push 0
push 0
push 0
push 1
push 0
push 0
lea ecx, [ebp - 0x38]
call fcn.00408ea0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x4cecd8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0xa0], eax
cmp dword [ebp - 0xa0], 0x2e4
jne 0x4cecd2
push 1
mov ecx, dword [ebp - 0x38c]
add ecx, 0x284
call fcn.00408ea0
push eax
push 0x4fd838
lea ecx, [ebp - 0x38]
call fcn.00408ea0
push eax
push 0x4fd83c
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [ebp - 0xa4], eax
cmp dword [ebp - 0xa4], 0x20
jle 0x4cecbd
mov byte [ebp - 0xd], 1
jmp 0x4cecd0
cmp dword [ebp - 0xa4], 5
jne 0x4ceccc
mov byte [ebp - 0xd], 1
jmp 0x4cecd0
mov byte [ebp - 0xd], 0
jmp 0x4cecd6
mov byte [ebp - 0xd], 0
jmp 0x4cecdc
mov byte [ebp - 0xd], 1
jmp 0x4ceffd
push 1
mov ecx, dword [ebp - 0x38c]
add ecx, 0x284
call fcn.00408ea0
push eax
push 0x4fd848
lea ecx, [ebp - 0x38]
call fcn.00408ea0
push eax
push 0x4fd84c
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [ebp - 0xa8], eax
cmp dword [ebp - 0xa8], 0x20
jle 0x4ced27
mov byte [ebp - 0xd], 1
jmp 0x4ced3a
cmp dword [ebp - 0xa8], 5
jne 0x4ced36
mov byte [ebp - 0xd], 1
jmp 0x4ced3a
mov byte [ebp - 0xd], 0
jmp 0x4ceffd
lea ecx, [ebp - 0x2fc]
call fcn.00408c50
mov byte [ebp - 4], 1
push 0x104
lea eax, [ebp - 0x2bc]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x4ced76
push str.c:windows_system32_
lea ecx, [ebp - 0x2fc]
call fcn.004058b0
jmp 0x4ced98
lea ecx, [ebp - 0x2bc]
push ecx
call fcn.004972e5
add esp, 4
push eax
lea edx, [ebp - 0x2bc]
push edx
lea ecx, [ebp - 0x2fc]
call fcn.00401890
push str.msiexec.exe
lea eax, [ebp - 0x2fc]
push eax
lea ecx, [ebp - 0x2d8]
push ecx
call fcn.0040fee0
add esp, 0xc
mov byte [ebp - 4], 2
push str._i__
lea ecx, [ebp - 0x2dc]
call fcn.004023f0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x38]
call fcn.00408ea0
push eax
lea ecx, [ebp - 0x2dc]
call fcn.00407e20
push 0x4fd8ac
lea ecx, [ebp - 0x2dc]
call fcn.00407e20
movzx edx, byte [ebp - 0x15]
test edx, edx
je 0x4cee3b
push 1
mov ecx, dword [ebp - 0x38c]
add ecx, 0x284
call fcn.00408ea0
push eax
lea ecx, [ebp - 0x2dc]
call fcn.00408f70
push eax
lea ecx, [ebp - 0x2d8]
call fcn.00408ea0
push eax
push 0x4fd8b0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [ebp - 0x2e0], eax
jmp 0x4cef7d
lea eax, [ebp - 0x2fd]
push eax
call fcn.00419670
add esp, 4
movzx ecx, al
cmp ecx, 1
jne 0x4ceedd
movzx edx, byte [ebp - 0x2fd]
cmp edx, 1
jne 0x4cee99
push 1
mov ecx, dword [ebp - 0x38c]
add ecx, 0x284
call fcn.00408ea0
push eax
push 0x4fd8bc
lea ecx, [ebp - 0x38]
call fcn.00408ea0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [ebp - 0x2e0], eax
jmp 0x4ceed8
push 1
mov ecx, dword [ebp - 0x38c]
add ecx, 0x284
call fcn.00408ea0
push eax
lea ecx, [ebp - 0x2dc]
call fcn.00408f70
push eax
lea ecx, [ebp - 0x2d8]
call fcn.00408ea0
push eax
push str.runas
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [ebp - 0x2e0], eax
jmp 0x4cef7d
push 0
lea ecx, [ebp - 0x384]
call fcn.004d1460
mov byte [ebp - 4], 4
push 0xa4
lea ecx, [ebp - 0x310]
call fcn.004027b0
push 0x96
lea ecx, [ebp - 0x30c]
call fcn.004027b0
mov byte [ebp - 0x308], 1
lea ecx, [ebp - 0x384]
call fcn.00488930
mov byte [ebp - 0x385], 1
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x384]
call fcn.004d1420
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2dc]
call fcn.00402e40
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2d8]
call fcn.00401310
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2fc]
call fcn.00401310
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.00401310
mov al, byte [ebp - 0x385]
jmp 0x4cf03a
cmp dword [ebp - 0x2e0], 0x20
jle 0x4cef8c
mov byte [ebp - 0xd], 1
jmp 0x4cef9f
cmp dword [ebp - 0x2e0], 5
jne 0x4cef9b
mov byte [ebp - 0xd], 1
jmp 0x4cef9f
mov byte [ebp - 0xd], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2dc]
call fcn.00402e40
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2d8]
call fcn.00401310
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2fc]
call fcn.00401310
jmp 0x4ceffd
push 1
push 0
push 0
mov ecx, dword [ebp - 0x38c]
add ecx, 0x284
call fcn.00408ea0
push eax
push 0x4fd8d8
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov byte [ebp - 0xd], 1
jmp 0x4ceffd
mov byte [ebp - 0xd], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.00401310
jmp 0x4cf037
push 1
push 0
push 0
mov ecx, dword [ebp - 0x38c]
add ecx, 0x284
call fcn.00408ea0
push eax
push str.explore
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov byte [ebp - 0xd], 1
mov al, byte [ebp - 0xd]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.00497164
mov esp, ebp
pop ebp
ret 4