Function at 0x4251ad
Capabilities:
Create process on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x424
mov eax, dword [0x46b014]
xor eax, esp
mov dword [esp + 0x420], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
push 0x44
pop esi
push esi
mov ebx, ecx
mov dword [esp + 0x14], eax
push 0
push ebx
call fcn.00430240
mov dword [ebx], esi
xor eax, eax
lea esi, [ebx + 0x44]
add esp, 0xc
mov edi, esi
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [esp + 0x18]
mov edi, 0x208
push edi
push 0
push eax
call fcn.00430240
add esp, 0xc
lea eax, [esp + 0x220]
push edi
xor edi, edi
push edi
push eax
call fcn.00430240
add esp, 0xc
lea eax, [esp + 0x18]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x42525f
mov eax, dword [0x46ba90]
cmp eax, 0x46ba90
je 0x42543c
test byte [eax + 0x1c], 2
je 0x42543c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [0x46ba90]
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0xa
jmp 0x42542e
push 0x45fac0
lea eax, [esp + 0x1c]
push 0x104
push eax
call fcn.004344dd
add esp, 0xc
test eax, eax
jne 0x425408
push str.msiexec.exe
lea eax, [esp + 0x1c]
push 0x104
push eax
call fcn.004344dd
add esp, 0xc
test eax, eax
jne 0x425408
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x224]
push 0x104
push eax
call fcn.004344dd
add esp, 0xc
test eax, eax
jne 0x4253e0
push 0x463d10
lea eax, [esp + 0x224]
push 0x104
push eax
call fcn.004344dd
add esp, 0xc
test eax, eax
jne 0x4253e0
push dword [esp + 0x10]
lea eax, [esp + 0x224]
push 0x104
push eax
call fcn.004344dd
add esp, 0xc
test eax, eax
jne 0x4253e0
push esi
push ebx
push edi
push edi
push 0x8000000
push edi
push edi
push edi
lea eax, [esp + 0x240]
push eax
lea eax, [esp + 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x425358
mov eax, dword [0x46ba90]
cmp eax, 0x46ba90
je 0x42543c
test byte [eax + 0x1c], 2
je 0x42543c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [0x46ba90]
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0xd
jmp 0x42542e
push 0xffffffffffffffff
push dword [esi]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [esp + 0x14]
mov dword [esp + 0x14], edi
push eax
push dword [esi]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x425397
mov eax, dword [0x46ba90]
cmp eax, 0x46ba90
je 0x4253cb
test byte [eax + 0x1c], 2
je 0x4253cb
push dword [esp + 0x14]
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0xe
jmp 0x4253bd
mov eax, dword [0x46ba90]
cmp eax, 0x46ba90
je 0x4253cb
test byte [eax + 0x1c], 2
je 0x4253cb
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [0x46ba90]
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0xf
mov edx, 0x463d14
pop ecx
call fcn.00407e06
add esp, 0xc
push dword [esi]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebx + 0x48]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
jmp 0x42543e
mov eax, dword [0x46ba90]
cmp eax, 0x46ba90
je 0x42543c
test byte [eax + 0x1c], 2
je 0x42543c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [0x46ba90]
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0xc
jmp 0x42542e
mov eax, dword [0x46ba90]
cmp eax, 0x46ba90
je 0x42543c
test byte [eax + 0x1c], 2
je 0x42543c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [0x46ba90]
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0xb
mov edx, 0x463d14
pop ecx
call fcn.00407e06
add esp, 0xc
xor al, al
mov ecx, dword [esp + 0x42c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0042dd4f
mov esp, ebp
pop ebp
ret 8