Function at 0x1100e790
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2cc
mov eax, dword [0x11064c1c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push str.Kernel32.dll
mov dword [ebp - 0x240], eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
push str.CreateToolhelp32Snapshot
xor ebx, ebx
push esi
mov dword [ebp - 0x2cc], esi
mov dword [ebp - 0x26c], ebx
call edi
cmp eax, ebx
je 0x1100e7e9
push ebx
push 2
call eax
mov dword [ebp - 0x234], eax
jmp 0x1100e7f7
push 0x78
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [ebp - 0x234], ebx
cmp dword [ebp - 0x234], ebx
je 0x1100ea94
push 0x22c
lea ecx, [ebp - 0x230]
push 0
push ecx
call fcn.110278e0
add esp, 0xc
push str.Process32FirstW
push esi
mov dword [ebp - 0x230], 0x22c
call edi
test eax, eax
je 0x1100e841
mov ecx, dword [ebp - 0x234]
lea edx, [ebp - 0x230]
push edx
push ecx
call eax
jmp 0x1100e84b
push 0x78
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
mov dword [ebp - 0x23c], ebx
test eax, eax
je 0x1100e9c7
lea esp, [esp]
mov edx, dword [ebp - 0x228]
mov esi, dword [sym.imp.KERNEL32.dll_OpenProcess]
push edx
push 0
push 0x1000
call esi
mov edi, eax
test edi, edi
je 0x1100e96d
lea eax, [ebp - 0x238]
push eax
push 0x110683f8
push 0
push edi
mov dword [ebp - 0x238], 0x104
call dword [sym.imp.KERNEL32.dll_QueryFullProcessImageNameW]
test eax, eax
je 0x1100e966
push 0x110683f8
call fcn.110290f8
push str.msiexec.exe
push 0x110683f8
call fcn.110298a6
add esp, 0xc
test eax, eax
je 0x1100e966
mov ecx, dword [ebp - 0x218]
push ecx
push 0
push 0x1000
call esi
mov esi, eax
test esi, esi
je 0x1100e95d
lea edx, [ebp - 0x238]
push edx
push 0x110683f8
push 0
push esi
mov dword [ebp - 0x238], 0x104
call dword [sym.imp.KERNEL32.dll_QueryFullProcessImageNameW]
test eax, eax
je 0x1100e956
push 0x110683f8
call fcn.110290f8
push str.msiexec.exe
push 0x110683f8
call fcn.110298a6
add esp, 0xc
test eax, eax
jne 0x1100e956
push str.services.exe
push 0x110683f8
call fcn.110298a6
add esp, 8
test eax, eax
jne 0x1100e956
push 0x5c
push 0x110683f8
call fcn.1102798d
add esp, 8
lea ebx, [eax + 2]
mov dword [ebp - 0x23c], 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x23c], 0
jne 0x1100e9ba
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x26c], 0
jne 0x1100e992
mov eax, dword [ebp - 0x2cc]
push str.Process32NextW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x26c], eax
test eax, eax
je 0x1100e9b0
mov edx, dword [ebp - 0x234]
lea ecx, [ebp - 0x230]
push ecx
push edx
call dword [ebp - 0x26c]
test eax, eax
jne 0x1100e860
jmp 0x1100e9c1
push 0x78
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x1100e9c1
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x2cc]
mov eax, dword [ebp - 0x234]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
je 0x1100ea94
mov ecx, dword [ebp - 0x240]
push ecx
lea ecx, [ebp - 0x268]
call fcn.11022180
lea ecx, [ebp - 0x268]
mov dword [ebp - fcn.1100e530], vtable.CMSIDllEx.0
call fcn.110221d0
test eax, eax
jne 0x1100ea42
push str.MSIGetExePathName:_error_loading_msi.dll_n
call fcn.1100bbe0
add esp, 4
lea ecx, [ebp - 0x268]
call fcn.110221b0
test esi, esi
je 0x1100ea2a
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop edi
pop esi
mov eax, 0x643
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.110278cd
mov esp, ebp
pop ebp
ret 4
push ebx
push str.SETUPEXENAME
lea ecx, [ebp - 0x268]
call fcn.110222b0
push ebx
push str.SETUPEXENAME
push str.SetProp__s___s__n
call fcn.1100bc80
push ebx
push str.MSIGetExePathName:_Filename_returned___s_n
call fcn.1100bc80
add esp, 0x14
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
test eax, eax
je 0x1100ea89
push eax
push str.MSIGetExePathName:_Command_line___s_n
call fcn.1100bc80
add esp, 8
lea ecx, [ebp - 0x268]
call fcn.110221b0
test esi, esi
je 0x1100ea9f
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.110278cd
mov esp, ebp
pop ebp
ret 4