Function at 0x1400022f0
Capabilities:
Accept command line arguments
Acquire debug privileges
Check if file exists
Delete file
Get file attributes
Set file attributes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x250]
sub rsp, 0x350
mov rax, qword [0x140036040]
xor rax, rsp
mov qword [rbp + 0x240], rax
xor edi, edi
mov eax, 0x80000000
mov qword [rsp + 0x58], rdi
mov r9d, 0x8000000
mov qword [rsp + 0x50], rdi
xor r8d, r8d
mov qword [rsp + 0x48], rdi
xor edx, edx
mov qword [rsp + 0x40], rdi
xor ecx, ecx
mov dword [rsp + 0x38], edi
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], edi
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.140005108
mov dword [0x1400384f0], eax
call fcn.140008ff8
lea r8d, [rdi + 0x1e]
lea rdx, [0x140036ad0]
lea rcx, [rbp + 8]
call fcn.1400054c4
cmp qword [rbp + 0x20], 7
lea rax, [rbp + 8]
lea rcx, [rsp + 0x68]
cmova rax, qword [rbp + 8]
mov qword [rsp + 0x68], rax
lea rax, [0x1400019c8]
mov qword [rsp + 0x70], rax
call qword [sym.imp.ADVAPI32.dll_StartServiceCtrlDispatcherW]
xor ecx, ecx
call fcn.140013e64
mov rcx, rax
call fcn.140013f18
lea ecx, [rdi + 0x10]
call fcn.140005634
mov dword [rsp + 0x60], edi
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 0x1400024b7
mov rdx, qword [rax + 8]
xorps xmm0, xmm0
xorps xmm1, xmm1
or r8, 0xffffffffffffffff
movups xmmword [rbp - 0x38], xmm0
movdqu xmmword [rbp - 0x28], xmm1
inc r8
cmp word [rdx + r8*2], di
jne 0x14000241e
lea rcx, [rbp - 0x38]
call fcn.140002b6c
cmp qword [rbp - 0x20], 7
lea rcx, [rbp - 0x38]
cmova rcx, qword [rbp - 0x38]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140002477
cmp qword [rbp - 0x20], 7
lea rcx, [rbp - 0x38]
mov edx, 0x80
cmova rcx, qword [rbp - 0x38]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cmp qword [rbp - 0x20], 7
lea rcx, [rbp - 0x38]
cmova rcx, qword [rbp - 0x38]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov rdx, qword [rbp - 0x20]
cmp rdx, 7
jbe 0x1400024b7
mov rcx, qword [rbp - 0x38]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400024b2
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002657
call fcn.14000d128
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
call fcn.140001ad8
mov ecx, dword [0x1400384f0]
mov ebx, eax
cmp ecx, 1
jne 0x140002501
cmp dword [rsp + 0x60], 2
jge 0x1400024fa
lea r8d, [rcx + 4]
lea rcx, [rbp - 0x18]
lea rdx, [0x140036b48]
call fcn.1400054c4
mov rcx, rax
call fcn.1400018ec
call fcn.1400011d0
call fcn.140001764
jmp 0x14000250a
test ecx, ecx
jne 0x140002510
call fcn.140001504
mov ecx, dword [0x1400384f0]
lea eax, [rbx - 1]
test eax, 0xfffffffd
je 0x1400025d5
cmp ecx, 1
je 0x140002557
call fcn.14000966c
lea rcx, [rbp + 8]
call fcn.14000276c
xor eax, eax
mov rcx, qword [rbp + 0x240]
xor rcx, rsp
call fcn.14000d100
lea r11, [rsp + 0x350]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
lea rdx, str.start
lea rcx, [rbp - 0x38]
call fcn.1400027d0
mov r8d, 5
lea rdx, [0x140036b48]
lea rcx, [rbp - 0x18]
call fcn.1400054c4
mov rdx, rax
lea rcx, [rbp - 0x38]
call fcn.140002750
lea rcx, [rbp - 0x18]
call fcn.14000276c
lea rdx, [rbp - 0x38]
lea rcx, [rbp - 0x78]
call fcn.140002808
lea rdx, str.net.exe
mov rbx, rax
lea rcx, [rbp - 0x58]
call fcn.1400027d0
mov rdx, rax
lea rcx, [rbp - 0x18]
xor r9d, r9d
mov r8, rbx
call fcn.1400057e8
lea rcx, [rbp - 0x18]
call fcn.14000276c
xor ecx, ecx
call fcn.140014238
int3
mov r8d, 0x104
lea rdx, [rbp + 0x30]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rdx, [0x140030c94]
lea rcx, [rbp - 0x38]
call fcn.1400027d0
lea rdx, [rbp + 0x30]
lea rcx, [rbp - 0x38]
call fcn.14000273c
lea rdx, [0x140030b1c]
lea rcx, [rbp - 0x38]
call fcn.14000273c
lea rdx, [rbp - 0x38]
lea rcx, [rbp - 0x58]
call fcn.140002808
lea rdx, [0x140038500]
mov rbx, rax
lea rcx, [rbp - 0x78]
call fcn.1400027d0
mov rdx, rax
lea rcx, [rbp - 0x18]
xor r9d, r9d
mov r8, rbx
call fcn.1400057e8
lea rcx, [rbp - 0x18]
call fcn.14000276c
xor ecx, ecx
call fcn.140014238
int3
call fcn.140013dec
int3