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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55cdbd
mov eax, dword fs:[0]
push eax
sub esp, 0x2f0
mov eax, dword [0x5c7cec]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov byte [ebp - 0x2f9], 0
mov dword [ebp - 0x290], 0
mov dword [ebp - 0x28c], 7
mov word [ebp - 0x2a0], ax
xorps xmm0, xmm0
mov dword [ebp - 4], eax
movups xmmword [ebp - 0x258], xmm0
mov dword [ebp - 0x254], eax
mov dword [ebp - 0x250], eax
mov dword [ebp - 0x24c], eax
mov dword [ebp - method.PDFHandlerSwitcher.virtual_0], vtable.PDFHandlerBrowserSwitcher.0
push 0x44
push str._REINSTALLMODEomus_DISABLE_FIU_CHECK1_IGNOREAAM1_REPAIRFROMAPP1
lea ecx, [ebp - 0x288]
mov byte [ebp - 4], 1
mov dword [ebp - 0x278], eax
mov dword [ebp - 0x274], 7
mov word [ebp - 0x288], ax
call fcn.00408740
lea ecx, [ebp - 0x258]
mov byte [ebp - 4], 2
call fcn.00482a30
test al, al
je 0x47f7e1
push 0x10
push str.INSTALLUWPAPP1
lea ecx, [ebp - 0x288]
call fcn.0040cd80
mov byte [ebp - 0x2f9], 1
push 3
push 0x56c8c8
lea ecx, [ebp - 0x288]
call fcn.0040cd80
cmp byte [ebp - 0x2f9], 0
je 0x47fb1a
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.005290f0
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x47fb1a
cmp eax, 0x104
je 0x47fb1a
xor eax, eax
mov dword [ebp - 0x2e8], 0
mov dword [ebp - 0x2e4], 7
mov word [ebp - 0x2f8], ax
mov dword [ebp - 0x2d0], eax
mov dword [ebp - 0x2cc], 7
mov word [ebp - 0x2e0], ax
mov dword [ebp - 0x2b8], eax
mov dword [ebp - 0x2b4], 7
mov word [ebp - 0x2c8], ax
mov dword [ebp - 0x2b0], eax
mov byte [ebp - 0x2ac], al
mov dword [ebp - 0x2a8], eax
mov dword [ebp - 0x2a4], eax
lea eax, [ebp - 0x2a0]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x2f8]
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x258]
call fcn.00480af0
lea ecx, [ebp - 0x2c8]
mov byte [ebp - 0x2f9], al
call fcn.00408e50
lea ecx, [ebp - 0x2e0]
call fcn.00408e50
lea ecx, [ebp - 0x2f8]
call fcn.00408e50
cmp byte [ebp - 0x2f9], 0
je 0x47fb1a
push 3
xor eax, eax
mov byte [ebp - 4], 2
push 0x56c8d0
lea ecx, [ebp - 0x270]
mov dword [ebp - 0x260], 0
mov dword [ebp - 0x25c], 7
mov word [ebp - 0x270], ax
call fcn.00408740
cmp dword [ebp - 0x28c], 8
lea eax, [ebp - 0x2a0]
push dword [ebp - 0x290]
cmovae eax, dword [ebp - 0x2a0]
lea ecx, [ebp - 0x270]
push eax
mov byte [ebp - 4], 4
call fcn.0040cd80
cmp dword [ebp - 0x274], 8
lea eax, [ebp - 0x288]
push dword [ebp - 0x278]
cmovae eax, dword [ebp - 0x288]
lea ecx, [ebp - 0x270]
push eax
call fcn.0040cd80
xor eax, eax
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 7
mov word [ebp - 0x248], ax
push eax
push 0x105
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 5
call fcn.00483d80
cmp dword [ebp - 0x234], 8
lea eax, [ebp - 0x248]
cmovae eax, dword [ebp - 0x248]
push eax
push dword [ebp - 0x238]
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
je 0x47fb04
cmp eax, dword [ebp - 0x238]
ja 0x47fb04
xor eax, eax
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
push eax
push 0x105
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 6
call fcn.00483d80
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
push dword [ebp - 0x220]
cmovae eax, dword [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x47faf9
cmp eax, dword [ebp - 0x220]
ja 0x47faf9
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test eax, eax
je 0x47faf9
push 0x38
lea eax, [ebp - 0x2d8]
mov dword [ebp - 0x2dc], 0x3c
push 0
push eax
call fcn.005290f0
add esp, 0xc
mov dword [ebp - 0x2c0], 0
cmp dword [ebp - 0x25c], 8
lea eax, [ebp - 0x270]
mov dword [ebp - 0x2cc], str.msiexec.exe
cmovae eax, dword [ebp - 0x270]
cmp dword [ebp - 0x21c], 8
mov dword [ebp - 0x2c8], eax
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
mov dword [ebp - 0x2c4], eax
lea eax, [ebp - 0x2dc]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
cmp dword [ebp - 0x234], 8
lea eax, [ebp - 0x248]
cmovae eax, dword [ebp - 0x248]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
lea ecx, [ebp - 0x230]
call fcn.00408e50
lea ecx, [ebp - 0x248]
call fcn.00408e50
lea ecx, [ebp - 0x270]
call fcn.00408e50
lea ecx, [ebp - 0x288]
call fcn.00408e50
mov dword [ebp - method.PDFHandlerSwitcher.virtual_0], vtable.PDFHandlerSwitcher.0
lea ecx, [ebp - 0x254]
mov byte [ebp - 4], 7
call fcn.00483890
lea ecx, [ebp - 0x2a0]
call fcn.00408e50
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040154f
mov esp, ebp
pop ebp
ret