Function at 0x1400089f0
Capabilities:
Execute command
Set registry value

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0xc0]
sub rsp, 0x1c0
mov rax, qword [0x14002b028]
xor rax, rsp
mov qword [rbp + 0xb0], rax
mov rdi, rdx
mov rsi, rcx
mov qword [rsp + 0x78], rcx
mov qword [rsp + 0x78], rdx
xor r15d, r15d
mov rcx, rdx
mov r14, qword [rdx + 0x18]
cmp r14, 0x10
jb 0x140008a3f
mov rcx, qword [rdx]
mov rbx, qword [rdx + 0x10]
cmp rbx, 2
jne 0x140008a5c
mov r8, rbx
lea rdx, [0x140022a44]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x140008a89
mov rcx, rdi
cmp r14, 0x10
jb 0x140008a68
mov rcx, qword [rdi]
cmp rbx, 3
jne 0x140008ca7
mov r8, rbx
lea rdx, [0x140022a40]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140008ca7
xorps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x30], r15
mov qword [rbp - 0x28], 0xf
mov byte [rbp - 0x40], 0
mov rcx, rdi
cmp r14, 0x10
jb 0x140008aac
mov rcx, qword [rdi]
cmp rbx, 2
jne 0x140008acb
mov r8, rbx
lea rdx, [0x140022a44]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
mov word [rbp - 0x40], 0x31
je 0x140008ad1
mov word [rbp - 0x40], 0x30
mov qword [rbp - 0x30], 1
mov qword [rsp + 0x30], 1
lea rax, [rbp - 0x40]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0x6c
lea r9, str.reg_add__HKLMSYSTEMCurrentControlSetControlSecureBootState___v__UEFISecureBootEnabled___t_REG_DWORD__d
lea rcx, [rsp + 0x50]
call fcn.14000e880
nop
mov r8d, 3
lea rdx, [0x140023284]
lea rcx, [rsp + 0x50]
call fcn.14000cea0
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x50], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x60], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x50], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x140008b8a
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008b85
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140008b85
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14001e2dc
lea rcx, [rbp - 0x60]
cmp qword [rbp - 0x48], 0x10
cmovae rcx, qword [rbp - 0x60]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], r15
mov qword [rsi + 0x18], r15
movups xmm0, xmmword [rdi]
movups xmmword [rsi], xmm0
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [rsi + 0x10], xmm1
mov qword [rdi + 0x10], r15
mov qword [rdi + 0x18], 0xf
mov byte [rdi], 0
mov rdx, qword [rbp - 0x48]
cmp rdx, 0x10
jb 0x140008c07
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008c02
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140008c02
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14001e2dc
movdqa xmm0, xmmword [0x140024860]
movdqu xmmword [rbp - 0x50], xmm0
mov byte [rbp - 0x60], 0
mov rdx, qword [rbp - 0x28]
cmp rdx, 0x10
jb 0x140008c56
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008c51
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140008c51
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14001e2dc
mov qword [rbp - 0x30], r15
mov qword [rbp - 0x28], 0xf
mov byte [rbp - 0x40], 0
mov rdx, qword [rdi + 0x18]
cmp rdx, 0x10
jb 0x140009250
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x14000924b
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
jbe 0x140009248
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
lea rax, [rsp + 0x50]
mov qword [rsp + 0x70], rax
lea rdx, str.UEFISecureBootEnabled
lea rcx, [rsp + 0x50]
call fcn.140001310
mov rbx, rax
lea rdx, str.HKLMSYSTEMCurrentControlSetControlSecureBootState
lea rcx, [rbp - 0x40]
call fcn.140001310
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rbp - 0x80]
call fcn.1400080b0
nop
lea rcx, [rbp - 0x80]
cmp qword [rbp - 0x68], 0x10
cmovae rcx, qword [rbp - 0x80]
mov r8, qword [rbp - 0x70]
cmp r8, 2
jne 0x140008db5
lea rdx, [0x140022848]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140008db5
lea rdx, [0x140022848]
mov rcx, rsi
call fcn.140001310
nop
mov rdx, qword [rbp - 0x68]
cmp rdx, 0x10
jb 0x140008d64
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008d5f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140008d5f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14001e2dc
mov qword [rbp - 0x70], r15
mov qword [rbp - 0x68], 0xf
mov byte [rbp - 0x80], 0
mov rdx, qword [rdi + 0x18]
cmp rdx, 0x10
jb 0x140009250
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x14000924b
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
jbe 0x140009248
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
mov qword [rbp - 0x50], r15
mov qword [rbp - 0x48], 0xf
mov ecx, 0x60
call fcn.14001e2a0
mov rcx, rax
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x50], 0x5d
mov qword [rbp - 0x48], 0x5f
movaps xmm0, xmmword [str.reg_query__HKLMSYSTEMCurrentControlSetControlSecureBootState___v__UEFISecureBootEnabled_]
movups xmmword [rax], xmm0
movaps xmm1, xmmword [0x140023360]
movups xmmword [rax + 0x10], xmm1
movaps xmm0, xmmword [0x140023370]
movups xmmword [rax + 0x20], xmm0
movaps xmm1, xmmword [0x140023380]
movups xmmword [rax + 0x30], xmm1
movaps xmm0, xmmword [0x140023390]
movups xmmword [rax + 0x40], xmm0
movsd xmm1, qword [0x1400233a0]
movsd qword [rax + 0x50], xmm1
mov eax, dword [0x1400233a8]
mov dword [rcx + 0x58], eax
movzx eax, byte [0x1400233ac]
mov byte [rcx + 0x5c], al
mov byte [rcx + 0x5d], 0
lea rdx, [rbp - 0x60]
lea rcx, [rbp + 0x90]
call fcn.140002140
nop
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x28], xmm0
movups xmmword [rbp + 0x38], xmm0
mov qword [rbp + 0x48], rax
mov qword [rbp + 0x28], r15
lea rax, [rbp + 0x30]
mov qword [rsp + 0x40], 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 + 0x48], rax
lea rcx, [rbp + 0x30]
call fcn.14000d0e0
nop
lea r8, [0x1400233b3]
lea rdx, [0x1400233b0]
lea rcx, [rbp + 0x28]
call fcn.14000da70
nop
lea r9, [0x140022835]
lea r8, [rbp + 0x28]
lea rdx, [rbp + 0x90]
lea rcx, [rbp - 0x20]
call fcn.14000d570
nop
movabs rax, 0x7fffffffffffffff
mov rcx, qword [rbp - 0x10]
sub rax, rcx
cmp rax, 3
jb 0x14000952a
lea r9, [rbp - 0x20]
cmp qword [rbp - 8], 0x10
cmovae r9, qword [rbp - 0x20]
mov qword [rsp + 0x30], 3
lea rax, [0x140022970]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea rcx, [rbp + 0x70]
call fcn.14000e880
nop
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp], xmm0
movups xmmword [rbp + 0x10], xmm0
mov qword [rbp + 0x20], rax
mov qword [rbp], r15
lea rax, [rbp + 8]
mov qword [rsp + 0x40], 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 + 0x20], rax
lea rcx, [rbp + 8]
call fcn.14000d0e0
nop
lea r8, [0x140022a3a]
lea rdx, str..REG_DWORD___0x__0_9__.
lea rcx, [rbp]
call fcn.14000da70
nop
lea r9, [0x140022998]
lea r8, [rbp]
lea rdx, [rbp + 0x70]
lea rcx, [rbp + 0x50]
call fcn.14000d570
nop
lea rcx, [rbp + 0x50]
mov rbx, qword [rbp + 0x50]
mov r14, qword [rbp + 0x68]
cmp r14, 0x10
cmovae rcx, rbx
mov r8, qword [rbp + 0x60]
cmp r8, 1
jne 0x140009288
lea rdx, [0x140023280]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140009288
lea rdx, [0x140022a44]
mov rcx, rsi
call fcn.140001310
nop
mov rdx, qword [rbp + 0x68]
cmp rdx, 0x10
jb 0x140008fef
inc rdx
mov rcx, qword [rbp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008fea
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400092e2
call fcn.14001e2dc
mov qword [rbp + 0x60], r15
mov qword [rbp + 0x68], 0xf
mov byte [rbp + 0x50], 0
mov r14d, 0xffffffff
mov rcx, qword [rbp]
test rcx, rcx
je 0x14000904c
mov eax, r14d
lock xadd dword [rcx + 0x2c], eax
cmp eax, 1
jne 0x14000904c
mov rbx, qword [rbp]
test rbx, rbx
je 0x14000904c
nop dword [rax]
nop dword [rax + rax]
mov rcx, rbx
lea rax, [rbx + 0x10]
mov rbx, qword [rax]
mov qword [rax], r15
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
test rbx, rbx
jne 0x140009030
mov qword [rbp], r15
mov rcx, qword [rbp + 0x20]
test rcx, rcx
je 0x140009073
mov rax, qword [rcx]
call qword [rax + 0x10]
test rax, rax
je 0x140009073
mov r8, qword [rax]
mov edx, 1
mov rcx, rax
call qword [r8]
nop
mov rdx, qword [rbp + 0x88]
cmp rdx, 0x10
jb 0x1400090b1
inc rdx
mov rcx, qword [rbp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400090ac
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400093a8
call fcn.14001e2dc
movdqa xmm0, xmmword [0x140024860]
movdqu xmmword [rbp + 0x80], xmm0
mov byte [rbp + 0x70], 0
mov rdx, qword [rbp - 8]
cmp rdx, 0x10
jb 0x140009100
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400090fb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400093fa
call fcn.14001e2dc
mov qword [rbp - 0x10], r15
mov qword [rbp - 8], 0xf
mov byte [rbp - 0x20], 0
mov rax, qword [rbp + 0x28]
test rax, rax
je 0x14000914c
lock xadd dword [rax + 0x2c], r14d
cmp r14d, 1
jne 0x14000914c
mov rbx, qword [rbp + 0x28]
test rbx, rbx
je 0x14000914c
nop
mov rcx, rbx
lea rax, [rbx + 0x10]
mov rbx, qword [rax]
mov qword [rax], r15
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
test rbx, rbx
jne 0x140009130
mov qword [rbp + 0x28], r15
mov rcx, qword [rbp + 0x48]
test rcx, rcx
je 0x140009173
mov rax, qword [rcx]
call qword [rax + 0x10]
test rax, rax
je 0x140009173
mov r8, qword [rax]
mov edx, 1
mov rcx, rax
call qword [r8]
nop
mov rdx, qword [rbp + 0xa8]
cmp rdx, 0x10
jb 0x1400091b4
inc rdx
mov rcx, qword [rbp + 0x90]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400091af
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400094bb
call fcn.14001e2dc
movdqa xmm0, xmmword [0x140024860]
movdqu xmmword [rbp + 0xa0], xmm0
mov byte [rbp + 0x90], 0
mov rdx, qword [rbp - 0x68]
cmp rdx, 0x10
jb 0x140009206
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140009201
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000951c
call fcn.14001e2dc
mov qword [rbp - 0x70], r15
mov qword [rbp - 0x68], 0xf
mov byte [rbp - 0x80], 0
mov rdx, qword [rdi + 0x18]
cmp rdx, 0x10
jb 0x140009250
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x14000924b
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140009523
mov rcx, r8
call fcn.14001e2dc
mov byte [rdi], 0
mov qword [rdi + 0x18], 0xf
mov rax, rsi
mov qword [rdi + 0x10], r15
mov rcx, qword [rbp + 0xb0]
xor rcx, rsp
call fcn.14001e280
mov rbx, qword [rsp + 0x200]
add rsp, 0x1c0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], 3
mov qword [rsi + 0x18], 0xf
mov r8d, 3
lea rdx, [0x140022a40]
mov rcx, rsi
call sub.VCRUNTIME140.dll_memmove
mov byte [rsi + 3], 0
cmp r14, 0x10
jb 0x1400092f1
lea rdx, [r14 + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x1400092e9
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400092e9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.14001e2dc
mov qword [rbp + 0x60], r15
mov qword [rbp + 0x68], 0xf
mov byte [rbp + 0x50], 0
mov r14d, 0xffffffff
mov rcx, qword [rbp]
test rcx, rcx
je 0x14000934c
mov eax, r14d
lock xadd dword [rcx + 0x2c], eax
cmp eax, 1
jne 0x14000934c
mov rbx, qword [rbp]
test rbx, rbx
je 0x14000934c
nop word [rax + rax]
mov rcx, rbx
lea rax, [rbx + 0x10]
mov rbx, qword [rax]
mov qword [rax], r15
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
test rbx, rbx
jne 0x140009330
mov qword [rbp], r15
mov rcx, qword [rbp + 0x20]
test rcx, rcx
je 0x140009373
mov rax, qword [rcx]
call qword [rax + 0x10]
test rax, rax
je 0x140009373
mov r8, qword [rax]
mov edx, 1
mov rcx, rax
call qword [r8]
nop
mov rdx, qword [rbp + 0x88]
cmp rdx, 0x10
jb 0x1400093b4
inc rdx
mov rcx, qword [rbp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400093af
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400093af
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14001e2dc
movdqa xmm0, xmmword [0x140024860]
movdqu xmmword [rbp + 0x80], xmm0
mov byte [rbp + 0x70], 0
mov rdx, qword [rbp - 8]
cmp rdx, 0x10
jb 0x140009406
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140009401
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140009401
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14001e2dc
mov qword [rbp - 0x10], r15
mov qword [rbp - 8], 0xf
mov byte [rbp - 0x20], 0
mov rax, qword [rbp + 0x28]
test rax, rax
je 0x14000945c
lock xadd dword [rax + 0x2c], r14d
cmp r14d, 1
jne 0x14000945c
mov rbx, qword [rbp + 0x28]
test rbx, rbx
je 0x14000945c
nop dword [rax]
nop dword [rax + rax]
mov rcx, rbx
lea rax, [rbx + 0x10]
mov rbx, qword [rax]
mov qword [rax], r15
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
test rbx, rbx
jne 0x140009440
mov qword [rbp + 0x28], r15
mov rcx, qword [rbp + 0x48]
test rcx, rcx
je 0x140009483
mov rax, qword [rcx]
call qword [rax + 0x10]
test rax, rax
je 0x140009483
mov r8, qword [rax]
mov edx, 1
mov rcx, rax
call qword [r8]
nop
mov rdx, qword [rbp + 0xa8]
cmp rdx, 0x10
jb 0x1400094c7
inc rdx
mov rcx, qword [rbp + 0x90]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400094c2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400094c2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14001e2dc
movdqa xmm0, xmmword [0x140024860]
movdqu xmmword [rbp + 0xa0], xmm0
mov byte [rbp + 0x90], 0
mov rdx, qword [rbp - 0x68]
cmp rdx, 0x10
jb 0x140009206
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140009201
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140009201
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]
nop
call fcn.140001280
int3