Function at 0x424069
Capabilities:
Create process on windows
Create process suspended
Get common file path
Set current directory

Disassembly:
mov eax, 0x43f31c
call fcn.004311b8
sub esp, 0x21c
push ebx
push esi
push edi
lea eax, [ebp - 0x11]
mov dword [ebp - 0x10], esp
push 1
pop edi
mov esi, ecx
push edi
push eax
push dword [ebp + 8]
xor ebx, ebx
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x4c], esi
mov byte [ebp - 0x12], 1
mov dword [ebp - 0x18], ebx
call fcn.004014ff
lea eax, [ebp - 0x44]
lea ecx, [esi + 0x26c]
push eax
mov dword [ebp - 4], ebx
call fcn.0040b989
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
call fcn.0040191f
mov eax, 0x449da4
mov dword [ebp - 0x44], 0x44049c
mov ecx, eax
mov dword [ebp - 0x24], 0x440494
test ecx, ecx
jne 0x4240dc
mov eax, 0x44dbd4
lea ecx, [ebp - 0x11]
push ebx
push ecx
push eax
lea ecx, [ebp - 0x44]
call fcn.0040ba66
push ebx
lea eax, [ebp - 0x44]
push ebx
push eax
mov ecx, esi
mov dword [ebp - 4], edi
call fcn.00424abd
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
call fcn.0040191f
lea eax, [ebp - 0x11]
push edi
push eax
lea ecx, [ebp - 0x44]
push dword [ebp + 8]
call fcn.004014ff
push ebx
lea eax, [ebp - 0x44]
push edi
push eax
mov ecx, esi
mov dword [ebp - 4], 2
call fcn.00424abd
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
call fcn.0040191f
lea ecx, [esi + 4]
call fcn.004016f0
push eax
call fcn.00429f89
test eax, eax
je 0x42468f
lea eax, [ebp - 0x228]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
push 0x10
lea eax, [ebp - 0x84]
push ebx
push eax
mov byte [ebp - 0x13], bl
mov dword [ebp - 4], 3
call fcn.00431a20
push 0x44
lea eax, [ebp - 0x124]
push ebx
push eax
call fcn.00431a20
mov dword [ebp - 0xf8], edi
mov word [ebp - 0xf4], di
mov edi, 0x449da0
mov dword [ebp - 0x124], 0x44
push edi
call fcn.0043190f
add esp, 0x1c
lea ecx, [esi + 0x248]
push eax
push edi
push dword [ecx + 8]
push ebx
call fcn.00411742
cmp eax, ebx
jne 0x4241d0
mov word [ebp - 0xf4], bx
lea eax, [ebp - 0x45]
mov edi, 0x44049c
push ebx
push eax
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x24], 0x440494
call fcn.00401581
mov eax, 0x449d98
mov byte [ebp - 4], 4
mov ecx, eax
mov dword [ebp - 0x74], edi
test ecx, ecx
mov dword [ebp - 0x54], 0x440494
jne 0x42420a
mov eax, 0x44dbd4
lea ecx, [ebp - 0x19]
push ebx
push ecx
push eax
lea ecx, [ebp - 0x74]
call fcn.0040ba66
mov eax, dword [esi + 0x1b0]
push dword [0x440640]
add eax, 0xfffffffd
lea ecx, [esi + 0x1a4]
push eax
lea eax, [ebp - 0xe0]
push eax
mov byte [ebp - 4], 5
call fcn.0040bb97
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 6
push ecx
mov ecx, eax
call fcn.00410f05
cmp eax, ebx
lea ecx, [ebp - 0xe0]
sete byte [ebp - 0x11]
mov byte [ebp - 4], 5
call fcn.0040191f
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 4
call fcn.0040191f
cmp byte [ebp - 0x11], bl
je 0x424290
mov eax, str.msiexec.exe__i
mov ecx, eax
test ecx, ecx
jne 0x424283
mov eax, 0x44dbd4
push eax
lea ecx, [ebp - 0x44]
call fcn.004016c7
mov byte [ebp - 0x13], 1
mov edi, 0x448bb4
push edi
call fcn.0043190f
pop ecx
push eax
push edi
lea ecx, [ebp - 0x40]
call fcn.0041c819
lea eax, [ebp + 0xb]
push 1
push eax
lea ecx, [ebp - 0xe0]
push dword [ebp + 8]
call fcn.004014ff
push dword [0x440640]
mov ecx, eax
add eax, 4
mov byte [ebp - 4], 7
neg ecx
sbb ecx, ecx
push ebx
and ecx, eax
push ecx
lea ecx, [ebp - 0x40]
call fcn.0040dbef
lea ecx, [ebp - 0xe0]
mov byte [ebp - 4], 4
call fcn.0040191f
lea eax, [esi + 0x1a4]
lea ecx, [ebp - 0x44]
push eax
call fcn.00410c8a
mov edi, 0x448ac4
push edi
call fcn.0043190f
pop ecx
push eax
push edi
lea ecx, [ebp - 0x40]
call fcn.0041c819
cmp byte [ebp + 0xc], bl
lea eax, [esi + 0x1f4]
jne 0x42431e
lea eax, [esi + 0x1cc]
push dword [0x440640]
mov ecx, eax
add eax, 4
neg ecx
sbb ecx, ecx
push ebx
and ecx, eax
push ecx
lea ecx, [ebp - 0x40]
call fcn.0040dbef
mov eax, str.Launching:
mov dword [ebp - 0x74], 0x44049c
mov ecx, eax
mov dword [ebp - 0x54], 0x440494
test ecx, ecx
jne 0x424357
mov eax, 0x44dbd4
lea ecx, [ebp + 0xf]
push ebx
push ecx
push eax
lea ecx, [ebp - 0x74]
call fcn.0040ba66
push ebx
lea eax, [ebp - 0x74]
push ebx
push eax
mov ecx, esi
mov byte [ebp - 4], 8
call fcn.00424abd
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 4
call fcn.0040191f
push ebx
lea eax, [ebp - 0x44]
push 1
push eax
mov ecx, esi
call fcn.00424abd
mov ecx, esi
call fcn.0042475b
push dword [ebp - 0x38]
lea eax, [ebp - 0x90]
lea ecx, [ebp - 0x44]
push eax
call fcn.0040b189
mov edi, eax
mov ecx, dword [edi]
mov byte [ebp - 4], 9
call fcn.004016f0
lea ecx, [ebp - 0x84]
mov dword [edi + 8], eax
push ecx
lea ecx, [ebp - 0x124]
push ecx
push ebx
push ebx
push 0x20
push ebx
push ebx
push ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
lea ecx, [ebp - 0x90]
mov edi, eax
mov byte [ebp - 4], 4
call fcn.0040b479
cmp edi, ebx
je 0x424487
mov edi, 0x113
push 0xff
push 0xffffffffffffffff
lea eax, [ebp - 0x84]
push ebx
push eax
push 1
call dword [sym.imp.USER32.dll_MsgWaitForMultipleObjects]
cmp eax, ebx
je 0x424464
cmp eax, 1
jne 0x424464
push 1
push edi
push edi
lea eax, [ebp - 0x68]
push ebx
push eax
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
jne 0x42443d
push 0x270001
push ebx
push ebx
lea eax, [ebp - 0x68]
push ebx
push eax
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x4243f4
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
push ebx
push dword [ebp - 0x84]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x424414
jmp 0x4243f4
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x84]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push dword [ebp - 0x80]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
push dword [ebp - 0x84]
call edi
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 3
call fcn.0040191f
jmp 0x4244a0
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x228]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
lea eax, [ebp + 0xf]
mov edi, 0x440494
push ebx
push eax
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0xb8], 0x44049c
mov dword [ebp - 0x98], edi
call fcn.00401581
push dword [ebp - 0x18]
lea eax, [ebp - 0xb8]
mov dword [ebp - 4], 0xb
push str.Return_Code_from_EXE:__d
push eax
call fcn.00410f2c
add esp, 0xc
lea eax, [ebp - 0xb8]
mov ecx, esi
push ebx
push 1
push eax
call fcn.00424abd
mov ecx, esi
call fcn.004247b5
cmp al, bl
mov byte [esi + 0x2ea], al
je 0x42455c
mov eax, str.Reboot_Required
mov dword [ebp - 0x44], 0x44049c
mov ecx, eax
mov dword [ebp - 0x24], edi
test ecx, ecx
jne 0x424530
mov eax, 0x44dbd4
lea ecx, [ebp + 0xb]
push ebx
push ecx
push eax
lea ecx, [ebp - 0x44]
call fcn.0040ba66
push ebx
lea eax, [ebp - 0x44]
push 1
push eax
mov ecx, esi
mov byte [ebp - 4], 0xc
call fcn.00424abd
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0xb
call fcn.0040191f
push dword [ebp - 0x18]
mov ecx, esi
call fcn.004246a3
test al, al
je 0x4245b7
mov eax, str.Exit_Code_Match____Rebooting_Now
mov dword [ebp - 0x44], 0x44049c
mov ecx, eax
mov dword [ebp - 0x24], edi
test ecx, ecx
jne 0x424584
mov eax, 0x44dbd4
lea ecx, [ebp + 0xb]
push ebx
push ecx
push eax
lea ecx, [ebp - 0x44]
call fcn.0040ba66
push ebx
lea eax, [ebp - 0x44]
push 1
push eax
mov ecx, esi
mov byte [ebp - 4], 0xd
call fcn.00424abd
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0xb
call fcn.0040191f
mov byte [esi + 0x2ea], 1
mov ecx, esi
call fcn.004249aa
cmp byte [ebp - 0x13], bl
je 0x424680
cmp dword [ebp - 0x18], 0x669
je 0x4245d9
cmp dword [ebp - 0x18], 0xbc2
jne 0x424626
mov eax, str.MSI_Returned_ERROR_SUCCESS_REBOOT_INITIATED
mov dword [ebp - 0x44], 0x44049c
mov ecx, eax
mov dword [ebp - 0x24], edi
test ecx, ecx
jne 0x4245f3
mov eax, 0x44dbd4
lea ecx, [ebp + 0xb]
push ebx
push ecx
push eax
lea ecx, [ebp - 0x44]
call fcn.0040ba66
push ebx
lea eax, [ebp - 0x44]
push 1
push eax
mov ecx, esi
mov byte [ebp - 4], 0xe
call fcn.00424abd
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0xb
call fcn.0040191f
mov byte [esi + 0x2ea], 1
cmp dword [ebp - 0x18], 0x642
jne 0x424680
mov eax, str.MSI_Returned_ERROR_INSTALL_USEREXIT
mov dword [ebp - 0x74], 0x44049c
mov ecx, eax
mov dword [ebp - 0x54], edi
test ecx, ecx
jne 0x424649
mov eax, 0x44dbd4
lea ecx, [ebp + 0xb]
push ebx
push ecx
push eax
lea ecx, [ebp - 0x74]
call fcn.0040ba66
push ebx
lea eax, [ebp - 0x74]
push 1
push eax
mov ecx, esi
mov byte [ebp - 4], 0xf
call fcn.00424abd
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 0xb
call fcn.0040191f
cmp byte [esi + 0x304], bl
jne 0x424680
mov byte [ebp - 0x12], bl
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xb8]
call fcn.0040191f
mov ecx, dword [ebp - 0xc]
mov al, byte [ebp - 0x12]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 8