Function at 0x1400090b0
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 [0x14002c028]
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 0x1400090ff
mov rcx, qword [rdx]
mov rbx, qword [rdx + 0x10]
cmp rbx, 2
jne 0x14000911c
mov r8, rbx
lea rdx, [0x140023ae4]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x140009149
mov rcx, rdi
cmp r14, 0x10
jb 0x140009128
mov rcx, qword [rdi]
cmp rbx, 3
jne 0x140009367
mov r8, rbx
lea rdx, [0x140023ae0]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140009367
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 0x14000916c
mov rcx, qword [rdi]
cmp rbx, 2
jne 0x14000918b
mov r8, rbx
lea rdx, [0x140023ae4]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
mov word [rbp - 0x40], 0x31
je 0x140009191
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.14000f020
nop
mov r8d, 3
lea rdx, [0x140024324]
lea rcx, [rsp + 0x50]
call fcn.14000d5f0
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 0x14000924a
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140009245
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140009245
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14001f0bc
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 0x1400092c7
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400092c2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400092c2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14001f0bc
movdqa xmm0, xmmword [0x140025670]
movdqu xmmword [rbp - 0x50], xmm0
mov byte [rbp - 0x60], 0
mov rdx, qword [rbp - 0x28]
cmp rdx, 0x10
jb 0x140009316
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140009311
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140009311
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14001f0bc
mov qword [rbp - 0x30], r15
mov qword [rbp - 0x28], 0xf
mov byte [rbp - 0x40], 0
mov rdx, qword [rdi + 0x18]
cmp rdx, 0x10
jb 0x140009910
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x14000990b
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
jbe 0x140009908
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.1400019d0
mov rbx, rax
lea rdx, str.HKLMSYSTEMCurrentControlSetControlSecureBootState
lea rcx, [rbp - 0x40]
call fcn.1400019d0
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rbp - 0x80]
call fcn.140008770
nop
lea rcx, [rbp - 0x80]
cmp qword [rbp - 0x68], 0x10
cmovae rcx, qword [rbp - 0x80]
mov r8, qword [rbp - 0x70]
cmp r8, 2
jne 0x140009475
lea rdx, [0x1400238e8]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140009475
lea rdx, [0x1400238e8]
mov rcx, rsi
call fcn.1400019d0
nop
mov rdx, qword [rbp - 0x68]
cmp rdx, 0x10
jb 0x140009424
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000941f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000941f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14001f0bc
mov qword [rbp - 0x70], r15
mov qword [rbp - 0x68], 0xf
mov byte [rbp - 0x80], 0
mov rdx, qword [rdi + 0x18]
cmp rdx, 0x10
jb 0x140009910
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x14000990b
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
jbe 0x140009908
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.14001f080
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 [0x140024400]
movups xmmword [rax + 0x10], xmm1
movaps xmm0, xmmword [0x140024410]
movups xmmword [rax + 0x20], xmm0
movaps xmm1, xmmword [0x140024420]
movups xmmword [rax + 0x30], xmm1
movaps xmm0, xmmword [0x140024430]
movups xmmword [rax + 0x40], xmm0
movsd xmm1, qword [0x140024440]
movsd qword [rax + 0x50], xmm1
mov eax, dword [0x140024448]
mov dword [rcx + 0x58], eax
movzx eax, byte [0x14002444c]
mov byte [rcx + 0x5c], al
mov byte [rcx + 0x5d], 0
lea rdx, [rbp - 0x60]
lea rcx, [rbp + 0x90]
call fcn.140002800
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.14000d830
nop
lea r8, [0x140024453]
lea rdx, [0x140024450]
lea rcx, [rbp + 0x28]
call fcn.14000e210
nop
lea r9, [0x1400238d5]
lea r8, [rbp + 0x28]
lea rdx, [rbp + 0x90]
lea rcx, [rbp - 0x20]
call fcn.14000dcc0
nop
movabs rax, 0x7fffffffffffffff
mov rcx, qword [rbp - 0x10]
sub rax, rcx
cmp rax, 3
jb 0x140009bea
lea r9, [rbp - 0x20]
cmp qword [rbp - 8], 0x10
cmovae r9, qword [rbp - 0x20]
mov qword [rsp + 0x30], 3
lea rax, [0x140023a10]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea rcx, [rbp + 0x70]
call fcn.14000f020
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.14000d830
nop
lea r8, [0x140023ada]
lea rdx, str..REG_DWORD___0x__0_9__.
lea rcx, [rbp]
call fcn.14000e210
nop
lea r9, [0x140023a38]
lea r8, [rbp]
lea rdx, [rbp + 0x70]
lea rcx, [rbp + 0x50]
call fcn.14000dcc0
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 0x140009948
lea rdx, [0x140024320]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140009948
lea rdx, [0x140023ae4]
mov rcx, rsi
call fcn.1400019d0
nop
mov rdx, qword [rbp + 0x68]
cmp rdx, 0x10
jb 0x1400096af
inc rdx
mov rcx, qword [rbp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400096aa
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400099a2
call fcn.14001f0bc
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 0x14000970c
mov eax, r14d
lock xadd dword [rcx + 0x2c], eax
cmp eax, 1
jne 0x14000970c
mov rbx, qword [rbp]
test rbx, rbx
je 0x14000970c
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 0x1400096f0
mov qword [rbp], r15
mov rcx, qword [rbp + 0x20]
test rcx, rcx
je 0x140009733
mov rax, qword [rcx]
call qword [rax + 0x10]
test rax, rax
je 0x140009733
mov r8, qword [rax]
mov edx, 1
mov rcx, rax
call qword [r8]
nop
mov rdx, qword [rbp + 0x88]
cmp rdx, 0x10
jb 0x140009771
inc rdx
mov rcx, qword [rbp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000976c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140009a68
call fcn.14001f0bc
movdqa xmm0, xmmword [0x140025670]
movdqu xmmword [rbp + 0x80], xmm0
mov byte [rbp + 0x70], 0
mov rdx, qword [rbp - 8]
cmp rdx, 0x10
jb 0x1400097c0
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400097bb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140009aba
call fcn.14001f0bc
mov qword [rbp - 0x10], r15
mov qword [rbp - 8], 0xf
mov byte [rbp - 0x20], 0
mov rax, qword [rbp + 0x28]
test rax, rax
je 0x14000980c
lock xadd dword [rax + 0x2c], r14d
cmp r14d, 1
jne 0x14000980c
mov rbx, qword [rbp + 0x28]
test rbx, rbx
je 0x14000980c
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 0x1400097f0
mov qword [rbp + 0x28], r15
mov rcx, qword [rbp + 0x48]
test rcx, rcx
je 0x140009833
mov rax, qword [rcx]
call qword [rax + 0x10]
test rax, rax
je 0x140009833
mov r8, qword [rax]
mov edx, 1
mov rcx, rax
call qword [r8]
nop
mov rdx, qword [rbp + 0xa8]
cmp rdx, 0x10
jb 0x140009874
inc rdx
mov rcx, qword [rbp + 0x90]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000986f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140009b7b
call fcn.14001f0bc
movdqa xmm0, xmmword [0x140025670]
movdqu xmmword [rbp + 0xa0], xmm0
mov byte [rbp + 0x90], 0
mov rdx, qword [rbp - 0x68]
cmp rdx, 0x10
jb 0x1400098c6
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400098c1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140009bdc
call fcn.14001f0bc
mov qword [rbp - 0x70], r15
mov qword [rbp - 0x68], 0xf
mov byte [rbp - 0x80], 0
mov rdx, qword [rdi + 0x18]
cmp rdx, 0x10
jb 0x140009910
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x14000990b
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140009be3
mov rcx, r8
call fcn.14001f0bc
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.14001f060
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, [0x140023ae0]
mov rcx, rsi
call sub.VCRUNTIME140.dll_memmove
mov byte [rsi + 3], 0
cmp r14, 0x10
jb 0x1400099b1
lea rdx, [r14 + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x1400099a9
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400099a9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.14001f0bc
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 0x140009a0c
mov eax, r14d
lock xadd dword [rcx + 0x2c], eax
cmp eax, 1
jne 0x140009a0c
mov rbx, qword [rbp]
test rbx, rbx
je 0x140009a0c
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 0x1400099f0
mov qword [rbp], r15
mov rcx, qword [rbp + 0x20]
test rcx, rcx
je 0x140009a33
mov rax, qword [rcx]
call qword [rax + 0x10]
test rax, rax
je 0x140009a33
mov r8, qword [rax]
mov edx, 1
mov rcx, rax
call qword [r8]
nop
mov rdx, qword [rbp + 0x88]
cmp rdx, 0x10
jb 0x140009a74
inc rdx
mov rcx, qword [rbp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140009a6f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140009a6f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14001f0bc
movdqa xmm0, xmmword [0x140025670]
movdqu xmmword [rbp + 0x80], xmm0
mov byte [rbp + 0x70], 0
mov rdx, qword [rbp - 8]
cmp rdx, 0x10
jb 0x140009ac6
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140009ac1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140009ac1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14001f0bc
mov qword [rbp - 0x10], r15
mov qword [rbp - 8], 0xf
mov byte [rbp - 0x20], 0
mov rax, qword [rbp + 0x28]
test rax, rax
je 0x140009b1c
lock xadd dword [rax + 0x2c], r14d
cmp r14d, 1
jne 0x140009b1c
mov rbx, qword [rbp + 0x28]
test rbx, rbx
je 0x140009b1c
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 0x140009b00
mov qword [rbp + 0x28], r15
mov rcx, qword [rbp + 0x48]
test rcx, rcx
je 0x140009b43
mov rax, qword [rcx]
call qword [rax + 0x10]
test rax, rax
je 0x140009b43
mov r8, qword [rax]
mov edx, 1
mov rcx, rax
call qword [r8]
nop
mov rdx, qword [rbp + 0xa8]
cmp rdx, 0x10
jb 0x140009b87
inc rdx
mov rcx, qword [rbp + 0x90]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140009b82
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140009b82
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14001f0bc
movdqa xmm0, xmmword [0x140025670]
movdqu xmmword [rbp + 0xa0], xmm0
mov byte [rbp + 0x90], 0
mov rdx, qword [rbp - 0x68]
cmp rdx, 0x10
jb 0x1400098c6
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400098c1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400098c1
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.140001940
int3