Function at 0x140012c9c
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1350]
mov eax, 0x1450
call fcn.140019c20
sub rsp, rax
mov qword [rbp - 0x10], 0xfffffffffffffffe
mov qword [rsp + 0x1488], rbx
mov qword [rsp + 0x1490], rsi
mov qword [rsp + 0x1498], rdi
mov rax, qword [0x14002f220]
xor rax, rsp
mov qword [rbp + 0x1340], rax
mov r14, rcx
xor esi, esi
mov edi, esi
mov dword [rsp + 0x44], esi
mov rax, qword [rcx + 0x140]
mov r13, qword [rax + 0x80]
call sub.MFC42u.dll_CWnd::BindProperty
xor r9d, r9d
xor r8d, r8d
lea edx, [rsi + 0xb]
mov rcx, qword [r14 + 0x100]
call qword [sym.imp.USER32.dll_SendMessageW]
mov r9, 0xffffffffffff0000
xor r8d, r8d
mov edx, 0x1101
mov rcx, qword [r14 + 0x100]
call qword [sym.imp.USER32.dll_SendMessageW]
lea rdx, str.Application_IDs
mov rcx, qword [r13 + 0xa0]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x140012dc1
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rbx, str.AppID
mov rdx, rbx
mov rcx, 0xffffffff80000000
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400142c0
mov rdx, rbx
lea rcx, [rsp + 0x38]
call sub.MFC42u.dll_CDaoException::CDaoException
nop
lea rcx, [r14 + 0xc0]
mov r9, 0xffffffffffff0000
mov r8, qword [rsp + 0x48]
lea rdx, [rsp + 0x38]
call fcn.14001268c
nop
lea rcx, [rsp + 0x38]
call sub.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef
jmp 0x1400142b5
mov edx, dword [r13 + 0xc0]
cmp edx, 8
jne 0x140012f4e
lea rbx, str.AppID
mov r8, rbx
lea rdx, [0x1400229b8]
lea rcx, [rbp + 0xf30]
call qword [sym.imp.USER32.dll_wsprintfW]
movdqa xmm0, xmmword [0x1400230c0]
movdqa xmmword [rbp + 0x80], xmm0
mov dword [rbp + 0xa4], esi
mov dword [rbp + 0x90], 5
lea rax, [rbp + 0xf30]
mov qword [rbp + 0xa8], rax
mov ecx, 0x28
call fcn.140017718
mov r15, rax
mov qword [rsp + 0x68], rax
test rax, rax
je 0x140012e79
lea rdx, [rbp + 0x920]
lea rcx, [rsp + 0x60]
call sub.MFC42u.dll_CDaoException::CDaoException
nop
mov dword [rsp + 0x44], 1
mov rdx, rbx
lea rcx, [rsp + 0x38]
call sub.MFC42u.dll_CDaoException::CDaoException
nop
mov edi, 3
mov dword [rsp + 0x44], edi
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x38]
mov rcx, r15
call fcn.14001236c
jmp 0x140012e7c
mov rax, rsi
mov qword [rbp + 0xc0], rax
test dil, 2
je 0x140012e97
and edi, 0xfffffffd
lea rcx, [rsp + 0x38]
call sub.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef
nop
test dil, 1
je 0x140012ea7
lea rcx, [rsp + 0x60]
call sub.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef
lea r9, [rbp + 0x80]
xor r8d, r8d
mov edx, CAsyncSocket::OnClose
mov rcx, qword [r14 + 0x100]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rbx, rax
mov r8, qword [r13 + 0xb8]
lea rdx, str.AppID_s
lea rcx, [rbp + 0x920]
call qword [sym.imp.USER32.dll_wsprintfW]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, [rbp + 0x920]
mov rcx, 0xffffffff80000000
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400142c0
mov rdx, qword [r13 + 0xb8]
lea rcx, [rsp + 0x38]
call sub.MFC42u.dll_CDaoException::CDaoException
nop
lea rcx, [r14 + 0xc0]
mov r9, rbx
mov r8, qword [rsp + 0x48]
lea rdx, [rsp + 0x38]
call fcn.14001268c
nop
lea rcx, [rsp + 0x38]
call sub.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef
mov r9, rbx
jmp 0x14001429d
lea rcx, [r13 + 0xa8]
mov qword [rsp + 0x30], rcx
mov rax, qword [rcx]
cmp rax, qword [0x140028240]
jne 0x140012fdf
mov rax, qword [rcx + 8]
cmp rax, qword [0x140028248]
jne 0x140012fdf
cmp edx, 6
jne 0x1400142c0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rbx, str.Component_Categories
mov rdx, rbx
mov rcx, 0xffffffff80000000
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400142c0
mov rdx, rbx
lea rcx, [rsp + 0x38]
call sub.MFC42u.dll_CDaoException::CDaoException
nop
lea rcx, [r14 + 0xc0]
mov r9, 0xffffffffffff0000
mov r8, qword [rsp + 0x48]
lea rdx, [rsp + 0x38]
call fcn.14001268c
nop
jmp 0x140012db2
mov r8d, 0x40
lea rdx, [rbp]
call qword [sym.imp.ole32.dll_StringFromGUID2]
movdqa xmm0, xmmword [0x1400230c0]
movdqa xmmword [rbp - 0x70], xmm0
mov dword [rbp - 0x4c], esi
mov dword [rbp - 0x60], 5
mov eax, dword [r13 + 0xc0]
mov r15, 0xffffffff80000000
mov rcx, r15
cmp eax, 7
jne 0x1400131e6
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r12d, 0x20019
mov r9d, r12d
xor r8d, r8d
lea rbx, str.Component_Categories
mov rdx, rbx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400142c0
mov r13d, COleControlSite::XOleClientSite::AddRef
mov dword [rsp + 0x40], r13d
mov word [rbp + 0x100], si
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x100]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov r8, rbx
lea rcx, [rbp + 0x510]
cmp word [rbp + 0x100], si
je 0x1400130b2
lea r9, [rbp + 0x100]
lea rdx, str._s___s
call qword [sym.imp.USER32.dll_wsprintfW]
jmp 0x1400130bf
lea rdx, [0x1400229b8]
call qword [sym.imp.USER32.dll_wsprintfW]
lea rax, [rbp + 0x510]
mov qword [rbp - 0x48], rax
mov ecx, 0x28
call fcn.140017718
mov r13, rax
mov qword [rsp + 0x68], rax
test rax, rax
je 0x140013126
lea rdx, [rbp + 0x100]
lea rcx, [rsp + 0x60]
call sub.MFC42u.dll_CDaoException::CDaoException
nop
mov dword [rsp + 0x44], 4
mov rdx, rbx
lea rcx, [rsp + 0x38]
call sub.MFC42u.dll_CDaoException::CDaoException
nop
mov edi, 0xc
mov dword [rsp + 0x44], edi
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x38]
mov rcx, r13
call fcn.14001236c
jmp 0x140013129
mov rax, rsi
mov qword [rbp - 0x30], rax
test dil, 8
je 0x140013141
and edi, 0xfffffff7
lea rcx, [rsp + 0x38]
call sub.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef
nop
test dil, 4
je 0x140013151
lea rcx, [rsp + 0x60]
call sub.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef
lea r9, [rbp - 0x70]
xor r8d, r8d
mov edx, CAsyncSocket::OnClose
mov rcx, qword [r14 + 0x100]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rbx, rax
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea r8, [rbp]
lea rdx, str.Component_Categories_s
lea rcx, [rbp + 0x100]
call qword [sym.imp.USER32.dll_wsprintfW]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r9d, r12d
xor r8d, r8d
lea rdx, [rbp + 0x100]
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400142c0
lea rdx, [rbp]
lea rcx, [rsp + 0x38]
call sub.MFC42u.dll_CDaoException::CDaoException
nop
lea rcx, [r14 + 0xc0]
mov r9, rbx
mov r8, qword [rsp + 0x48]
lea rdx, [rsp + 0x38]
call fcn.14001268c
nop
jmp 0x140012f3c
cmp eax, 3
jne 0x1400133b5
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r12d, 0x20019
mov r9d, r12d
xor r8d, r8d
lea rbx, [0x140022750]
mov rdx, rbx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400142c0
mov r13d, COleControlSite::XOleClientSite::AddRef
mov dword [rsp + 0x40], r13d
mov word [rbp + 0x100], si
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x100]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov r8, rbx
lea rcx, [rbp + 0x510]
cmp word [rbp + 0x100], si
je 0x140013281
lea r9, [rbp + 0x100]
lea rdx, str._s___s
call qword [sym.imp.USER32.dll_wsprintfW]
jmp 0x14001328e
lea rdx, [0x1400229b8]
call qword [sym.imp.USER32.dll_wsprintfW]
lea rax, [rbp + 0x510]
mov qword [rbp - 0x48], rax
mov ecx, 0x28
call fcn.140017718
mov r13, rax
mov qword [rsp + 0x68], rax
test rax, rax
je 0x1400132f5
lea rdx, [rbp + 0x100]
lea rcx, [rsp + 0x60]
call sub.MFC42u.dll_CDaoException::CDaoException
nop
mov dword [rsp + 0x44], 0x10
mov rdx, rbx
lea rcx, [rsp + 0x38]
call sub.MFC42u.dll_CDaoException::CDaoException
nop
mov edi, 0x30
mov dword [rsp + 0x44], edi
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x38]
mov rcx, r13
call fcn.14001236c
jmp 0x1400132f8
mov rax, rsi
mov qword [rbp - 0x30], rax
test dil, 0x20
je 0x140013310
and edi, 0xffffffdf
lea rcx, [rsp + 0x38]
call sub.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef
nop
test dil, 0x10
je 0x140013320
lea rcx, [rsp + 0x60]
call sub.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef
lea r9, [rbp - 0x70]
xor r8d, r8d
mov edx, CAsyncSocket::OnClose
mov rcx, qword [r14 + 0x100]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rbx, rax
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea r8, [rbp]
lea rdx, str.TypeLib_s
lea rcx, [rbp + 0x100]
call qword [sym.imp.USER32.dll_wsprintfW]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r9d, r12d
xor r8d, r8d
lea rdx, [rbp + 0x100]
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400142c0
lea rdx, [rbp]
lea rcx, [rsp + 0x38]
call sub.MFC42u.dll_CDaoException::CDaoException
nop
lea rcx, [r14 + 0xc0]
mov r9, rbx
mov r8, qword [rsp + 0x48]
lea rdx, [rsp + 0x38]
call fcn.14001268c
nop
jmp 0x140012f3c
add eax, 0xfffffffc
cmp eax, 1
jbe 0x140013b4b
mov r13d, COleControlSite::XOleClientSite::AddRef
mov dword [rsp + 0x58], r13d
mov word [rbp + 0x100], si
lea r9, [rsp + 0x58]
lea r8, [rbp + 0x100]
lea rbx, str.CLSID
mov rdx, rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueW]
lea r9, [rbp + 0x100]
mov r8, rbx
lea rdx, str._s___s
lea rcx, [rbp + 0x510]
call qword [sym.imp.USER32.dll_wsprintfW]
lea rax, [rbp + 0x510]
mov qword [rbp - 0x48], rax
mov ecx, 0x28
call fcn.140017718
mov r12, rax
mov qword [rsp + 0x68], rax
test rax, rax
je 0x140013474
lea rdx, [rbp + 0x100]
lea rcx, [rsp + 0x60]
call sub.MFC42u.dll_CDaoException::CDaoException
nop
mov dword [rsp + 0x44], 0x1000
mov rdx, rbx
lea rcx, [rsp + 0x38]
call sub.MFC42u.dll_CDaoException::CDaoException
nop
mov edi, 0x3000
mov dword [rsp + 0x44], edi
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x38]
mov rcx, r12
call fcn.14001236c
jmp 0x140013477
mov rax, rsi
mov qword [rbp - 0x30], rax
bt edi, 0xd
jae 0x140013490
btr edi, 0xd
lea rcx, [rsp + 0x38]
call sub.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef
nop
bt edi, 0xc
jae 0x1400134a4
btr edi, 0xc
lea rcx, [rsp + 0x60]
call sub.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef
lea r9, [rbp - 0x70]
xor r8d, r8d
mov edx, CAsyncSocket::OnClose
mov rcx, qword [r14 + 0x100]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rbx, rax
mov qword [rsp + 0x68], rax
lea r8, [rbp]
lea rdx, str.CLSID_s
lea rcx, [rbp + 0x510]
call qword [sym.imp.USER32.dll_wsprintfW]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r12d, 0x20019
mov r9d, r12d
xor r8d, r8d
lea rdx, [rbp + 0x510]
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400142c0
lea rdx, [rbp]
lea rcx, [rsp + 0x60]
call sub.MFC42u.dll_CDaoException::CDaoException
nop
lea rcx, [r14 + 0xc0]
mov r9, rbx
mov r8, qword [rsp + 0x48]
lea rdx, [rsp + 0x60]
call fcn.14001268c
nop
lea rcx, [rsp + 0x60]
call sub.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef
mov r9, rbx
mov edx, 0x1102
mov r8d, 2
mov rcx, qword [r14 + 0x100]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rbx, qword [rsp + 0x30]
movups xmm0, xmmword [rbx]
movdqu xmmword [rbp - 0x80], xmm0
lea rcx, [rbp - 0x80]
call fcn.14001662c
test eax, eax
je 0x14001370c
movups xmm0, xmmword [rbx]
movdqu xmmword [rbp - 0x80], xmm0
lea r8, [rbp + 0xd30]
lea rdx, [0x14001d4e0]
lea rcx, [rbp - 0x80]
call fcn.14001690c
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, r12d
xor r8d, r8d
lea rdx, [rbp + 0xd30]
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14001370c
mov qword [rbp - 0x70], 0xffffffffffff0000
lea rbx, str.AppID
mov qword [rbp - 0x48], rbx
lea ecx, [rax + 0x28]
call fcn.140017718
mov qword [rbp - 0x80], rax
test rax, rax
je 0x140013627
lea rdx, [rbp + 0xd30]
lea rcx, [rsp + 0x50]
call sub.MFC42u.dll_CDaoException::CDaoException
nop
bts edi, 0xe
mov dword [rsp + 0x44], edi
mov rdx, rbx
lea rcx, [rsp + 0x70]
call sub.MFC42u.dll_CDaoException::CDaoException
nop
bts edi, 0xf
mov dword [rsp + 0x44], edi
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x70]
mov rcx, qword [rbp - 0x80]
call fcn.14001236c
jmp 0x14001362a
mov rax, rsi
mov qword [rbp - 0x30], rax
bt edi, 0xf
jae 0x140013643
btr edi, 0xf
lea rcx, [rsp + 0x70]
call sub.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef
nop
bt edi, 0xe
jae 0x140013657
btr edi, 0xe
lea rcx, [rsp + 0x50]
call sub.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef
lea r9, [rbp - 0x70]
xor r8d, r8d
mov edx, CAsyncSocket::OnClose
mov rcx, qword [r14 + 0x100]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rbx, rax
mov dword [rsp + 0x60], 0xff
mov rax, qword [rsp + 0x30]
movups xmm0, xmmword [rax]
movdqu xmmword [rbp - 0x80], xmm0
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0xf30]
lea r8, str.AppID
lea rdx, [0x14001d4e0]
lea rcx, [rbp - 0x80]
call fcn.140016d54
lea rdx, [rbp + 0xf30]
lea rcx, [rsp + 0x30]
call sub.MFC42u.dll_CDaoException::CDaoException
nop
mov r9, rbx
mov r8, qword [rsp + 0x38]
lea rdx, [rsp + 0x30]
lea rcx, [r14 + 0xc0]
call fcn.14001268c
nop
lea rcx, [rsp + 0x30]
call sub.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef
mov r9, rbx
mov edx, 0x1102
mov r8d, 2
mov rcx, qword [r14 + 0x100]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [rsp + 0x58], r13d
lea r9, [rsp + 0x58]
lea r8, [rbp + 0x920]
lea rdx, str.ProgID
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueW]
test eax, eax
je 0x14001373c
mov word [rbp + 0x920], si
jmp 0x1400137b3
cmp word [rbp + 0x920], si
je 0x1400137b3
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, r12d
xor r8d, r8d
lea rdx, [rbp + 0x920]
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400137b3
mov dword [rsp + 0x58], r13d
lea rdx, [rbp + 0x920]
lea rcx, [rsp + 0x30]
call sub.MFC42u.dll_CDaoException::CDaoException
nop
mov r9, 0xffffffffffff0000
mov r8, qword [rsp + 0x38]
lea rdx, [rsp + 0x30]
lea rcx, [r14 + 0xc0]
call fcn.14001268c
nop
lea rcx, [rsp + 0x30]
call sub.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea r8, [rbp]
lea rdx, str.FileType_s
lea rcx, [rbp + 0x100]
call qword [sym.imp.USER32.dll_wsprintfW]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, r12d
xor r8d, r8d
lea rdx, [rbp + 0x100]
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140013953
mov qword [rbp - 0x70], 0xffffffffffff0000
mov word [rbp + 0x100], si
mov dword [rsp + 0x58], r13d
lea r9, [rsp + 0x58]
lea r8, [rbp + 0x100]
lea rdx, str.FileType
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegQueryValueW]
lea r9, [rbp + 0x100]
lea r8, str.FileType
lea rdx, str._s___s
lea rcx, [rbp + 0x510]
call qword [sym.imp.USER32.dll_wsprintfW]
lea rax, [rbp + 0x510]
mov qword [rbp - 0x48], rax
mov ecx, 0x28
call fcn.140017718
mov rbx, rax
mov qword [rbp - 0x80], rax
test rax, rax
je 0x1400138ae
lea rdx, [rbp + 0x100]
lea rcx, [rsp + 0x50]
call sub.MFC42u.dll_CDaoException::CDaoException
nop
bts edi, 0x10
mov dword [rsp + 0x44], edi
lea rdx, str.FileType
lea rcx, [rsp + 0x30]
call sub.MFC42u.dll_CDaoException::CDaoException
nop
bts edi, 0x11
mov dword [rsp + 0x44], edi
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.14001236c
jmp 0x1400138b1
mov rax, rsi
mov qword [rbp - 0x30], rax
bt edi, 0x11
jae 0x1400138ca
btr edi, 0x11
lea rcx, [rsp + 0x30]
call sub.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef
nop
bt edi, 0x10
jae 0x1400138de
btr edi, 0x10
lea rcx, [rsp + 0x50]
call sub.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef
lea r9, [rbp - 0x70]
xor r8d, r8d
mov edx, CAsyncSocket::OnClose
mov rcx, qword [r14 + 0x100]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rbx, rax
lea rdx, [rbp]
lea rcx, [rsp + 0x30]
call sub.MFC42u.dll_CDaoException::CDaoException
nop
mov r9, rbx
mov r8, qword [rsp + 0x38]
lea rdx, [rsp + 0x30]
lea rcx, [r14 + 0xc0]
call fcn.14001268c
nop
lea rcx, [rsp + 0x30]
call sub.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef
mov r9, rbx
mov edx, 0x1102
mov r8d, 2
mov rcx, qword [r14 + 0x100]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [rsp + 0x58], r13d
lea r9, [rsp + 0x58]
lea r8, [rbp + 0x920]
lea rbx, [0x140022750]
mov rdx, rbx
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueW]
test eax, eax
jne 0x140013b21
lea r8, [rbp + 0x920]
lea rdx, str.TypeLib_s
lea rcx, [rbp + 0x100]
call qword [sym.imp.USER32.dll_wsprintfW]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, r12d
xor r8d, r8d
lea rdx, [rbp + 0x100]
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140013b21
mov qword [rbp - 0x70], 0xffffffffffff0000
mov word [rbp + 0x100], si
mov dword [rsp + 0x58], r13d
lea r9, [rsp + 0x58]
lea r8, [rbp + 0x100]
mov rdx, rbx
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegQueryValueW]
lea r9, [rbp + 0x100]
mov r8, rbx
lea rdx, str._s___s
lea rcx, [rbp + 0x510]
call qword [sym.imp.USER32.dll_wsprintfW]
lea rax, [rbp + 0x510]
mov qword [rbp - 0x48], rax
mov ecx, 0x28
call fcn.140017718
mov rbx, rax
mov qword [rbp - 0x80], rax
mov r12d, 0x40000
mov r15d, 0x80000
test rax, rax
je 0x140013a82
lea rdx, [rbp + 0x100]
lea rcx, [rsp + 0x50]
call sub.MFC42u.dll_CDaoException::CDaoException
nop
or edi, r12d
mov dword [rsp + 0x44], edi
lea rdx, str.TypeLib
lea rcx, [rsp + 0x30]
call sub.MFC42u.dll_CCtrlView::CCtrlView
nop
or edi, r15d
mov dword [rsp + 0x44], edi
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.14001236c
mov rsi, rax
mov qword [rbp - 0x30], rsi
test r15d, edi
je 0x140013a9a
btr edi, 0x13
lea rcx, [rsp + 0x30]
call sub.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef
nop
test r12d, edi
je 0x140013aa9
lea rcx, [rsp + 0x50]
call sub.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef
lea r9, [rbp - 0x70]
xor r8d, r8d
mov edx, CAsyncSocket::OnClose
mov rcx, qword [r14 + 0x100]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rbx, rax
lea rdx, [rbp + 0x920]
lea rcx, [rsp + 0x30]
call sub.MFC42u.dll_CDaoException::CDaoException
nop
mov r9, rbx
mov r8, qword [rsp + 0x38]
lea rdx, [rsp + 0x30]
lea rcx, [r14 + 0xc0]
call fcn.14001268c
nop
lea rcx, [rsp + 0x30]
call sub.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef
mov r9, rbx
mov edx, 0x1102
mov r8d, 2
mov rcx, qword [r14 + 0x100]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov r9, qword [rsp + 0x68]
xor r8d, r8d
mov edx, CWnd::OnCancelMode
mov rcx, qword [r14 + 0x100]
call qword [sym.imp.USER32.dll_SendMessageW]
jmp 0x1400142c0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r12d, 0x20019
mov r9d, r12d
xor r8d, r8d
lea rdx, str.Interface
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400142c0
mov r13d, COleControlSite::XOleClientSite::AddRef
mov dword [rsp + 0x40], r13d
mov word [rbp + 0x100], si
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x100]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea r9, [rbp + 0x100]
lea r8, str.Interface
lea rdx, str._s___s
lea rcx, [rbp + 0x510]
call qword [sym.imp.USER32.dll_wsprintfW]
lea rax, [rbp + 0x510]
mov qword [rbp - 0x48], rax
mov ecx, 0x28
call fcn.140017718
mov rbx, rax
mov qword [rsp + 0x68], rax
test rax, rax
je 0x140013c3e
lea rdx, [rbp + 0x100]
lea rcx, [rsp + 0x50]
call sub.MFC42u.dll_CDaoException::CDaoException
nop
mov dword [rsp + 0x44], 0x40
lea rdx, str.Interface
lea rcx, [rsp + 0x30]
call sub.MFC42u.dll_CDaoException::CDaoException
nop
mov edi, 0xc0
mov dword [rsp + 0x44], edi
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.14001236c
jmp 0x140013c41
mov rax, rsi
mov qword [rbp - 0x30], rax
test dil, dil
jns 0x140013c59
btr edi, 7
lea rcx, [rsp + 0x30]
call sub.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef
nop
test dil, 0x40
je 0x140013c6c
and edi, 0xffffffbf
lea rcx, [rsp + 0x50]
call sub.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef
lea r9, [rbp - 0x70]
xor r8d, r8d
mov edx, CAsyncSocket::OnClose
mov rcx, qword [r14 + 0x100]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rbx, rax
mov qword [rsp + 0x70], rax
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea r8, [rbp]
lea rdx, str.Interface_s
lea rcx, [rbp + 0x100]
call qword [sym.imp.USER32.dll_wsprintfW]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r9d, r12d
xor r8d, r8d
lea rdx, [rbp + 0x100]
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400142c0
lea rdx, [rbp]
lea rcx, [rsp + 0x30]
call sub.MFC42u.dll_CDaoException::CDaoException
nop
lea rcx, [r14 + 0xc0]
mov r9, rbx
mov r8, qword [rsp + 0x48]
lea rdx, [rsp + 0x30]
call fcn.14001268c
nop
lea rcx, [rsp + 0x30]
call sub.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef
mov r9, rbx
mov edx, 0x1102
mov r8d, 2
mov rcx, qword [r14 + 0x100]
call qword [sym.imp.USER32.dll_SendMessageW]
mov dword [rsp + 0x40], r13d
lea r9, [rsp + 0x40]
lea r8, [rbp + 0x100]
lea rdx, str.BaseInterface
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueW]
test eax, eax
jne 0x140013dfc
cmp word [rbp + 0x100], si
je 0x140013dfc
lea rdx, str.Interface_
lea rcx, [rbp - 0x80]
call sub.MFC42u.dll_CCtrlView::CCtrlView
nop
lea r8, [rbp + 0x100]
mov rdx, rax
lea rcx, [rsp + 0x68]
call sub.MFC42u.dll_AfxThrowOleException
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x20], rcx
mov r9d, r12d
xor r8d, r8d
mov rdx, qword [rax]
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, eax
lea rcx, [rsp + 0x68]
call sub.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef
nop
lea rcx, [rbp - 0x80]
call sub.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef
test ebx, ebx
jne 0x140013dfc
lea rdx, [rbp + 0x100]
lea rcx, [rsp + 0x30]
call sub.MFC42u.dll_CDaoException::CDaoException
nop
mov r9, qword [rsp + 0x70]
mov r8, qword [rsp + 0x50]
lea rdx, [rsp + 0x30]
lea rcx, [r14 + 0xc0]
call fcn.14001268c
nop
lea rcx, [rsp + 0x30]
call sub.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [rsp + 0x40], r13d
lea r9, [rsp + 0x40]
lea r8, [rbp + 0x100]
lea rdx, str.ProxyStubClsid32
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueW]
test eax, eax
je 0x140013e49
lea r9, [rsp + 0x40]
lea r8, [rbp + 0x100]
lea rdx, str.ProxyStubClsid
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueW]
test eax, eax
jne 0x1400140dd
mov dword [rsp + 0x40], r13d
mov word [rbp + 0x100], si
lea r9, [rsp + 0x40]
lea r8, [rbp + 0x100]
lea rbx, str.CLSID
mov rdx, rbx
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegQueryValueW]
lea r9, [rbp + 0x100]
mov r8, rbx
lea rdx, str._s___s
lea rcx, [rbp + 0x510]
call qword [sym.imp.USER32.dll_wsprintfW]
lea rax, [rbp + 0x510]
mov qword [rbp - 0x48], rax
mov ecx, 0x28
call fcn.140017718
mov qword [rsp + 0x68], rax
test rax, rax
je 0x140013ef7
lea rdx, [rbp + 0x100]
lea rcx, [rsp + 0x50]
call sub.MFC42u.dll_CDaoException::CDaoException
nop
bts edi, 8
mov dword [rsp + 0x44], edi
mov rdx, rbx
lea rcx, [rsp + 0x30]
call sub.MFC42u.dll_CDaoException::CDaoException
nop
bts edi, 9
mov dword [rsp + 0x44], edi
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x68]
call fcn.14001236c
jmp 0x140013efa
mov rax, rsi
mov qword [rbp - 0x30], rax
bt edi, 9
jae 0x140013f13
btr edi, 9
lea rcx, [rsp + 0x30]
call sub.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef
nop
bt edi, 8
jae 0x140013f27
btr edi, 8
lea rcx, [rsp + 0x50]
call sub.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef
lea r9, [rbp - 0x70]
xor r8d, r8d
mov edx, CAsyncSocket::OnClose
mov rcx, qword [r14 + 0x100]
call qword [sym.imp.USER32.dll_SendMessageW]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, r12d
xor r8d, r8d
mov rdx, rbx
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400140bd
mov dword [rsp + 0x40], r13d
lea r9, [rsp + 0x40]
lea r8, [rbp + 0x100]
lea rdx, str.ProxyStubClsid32
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueW]
test eax, eax
jne 0x140014005
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov r9d, r12d
xor r8d, r8d
lea rdx, [rbp + 0x100]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140013ff3
lea rdx, [rbp + 0x100]
lea rcx, [rsp + 0x30]
call sub.MFC42u.dll_CDaoException::CDaoException
nop
mov rbx, qword [rsp + 0x38]
mov r9, rbx
mov r8, qword [rsp + 0x50]
lea rdx, [rsp + 0x30]
lea rcx, [r14 + 0xc0]
call fcn.14001268c
nop
lea rcx, [rsp + 0x30]
call sub.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef
jmp 0x140013ff8
mov rbx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x14001400a
mov rbx, qword [rsp + 0x38]
mov dword [rsp + 0x40], r13d
lea r9, [rsp + 0x40]
lea r8, [rbp + 0x510]
lea rdx, str.ProxyStubClsid
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueW]
test eax, eax
jne 0x1400140b0
lea rdx, [rbp + 0x100]
lea rcx, [rbp + 0x510]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x1400140b0
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov r9d, r12d
xor r8d, r8d
lea rdx, [rbp + 0x510]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400140a5
lea rdx, [rbp + 0x510]
lea rcx, [rsp + 0x30]
call sub.MFC42u.dll_CDaoException::CDaoException
nop
mov r9, rbx
mov r8, qword [rsp + 0x50]
lea rdx, [rsp + 0x30]
lea rcx, [r14 + 0xc0]
call fcn.14001268c
nop
lea rcx, [rsp + 0x30]
call sub.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1400140c2
mov rbx, qword [rsp + 0x38]
mov r9, rbx
mov edx, 0x1102
mov r8d, 2
mov rcx, qword [r14 + 0x100]
call qword [sym.imp.USER32.dll_SendMessageW]
mov dword [rsp + 0x40], 0x80
lea r9, [rsp + 0x40]
lea r8, [rbp + 0x80]
lea rbx, [0x140022750]
mov rdx, rbx
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueW]
test eax, eax
jne 0x1400142b5
mov dword [rsp + 0x40], r13d
mov word [rbp + 0x100], si
lea r9, [rsp + 0x40]
lea r8, [rbp + 0x100]
mov rdx, rbx
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegQueryValueW]
lea r9, [rbp + 0x100]
mov r8, rbx
lea rdx, str._s___s
lea rcx, [rbp + 0x510]
call qword [sym.imp.USER32.dll_wsprintfW]
lea rax, [rbp + 0x510]
mov qword [rbp - 0x48], rax
mov ecx, 0x28
call fcn.140017718
mov r13, rax
mov qword [rsp + 0x68], rax
test rax, rax
je 0x1400141b6
lea rdx, [rbp + 0x100]
lea rcx, [rsp + 0x50]
call sub.MFC42u.dll_CDaoException::CDaoException
nop
bts edi, 0xa
mov dword [rsp + 0x44], edi
mov rdx, rbx
lea rcx, [rsp + 0x30]
call sub.MFC42u.dll_CDaoException::CDaoException
nop
bts edi, 0xb
mov dword [rsp + 0x44], edi
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x30]
mov rcx, r13
call fcn.14001236c
jmp 0x1400141b9
mov rax, rsi
mov qword [rbp - 0x30], rax
bt edi, 0xb
jae 0x1400141d2
btr edi, 0xb
lea rcx, [rsp + 0x30]
call sub.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef
nop
bt edi, 0xa
jae 0x1400141e2
lea rcx, [rsp + 0x50]
call sub.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef
lea r9, [rbp - 0x70]
xor r8d, r8d
mov edx, CAsyncSocket::OnClose
mov rcx, qword [r14 + 0x100]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rdi, rax
lea rdx, str.TypeLib_
lea rcx, [rbp - 0x80]
call sub.MFC42u.dll_CCtrlView::CCtrlView
nop
lea r8, [rbp + 0x80]
mov rdx, rax
lea rcx, [rsp + 0x68]
call sub.MFC42u.dll_AfxThrowOleException
lea rcx, [rsp + 0x70]
mov qword [rsp + 0x20], rcx
mov r9d, r12d
xor r8d, r8d
mov rdx, qword [rax]
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, eax
lea rcx, [rsp + 0x68]
call sub.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef
nop
lea rcx, [rbp - 0x80]
call sub.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef
test ebx, ebx
jne 0x14001429a
lea rdx, [rbp + 0x80]
lea rcx, [rsp + 0x30]
call sub.MFC42u.dll_CDaoException::CDaoException
nop
mov r9, rdi
mov r8, qword [rsp + 0x70]
lea rdx, [rsp + 0x30]
lea rcx, [r14 + 0xc0]
call fcn.14001268c
nop
lea rcx, [rsp + 0x30]
call sub.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov r9, rdi
mov r8d, 2
mov edx, 0x1102
mov rcx, qword [r14 + 0x100]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor r9d, r9d
lea r8d, [r9 + 1]
lea edx, [r9 + 0xb]
mov rcx, qword [r14 + 0x100]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, r14
call sub.MFC42u.dll_CDC::Escape
mov rcx, qword [rbp + 0x1340]
xor rcx, rsp
call fcn.140019330
lea r11, [rsp + 0x1450]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret