Function at 0x418ab0
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
sub rsp, 0x2c8
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov qword [rax - 8], rbx
mov qword [rax - 0x10], rbp
mov qword [rax - 0x18], rsi
mov qword [rax - 0x20], rdi
mov qword [rax - 0x28], r12
mov qword [rax - 0x30], r13
mov qword [rax - 0x38], r14
mov rax, qword [0x005c3458]
mov qword [rsp + 0x288], rax
mov rsi, r9
mov rbp, r8
mov rdi, rdx
mov r12, rcx
mov qword [rsp + 0x60], rdx
mov qword [rsp + 0x50], r8
mov qword [rsp + 0x58], r9
xor r14d, r14d
mov dword [rsp + 0x30], r14d
mov dword [rsp + 0x38], 1
mov dword [rsp + 0x3c], 0xff
mov rdx, r8
lea rcx, [rsp + 0x68]
call sub.MFC42u.dll_CControlBar::CControlBar
mov r13, rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
lea r9d, [r14 + 1]
xor r8d, r8d
mov rdx, qword [r12 + 0x18]
mov rcx, qword [r12 + 8]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [r12], eax
test eax, eax
je 0x418b67
mov rcx, r13
call sub.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef
mov ebx, r14d
jmp 0x418bbf
mov dword [rsp + 0x34], 1
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r14
lea r9, [rsp + 0x34]
xor r8d, r8d
mov rdx, qword [r13]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [r12], eax
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [r12], 0
jne 0x418bb4
mov ebx, dword [rsp + 0x34]
mov rcx, r13
call sub.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef
jmp 0x418bbf
mov rcx, r13
call sub.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef
mov ebx, r14d
mov dword [rsp + 0x38], ebx
cmp ebx, 1
je 0x418bfa
cmp ebx, 2
je 0x418bfa
mov rdx, rsi
mov rcx, rdi
call sub.MFC42u.dll_CControlBar::CControlBar
nop
mov dword [rsp + 0x30], 1
mov rcx, rbp
call sub.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef
nop
mov rcx, rsi
call sub.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef
mov rax, rdi
jmp 0x418cf5
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rdx, qword [r12 + 0x18]
mov rcx, qword [r12 + 8]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [r12], eax
test eax, eax
je 0x418c52
mov rdx, rsi
mov rcx, rdi
call sub.MFC42u.dll_CControlBar::CControlBar
nop
mov dword [rsp + 0x30], 1
mov rcx, rbp
call sub.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef
nop
mov rcx, rsi
call sub.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef
mov rax, rdi
jmp 0x418cf5
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x38]
xor r8d, r8d
mov rdx, qword [rbp]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [r12], eax
mov ebx, 1
test eax, eax
cmovne ebx, r14d
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
jne 0x418cc8
mov rdx, rsi
mov rcx, rdi
call sub.MFC42u.dll_CControlBar::CControlBar
nop
mov dword [rsp + 0x30], 1
mov rcx, rbp
call sub.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef
nop
mov rcx, rsi
call sub.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef
mov rax, rdi
jmp 0x418cf5
lea rdx, [rsp + 0x80]
mov rcx, rdi
call sub.MFC42u.dll_CDaoException::CDaoException
nop
mov dword [rsp + 0x30], 1
mov rcx, rbp
call sub.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef
nop
mov rcx, rsi
call sub.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef
mov rax, rdi
mov rcx, qword [rsp + 0x288]
call fcn.005555b0
mov rbx, qword [rsp + 0x2c0]
mov rbp, qword [rsp + 0x2b8]
mov rsi, qword [rsp + 0x2b0]
mov rdi, qword [rsp + reloc.SHELL32.dll_IsUserAnAdmin]
mov r12, qword [rsp + 0x2a0]
mov r13, qword [rsp + 0x298]
mov r14, qword [rsp + 0x290]
add rsp, 0x2c8
ret