Function at 0x14020be90
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x168
mov qword [rsp + reloc.mfc90u.dll_CChevronOwnerDrawMenu::CChevronOwnerDrawMenu], 0xfffffffffffffffe
mov dword [rsp + 0x38], socket
lea rcx, [rsp + 0x48]
call fcn.1403ad38a
nop
mov dword [rsp + 0x3c], socket
mov edx, 2
mov ecx, socket
call qword [sym.imp.MSVCR90.dll_calloc]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x40]
xor r8d, r8d
mov rdx, qword [rsp + reloc.mfc90u.dll_CDialog::CDialog]
mov rcx, qword [rsp + 0x170]
mov rcx, qword [rcx + 0x18]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [rsp + 0x70], eax
cmp dword [rsp + 0x70], 0
jne 0x14020c077
cmp dword [rsp + 0x40], 3
jne 0x14020c077
xor r9d, r9d
mov r8d, dword [rsp + 0x3c]
mov rdx, qword [rsp + 0x30]
lea rcx, [rsp + 0xf0]
call fcn.1403acf3a
nop
mov qword [rsp + 0x20], 0
mov r9d, reloc.mfc90u.dll_CDaoTableDef::GetValidationRule
mov r8d, 1
lea rdx, [rsp + 0xf0]
lea rcx, [rsp + 0x80]
call sub.mfc90u.dll_AFX_MODULE_THREAD_STATE::AFX_MODULE_THREAD_STATE
nop
mov dword [rsp + 0x88], 0
mov r8, 0xffffffffffffffff
xor edx, edx
lea rcx, [rsp + 0x48]
call sub.mfc90u.dll_CEditView::SerializeRaw
mov r8, 0xffffffffffffffff
mov edx, 5
lea rcx, [rsp + 0x48]
call sub.mfc90u.dll_CEditView::SerializeRaw
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x48]
call sub.mfc90u.dll_CRecordset::RebindParams
lea rcx, [rsp + 0x80]
call sub.mfc90u.dll_COleServerDoc::CanCloseFrame
lea rcx, [rsp + 0xf0]
call sub.mfc90u.dll_DDX_LBString
mov qword [rsp + 0x30], rax
xor eax, eax
test rax, rax
jg 0x14020bfec
cmp qword [rsp + 0x58], 0
jg 0x14020bff1
call sub.mfc90u.dll_AfxOleUnregisterServerClass
xor ecx, ecx
imul rcx, rcx, 4
mov rax, qword [rsp + 0x50]
mov eax, dword [rcx + rax]
mov dword [rsp + 0x148], eax
mov rcx, qword [rsp + 0x180]
mov rcx, qword [rcx]
mov eax, dword [rsp + 0x148]
mov dword [rcx], eax
xor eax, eax
cmp rax, 1
jg 0x14020c02a
cmp qword [rsp + 0x58], 1
jg 0x14020c02f
call sub.mfc90u.dll_AfxOleUnregisterServerClass
mov ecx, 1
imul rcx, rcx, 4
mov rax, qword [rsp + 0x50]
mov eax, dword [rcx + rax]
mov dword [rsp + reloc.mfc90u.dll_CBrush::CBrush], eax
mov rcx, qword [rsp + 0x180]
mov rcx, qword [rcx]
mov eax, dword [rsp + reloc.mfc90u.dll_CBrush::CBrush]
mov dword [rcx + 4], eax
lea rcx, [rsp + 0x80]
call sub.mfc90u.dll_CWnd::CWnd
nop
lea rcx, [rsp + 0xf0]
call sub.mfc90u.dll_CHtmlEditCtrl::CHtmlEditCtrl
mov rcx, qword [rsp + 0x170]
mov eax, dword [rsp + 0x70]
mov dword [rcx + 8], eax
mov rax, qword [rsp + 0x170]
mov dword [rax + 0xc], 2
mov rax, qword [rsp + 0x170]
mov dword [rax + 0x10], 8
cmp qword [rsp + 0x30], 0
je 0x14020c0c0
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.MSVCR90.dll_free]
mov qword [rsp + 0x30], 0
cmp dword [rsp + 0x70], 0
jne 0x14020c0e5
mov dword [rsp + 0x140], 1
lea rcx, [rsp + 0x48]
call sub.mfc90u.dll_CDaoWorkspace::CDaoWorkspace
mov eax, dword [rsp + 0x140]
jmp 0x14020c101
mov dword [rsp + 0x144], 0
lea rcx, [rsp + 0x48]
call sub.mfc90u.dll_CDaoWorkspace::CDaoWorkspace
mov eax, dword [rsp + 0x144]
add rsp, 0x168
ret