Function at 0x18001ea80
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, r9
mov rsi, r8
mov r12, rdx
xor r13d, r13d
mov qword [rsp + 0x60], r13
cmp qword [rdx + 0x18], 8
jb 0x18001ead0
mov rdx, qword [rdx]
mov qword [rsp + 0x40], r13
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], 0x2001b
mov dword [rsp + 0x20], r13d
xor r9d, r9d
xor r8d, r8d
mov rcx, qword [rcx]
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov ebx, eax
test eax, eax
je 0x18001ecfb
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, r12
call fcn.180010da0
mov rcx, rax
lea rdx, str.__strKeyName:
call fcn.180010b40
mov rcx, rax
mov rdx, rsi
call fcn.180010da0
mov qword [rbp + 0xa8], 0xf
mov qword [rbp + 0xa0], r13
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], r13
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, 0x82
lea r8, [rbp + 0x68]
xor edx, edx
call fcn.180002e80
nop
cmp qword [rbp + 0xd0], 8
jb 0x18001ec1f
mov rcx, qword [rbp + 0xb8]
call fcn.18007309c
mov qword [rbp + 0xd0], 7
mov qword [rbp + 0xc8], r13
mov word [rbp + 0xb8], r13w
cmp qword [rbp + 0x80], 0x10
jb 0x18001ec4c
mov rcx, qword [rbp + 0x68]
call fcn.18007309c
mov qword [rbp + 0x80], 0xf
mov qword [rbp + 0x78], r13
mov byte [rbp + 0x68], 0
cmp qword [rbp + 0xa8], 0x10
jb 0x18001ec75
mov rcx, qword [rbp + 0x90]
call fcn.18007309c
mov qword [rbp + 0xa8], 0xf
mov qword [rbp + 0xa0], r13
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 r15, vtable.std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov qword [rsp + rcx + 0x70], r15
lea rcx, [rsp + 0x78]
call fcn.18000d670
nop
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov qword [rsp + rcx + 0x70], rax
lea rax, [rbp - 8]
mov qword [rsp + 0x58], rax
lea r13, vtable.std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__.0
mov qword [rbp - 8], r13
lea r14, vtable.std::ios_base.0
mov qword [rbp - 8], r14
lea rcx, [rbp - 8]
call fcn.1800724a4
xor al, al
jmp 0x18001f17b
mov rax, qword [rdi + 0x10]
cmp qword [rdi + 0x18], 8
jb 0x18001ed0b
mov rcx, qword [rdi]
jmp 0x18001ed0e
mov rcx, rdi
cmp qword [rsi + 0x18], 8
jb 0x18001ed1a
mov rdx, qword [rsi]
jmp 0x18001ed1d
mov rdx, rsi
lea eax, [rax + rax + 2]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
mov r9d, 1
xor r8d, r8d
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [rsp + 0x58], eax
mov bl, 1
mov byte [rsp + 0x50], bl
lea r15, vtable.std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
lea r13, vtable.std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__.0
lea r14, vtable.std::ios_base.0
test eax, eax
je 0x18001ef3f
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, r12
call fcn.180010da0
mov rcx, rax
lea rdx, str.__strKeyName:
call fcn.180010b40
mov rcx, rax
mov rdx, rsi
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, VariantChangeTypeEx
lea r8, [rbp + 0x90]
xor edx, edx
call fcn.180002e80
nop
cmp qword [rbp + 0xd0], 8
jb 0x18001ee78
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 0x18001eea9
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 0x18001eed5
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], r15
lea rcx, [rsp + 0x78]
call fcn.18000d670
nop
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov qword [rsp + rcx + 0x70], rax
lea rax, [rbp - 8]
mov qword [rsp + 0x58], rax
mov qword [rbp - 8], r13
mov qword [rbp - 8], r14
lea rcx, [rbp - 8]
call fcn.1800724a4
xor bl, bl
mov byte [rsp + 0x50], bl
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x60], 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, r12
call fcn.180010da0
mov rcx, rax
lea rdx, str.._strKeyName:
call fcn.180010b40
mov rcx, rax
mov rdx, rsi
call fcn.180010da0
mov rcx, rax
lea rdx, str.._strKeyValue:
call fcn.180010b40
mov rcx, rax
mov rdx, rdi
call fcn.180010da0
mov rcx, rax
lea rdx, str.._dwType:
call fcn.180010b40
mov rcx, rax
mov edx, 1
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, ILFree
lea r8, [rbp + 0x90]
lea edx, [rdi + 3]
call fcn.180002e80
nop
cmp qword [rbp + 0xd0], 8
jb 0x18001f0b7
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 0x18001f0e6
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 0x18001f112
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], r15
lea rcx, [rsp + 0x78]
call fcn.18000d670
nop
mov rcx, qword [rsp + 0x70]
movsxd rdx, dword [rcx + 4]
lea rax, vtable.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov qword [rsp + rdx + 0x70], rax
lea rax, [rbp - 8]
mov qword [rsp + 0x58], rax
mov qword [rbp - 8], r13
mov qword [rbp - 8], r14
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