Function at 0x1400058c0
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 [0x14002c028]
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 0x14000591f
mov rcx, qword [rdx]
mov rbx, qword [rdx + 0x10]
cmp rbx, 6
jne 0x140005fd5
mov r8, rbx
lea rdx, str.STATUS
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140005fd5
lea rdx, str.reg_query__HKLMSOFTWAREMicrosoftWindowsCurrentVersionPoliciesSystem___v__EnableLUA_
lea rcx, [rbp - 0x78]
call fcn.1400019d0
mov rdx, rax
lea rcx, [rbp + 8]
call fcn.140002800
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, [0x140023a0c]
lea rcx, [rbp - 0x58]
call fcn.1400019d0
mov rbx, rax
lea rdx, [rbp + 8]
lea rcx, [rbp - 0x38]
call fcn.14000cf70
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rbp - 0x10]
call fcn.140002020
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 0x140005d41
mov esi, edi
mov qword [rsp + 0x48], rdi
lea rdx, [0x140023a10]
movabs rax, 0x7fffffffffffffff
lea r9, [rsi + rcx]
mov rcx, qword [r9 + 0x10]
sub rax, rcx
cmp rax, 3
jb 0x14000625f
cmp qword [r9 + 0x18], 0x10
jb 0x140005a17
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.14000f020
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 0x140005ac1
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 0x140005abc
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 0x140005e8e
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 0x140005a80
mov rsi, qword [rsp + 0x48]
mov rbx, 0xffffffffffffffff
xor edi, edi
cmp ebx, 0xffffffff
je 0x140005cd2
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.14000d830
nop
lea r8, [0x140023ada]
lea rdx, str..REG_DWORD___0x__0_9__.
lea rcx, [rbp + 0x68]
call fcn.14000e210
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.14000ff70
nop
mov rdx, qword [rbp + 0xa8]
cmp rdx, 0x10
jb 0x140005c00
inc rdx
mov rcx, qword [rbp + 0x90]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005bfb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005e9b
call fcn.14001f0bc
cmp r12, 0x10
jb 0x140005c39
lea rdx, [r12 + 1]
mov rcx, qword [rbp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005c34
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005ea2
call fcn.14001f0bc
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 0x140005ca1
mov eax, 0xffffffff
lock xadd dword [rcx + 0x2c], eax
cmp eax, 1
jne 0x140005c9c
mov rbx, qword [rbp + 0x68]
test rbx, rbx
je 0x140005c9c
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 0x140005c80
mov r15d, dword [rsp + 0x40]
mov qword [rbp + 0x68], rdi
mov rcx, qword [rbp + 0x88]
test rcx, rcx
je 0x140005cca
mov rax, qword [rcx]
call qword [rax + 0x10]
test rax, rax
je 0x140005cca
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 0x140005d0a
lea rdx, [r13 + 1]
mov rcx, qword [rbp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005d05
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005ea9
call fcn.14001f0bc
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 0x1400059e7
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 0x140005eb0
lea rdx, [0x140023adc]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140005eb0
lea rdx, [0x140023ae0]
mov rcx, rsi
call fcn.1400019d0
nop
cmp r12, 0x10
jb 0x140005db8
lea rdx, [r12 + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x140005daf
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005eec
mov rcx, rbx
call fcn.14001f0bc
nop
mov rcx, qword [rbp - 0x10]
test rcx, rcx
je 0x140005e0f
mov rdx, qword [rbp - 8]
call fcn.14000e520
mov rdx, qword [rbp]
mov rcx, qword [rbp - 0x10]
sub rdx, rcx
and rdx, 0xffffffffffffffe0
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005dfe
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005f3e
call fcn.14001f0bc
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x10], xmm0
mov qword [rbp], rdi
mov rdx, qword [rbp + 0x20]
cmp rdx, 0x10
jb 0x140005e4b
inc rdx
mov rcx, qword [rbp + 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005e45
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005f88
call fcn.14001f0bc
nop
mov rdx, qword [r14 + 0x18]
cmp rdx, 0x10
jb 0x140005e85
inc rdx
mov rcx, qword [r14]
cmp rdx, 0x1000
jb 0x140005e80
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
add rcx, 0xfffffffffffffff8
cmp rcx, 0x1f
ja 0x140005fce
mov rcx, r8
call fcn.14001f0bc
mov qword [r14 + 0x10], rdi
jmp 0x14000621f
sub rbx, rdi
mov rsi, qword [rsp + 0x48]
jmp 0x140005ac8
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, [0x140023ae4]
mov rcx, rsi
call fcn.1400019d0
nop
cmp r12, 0x10
jb 0x140005efc
lea rdx, [r12 + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x140005ef3
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140005ef3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.14001f0bc
nop
mov rcx, qword [rbp - 0x10]
test rcx, rcx
je 0x140005f56
mov rdx, qword [rbp - 8]
call fcn.14000e520
mov rdx, qword [rbp]
mov rcx, qword [rbp - 0x10]
sub rdx, rcx
and rdx, 0xffffffffffffffe0
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005f45
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140005f45
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14001f0bc
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x10], xmm0
mov qword [rbp], rdi
mov rdx, qword [rbp + 0x20]
cmp rdx, 0x10
jb 0x140005f95
inc rdx
mov rcx, qword [rbp + 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005f8f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140005f8f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14001f0bc
nop
mov rdx, qword [r14 + 0x18]
cmp rdx, 0x10
jb 0x140005e85
inc rdx
mov rcx, qword [r14]
cmp rdx, 0x1000
jb 0x140005e80
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
jmp 0x140005e77
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 0x140005fe1
mov rcx, qword [r14]
cmp rbx, 7
jne 0x1400060d6
mov r8, rbx
lea rdx, str.DISABLE
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1400060d6
mov qword [rbp + 0x10], r12
lea ecx, [rbx + 0x69]
call fcn.14001f080
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 [0x140023b00]
movups xmmword [rax + 0x10], xmm1
movaps xmm0, xmmword [0x140023b10]
movups xmmword [rax + 0x20], xmm0
movaps xmm1, xmmword [0x140023b20]
movups xmmword [rax + 0x30], xmm1
movaps xmm0, xmmword [0x140023b30]
movups xmmword [rax + 0x40], xmm0
movaps xmm1, xmmword [0x140023b40]
movups xmmword [rax + 0x50], xmm1
movsd xmm0, qword [0x140023b50]
movsd qword [rax + 0x60], xmm0
mov eax, dword [0x140023b58]
mov dword [rcx + 0x68], eax
movzx eax, word [0x140023b5c]
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 0x1400061d0
inc rdx
mov rcx, qword [rbp + 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400061cb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400061cb
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 0x1400060e2
mov rcx, qword [r14]
cmp rbx, 6
jne 0x1400061d0
mov r8, rbx
lea rdx, str.ENABLE
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1400061d0
mov qword [rbp + 0x10], r12
lea ecx, [rbx + 0x6a]
call fcn.14001f080
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 [0x140023b80]
movups xmmword [rax + 0x10], xmm1
movaps xmm0, xmmword [0x140023b90]
movups xmmword [rax + 0x20], xmm0
movaps xmm1, xmmword [0x140023ba0]
movups xmmword [rax + 0x30], xmm1
movaps xmm0, xmmword [0x140023bb0]
movups xmmword [rax + 0x40], xmm0
movaps xmm1, xmmword [0x140023bc0]
movups xmmword [rax + 0x50], xmm1
movsd xmm0, qword [0x140023bd0]
movsd qword [rax + 0x60], xmm0
mov eax, dword [0x140023bd8]
mov dword [rcx + 0x68], eax
movzx eax, word [0x140023bdc]
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 0x1400061d0
inc rdx
mov rcx, qword [rbp + 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400061cb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400061cb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14001f0bc
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 0x14000621b
inc rdx
mov rcx, qword [r14]
cmp rdx, 0x1000
jb 0x140006216
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140006258
mov rcx, r8
call fcn.14001f0bc
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.14001f060
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.140001940
nop
int3