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

Disassembly:
push 0x11c
mov eax, 0x4558e1
call fcn.004279ed
mov esi, ecx
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0xa4]
mov dword [ebp - 0xc8], esi
mov dword [ebp - 0x90], eax
mov dword [ebp - 0xac], eax
call fcn.004015de
xor ebx, ebx
lea eax, [ebp - 0x128]
push 0x44
push ebx
push eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0x9c], ebx
mov dword [ebp - 0xb4], ebx
call fcn.0042c6e0
xor eax, eax
mov dword [ebp - 0x128], 0x44
lea edi, [ebp - 0xd8]
add esp, 0xc
stosd dword es:[edi], eax
lea ecx, [ebp - 0x8c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.004015de
mov edi, dword [ebp - 0x90]
lea eax, [ebp - 0xa0]
push edi
push eax
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.004030f6
push 0x4598f4
push 0x45a194
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 2
call fcn.004055b5
push ecx
mov ecx, esp
mov dword [ebp - 0x98], esp
push str..msi
call fcn.00401534
mov eax, dword [ebp - 0xa0]
push ecx
add eax, 0xfffffff0
mov byte [ebp - 4], 3
mov esi, esp
push eax
mov dword [ebp - 0xb0], esi
call fcn.004029da
add eax, 0x10
mov dword [esi], eax
pop ecx
mov byte [ebp - 4], 2
call fcn.00402ec8
mov byte [ebp - 0x86], al
pop ecx
pop ecx
test al, al
je 0x401a46
push dword [ebp - 0xa0]
lea eax, [ebp - 0x8c]
push 0x45a198
push eax
call fcn.0040302b
add esp, 0xc
lea eax, [ebp - 0x8c]
mov ecx, 0x476234
push eax
call fcn.0040bb9a
jmp 0x401a58
lea eax, [ebp - 0xa0]
push eax
lea ecx, [ebp - 0x8c]
call fcn.004016cc
lea ecx, [edi + 0x38]
call fcn.00405eb8
mov ecx, eax
call fcn.00405d73
mov eax, dword [eax]
cmp dword [eax - 0xc], 0
je 0x401b1a
mov edi, dword [edi + 0x38]
lea ecx, [ebp - 0xa4]
push 0x3e8
call fcn.00405176
push 0x3e8
lea ecx, [ebp - 0xa4]
mov esi, eax
call fcn.004058e5
push 0x3e8
push esi
push edi
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
push 0xffffffffffffffff
lea ecx, [ebp - 0xa4]
call fcn.004053a6
mov eax, dword [ebp - 0x8c]
add eax, 0xfffffff0
push eax
call fcn.004029da
pop ecx
lea esi, [eax + 0x10]
mov dword [ebp - 0x98], esi
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 4
call fcn.00405eb8
mov ecx, eax
call fcn.00405d73
cmp byte [ebp - 0x86], 0
push dword [eax]
lea eax, [ebp - 0x8c]
push esi
je 0x401afa
push str._s__s
jmp 0x401aff
push str.__s___s
push eax
call fcn.0040302b
add esp, 0x10
mov byte [ebp - 4], 2
lea ecx, [esi - 0x10]
call fcn.0040538e
mov edi, dword [ebp - 0x90]
mov eax, dword [ebp - 0x8c]
cmp dword [eax - 4], 1
jle 0x401b3a
push dword [eax - 0xc]
lea ecx, [ebp - 0x8c]
call fcn.00402fbf
mov eax, dword [ebp - 0x8c]
push eax
push str.start_:__s
call fcn.004182da
pop ecx
pop ecx
push ebx
push ecx
mov ecx, esp
push str.uiScriptTest
call fcn.00401461
mov ecx, 0x476268
call fcn.00411cc0
lea ecx, [edi + 0x6c]
mov dword [ebp - 0xb8], ecx
cmp dword [ecx], ebx
je 0x401b7b
cmp dword [edi + 0x60], ebx
je 0x401b7b
mov cl, 1
mov byte [ebp - 0x85], cl
jmp 0x401b83
mov cl, bl
mov byte [ebp - 0x85], bl
test al, al
je 0x401b9b
cmp dword [0x476204], 0
jne 0x401b9b
mov byte [ebp - 0x85], bl
jmp 0x401c77
test cl, cl
je 0x401c77
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 0x45a220
mov dword [ebp - 0xb4], eax
call dword [sym.imp.USER32.dll_CreateDesktopW]
mov dword [ebp - 0x9c], eax
test eax, eax
jne 0x401c18
call dword [sym.imp.KERNEL32.dll_GetLastError]
push str.D:_source_aprelSibSiblSibInstallerInstall.cpp
lea ecx, [ebp - 0x94]
mov esi, eax
call fcn.004014dd
push 0x2c9
push dword [eax]
mov byte [ebp - 4], 5
push esi
call fcn.004172ac
mov ecx, dword [ebp - 0x94]
add esp, 0xc
mov byte [ebp - 4], 2
lea ecx, [ecx - 0x10]
call fcn.0040538e
mov eax, dword [ebp - 0x9c]
push eax
call dword [sym.imp.USER32.dll_SetThreadDesktop]
test eax, eax
jne 0x401c6d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [ebp - 0x9c]
mov esi, eax
call dword [sym.imp.USER32.dll_CloseDesktop]
push str.D:_source_aprelSibSiblSibInstallerInstall.cpp
lea ecx, [ebp - 0x94]
call fcn.004014dd
push 0x2d2
push dword [eax]
mov byte [ebp - 4], 6
push esi
call fcn.004172ac
mov ecx, dword [ebp - 0x94]
add esp, 0xc
mov byte [ebp - 4], 2
lea ecx, [ecx - 0x10]
call fcn.0040538e
mov dword [ebp - 0x120], str.WinSta0ib
mov eax, dword [ebp - 0x8c]
cmp dword [eax - 4], 1
jle 0x401c97
push dword [eax - 0xc]
lea ecx, [ebp - 0x8c]
call fcn.00402fbf
mov eax, dword [ebp - 0x8c]
lea ecx, [ebp - 0xd8]
push ecx
lea ecx, [ebp - 0x128]
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 0x401d0e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp byte [ebp - 0x85], 0
mov esi, eax
je 0x401cd8
push dword [ebp - 0x9c]
call dword [sym.imp.USER32.dll_CloseDesktop]
push str.D:_source_aprelSibSiblSibInstallerInstall.cpp
lea ecx, [ebp - 0x94]
call fcn.004014dd
push 0x2e7
push dword [eax]
mov byte [ebp - 4], 7
push esi
call fcn.004172ac
mov ecx, dword [ebp - 0x94]
add esp, 0xc
add ecx, 0xfffffff0
mov byte [ebp - 4], 2
call fcn.0040538e
push dword [0x4761f0]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x45a240
push ebx
call dword [sym.imp.KERNEL32.dll_CreateJobObjectW]
mov esi, eax
lea eax, [ebp - 0x84]
push 0x70
push ebx
push eax
mov dword [0x4761f0], esi
call fcn.0042c6e0
add esp, 0xc
mov dword [ebp - 0x74], 0x2000
lea eax, [ebp - 0x84]
push 0x70
push eax
push 9
push esi
call dword [sym.imp.KERNEL32.dll_SetInformationJobObject]
push dword [ebp - 0xd8]
push dword [0x4761f0]
call dword [sym.imp.KERNEL32.dll_AssignProcessToJobObject]
mov byte [ebp - 0x86], bl
cmp dword [edi + 0x60], ebx
je 0x401f95
push ecx
mov ecx, esp
push str.starting_UI_Script
call fcn.00401534
call fcn.0041832a
pop ecx
mov ecx, ebx
mov dword [ebp - 0xa8], ebx
mov eax, dword [ebp - 0xb8]
cmp ecx, dword [eax]
jge 0x401f95
push ecx
lea ecx, [edi + 0x64]
call fcn.00402e3f
mov esi, eax
lea ecx, [ebp - 0x94]
mov dword [ebp - 0x90], esi
call fcn.004015de
lea ecx, [esi + 8]
mov byte [ebp - 4], 8
push 0x459940
mov dword [ebp - 0xc4], ecx
mov dword [ebp - 0xbc], ecx
mov dword [ebp - 0xb0], ecx
call fcn.00405b9c
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 - 0xa8]
inc ecx
push dword [eax*4 + 0x4596e8]
mov dword [ebp - 0x98], ecx
push ecx
push str.step_d:__s__s__s
call fcn.004182da
add esp, 0x14
mov dword [ebp - 0xa8], ebx
mov eax, ebx
cmp eax, 0xa
jae 0x401e36
push esi
mov byte [ebp - 4], 9
call fcn.0041632b
pop ecx
test eax, eax
je 0x401ea0
push esi
mov byte [ebp - 4], 0xb
call fcn.00415d97
pop ecx
mov ecx, dword [ebp - 0xbc]
push 0x45a294
call fcn.00405b9c
jmp 0x401f3c
push 0x3e8
mov dword [ebp - 4], 8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp - 0xa8]
inc eax
mov dword [ebp - 0xa8], eax
jmp 0x401e22
mov eax, dword [ebp - 0xc4]
push 0x45a294
mov dword [ebp - 4], 8
push dword [eax]
call fcn.00405c8e
pop ecx
pop ecx
test eax, eax
je 0x40201a
mov eax, dword [ebp - 0xb0]
mov byte [ebp - 0x86], 1
push dword [eax]
push str.failed:__s
call fcn.004182da
pop ecx
pop ecx
cmp dword [esi + 0x10], ebx
jne 0x40201a
mov ecx, dword [ebp - 0x94]
add ecx, 0xfffffff0
mov byte [ebp - 4], 2
call fcn.0040538e
cmp byte [ebp - 0x85], 0
je 0x401fb6
push dword [ebp - 0xb4]
call dword [sym.imp.USER32.dll_SetThreadDesktop]
push dword [ebp - 0x9c]
call dword [sym.imp.USER32.dll_CloseDesktop]
cmp byte [ebp - 0x86], 0
je 0x40204c
push ebx
push ecx
mov ecx, esp
push str.keepProcessAlive
call fcn.00401461
mov ecx, edi
call fcn.00411cc0
test al, al
jne 0x401ff4
push ebx
push dword [ebp - 0xd8]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push str.process_terminated
call fcn.004182da
pop ecx
push ebx
push ecx
mov ecx, esp
push str.ignoreFailure
call fcn.00401461
mov ecx, edi
call fcn.00411cc0
test al, al
je 0x402042
push str.ignore_action_failure_and_continue_installation
call fcn.004182da
pop ecx
jmp 0x40204c
call fcn.00405ff2
mov ecx, dword [ebp - 0x94]
mov byte [ebp - 4], 2
lea ecx, [ecx - 0x10]
call fcn.0040538e
mov ecx, dword [ebp - 0x98]
mov dword [ebp - 0xa8], ecx
jmp 0x401d95
mov dword [0x476208], 1
push ebx
push 0x78
push ecx
mov ecx, esp
push str.waitTimeout
call fcn.00401461
mov ecx, edi
call fcn.00411e0e
mov esi, eax
imul ecx, esi, 0xea60
push ecx
push dword [ebp - 0xd8]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x402087
push esi
push str.timeout__d_min._was_reached_but_the_process_still_active.
jmp 0x4020a9
mov esi, dword [ebp - 0xc8]
add esi, 0x10
push esi
push dword [ebp - 0xd8]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
cmp dword [esi], 0
je 0x4020b0
push dword [esi]
push str.process_was_completed_with_exit_code:__d
call fcn.004182da
pop ecx
pop ecx
push dword [ebp - 0xd8]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0xd4]
call esi
mov ecx, dword [ebp - 0xa0]
lea ecx, [ecx - 0x10]
call fcn.0040538e
mov ecx, dword [ebp - 0x8c]
lea ecx, [ecx - 0x10]
call fcn.0040538e
mov ecx, dword [ebp - 0xa4]
lea ecx, [ecx - 0x10]
call fcn.0040538e
call fcn.0042793f
ret 4