Function at 0x18001f1a0
Capabilities:
Set registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xf8]
sub rsp, 0x1f8
mov qword [rbp + 0x60], 0xfffffffffffffffe
mov rax, qword [0x1800ea550]
xor rax, rsp
mov qword [rbp + 0xe0], rax
mov rdi, r8
mov rsi, rdx
mov dword [rsp + 0x60], r9d
xor r12d, r12d
mov qword [rsp + 0x68], r12
cmp qword [rdx + 0x18], 8
jb 0x18001f1f2
mov rdx, qword [rdx]
mov qword [rsp + 0x40], r12
lea rax, [rsp + 0x68]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 0x2001b
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
mov rcx, qword [rcx]
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov ebx, eax
test eax, eax
je 0x18001f41d
mov edx, 2
lea r8d, [rdx - 1]
lea rcx, [rsp + 0x70]
call fcn.18000d500
nop
lea rdx, str.RegCreateKeyEx_Failed._lStatus:
lea rcx, [rsp + 0x70]
call fcn.180010b40
mov rcx, rax
mov edx, ebx
call fcn.18001f890
mov rcx, rax
lea rdx, str.._strSubKey:
call fcn.180010b40
mov rcx, rax
mov rdx, rsi
call fcn.180010da0
mov rcx, rax
lea rdx, str.__strKeyName:
call fcn.180010b40
mov rcx, rax
mov rdx, rdi
call fcn.180010da0
mov qword [rbp + 0xa8], 0xf
mov qword [rbp + 0xa0], r12
mov byte [rbp + 0x90], 0
mov r8d, 0x1a
lea rdx, str.CRegUtility::WriteRegValue
lea rcx, [rbp + 0x90]
call fcn.1800071c0
nop
mov qword [rbp + 0x80], 0xf
mov qword [rbp + 0x78], r12
mov byte [rbp + 0x68], 0
mov r8d, 0xe
lea rdx, str.RegUtility.cpp
lea rcx, [rbp + 0x68]
call fcn.1800071c0
nop
lea rdx, [rbp + 0xb8]
lea rcx, [rsp + 0x70]
call fcn.18000d630
mov rbx, rax
call fcn.18000ddc0
mov rcx, rax
mov qword [rsp + 0x28], rbx
lea rax, [rbp + 0x90]
mov qword [rsp + 0x20], rax
mov r9d, 0xa8
lea r8, [rbp + 0x68]
xor edx, edx
call fcn.180002e80
nop
cmp qword [rbp + 0xd0], 8
jb 0x18001f341
mov rcx, qword [rbp + 0xb8]
call fcn.18007309c
mov qword [rbp + 0xd0], 7
mov qword [rbp + 0xc8], r12
mov word [rbp + 0xb8], r12w
cmp qword [rbp + 0x80], 0x10
jb 0x18001f36e
mov rcx, qword [rbp + 0x68]
call fcn.18007309c
mov qword [rbp + 0x80], 0xf
mov qword [rbp + 0x78], r12
mov byte [rbp + 0x68], 0
cmp qword [rbp + 0xa8], 0x10
jb 0x18001f397
mov rcx, qword [rbp + 0x90]
call fcn.18007309c
mov qword [rbp + 0xa8], 0xf
mov qword [rbp + 0xa0], r12
mov byte [rbp + 0x90], 0
lea rax, [rbp - 8]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea r14, vtable.std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov qword [rsp + rcx + 0x70], r14
lea rcx, [rsp + 0x78]
call fcn.18000d670
nop
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea r15, vtable.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov qword [rsp + rcx + 0x70], r15
lea rax, [rbp - 8]
mov qword [rsp + 0x58], rax
lea r12, vtable.std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__.0
mov qword [rbp - 8], r12
lea r13, vtable.std::ios_base.0
mov qword [rbp - 8], r13
lea rcx, [rbp - 8]
call fcn.1800724a4
xor al, al
jmp 0x18001f86d
cmp qword [rdi + 0x18], 8
jb 0x18001f429
mov rdx, qword [rdi]
jmp 0x18001f42c
mov rdx, rdi
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [rsp + 0x58], eax
mov bl, 1
mov byte [rsp + 0x50], bl
lea r14, vtable.std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
lea r15, vtable.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.0
lea r12, vtable.std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__.0
lea r13, vtable.std::ios_base.0
test eax, eax
je 0x18001f653
mov edx, 2
lea r8d, [rdx - 1]
lea rcx, [rsp + 0x70]
call fcn.18000d500
nop
lea rdx, str.RegSetValueEx_Failed._lStatus:
lea rcx, [rsp + 0x70]
call fcn.180010b40
mov rcx, rax
mov edx, dword [rsp + 0x58]
call fcn.18001f890
mov rcx, rax
lea rdx, str.._strSubKey:
call fcn.180010b40
mov rcx, rax
mov rdx, rsi
call fcn.180010da0
mov rcx, rax
lea rdx, str.__strKeyName:
call fcn.180010b40
mov rcx, rax
mov rdx, rdi
call fcn.180010da0
mov qword [rbp + 0x80], 0xf
xor ebx, ebx
mov qword [rbp + 0x78], rbx
mov byte [rbp + 0x68], bl
lea r8d, [rbx + 0x1a]
lea rdx, str.CRegUtility::WriteRegValue
lea rcx, [rbp + 0x68]
call fcn.1800071c0
nop
mov qword [rbp + 0xa8], 0xf
mov qword [rbp + 0xa0], rbx
mov byte [rbp + 0x90], bl
lea r8d, [rbx + 0xe]
lea rdx, str.RegUtility.cpp
lea rcx, [rbp + 0x90]
call fcn.1800071c0
nop
lea rdx, [rbp + 0xb8]
lea rcx, [rsp + 0x70]
call fcn.18000d630
mov rbx, rax
call fcn.18000ddc0
mov rcx, rax
mov qword [rsp + 0x28], rbx
lea rax, [rbp + 0x68]
mov qword [rsp + 0x20], rax
mov r9d, VarDecFix
lea r8, [rbp + 0x90]
xor edx, edx
call fcn.180002e80
nop
cmp qword [rbp + 0xd0], 8
jb 0x18001f593
mov rcx, qword [rbp + 0xb8]
call fcn.18007309c
mov qword [rbp + 0xd0], 7
xor ebx, ebx
mov qword [rbp + 0xc8], rbx
mov word [rbp + 0xb8], bx
cmp qword [rbp + 0xa8], 0x10
jb 0x18001f5c4
mov rcx, qword [rbp + 0x90]
call fcn.18007309c
mov qword [rbp + 0xa8], 0xf
mov qword [rbp + 0xa0], rbx
mov byte [rbp + 0x90], 0
cmp qword [rbp + 0x80], 0x10
jb 0x18001f5f0
mov rcx, qword [rbp + 0x68]
call fcn.18007309c
mov qword [rbp + 0x80], 0xf
mov qword [rbp + 0x78], rbx
mov byte [rbp + 0x68], 0
lea rax, [rbp - 8]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x70], r14
lea rcx, [rsp + 0x78]
call fcn.18000d670
nop
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x70], r15
lea rax, [rbp - 8]
mov qword [rsp + 0x58], rax
mov qword [rbp - 8], r12
mov qword [rbp - 8], r13
lea rcx, [rbp - 8]
call fcn.1800724a4
xor bl, bl
mov byte [rsp + 0x50], bl
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x68], 0
mov edx, 2
lea r8d, [rdx - 1]
lea rcx, [rsp + 0x70]
call fcn.18000d500
nop
lea rdx, str.bRet:
lea rcx, [rsp + 0x70]
call fcn.180010b40
mov rcx, rax
movzx edx, bl
call fcn.180016510
mov rcx, rax
lea rdx, str._strSubKey:
call fcn.180010b40
mov rcx, rax
mov rdx, rsi
call fcn.180010da0
mov rcx, rax
lea rdx, str.._strKeyName:
call fcn.180010b40
mov rcx, rax
mov rdx, rdi
call fcn.180010da0
mov rcx, rax
lea rdx, str.._dwKeyValue:
call fcn.180010b40
mov rcx, rax
mov edx, dword [rsp + 0x60]
call fcn.18000cd70
mov rcx, rax
lea rdx, str.._samDesired:
call fcn.180010b40
mov rcx, rax
xor edx, edx
call fcn.18000cd70
mov qword [rbp + 0x80], 0xf
xor edi, edi
mov qword [rbp + 0x78], rdi
mov byte [rbp + 0x68], dil
lea r8d, [rdi + 0x1a]
lea rdx, str.CRegUtility::WriteRegValue
lea rcx, [rbp + 0x68]
call fcn.1800071c0
nop
mov qword [rbp + 0xa8], 0xf
mov qword [rbp + 0xa0], rdi
mov byte [rbp + 0x90], dil
lea r8d, [rdi + 0xe]
lea rdx, str.RegUtility.cpp
lea rcx, [rbp + 0x90]
call fcn.1800071c0
nop
lea rdx, [rbp + 0xb8]
lea rcx, [rsp + 0x70]
call fcn.18000d630
mov rbx, rax
call fcn.18000ddc0
mov rcx, rax
mov qword [rsp + 0x28], rbx
lea rax, [rbp + 0x68]
mov qword [rsp + 0x20], rax
mov r9d, 0xbc
lea r8, [rbp + 0x90]
lea edx, [rdi + 3]
call fcn.180002e80
nop
cmp qword [rbp + 0xd0], 8
jb 0x18001f7b0
mov rcx, qword [rbp + 0xb8]
call fcn.18007309c
mov qword [rbp + 0xd0], 7
mov qword [rbp + 0xc8], rdi
mov word [rbp + 0xb8], di
cmp qword [rbp + 0xa8], 0x10
jb 0x18001f7df
mov rcx, qword [rbp + 0x90]
call fcn.18007309c
mov qword [rbp + 0xa8], 0xf
mov qword [rbp + 0xa0], rdi
mov byte [rbp + 0x90], 0
cmp qword [rbp + 0x80], 0x10
jb 0x18001f80b
mov rcx, qword [rbp + 0x68]
call fcn.18007309c
mov qword [rbp + 0x80], 0xf
mov qword [rbp + 0x78], rdi
mov byte [rbp + 0x68], 0
lea rax, [rbp - 8]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x70], r14
lea rcx, [rsp + 0x78]
call fcn.18000d670
nop
mov rcx, qword [rsp + 0x70]
movsxd rdx, dword [rcx + 4]
mov qword [rsp + rdx + 0x70], r15
lea rax, [rbp - 8]
mov qword [rsp + 0x58], rax
mov qword [rbp - 8], r12
mov qword [rbp - 8], r13
lea rcx, [rbp - 8]
call fcn.1800724a4
movzx eax, byte [rsp + 0x50]
mov rcx, qword [rbp + 0xe0]
xor rcx, rsp
call fcn.180073c80
add rsp, 0x1f8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret