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

Disassembly:
push 0x98
mov eax, 0x10047c23
call fcn.10026448
mov esi, ecx
mov dword [ebp - 0x44], esi
lea ecx, [ebp - 0x2c]
call fcn.100014cb
xor ebx, ebx
lea eax, [ebp - 0xa4]
push 0x44
push ebx
push eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x3c], ebx
call fcn.10029370
xor eax, eax
mov dword [ebp - 0xa4], 0x44
lea edi, [ebp - 0x54]
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.100014cb
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x28]
push edi
push eax
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.10002d1e
push 0x1004b894
push 0x1004c06c
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.1000532f
push ecx
mov ecx, esp
mov dword [ebp - 0x30], esp
push str..msi
call fcn.10001421
push ecx
mov esi, esp
mov byte [ebp - 4], 3
mov dword [ebp - 0x1c], esi
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff0
push eax
call fcn.100025ee
add eax, 0x10
mov dword [esi], eax
pop ecx
mov byte [ebp - 4], 2
call fcn.10002af2
mov byte [ebp - 0x12], al
pop ecx
pop ecx
test al, al
je 0x100018f6
push dword [ebp - 0x28]
lea eax, [ebp - 0x18]
push 0x1004c070
push eax
call fcn.10002c53
add esp, 0xc
lea eax, [ebp - 0x18]
mov ecx, 0x10060f1c
push eax
call fcn.1000ae34
jmp 0x10001902
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x18]
call fcn.100015bb
lea ecx, [edi + 0x38]
call fcn.10005b75
mov ecx, eax
call fcn.10005a31
mov eax, dword [eax]
cmp dword [eax - 0xc], 0
je 0x100019a5
push 0x3e8
lea ecx, [ebp - 0x2c]
call fcn.10004eec
push 0x3e8
lea ecx, [ebp - 0x2c]
mov esi, eax
call fcn.100055b7
push 0x3e8
push esi
push dword [edi + 0x38]
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x2c]
call fcn.10005120
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
push eax
call fcn.100025ee
pop ecx
lea esi, [eax + 0x10]
mov dword [ebp - 0x30], esi
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 4
call fcn.10005b75
mov ecx, eax
call fcn.10005a31
cmp byte [ebp - 0x12], 0
push dword [eax]
lea eax, [ebp - 0x18]
push esi
je 0x1000198b
push str._s__s
jmp 0x10001990
push str.__s___s
push eax
call fcn.10002c53
add esp, 0x10
mov byte [ebp - 4], 2
lea ecx, [esi - 0x10]
call fcn.10005108
mov eax, dword [ebp - 0x18]
cmp dword [eax - 4], 1
jle 0x100019bc
push dword [eax - 0xc]
lea ecx, [ebp - 0x18]
call fcn.10002be9
mov eax, dword [ebp - 0x18]
push eax
push str.start_:__s
call fcn.10016c77
pop ecx
pop ecx
push ebx
push ecx
mov ecx, esp
push str.uiScriptTest
call fcn.1000134e
mov ecx, 0x10060f50
call fcn.100111ca
cmp dword [edi + 0x6c], ebx
je 0x100019f2
cmp dword [edi + 0x60], ebx
je 0x100019f2
mov cl, 1
mov byte [ebp - 0x11], cl
jmp 0x100019f7
mov cl, bl
mov byte [ebp - 0x11], bl
test al, al
je 0x10001a0c
cmp dword [0x10060efc], 0
jne 0x10001a0c
mov byte [ebp - 0x11], bl
jmp 0x10001ad0
test cl, cl
je 0x10001ad0
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 0x1004c0f8
mov dword [ebp - 0x3c], eax
call dword [sym.imp.USER32.dll_CreateDesktopW]
mov dword [ebp - 0x24], eax
test eax, eax
jne 0x10001a7a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push str.D:_source_test_sibNew_folderSibInstallerInstall.cpp
lea ecx, [ebp - 0x1c]
mov esi, eax
call fcn.100013ca
push 0x2cd
push dword [eax]
mov byte [ebp - 4], 5
push esi
call fcn.100169a6
mov ecx, dword [ebp - 0x1c]
add esp, 0xc
mov byte [ebp - 4], 2
lea ecx, [ecx - 0x10]
call fcn.10005108
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.USER32.dll_SetThreadDesktop]
test eax, eax
jne 0x10001ac6
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_test_sibNew_folderSibInstallerInstall.cpp
lea ecx, [ebp - 0x1c]
call fcn.100013ca
push 0x2d6
push dword [eax]
mov byte [ebp - 4], 6
push esi
call fcn.100169a6
mov ecx, dword [ebp - 0x1c]
add esp, 0xc
mov byte [ebp - 4], 2
lea ecx, [ecx - 0x10]
call fcn.10005108
mov dword [ebp - 0x9c], str.WinSta0ib
mov eax, dword [ebp - 0x18]
cmp dword [eax - 4], 1
jle 0x10001ae7
push dword [eax - 0xc]
lea ecx, [ebp - 0x18]
call fcn.10002be9
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x54]
push ecx
lea ecx, [ebp - 0xa4]
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 0x10001b4f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp byte [ebp - 0x11], 0
mov esi, eax
je 0x10001b1f
push dword [ebp - 0x24]
call dword [sym.imp.USER32.dll_CloseDesktop]
push str.D:_source_test_sibNew_folderSibInstallerInstall.cpp
lea ecx, [ebp - 0x1c]
call fcn.100013ca
push 0x2eb
push dword [eax]
mov byte [ebp - 4], 7
push esi
call fcn.100169a6
mov ecx, dword [ebp - 0x1c]
add esp, 0xc
add ecx, 0xfffffff0
mov byte [ebp - 4], 2
call fcn.10005108
push dword [0x10060ee8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x1004c118
push ebx
call dword [sym.imp.KERNEL32.dll_CreateJobObjectW]
push dword [ebp - 0x54]
mov dword [0x10060ee8], eax
push eax
call dword [sym.imp.KERNEL32.dll_AssignProcessToJobObject]
mov byte [ebp - 0x12], bl
cmp dword [edi + 0x60], ebx
je 0x10001d34
push ecx
mov ecx, esp
push str.starting_UI_Script
call fcn.10001421
call fcn.10016cc7
pop ecx
mov eax, ebx
mov dword [ebp - 0x34], ebx
cmp eax, dword [edi + 0x6c]
jge 0x10001d34
push eax
lea ecx, [edi + 0x64]
call fcn.10002a69
mov esi, eax
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x20], esi
call fcn.100014cb
lea ecx, [esi + 8]
mov byte [ebp - 4], 8
push 0x1004b8e0
mov dword [ebp - 0x30], ecx
call fcn.1000586c
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]
push dword [eax*4 + 0x1004b688]
mov eax, dword [ebp - 0x34]
inc eax
push eax
push str.step_d:__s__s__s
call fcn.10016c77
add esp, 0x14
mov dword [ebp - 0x38], ebx
mov eax, ebx
cmp eax, 0xa
jae 0x10001c15
push esi
mov byte [ebp - 4], 9
call fcn.100159c9
pop ecx
test eax, eax
je 0x10001c6a
push esi
mov byte [ebp - 4], 0xb
call fcn.1001543b
pop ecx
mov ecx, dword [ebp - 0x30]
push 0x1004c16c
call fcn.1000586c
jmp 0x10001ceb
push 0x3e8
mov dword [ebp - 4], 8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
jmp 0x10001c01
push 0x1004c16c
push dword [esi + 8]
mov dword [ebp - 4], 8
call fcn.1000594c
pop ecx
pop ecx
test eax, eax
je 0x10001da6
push dword [esi + 8]
mov byte [ebp - 0x12], 1
push str.failed:__s
call fcn.10016c77
pop ecx
pop ecx
cmp dword [esi + 0x10], ebx
jne 0x10001da6
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
mov byte [ebp - 4], 2
call fcn.10005108
cmp byte [ebp - 0x11], 0
je 0x10001d4c
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 0x10001dd0
push ebx
push ecx
mov ecx, esp
push str.keepProcessAlive
call fcn.1000134e
mov ecx, edi
call fcn.100111ca
test al, al
jne 0x10001d80
push ebx
push dword [ebp - 0x54]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push str.process_terminated
call fcn.10016c77
pop ecx
push ebx
push ecx
mov ecx, esp
push str.ignoreFailure
call fcn.1000134e
mov ecx, edi
call fcn.100111ca
test al, al
je 0x10001dc6
push str.ignore_action_failure_and_continue_installation
call fcn.10016c77
pop ecx
jmp 0x10001dd0
call fcn.10005cad
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
mov byte [ebp - 4], 2
call fcn.10005108
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
jmp 0x10001b9a
mov dword [0x10060f00], 1
push ebx
push 0x78
push ecx
mov ecx, esp
push str.waitTimeout
call fcn.1000134e
mov ecx, edi
call fcn.10011318
mov esi, eax
imul ecx, esi, 0xea60
push ecx
push dword [ebp - 0x54]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x10001e08
push esi
push str.timeout__d_min._was_reached_but_the_process_still_active.
jmp 0x10001e24
mov esi, dword [ebp - 0x44]
add esi, 0x10
push esi
push dword [ebp - 0x54]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
cmp dword [esi], 0
je 0x10001e2b
push dword [esi]
push str.process_was_completed_with_exit_code:__d
call fcn.10016c77
pop ecx
pop ecx
push dword [ebp - 0x54]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x50]
call esi
mov ecx, dword [ebp - 0x28]
lea ecx, [ecx - 0x10]
call fcn.10005108
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.10005108
mov ecx, dword [ebp - 0x2c]
lea ecx, [ecx - 0x10]
call fcn.10005108
call fcn.100263ad
ret 4