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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57468d
mov eax, dword fs:[0]
push eax
sub esp, 0x2f0
mov eax, dword [0x5edd38]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
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 - 0x240], xmm0
mov dword [ebp - 0x23c], eax
mov dword [ebp - 0x238], eax
mov dword [ebp - 0x234], 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.00408f30
lea ecx, [ebp - 0x240]
mov byte [ebp - 4], 2
call fcn.004896b0
test al, al
je 0x485cd3
push 0x10
push str.INSTALLUWPAPP1
lea ecx, [ebp - 0x288]
call fcn.0040ddb0
mov byte [ebp - 0x2f9], 1
push 3
push 0x5875ec
lea ecx, [ebp - 0x288]
call fcn.0040ddb0
cmp byte [ebp - 0x2f9], 0
je 0x4860fd
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.0053f340
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x4860fd
cmp eax, 0x104
je 0x4860fd
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 - 0x240]
call fcn.004874c0
lea ecx, [ebp - 0x2f8]
test al, al
jne 0x485dca
call fcn.00485a90
jmp 0x4860fd
mov byte [ebp - 4], 2
call fcn.00485a90
push 3
xor eax, eax
mov dword [ebp - 0x260], 0
push 0x587734
lea ecx, [ebp - 0x270]
mov dword [ebp - 0x25c], 7
mov word [ebp - 0x270], ax
call fcn.00408f30
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.0040ddb0
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.0040ddb0
xor eax, eax
mov dword [ebp - 0x248], 0
mov dword [ebp - 0x244], 7
mov word [ebp - 0x258], ax
push eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x258]
push 0x105
lfence
call fcn.0046c230
cmp dword [ebp - 0x244], 8
lea eax, [ebp - 0x258]
cmovae eax, dword [ebp - 0x258]
push eax
push dword [ebp - 0x248]
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
je 0x48609c
cmp eax, dword [ebp - 0x248]
ja 0x48609c
xor eax, eax
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
push eax
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x230]
push 0x105
lfence
call fcn.0046c230
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 0x48605d
cmp eax, dword [ebp - 0x220]
ja 0x48605d
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 0x48605d
push 0x38
lea eax, [ebp - 0x2d8]
mov dword [ebp - 0x2dc], 0x3c
push 0
push eax
call fcn.0053f340
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 - 0x244], 8
lea eax, [ebp - 0x258]
cmovae eax, dword [ebp - 0x258]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov eax, dword [ebp - 0x21c]
mov byte [ebp - 4], 0x18
cmp eax, 8
jb 0x485ff8
inc eax
lea ecx, [ebp - 0x230]
push eax
push dword [ebp - 0x230]
call fcn.0040a2e0
xor eax, eax
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
mov eax, dword [ebp - 0x244]
mov byte [ebp - 4], 0x19
cmp eax, 8
jb 0x486037
inc eax
lea ecx, [ebp - 0x258]
push eax
push dword [ebp - 0x258]
call fcn.0040a2e0
xor eax, eax
mov dword [ebp - 0x248], 0
mov dword [ebp - 0x244], 7
mov word [ebp - 0x258], ax
mov byte [ebp - 4], 0x1a
jmp 0x4860df
mov eax, dword [ebp - 0x21c]
mov byte [ebp - 4], 0x12
cmp eax, 8
jb 0x48607f
inc eax
lea ecx, [ebp - 0x230]
push eax
push dword [ebp - 0x230]
call fcn.0040a2e0
xor eax, eax
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
mov eax, dword [ebp - 0x244]
mov byte [ebp - 4], 0x13
cmp eax, 8
jb 0x4860be
inc eax
lea ecx, [ebp - 0x258]
push eax
push dword [ebp - 0x258]
call fcn.0040a2e0
xor eax, eax
mov dword [ebp - 0x248], 0
mov dword [ebp - 0x244], 7
mov word [ebp - 0x258], ax
mov byte [ebp - 4], 0x14
mov eax, dword [ebp - 0x25c]
cmp eax, 8
jb 0x4860fd
inc eax
lea ecx, [ebp - 0x270]
push eax
push dword [ebp - 0x270]
call fcn.0040a2e0
mov eax, dword [ebp - 0x274]
mov byte [ebp - 4], 0x1b
cmp eax, 8
jb 0x48611f
inc eax
lea ecx, [ebp - 0x288]
push eax
push dword [ebp - 0x288]
call fcn.0040a2e0
mov dword [ebp - method.PDFHandlerSwitcher.virtual_0], vtable.PDFHandlerSwitcher.0
mov esi, dword [ebp - 0x23c]
mov byte [ebp - 4], 0x1c
test esi, esi
je 0x486199
mov edi, dword [ebp - 0x238]
cmp esi, edi
je 0x486155
mov ecx, esi
call fcn.0040f9d0
add esi, 0x30
cmp esi, edi
jne 0x486141
mov esi, dword [ebp - 0x23c]
mov ecx, dword [ebp - 0x234]
mov eax, 0x2aaaaaab
sub ecx, esi
imul ecx
lea ecx, [ebp - 0x23c]
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push esi
call fcn.0048a760
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0
mov eax, dword [ebp - 0x28c]
mov dword [ebp - 4], 0x1d
cmp eax, 8
jb 0x4861be
inc eax
lea ecx, [ebp - 0x2a0]
push eax
push dword [ebp - 0x2a0]
call fcn.0040a2e0
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00401682
mov esp, ebp
pop ebp
ret