Function at 0x10001828
Capabilities:
Create process on windows
Query environment variable
Terminate process

Disassembly:
push 0xa4
mov eax, 0x1004add3
call fcn.10026b3a
mov esi, ecx
mov dword [ebp - 0x50], esi
lea ecx, [ebp - 0x2c]
call fcn.100014de
xor ebx, ebx
lea eax, [ebp - 0xb0]
push 0x44
push ebx
push eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x3c], ebx
call fcn.10029a90
xor eax, eax
mov dword [ebp - 0xb0], 0x44
lea edi, [ebp - 0x60]
add esp, 0xc
stosd dword es:[edi], eax
lea ecx, [ebp - 0x18]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.100014de
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x28]
push edi
push eax
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.10002e88
push 0x1004e8b4
push 0x1004f154
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.10005347
push ecx
mov ecx, esp
mov dword [ebp - 0x34], esp
push str..msi
call fcn.10001434
mov eax, dword [ebp - 0x28]
push ecx
add eax, 0xfffffff0
mov byte [ebp - 4], 3
mov esi, esp
push eax
mov dword [ebp - 0x38], esi
call fcn.1000276c
add eax, 0x10
mov dword [esi], eax
pop ecx
mov byte [ebp - 4], 2
call fcn.10002c5a
mov byte [ebp - 0x12], al
pop ecx
pop ecx
test al, al
je 0x10001907
push dword [ebp - 0x28]
lea eax, [ebp - 0x18]
push 0x1004f158
push eax
call fcn.10002dbd
add esp, 0xc
lea eax, [ebp - 0x18]
mov ecx, 0x10063f2c
push eax
call fcn.1000b8a0
jmp 0x10001913
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x18]
call fcn.100015cc
lea ecx, [edi + 0x38]
call fcn.10005c4a
mov ecx, eax
call fcn.10005b05
mov eax, dword [eax]
cmp dword [eax - 0xc], 0
je 0x100019ba
mov edi, dword [edi + 0x38]
lea ecx, [ebp - 0x2c]
push 0x3e8
call fcn.10004f08
push 0x3e8
lea ecx, [ebp - 0x2c]
mov esi, eax
call fcn.10005677
push 0x3e8
push esi
push edi
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x2c]
call fcn.10005138
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
push eax
call fcn.1000276c
pop ecx
lea esi, [eax + 0x10]
mov dword [ebp - 0x34], esi
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 4
call fcn.10005c4a
mov ecx, eax
call fcn.10005b05
cmp byte [ebp - 0x12], 0
push dword [eax]
lea eax, [ebp - 0x18]
push esi
je 0x1000199d
push str._s__s
jmp 0x100019a2
push str.__s___s
push eax
call fcn.10002dbd
add esp, 0x10
mov byte [ebp - 4], 2
lea ecx, [esi - 0x10]
call fcn.10005120
mov edi, dword [ebp + 8]
mov eax, dword [ebp - 0x18]
cmp dword [eax - 4], 1
jle 0x100019d1
push dword [eax - 0xc]
lea ecx, [ebp - 0x18]
call fcn.10002d51
mov eax, dword [ebp - 0x18]
push eax
push str.start_:__s
call fcn.10017276
pop ecx
pop ecx
push ebx
push ecx
mov ecx, esp
push str.uiScriptTest
call fcn.10001361
mov ecx, 0x10063f60
call fcn.100119ab
lea ecx, [edi + 0x6c]
mov dword [ebp - 0x40], ecx
cmp dword [ecx], ebx
je 0x10001a0c
cmp dword [edi + 0x60], ebx
je 0x10001a0c
mov cl, 1
mov byte [ebp - 0x11], cl
jmp 0x10001a11
mov cl, bl
mov byte [ebp - 0x11], bl
test al, al
je 0x10001a26
cmp dword [0x10063efc], 0
jne 0x10001a26
mov byte [ebp - 0x11], bl
jmp 0x10001aea
test cl, cl
je 0x10001aea
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.USER32.dll_GetThreadDesktop]
push ebx
push 0x2000000
push ebx
push ebx
push ebx
push 0x1004f1e0
mov dword [ebp - 0x3c], eax
call dword [sym.imp.USER32.dll_CreateDesktopW]
mov dword [ebp - 0x24], eax
test eax, eax
jne 0x10001a94
call dword [sym.imp.KERNEL32.dll_GetLastError]
push str.D:_source_aprelSibSiblSibInstallerInstall.cpp
lea ecx, [ebp - 0x1c]
mov esi, eax
call fcn.100013dd
push 0x2c9
push dword [eax]
mov byte [ebp - 4], 5
push esi
call fcn.10016f97
mov ecx, dword [ebp - 0x1c]
add esp, 0xc
mov byte [ebp - 4], 2
lea ecx, [ecx - 0x10]
call fcn.10005120
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.USER32.dll_SetThreadDesktop]
test eax, eax
jne 0x10001ae0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [ebp - 0x24]
mov esi, eax
call dword [sym.imp.USER32.dll_CloseDesktop]
push str.D:_source_aprelSibSiblSibInstallerInstall.cpp
lea ecx, [ebp - 0x1c]
call fcn.100013dd
push 0x2d2
push dword [eax]
mov byte [ebp - 4], 6
push esi
call fcn.10016f97
mov ecx, dword [ebp - 0x1c]
add esp, 0xc
mov byte [ebp - 4], 2
lea ecx, [ecx - 0x10]
call fcn.10005120
mov dword [ebp - 0xa8], str.WinSta0ib
mov eax, dword [ebp - 0x18]
cmp dword [eax - 4], 1
jle 0x10001b01
push dword [eax - 0xc]
lea ecx, [ebp - 0x18]
call fcn.10002d51
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x60]
push ecx
lea ecx, [ebp - 0xb0]
push ecx
push ebx
push ebx
push 0x1000000
push ebx
push ebx
push ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x10001b69
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp byte [ebp - 0x11], 0
mov esi, eax
je 0x10001b39
push dword [ebp - 0x24]
call dword [sym.imp.USER32.dll_CloseDesktop]
push str.D:_source_aprelSibSiblSibInstallerInstall.cpp
lea ecx, [ebp - 0x1c]
call fcn.100013dd
push 0x2e7
push dword [eax]
mov byte [ebp - 4], 7
push esi
call fcn.10016f97
mov ecx, dword [ebp - 0x1c]
add esp, 0xc
add ecx, 0xfffffff0
mov byte [ebp - 4], 2
call fcn.10005120
push dword [0x10063ee8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x1004f200
push ebx
call dword [sym.imp.KERNEL32.dll_CreateJobObjectW]
push dword [ebp - 0x60]
mov dword [0x10063ee8], eax
push eax
call dword [sym.imp.KERNEL32.dll_AssignProcessToJobObject]
mov byte [ebp - 0x12], bl
cmp dword [edi + 0x60], ebx
je 0x10001d54
push ecx
mov ecx, esp
push str.starting_UI_Script
call fcn.10001434
call fcn.100172c6
pop ecx
mov ecx, ebx
mov dword [ebp - 0x30], ebx
mov eax, dword [ebp - 0x40]
cmp ecx, dword [eax]
jge 0x10001d54
push ecx
lea ecx, [edi + 0x64]
call fcn.10002bd1
mov esi, eax
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x20], esi
call fcn.100014de
lea ecx, [esi + 8]
mov byte [ebp - 4], 8
push 0x1004e900
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x38], ecx
call fcn.1000592e
imul eax, dword [esi + 0xc], 0x3e8
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
push dword [esi + 0x20]
mov eax, dword [esi]
push dword [esi + 0x24]
mov ecx, dword [ebp - 0x30]
inc ecx
push dword [eax*4 + 0x1004e6a8]
mov dword [ebp - 0x34], ecx
push ecx
push str.step_d:__s__s__s
call fcn.10017276
add esp, 0x14
mov dword [ebp - 0x30], ebx
mov edi, ebx
cmp edi, 0xa
jae 0x10001c3a
push esi
mov byte [ebp - 4], 9
call fcn.10016016
pop ecx
test eax, eax
je 0x10001c8c
push esi
mov byte [ebp - 4], 0xb
call fcn.10015a82
pop ecx
mov ecx, dword [ebp - 0x44]
push 0x1004f254
call fcn.1000592e
jmp 0x10001d04
push 0x3e8
mov dword [ebp - 4], 8
call dword [sym.imp.KERNEL32.dll_Sleep]
inc edi
mov dword [ebp - 0x30], edi
jmp 0x10001c26
mov eax, dword [ebp - 0x4c]
push 0x1004f254
mov dword [ebp - 4], 8
push dword [eax]
call fcn.10005a20
pop ecx
pop ecx
test eax, eax
je 0x10001dca
mov eax, dword [ebp - 0x38]
mov byte [ebp - 0x12], 1
push dword [eax]
push str.failed:__s
call fcn.10017276
pop ecx
pop ecx
cmp dword [esi + 0x10], ebx
jne 0x10001dca
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
mov byte [ebp - 4], 2
call fcn.10005120
mov edi, dword [ebp + 8]
cmp byte [ebp - 0x11], 0
je 0x10001d6c
push dword [ebp - 0x3c]
call dword [sym.imp.USER32.dll_SetThreadDesktop]
push dword [ebp - 0x24]
call dword [sym.imp.USER32.dll_CloseDesktop]
cmp byte [ebp - 0x12], 0
je 0x10001df6
push ebx
push ecx
mov ecx, esp
push str.keepProcessAlive
call fcn.10001361
mov ecx, edi
call fcn.100119ab
test al, al
jne 0x10001da4
push ebx
push dword [ebp - 0x60]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push str.process_terminated
call fcn.10017276
pop ecx
push ebx
push ecx
mov ecx, esp
push str.ignoreFailure
call fcn.10001361
mov ecx, edi
call fcn.100119ab
test al, al
je 0x10001dec
push str.ignore_action_failure_and_continue_installation
call fcn.10017276
pop ecx
jmp 0x10001df6
call fcn.10005d84
mov ecx, dword [ebp - 0x1c]
mov byte [ebp - 4], 2
lea ecx, [ecx - 0x10]
call fcn.10005120
mov ecx, dword [ebp - 0x34]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x30], ecx
jmp 0x10001bb4
mov dword [0x10063f00], 1
push ebx
push 0x78
push ecx
mov ecx, esp
push str.waitTimeout
call fcn.10001361
mov ecx, edi
call fcn.10011af9
mov esi, eax
imul ecx, esi, 0xea60
push ecx
push dword [ebp - 0x60]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x10001e2e
push esi
push str.timeout__d_min._was_reached_but_the_process_still_active.
jmp 0x10001e4a
mov esi, dword [ebp - 0x50]
add esi, 0x10
push esi
push dword [ebp - 0x60]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
cmp dword [esi], 0
je 0x10001e51
push dword [esi]
push str.process_was_completed_with_exit_code:__d
call fcn.10017276
pop ecx
pop ecx
push dword [ebp - 0x60]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x5c]
call esi
mov ecx, dword [ebp - 0x28]
lea ecx, [ecx - 0x10]
call fcn.10005120
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.10005120
mov ecx, dword [ebp - 0x2c]
lea ecx, [ecx - 0x10]
call fcn.10005120
call fcn.10026a9f
ret 4