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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4a852d
mov eax, dword fs:[0]
push eax
sub esp, 0x2f0
mov eax, dword [0x4d7488]
xor eax, esp
mov dword [esp + 0x2e8], eax
push ebx
push esi
push edi
mov eax, dword [0x4d7488]
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.00403b1e
xor edi, edi
mov dword [esp + 0x308], edi
lea eax, [esp + 0xb4]
push eax
lea ecx, [esp + 0x30]
call fcn.0043f7f0
mov byte [esp + 0x308], 2
push edi
push 1
lea ecx, [esp + 0x34]
call fcn.00403ecf
push str.msiexec.exe
lea ecx, [esp + 0x30]
call fcn.00403b1e
mov byte [esp + 0x308], 3
lea eax, [esp + 0x2c]
push eax
lea ebx, [esp + 0xb8]
call fcn.0040c427
mov byte [esp + 0x308], 2
push edi
push 1
lea ecx, [esp + 0x34]
call fcn.00403ecf
push 0x4b8400
lea ecx, [esp + 0xd4]
call fcn.00403b1e
mov byte [esp + 0x308], 4
push 0xffffffffffffffff
push edi
mov eax, ebx
push eax
lea ecx, [esp + 0xdc]
call fcn.004035db
mov esi, 0x4bd868
push esi
call fcn.00482f7b
pop ecx
push eax
mov eax, esi
lea esi, [esp + 0xd4]
call fcn.004034fb
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 0x477965
call fcn.00482bb3
mov ecx, dword [ebx]
mov ecx, dword [ecx + 0xec]
mov esi, dword [esi]
lea eax, [esp + 0x48]
call fcn.004362f1
push dword [eax + 4]
push dword [eax]
lea eax, [esp + 0x34]
push dword [esp + 0x1c]
push esi
push eax
call fcn.00478318
mov byte [esp + 0x308], 5
lea ecx, [esp + 0x50]
push ecx
mov ecx, eax
call fcn.00445bb0
pop ecx
mov byte [esp + 0x308], 6
push 0xffffffffffffffff
push edi
push eax
lea ecx, [esp + 0xdc]
call fcn.004035db
mov byte [esp + 0x308], 5
push edi
push 1
lea ecx, [esp + 0x58]
call fcn.00403ecf
mov byte [esp + 0x308], 4
lea eax, [esp + 0x2c]
push eax
call fcn.0040ee8d
push 0x40
lea eax, [esp + 0x74]
push edi
push eax
mov dword [esp + 0x78], 0x44
call fcn.00483240
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 0x477a1c
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.0042f72e
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
cmp eax, esi
jne 0x477a4f
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x477a72
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 0x477a7c
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.00403ecf
or dword [esp + 0x308], 0xffffffff
lea eax, [esp + 0xb4]
push eax
call fcn.0040c1a7
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.0048297b
mov esp, ebp
pop ebp
ret 4