Function at 0x140005200
Capabilities:
Disable system features via registry on windows
Execute command
Set registry value

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xc0]
sub rsp, 0x1c0
mov rax, qword [0x14002b028]
xor rax, rsp
mov qword [rbp + 0xb0], rax
mov r14, rdx
mov rsi, rcx
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x50], rcx
mov qword [rbp - 0x18], rdx
xor r12d, r12d
mov r15d, r12d
mov dword [rsp + 0x40], r12d
mov rcx, rdx
mov rdi, qword [rdx + 0x18]
cmp rdi, 0x10
jb 0x14000525f
mov rcx, qword [rdx]
mov rbx, qword [rdx + 0x10]
cmp rbx, 6
jne 0x140005915
mov r8, rbx
lea rdx, str.STATUS
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140005915
lea rdx, str.reg_query__HKLMSOFTWAREMicrosoftWindowsCurrentVersionPoliciesSystem___v__EnableLUA_
lea rcx, [rbp - 0x78]
call fcn.140001310
mov rdx, rax
lea rcx, [rbp + 8]
call fcn.140002140
nop
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x10], xmm0
mov qword [rbp], rax
lea rax, [rbp - 0x58]
mov qword [rsp + 0x50], rax
lea rdx, [0x14002296c]
lea rcx, [rbp - 0x58]
call fcn.140001310
mov rbx, rax
lea rdx, [rbp + 8]
lea rcx, [rbp - 0x38]
call fcn.14000c820
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rbp - 0x10]
call fcn.140001960
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x48], xmm0
xor edi, edi
mov r8d, edi
mov qword [rbp + 0x58], rdi
mov r12d, 0xf
mov qword [rbp + 0x60], r12
mov byte [rbp + 0x48], dil
mov qword [rsp + 0x50], rdi
mov rax, qword [rbp - 8]
mov rcx, qword [rbp - 0x10]
sub rax, rcx
cmp rax, 0x20
jb 0x140005681
mov esi, edi
mov qword [rsp + 0x48], rdi
lea rdx, [0x140022970]
movabs rax, 0x7fffffffffffffff
lea r9, [rsi + rcx]
mov rcx, qword [r9 + 0x10]
sub rax, rcx
cmp rax, 3
jb 0x140005b9f
cmp qword [r9 + 0x18], 0x10
jb 0x140005357
mov r9, qword [r9]
mov qword [rsp + 0x30], 3
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], rcx
lea rcx, [rbp + 0x28]
call fcn.14000e880
or r15d, 2
lea rdi, [rbp + 0x28]
mov r13, qword [rbp + 0x40]
cmp r13, 0x10
cmovae rdi, qword [rbp + 0x28]
mov rax, qword [rbp + 0x38]
cmp rax, 9
jb 0x140005401
lea rsi, [rax + rdi]
lea r8, [rsi - 8]
sub r8, rdi
mov edx, 0x45
mov rcx, rdi
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
je 0x1400053fc
nop dword [rax]
nop word [rax + rax]
mov r8d, 9
lea rdx, str.EnableLUA
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x1400057ce
inc rbx
lea r8, [rsi - 8]
sub r8, rbx
mov edx, 0x45
mov rcx, rbx
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
jne 0x1400053c0
mov rsi, qword [rsp + 0x48]
mov rbx, 0xffffffffffffffff
xor edi, edi
cmp ebx, 0xffffffff
je 0x140005612
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x68], xmm0
movups xmmword [rbp + 0x78], xmm0
mov qword [rbp + 0x88], rax
mov qword [rbp + 0x68], rdi
lea rax, [rbp + 0x70]
mov qword [rsp + 0x48], rax
mov cl, 1
call qword [sym.imp.MSVCP140.dll_private:_static_class_std::locale::_Locimp____ptr64___cdecl_std::locale::_Init_bool_]
mov qword [rbp + 0x88], rax
lea rcx, [rbp + 0x70]
call fcn.14000d0e0
nop
lea r8, [0x140022a3a]
lea rdx, str..REG_DWORD___0x__0_9__.
lea rcx, [rbp + 0x68]
call fcn.14000da70
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x78], 0xf
mov byte [rsp + 0x60], dil
or r15d, 4
mov dword [rsp + 0x40], r15d
movups xmmword [rbp + 0x90], xmm0
mov qword [rbp + 0xa0], 2
mov qword [rbp + 0xa8], 0xf
mov eax, 0x3124
mov word [rbp + 0x90], ax
mov byte [rbp + 0x92], dil
lea r9, [rbp + 0x28]
cmp qword [rbp + 0x40], 0x10
setae r10b
cmovae r9, qword [rbp + 0x28]
add r9, qword [rbp + 0x38]
lea r8, [rbp + 0x28]
test r10b, r10b
cmovne r8, qword [rbp + 0x28]
lea rax, [rbp + 0x90]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x68]
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x80]
call fcn.14000f7d0
nop
mov rdx, qword [rbp + 0xa8]
cmp rdx, 0x10
jb 0x140005540
inc rdx
mov rcx, qword [rbp + 0x90]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000553b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400057db
call fcn.14001e2dc
cmp r12, 0x10
jb 0x140005579
lea rdx, [r12 + 1]
mov rcx, qword [rbp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005574
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400057e2
call fcn.14001e2dc
movups xmm0, xmmword [rsp + 0x60]
movups xmmword [rbp + 0x48], xmm0
movups xmm1, xmmword [rsp + 0x70]
movups xmmword [rbp + 0x58], xmm1
and r15d, 0xfffffffb
mov dword [rsp + 0x40], r15d
mov rcx, qword [rbp + 0x68]
test rcx, rcx
je 0x1400055e1
mov eax, 0xffffffff
lock xadd dword [rcx + 0x2c], eax
cmp eax, 1
jne 0x1400055dc
mov rbx, qword [rbp + 0x68]
test rbx, rbx
je 0x1400055dc
nop word [rax + rax]
mov rcx, rbx
lea rax, [rbx + 0x10]
mov rbx, qword [rax]
mov qword [rax], rdi
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
test rbx, rbx
jne 0x1400055c0
mov r15d, dword [rsp + 0x40]
mov qword [rbp + 0x68], rdi
mov rcx, qword [rbp + 0x88]
test rcx, rcx
je 0x14000560a
mov rax, qword [rcx]
call qword [rax + 0x10]
test rax, rax
je 0x14000560a
mov r8, qword [rax]
mov edx, 1
mov rcx, rax
call qword [r8]
mov r13, qword [rbp + 0x40]
mov r12, qword [rbp + 0x60]
cmp r13, 0x10
jb 0x14000564a
lea rdx, [r13 + 1]
mov rcx, qword [rbp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005645
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400057e9
call fcn.14001e2dc
mov rdx, qword [rsp + 0x50]
inc rdx
mov qword [rsp + 0x50], rdx
add rsi, 0x20
mov qword [rsp + 0x48], rsi
mov rax, qword [rbp - 8]
mov rcx, qword [rbp - 0x10]
sub rax, rcx
sar rax, 5
cmp rdx, rax
jne 0x140005327
mov r8, qword [rbp + 0x58]
mov rsi, qword [rsp + 0x58]
lea rcx, [rbp + 0x48]
mov rbx, qword [rbp + 0x48]
cmp r12, 0x10
cmovae rcx, rbx
cmp r8, 1
jne 0x1400057f0
lea rdx, [0x140022a3c]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1400057f0
lea rdx, [0x140022a40]
mov rcx, rsi
call fcn.140001310
nop
cmp r12, 0x10
jb 0x1400056f8
lea rdx, [r12 + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x1400056ef
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000582c
mov rcx, rbx
call fcn.14001e2dc
nop
mov rcx, qword [rbp - 0x10]
test rcx, rcx
je 0x14000574f
mov rdx, qword [rbp - 8]
call fcn.14000dd80
mov rdx, qword [rbp]
mov rcx, qword [rbp - 0x10]
sub rdx, rcx
and rdx, 0xffffffffffffffe0
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000573e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000587e
call fcn.14001e2dc
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x10], xmm0
mov qword [rbp], rdi
mov rdx, qword [rbp + 0x20]
cmp rdx, 0x10
jb 0x14000578b
inc rdx
mov rcx, qword [rbp + 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005785
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400058c8
call fcn.14001e2dc
nop
mov rdx, qword [r14 + 0x18]
cmp rdx, 0x10
jb 0x1400057c5
inc rdx
mov rcx, qword [r14]
cmp rdx, 0x1000
jb 0x1400057c0
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
add rcx, 0xfffffffffffffff8
cmp rcx, 0x1f
ja 0x14000590e
mov rcx, r8
call fcn.14001e2dc
mov qword [r14 + 0x10], rdi
jmp 0x140005b5f
sub rbx, rdi
mov rsi, qword [rsp + 0x48]
jmp 0x140005408
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
lea rdx, [0x140022a44]
mov rcx, rsi
call fcn.140001310
nop
cmp r12, 0x10
jb 0x14000583c
lea rdx, [r12 + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x140005833
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140005833
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.14001e2dc
nop
mov rcx, qword [rbp - 0x10]
test rcx, rcx
je 0x140005896
mov rdx, qword [rbp - 8]
call fcn.14000dd80
mov rdx, qword [rbp]
mov rcx, qword [rbp - 0x10]
sub rdx, rcx
and rdx, 0xffffffffffffffe0
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005885
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140005885
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14001e2dc
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x10], xmm0
mov qword [rbp], rdi
mov rdx, qword [rbp + 0x20]
cmp rdx, 0x10
jb 0x1400058d5
inc rdx
mov rcx, qword [rbp + 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400058cf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400058cf
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14001e2dc
nop
mov rdx, qword [r14 + 0x18]
cmp rdx, 0x10
jb 0x1400057c5
inc rdx
mov rcx, qword [r14]
cmp rdx, 0x1000
jb 0x1400057c0
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
jmp 0x1400057b7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov rcx, r14
cmp rdi, 0x10
jb 0x140005921
mov rcx, qword [r14]
cmp rbx, 7
jne 0x140005a16
mov r8, rbx
lea rdx, str.DISABLE
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140005a16
mov qword [rbp + 0x10], r12
lea ecx, [rbx + 0x69]
call fcn.14001e2a0
mov rcx, rax
mov qword [rbp + 8], rax
mov qword [rbp + 0x18], 0x6e
mov qword [rbp + 0x20], 0x6f
movaps xmm0, xmmword [str.reg_add_HKLMSOFTWAREMicrosoftWindowsCurrentVersionPoliciesSystem__v_EnableLUA__t_REG_DWORD__d_0__f___nul]
movups xmmword [rax], xmm0
movaps xmm1, xmmword [0x140022a60]
movups xmmword [rax + 0x10], xmm1
movaps xmm0, xmmword [0x140022a70]
movups xmmword [rax + 0x20], xmm0
movaps xmm1, xmmword [0x140022a80]
movups xmmword [rax + 0x30], xmm1
movaps xmm0, xmmword [0x140022a90]
movups xmmword [rax + 0x40], xmm0
movaps xmm1, xmmword [0x140022aa0]
movups xmmword [rax + 0x50], xmm1
movsd xmm0, qword [0x140022ab0]
movsd qword [rax + 0x60], xmm0
mov eax, dword [0x140022ab8]
mov dword [rcx + 0x68], eax
movzx eax, word [0x140022abc]
mov word [rcx + 0x6c], ax
mov byte [rcx + 0x6e], 0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov rdx, qword [rbp + 0x20]
cmp rdx, 0x10
jb 0x140005b10
inc rdx
mov rcx, qword [rbp + 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005b0b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140005b0b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r14
cmp rdi, 0x10
jb 0x140005a22
mov rcx, qword [r14]
cmp rbx, 6
jne 0x140005b10
mov r8, rbx
lea rdx, str.ENABLE
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140005b10
mov qword [rbp + 0x10], r12
lea ecx, [rbx + 0x6a]
call fcn.14001e2a0
mov rcx, rax
mov qword [rbp + 8], rax
mov qword [rbp + 0x18], 0x6e
mov qword [rbp + 0x20], 0x6f
movaps xmm0, xmmword [str.reg_add_HKLMSOFTWAREMicrosoftWindowsCurrentVersionPoliciesSystem__v_EnableLUA__t_REG_DWORD__d_1__f___nul]
movups xmmword [rax], xmm0
movaps xmm1, xmmword [0x140022ae0]
movups xmmword [rax + 0x10], xmm1
movaps xmm0, xmmword [0x140022af0]
movups xmmword [rax + 0x20], xmm0
movaps xmm1, xmmword [0x140022b00]
movups xmmword [rax + 0x30], xmm1
movaps xmm0, xmmword [0x140022b10]
movups xmmword [rax + 0x40], xmm0
movaps xmm1, xmmword [0x140022b20]
movups xmmword [rax + 0x50], xmm1
movsd xmm0, qword [0x140022b30]
movsd qword [rax + 0x60], xmm0
mov eax, dword [0x140022b38]
mov dword [rcx + 0x68], eax
movzx eax, word [0x140022b3c]
mov word [rcx + 0x6c], ax
mov byte [rcx + 0x6e], 0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov rdx, qword [rbp + 0x20]
cmp rdx, 0x10
jb 0x140005b10
inc rdx
mov rcx, qword [rbp + 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005b0b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140005b0b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14001e2dc
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], r12
mov qword [rsi + 0x18], 0xf
mov byte [rsi], 0
mov rdx, qword [r14 + 0x18]
cmp rdx, 0x10
jb 0x140005b5b
inc rdx
mov rcx, qword [r14]
cmp rdx, 0x1000
jb 0x140005b56
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140005b98
mov rcx, r8
call fcn.14001e2dc
mov qword [r14 + 0x10], r12
mov byte [r14], 0
mov qword [r14 + 0x18], 0xf
mov rax, rsi
mov rcx, qword [rbp + 0xb0]
xor rcx, rsp
call fcn.14001e280
mov rbx, qword [rsp + 0x210]
add rsp, 0x1c0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.140001280
nop
int3