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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4b2434
mov eax, dword fs:[0]
push eax
sub esp, 0x2f0
mov eax, dword [0x4e52f4]
xor eax, esp
mov dword [esp + 0x2e8], eax
push ebx
push esi
push edi
mov eax, dword [0x4e52f4]
xor eax, esp
push eax
lea eax, [esp + 0x300]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x10], eax
push 0x104
lea eax, [esp + 0xf0]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
xor ecx, ecx
mov word [esp + eax*2 + 0xec], cx
lea eax, [esp + 0xec]
push eax
lea ecx, [esp + 0x30]
call fcn.0040432c
xor edi, edi
mov dword [esp + 0x308], edi
lea eax, [esp + 0xb4]
push eax
lea ecx, [esp + 0x30]
call fcn.004424d0
mov byte [esp + 0x308], 2
push edi
push 1
lea ecx, [esp + 0x34]
call fcn.004043a7
push str.msiexec.exe
lea ecx, [esp + 0x30]
call fcn.0040432c
mov byte [esp + 0x308], 3
lea eax, [esp + 0x2c]
push eax
lea ebx, [esp + 0xb8]
call fcn.0040ccde
mov byte [esp + 0x308], 2
push edi
push 1
lea ecx, [esp + 0x34]
call fcn.004043a7
push 0x4c319c
lea ecx, [esp + 0xd4]
call fcn.0040432c
mov byte [esp + 0x308], 4
push 0xffffffffffffffff
push edi
mov eax, ebx
push eax
lea ecx, [esp + 0xdc]
call fcn.00403b52
mov esi, 0x4ca154
push esi
call fcn.0048a11b
pop ecx
push eax
mov eax, esi
lea esi, [esp + 0xd4]
call fcn.00403a2a
mov ebx, dword [esp + 0x10]
add ebx, 0xc0
mov eax, dword [ebx]
mov esi, dword [eax + 0xec]
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x1c]
add ecx, eax
mov dword [esp + 0x14], eax
cmp eax, ecx
jbe 0x47d669
call fcn.00489d53
mov ecx, dword [ebx]
mov ecx, dword [ecx + 0xec]
mov esi, dword [esi]
lea eax, [esp + 0x48]
call fcn.00439174
push dword [eax + 4]
push dword [eax]
lea eax, [esp + 0x34]
push dword [esp + 0x1c]
push esi
push eax
call fcn.0047e01c
mov byte [esp + 0x308], 5
lea ecx, [esp + 0x50]
push ecx
mov ecx, eax
call fcn.00448170
pop ecx
mov byte [esp + 0x308], 6
push 0xffffffffffffffff
push edi
push eax
lea ecx, [esp + 0xdc]
call fcn.00403b52
mov byte [esp + 0x308], 5
push edi
push 1
lea ecx, [esp + 0x58]
call fcn.004043a7
mov byte [esp + 0x308], 4
lea eax, [esp + 0x2c]
push eax
call fcn.00410084
push 0x40
lea eax, [esp + 0x74]
push edi
push eax
mov dword [esp + 0x78], 0x44
call fcn.0048a3e0
mov dword [esp + 0x28], edi
xor eax, eax
lea edi, [esp + 0x2c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
add esp, 0xc
cmp dword [esp + 0xcc], 8
stosd dword es:[edi], eax
mov edi, dword [esp + 0xb8]
jae 0x47d720
lea edi, [esp + 0xb8]
lea eax, [esp + 0x1c]
push eax
xor esi, esi
lea eax, [esp + 0x70]
push eax
push esi
push esi
push esi
push esi
push esi
push esi
push esi
lea ecx, [esp + 0xf4]
call fcn.0043271f
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
cmp eax, esi
jne 0x47d753
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x47d776
push 0xffffffffffffffff
push dword [esp + 0x20]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x20]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
cmp eax, esi
je 0x47d780
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov dword [ecx + 0xbc], eax
mov byte [esp + 0x308], 2
push esi
push 1
lea ecx, [esp + 0xd8]
call fcn.004043a7
or dword [esp + 0x308], 0xffffffff
lea eax, [esp + 0xb4]
push eax
call fcn.0040ca60
mov ecx, dword [esp + 0x300]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2e8]
xor ecx, esp
call fcn.00489b1b
mov esp, ebp
pop ebp
ret 4