Function at 0x140003ca0
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x290
mov rax, qword [0x14004b010]
xor rax, rsp
mov qword [rsp + 0x280], rax
lea rdx, [rsp + 0x268]
mov rcx, qword [0x14004bb78]
call qword [sym.imp.KERNEL32.dll_GetConsoleScreenBufferInfo]
movzx eax, word [rsp + 0x270]
mov word [rsp + 0x5c], ax
mov rcx, qword [rsp + 0x2a0]
call fcn.140022c10
mov qword [rsp + 0x40], 0
lea rcx, [rsp + 0x260]
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x14000417a
mov rcx, qword [rsp + 0x2a8]
call fcn.140022510
inc rax
mov dword [rsp + 0x68], eax
mov rcx, qword [rsp + 0x2a8]
call fcn.140022c10
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x260]
mov qword [rsp + 0x80], rax
mov eax, dword [rsp + 0x68]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x140003f96
mov dx, 2
mov rcx, qword [0x14004bb78]
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
mov rax, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov qword [rsp + 0x90], rax
lea rax, [rsp + 0x50]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x1a0]
lea rcx, [rsp + 0x50]
call fcn.140004400
mov rcx, rax
call fcn.1400210a0
mov qword [rsp + 0x88], rax
mov rdx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x90]
call fcn.140026e80
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0x2a0]
mov qword [rsp + 0x98], rax
mov rdx, qword [rsp + 0x98]
mov rcx, qword [rsp + 0xa0]
call fcn.140027260
mov qword [rsp + 0xb0], rax
lea rax, [rsp + 0x51]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x51]
call fcn.1400044a0
mov rcx, rax
call fcn.140021080
mov qword [rsp + 0xa8], rax
mov rdx, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0xb0]
call fcn.140026e80
mov qword [rsp + 0xb8], rax
lea rdx, [0x1400272b0]
mov rcx, qword [rsp + 0xb8]
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]
lea rax, [rsp + 0x52]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x1b8]
lea rcx, [rsp + 0x52]
call fcn.140004400
mov rcx, rax
call fcn.1400210a0
mov rdx, rax
mov rcx, qword [rsp + 0x2b0]
call fcn.140026e80
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0x2a0]
mov qword [rsp + 0xc0], rax
mov rdx, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0xc8]
call fcn.140027260
mov qword [rsp + 0xd8], rax
lea rax, [rsp + 0x53]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x61]
lea rcx, [rsp + 0x53]
call fcn.1400044a0
mov rcx, rax
call fcn.140021080
mov qword [rsp + 0xd0], rax
mov rdx, qword [rsp + 0xd0]
mov rcx, qword [rsp + 0xd8]
call fcn.140026e80
mov qword [rsp + 0xe0], rax
lea rdx, [0x1400272b0]
mov rcx, qword [rsp + 0xe0]
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]
movzx edx, word [rsp + 0x5c]
mov rcx, qword [0x14004bb78]
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
jmp 0x140004167
mov dx, 0xc
mov rcx, qword [0x14004bb78]
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
mov rax, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov qword [rsp + 0xf0], rax
lea rax, [rsp + 0x54]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x1d0]
lea rcx, [rsp + 0x54]
call fcn.140004530
mov rcx, rax
call fcn.140021060
mov qword [rsp + 0xe8], rax
mov rdx, qword [rsp + 0xe8]
mov rcx, qword [rsp + 0xf0]
call fcn.140026e80
mov qword [rsp + 0x100], rax
mov rax, qword [rsp + 0x2a0]
mov qword [rsp + 0xf8], rax
mov rdx, qword [rsp + 0xf8]
mov rcx, qword [rsp + 0x100]
call fcn.140027260
mov qword [rsp + 0x110], rax
lea rax, [rsp + 0x55]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x62]
lea rcx, [rsp + 0x55]
call fcn.1400044a0
mov rcx, rax
call fcn.140021080
mov qword [rsp + 0x108], rax
mov rdx, qword [rsp + 0x108]
mov rcx, qword [rsp + 0x110]
call fcn.140026e80
mov qword [rsp + 0x118], rax
lea rdx, [0x1400272b0]
mov rcx, qword [rsp + 0x118]
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]
lea rax, [rsp + 0x56]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x1f0]
lea rcx, [rsp + 0x56]
call fcn.140004530
mov rcx, rax
call fcn.140021060
mov rdx, rax
mov rcx, qword [rsp + 0x2b0]
call fcn.140026e80
mov qword [rsp + 0x128], rax
mov rax, qword [rsp + 0x2a0]
mov qword [rsp + 0x120], rax
mov rdx, qword [rsp + 0x120]
mov rcx, qword [rsp + 0x128]
call fcn.140027260
mov qword [rsp + 0x138], rax
lea rax, [rsp + 0x57]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x63]
lea rcx, [rsp + 0x57]
call fcn.1400044a0
mov rcx, rax
call fcn.140021080
mov qword [rsp + 0x130], rax
mov rdx, qword [rsp + 0x130]
mov rcx, qword [rsp + 0x138]
call fcn.140026e80
mov qword [rsp + 0x140], rax
lea rdx, [0x1400272b0]
mov rcx, qword [rsp + 0x140]
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 + 0x260]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x140004345
mov dx, 5
mov rcx, qword [0x14004bb78]
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
mov rax, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov qword [rsp + 0x150], rax
lea rax, [rsp + 0x58]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x210]
lea rcx, [rsp + 0x58]
call fcn.140004560
mov rcx, rax
call fcn.1400223a0
mov qword [rsp + 0x148], rax
mov rdx, qword [rsp + 0x148]
mov rcx, qword [rsp + 0x150]
call fcn.140026e80
mov qword [rsp + 0x160], rax
mov rax, qword [rsp + 0x2a0]
mov qword [rsp + 0x158], rax
mov rdx, qword [rsp + 0x158]
mov rcx, qword [rsp + 0x160]
call fcn.140027260
mov qword [rsp + 0x170], rax
lea rax, [rsp + 0x59]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x64]
lea rcx, [rsp + 0x59]
call fcn.1400044a0
mov rcx, rax
call fcn.140021080
mov qword [rsp + 0x168], rax
mov rdx, qword [rsp + 0x168]
mov rcx, qword [rsp + 0x170]
call fcn.140026e80
mov qword [rsp + 0x178], rax
lea rdx, [0x1400272b0]
mov rcx, qword [rsp + 0x178]
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]
lea rax, [rsp + 0x5a]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x238]
lea rcx, [rsp + 0x5a]
call fcn.140004560
mov rcx, rax
call fcn.1400223a0
mov rdx, rax
mov rcx, qword [rsp + 0x2b0]
call fcn.140026e80
mov qword [rsp + 0x188], rax
mov rax, qword [rsp + 0x2a0]
mov qword [rsp + 0x180], rax
mov rdx, qword [rsp + 0x180]
mov rcx, qword [rsp + 0x188]
call fcn.140027260
mov qword [rsp + 0x198], rax
lea rax, [rsp + 0x5b]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x65]
lea rcx, [rsp + 0x5b]
call fcn.1400044a0
mov rcx, rax
call fcn.140021080
mov qword [rsp + 0x190], rax
mov rdx, qword [rsp + 0x190]
mov rcx, qword [rsp + 0x198]
call fcn.140026e80
mov qword [rsp + 0x70], rax
lea rdx, [0x1400272b0]
mov rcx, qword [rsp + 0x70]
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]
movzx edx, word [rsp + 0x5c]
mov rcx, qword [0x14004bb78]
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
nop
mov rcx, qword [rsp + 0x2a0]
call fcn.140022e50
nop
mov rcx, qword [rsp + 0x2a8]
call fcn.140022e50
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.14002bc30
add rsp, 0x290
pop rdi
ret