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

Disassembly:
push 0x118
mov eax, 0x57a7e3
call fcn.0054d463
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.00401fc2
xor ebx, ebx
lea eax, [ebp - 0x124]
push 0x44
push ebx
push eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0x9c], ebx
mov dword [ebp - 0xb8], ebx
call fcn.005525a0
xor eax, eax
mov dword [ebp - 0x124], 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.00401fc2
mov edi, dword [ebp - 0x90]
lea eax, [ebp - 0xa0]
push edi
push eax
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.00403d40
push 0x58c00c
push 0x58c89c
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 2
call fcn.0040635c
push ecx
mov ecx, esp
mov dword [ebp - 0x94], esp
push str..msi
call fcn.00401ed2
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.00403470
add eax, 0x10
mov dword [esi], eax
pop ecx
mov byte [ebp - 4], 2
call fcn.00403b0e
mov byte [ebp - 0x86], al
pop ecx
pop ecx
test al, al
je 0x4024d0
push dword [ebp - 0xa0]
lea eax, [ebp - 0x8c]
push 0x58c8a0
push eax
call fcn.00403c75
add esp, 0xc
lea eax, [ebp - 0x8c]
mov ecx, 0x5eac64
push eax
call fcn.0040ccad
jmp 0x4024e2
lea eax, [ebp - 0xa0]
push eax
lea ecx, [ebp - 0x8c]
call fcn.004020eb
lea ecx, [edi + 0x38]
call fcn.00406cb5
mov ecx, eax
call fcn.00406b70
mov eax, dword [eax]
cmp dword [eax - 0xc], ebx
je 0x40259c
push 0x3e8
lea ecx, [ebp - 0xa4]
call fcn.00405e6c
push 0x3e8
lea ecx, [ebp - 0xa4]
mov esi, eax
call fcn.00406699
push 0x3e8
push esi
push dword [edi + 0x38]
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
push 0xffffffffffffffff
lea ecx, [ebp - 0xa4]
call fcn.0040614f
mov eax, dword [ebp - 0x8c]
add eax, 0xfffffff0
push eax
call fcn.00403470
pop ecx
lea esi, [eax + 0x10]
mov dword [ebp - 0x94], esi
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 4
call fcn.00406cb5
mov ecx, eax
call fcn.00406b70
cmp byte [ebp - 0x86], 0
push dword [eax]
lea eax, [ebp - 0x8c]
push esi
je 0x402582
push str._s__s
jmp 0x402587
push str.__s___s
push eax
call fcn.00403c75
add esp, 0x10
mov byte [ebp - 4], 2
lea ecx, [esi - 0x10]
call fcn.00406137
mov eax, dword [ebp - 0x8c]
cmp dword [eax - 4], 1
jle 0x4025bc
push dword [eax - 0xc]
lea ecx, [ebp - 0x8c]
call fcn.00403c07
mov eax, dword [ebp - 0x8c]
push eax
push str.start_:__s
call fcn.0041955c
pop ecx
pop ecx
push ebx
push ecx
mov ecx, esp
push str.uiScriptTest
call fcn.00401d91
mov ecx, 0x5eac98
call fcn.00412ef6
lea ecx, [edi + 0x6c]
mov dword [ebp - 0xbc], ecx
cmp dword [ecx], ebx
je 0x4025fd
cmp dword [edi + 0x60], ebx
je 0x4025fd
mov cl, 1
mov byte [ebp - 0x85], cl
jmp 0x402605
mov cl, bl
mov byte [ebp - 0x85], bl
test al, al
je 0x40261d
cmp dword [0x5eac34], 0
jne 0x40261d
mov byte [ebp - 0x85], bl
jmp 0x4026f9
test cl, cl
je 0x4026f9
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 0x58c928
mov dword [ebp - 0xb8], eax
call dword [sym.imp.USER32.dll_CreateDesktopW]
mov dword [ebp - 0x9c], eax
test eax, eax
jne 0x40269a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push str.D:_source_aprelSibSiblSibInstallerInstall.cpp
lea ecx, [ebp - 0x90]
mov esi, eax
call fcn.00401e70
push 0x2c9
push dword [eax]
mov byte [ebp - 4], 5
push esi
call fcn.00418676
mov ecx, dword [ebp - 0x90]
add esp, 0xc
mov byte [ebp - 4], 2
lea ecx, [ecx - 0x10]
call fcn.00406137
mov eax, dword [ebp - 0x9c]
push eax
call dword [sym.imp.USER32.dll_SetThreadDesktop]
test eax, eax
jne 0x4026ef
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 - 0x90]
call fcn.00401e70
push 0x2d2
push dword [eax]
mov byte [ebp - 4], 6
push esi
call fcn.00418676
mov ecx, dword [ebp - 0x90]
add esp, 0xc
mov byte [ebp - 4], 2
lea ecx, [ecx - 0x10]
call fcn.00406137
mov dword [ebp - 0x11c], str.WinSta0ib
mov eax, dword [ebp - 0x8c]
cmp dword [eax - 4], 1
jle 0x402719
push dword [eax - 0xc]
lea ecx, [ebp - 0x8c]
call fcn.00403c07
mov eax, dword [ebp - 0x8c]
lea ecx, [ebp - 0xd8]
push ecx
lea ecx, [ebp - 0x124]
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 0x402790
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp byte [ebp - 0x85], 0
mov esi, eax
je 0x40275a
push dword [ebp - 0x9c]
call dword [sym.imp.USER32.dll_CloseDesktop]
push str.D:_source_aprelSibSiblSibInstallerInstall.cpp
lea ecx, [ebp - 0x90]
call fcn.00401e70
push 0x2e7
push dword [eax]
mov byte [ebp - 4], 7
push esi
call fcn.00418676
mov ecx, dword [ebp - 0x90]
add esp, 0xc
add ecx, 0xfffffff0
mov byte [ebp - 4], 2
call fcn.00406137
push dword [0x5eac20]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x58c948
push ebx
call dword [sym.imp.KERNEL32.dll_CreateJobObjectW]
mov esi, eax
lea eax, [ebp - 0x84]
push 0x70
push ebx
push eax
mov dword [0x5eac20], esi
call fcn.005525a0
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 [0x5eac20]
call dword [sym.imp.KERNEL32.dll_AssignProcessToJobObject]
mov byte [ebp - 0x86], bl
cmp dword [edi + 0x60], ebx
je 0x402a20
push ecx
mov ecx, esp
push str.starting_UI_Script
call fcn.00401ed2
call fcn.004195ac
pop ecx
mov edx, ebx
mov dword [ebp - 0xa8], ebx
mov eax, dword [ebp - 0xbc]
cmp edx, dword [eax]
jge 0x402a20
lea ecx, [edi + 0x64]
push edx
call fcn.00403a1f
mov esi, eax
lea ecx, [ebp - 0x90]
mov dword [ebp - 0x98], esi
call fcn.00401fc2
lea ecx, [esi + 8]
mov byte [ebp - 4], 8
push 0x58c058
mov dword [ebp - 0xb0], ecx
mov dword [ebp - 0xb4], ecx
call fcn.00406950
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 + 0x58bdc0]
mov dword [ebp - 0x94], ecx
push ecx
push str.step_d:__s__s__s
call fcn.0041955c
add esp, 0x14
mov dword [ebp - 0xa8], ebx
mov eax, ebx
cmp eax, 0xa
jae 0x4028b2
push esi
mov byte [ebp - 4], 9
call fcn.00417696
pop ecx
test eax, eax
je 0x40291c
push esi
mov byte [ebp - 4], 0xb
call fcn.004170e4
pop ecx
mov ecx, dword [ebp - 0xb0]
push 0x58c99c
call fcn.00406950
jmp 0x4029c9
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 0x40289e
push 0x58c99c
push dword [ebp - 0xb4]
mov dword [ebp - 4], 8
call fcn.004021e3
pop ecx
pop ecx
test al, al
je 0x402aa5
mov eax, dword [ebp - 0xb4]
mov byte [ebp - 0x86], 1
push dword [eax]
push str.failed:__s
call fcn.0041955c
pop ecx
pop ecx
cmp dword [esi + 0x10], ebx
jne 0x402aa5
mov ecx, dword [ebp - 0x90]
add ecx, 0xfffffff0
mov byte [ebp - 4], 2
call fcn.00406137
cmp byte [ebp - 0x85], 0
je 0x402a41
push dword [ebp - 0xb8]
call dword [sym.imp.USER32.dll_SetThreadDesktop]
push dword [ebp - 0x9c]
call dword [sym.imp.USER32.dll_CloseDesktop]
cmp byte [ebp - 0x86], 0
je 0x402ad7
push ebx
push ecx
mov ecx, esp
push str.keepProcessAlive
call fcn.00401d91
mov ecx, edi
call fcn.00412ef6
test al, al
jne 0x402a7f
push ebx
push dword [ebp - 0xd8]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push str.process_terminated
call fcn.0041955c
pop ecx
push ebx
push ecx
mov ecx, esp
push str.ignoreFailure
call fcn.00401d91
mov ecx, edi
call fcn.00412ef6
test al, al
je 0x402acd
push str.ignore_action_failure_and_continue_installation
call fcn.0041955c
pop ecx
jmp 0x402ad7
call fcn.00406def
mov ecx, dword [ebp - 0x90]
add ecx, 0xfffffff0
mov byte [ebp - 4], 2
call fcn.00406137
mov edx, dword [ebp - 0x94]
mov dword [ebp - 0xa8], edx
jmp 0x402817
mov dword [0x5eac38], 1
push ebx
push 0x78
push ecx
mov ecx, esp
push str.waitTimeout
call fcn.00401d91
mov ecx, edi
call fcn.00413043
mov esi, eax
imul ecx, esi, 0xea60
push ecx
push dword [ebp - 0xd8]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x402b12
push esi
push str.timeout__d_min._was_reached_but_the_process_still_active.
jmp 0x402b34
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 0x402b3b
push dword [esi]
push str.process_was_completed_with_exit_code:__d
call fcn.0041955c
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.00406137
mov ecx, dword [ebp - 0x8c]
lea ecx, [ecx - 0x10]
call fcn.00406137
mov ecx, dword [ebp - 0xa4]
lea ecx, [ecx - 0x10]
call fcn.00406137
call fcn.0054d3b5
ret 4