Function at 0x140021eb0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x1f8]
sub rsp, 0x2f0
mov qword [rbp - 0x30], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1400b2a68]
xor rax, rsp
mov qword [rbp + 0x1e0], rax
mov rsi, rcx
mov qword [rbp - 0x28], rcx
lea rdx, [0x1400893b0]
lea rcx, [rbp - 0x80]
call qword [sym.imp.Ac1st19.dll_public:_void___cdecl_AcString::constructor_wchar_t_const____ptr64____ptr64]
nop
call qword [sym.imp.acdb19.dll_class_AcDbHostApplicationServices____ptr64___cdecl_acdbHostApplicationServices_void_]
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x180]
mov rdx, rax
lea rcx, [rbp - 0x80]
call qword [sym.imp.Ac1st19.dll_public:_class_AcString____ptr64___cdecl_AcString::assign_wchar_t_const____ptr64____ptr64]
lea rdx, str.Profiles_
lea rcx, [rbp - 0x80]
call qword [sym.imp.Ac1st19.dll_public:_class_AcString____ptr64___cdecl_AcString::append_wchar_t_const____ptr64____ptr64]
lea rcx, [rbp - 0x80]
call qword [sym.imp.Ac1st19.dll_public:_wchar_t_const____ptr64___cdecl_AcString::kwszPtr_void_const___ptr64]
xor edi, edi
mov qword [rsp + 0x40], rdi
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x1400221d6
mov dword [rsp + 0x50], reloc.OLEAUT32.dll_SetErrorInfo
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x70]
call qword [sym.imp.Ac1st19.dll_public:_void___cdecl_AcString::constructor_class_AcString_const____ptr64____ptr64]
nop
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x68]
xor r8d, r8d
lea rdx, [0x1400893b0]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140022000
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x20]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x68]
xor r8d, r8d
lea rdx, [0x1400893b0]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea rdx, [rbp - 0x20]
lea rcx, [rsp + 0x70]
call qword [sym.imp.Ac1st19.dll_public:_class_AcString____ptr64___cdecl_AcString::append_wchar_t_const____ptr64____ptr64]
jmp 0x1400220ac
lea rdx, str.__Unnamed_Profile__
lea rcx, [rbp - 0x70]
call qword [sym.imp.Ac1st19.dll_public:_void___cdecl_AcString::constructor_char_const____ptr64____ptr64]
nop
lea rcx, [rbp - 0x70]
call qword [sym.imp.Ac1st19.dll_public:_wchar_t_const____ptr64___cdecl_AcString::kwszPtr_void_const___ptr64]
mov rbx, rax
lea rcx, [rbp - 0x70]
call qword [sym.imp.Ac1st19.dll_public:_unsigned_int___cdecl_AcString::length_void_const___ptr64]
lea eax, [rax + rax + 2]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rbx
mov r9d, 1
xor r8d, r8d
lea rdx, [0x1400893b0]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x70]
call qword [sym.imp.Ac1st19.dll_public:_class_AcString____ptr64___cdecl_AcString::append_class_AcString_const____ptr64____ptr64]
lea rcx, [rsp + 0x70]
call qword [sym.imp.Ac1st19.dll_public:_wchar_t_const____ptr64___cdecl_AcString::kwszPtr_void_const___ptr64]
mov qword [rsp + 0x40], rdi
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
nop
lea rcx, [rbp - 0x70]
call qword [sym.imp.Ac1st19.dll_public:_void___cdecl_AcString::destructor_void____ptr64]
lea rdx, [rsp + 0x70]
lea rcx, [rbp - 0x58]
call qword [sym.imp.Ac1st19.dll_public:_void___cdecl_AcString::constructor_class_AcString_const____ptr64____ptr64]
nop
lea rdx, str.General
lea rcx, [rbp - 0x58]
call qword [sym.imp.Ac1st19.dll_public:_class_AcString____ptr64___cdecl_AcString::append_wchar_t_const____ptr64____ptr64]
lea rcx, [rbp - 0x58]
call qword [sym.imp.Ac1st19.dll_public:_wchar_t_const____ptr64___cdecl_AcString::kwszPtr_void_const___ptr64]
mov qword [rsp + 0x40], rdi
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov ebx, eax
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rdx, str.IESWEB
lea rcx, [rbp - 0x40]
call qword [sym.imp.Ac1st19.dll_public:_void___cdecl_AcString::constructor_wchar_t_const____ptr64____ptr64]
nop
test ebx, ebx
jne 0x1400221a3
lea rcx, [rbp - 0x40]
call qword [sym.imp.Ac1st19.dll_public:_wchar_t_const____ptr64___cdecl_AcString::kwszPtr_void_const___ptr64]
lea rcx, [rbp - 0x48]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rdi
lea r9, [rbp - 0x60]
xor r8d, r8d
mov rdx, rax
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, rsi
call qword [sym.imp.Ac1st19.dll_public:_wchar_t_const____ptr64___cdecl_AcString::kwszPtr_void_const___ptr64]
mov rbx, rax
lea rcx, [rbp - 0x40]
call qword [sym.imp.Ac1st19.dll_public:_wchar_t_const____ptr64___cdecl_AcString::kwszPtr_void_const___ptr64]
mov rdi, rax
mov rcx, rsi
call qword [sym.imp.Ac1st19.dll_public:_unsigned_int___cdecl_AcString::length_void_const___ptr64]
lea eax, [rax + rax + 2]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rbx
mov r9d, 1
xor r8d, r8d
mov rdx, rdi
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x1400221b4
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
lea rcx, [rbp - 0x40]
call qword [sym.imp.Ac1st19.dll_public:_void___cdecl_AcString::destructor_void____ptr64]
nop
lea rcx, [rbp - 0x58]
call qword [sym.imp.Ac1st19.dll_public:_void___cdecl_AcString::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x70]
call qword [sym.imp.Ac1st19.dll_public:_void___cdecl_AcString::destructor_void____ptr64]
nop
lea rcx, [rbp - 0x80]
call qword [sym.imp.Ac1st19.dll_public:_void___cdecl_AcString::destructor_void____ptr64]
nop
mov rcx, rsi
call qword [sym.imp.Ac1st19.dll_public:_void___cdecl_AcString::destructor_void____ptr64]
mov rcx, qword [rbp + 0x1e0]
xor rcx, rsp
call fcn.140061f20
lea r11, [rsp + 0x2f0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret