Function at 0x14005ed58
Capabilities:
Check mutex on windows
Get common file path
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x938]
sub rsp, 0xa10
mov rax, qword [0x1400a0018]
xor rax, rsp
mov qword [rbp + 0x908], rax
mov rdi, rcx
xor r12d, r12d
mov dword [rbp - 0x78], r12d
call qword [sym.imp.mfc140u.dll_AfxFieldText]
mov rcx, qword [rax + 8]
call qword [sym.imp.mfc140u.dll_Ordinal_2514]
nop
xor r9d, r9d
xor r8d, r8d
lea esi, [r12 + 1]
mov edx, esi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_HeapSetInformation]
mov rcx, qword [0x1400c4970]
lea r14d, [r12 + 0x5c]
test rcx, rcx
jne 0x14005ee07
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14005ee2c
lea rdx, str.SetDefaultDllDirectories
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov qword [0x1400c4970], rax
jmp 0x14005ee10
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov rbx, rax
test rbx, rbx
je 0x14005ee2c
xor edx, edx
mov r8d, 0x800
lea rcx, str.User32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
jmp 0x14005ee9f
mov ebx, operator
mov edx, ebx
lea rcx, [rbp + 0x300]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea ecx, [rax - 1]
cmp ecx, 0x103
ja 0x14005ee9c
dec eax
cmp word [rbp + rax*2 + 0x300], r14w
je 0x14005ee72
lea r8, [0x14009619c]
mov edx, ebx
lea rcx, [rbp + 0x300]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
test eax, eax
jne 0x14005eebd
lea r8, str.User32.dll
mov rdx, rbx
lea rcx, [rbp + 0x300]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
test eax, eax
jne 0x14005eebd
lea rcx, [rbp + 0x300]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
jmp 0x14005ee9f
mov rax, r12
test rax, rax
je 0x14005eebd
lea rdx, str.SetProcessRestrictionExemption
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14005eebd
mov ecx, esi
call rax
mov dword [rbp - 0x68], 0x40
lea rax, [rbp - 0x68]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0xb0]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x50]
xor r8d, r8d
lea rdx, str.230_232_786_816
mov rcx, 0xffffffff80000004
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, 5
jne 0x14005ef08
mov dword [rbp - 0x78], 0x27bc
mov dword [0x1400a028c], r12d
lea r8, str.LocalSpyxxStartupSyncMutex
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexA]
mov r15, rax
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x14005ef6e
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, r12d
call fcn.140054748
mov eax, esi
mov rcx, qword [rbp + 0x908]
xor rcx, rsp
call fcn.1400615f0
lea r11, [rsp + 0xa10]
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
call qword [sym.imp.USER32.dll_GetDesktopWindow]
nop
mov rcx, rax
mov edx, 5
jmp 0x14005efa1
mov edx, 0xffffffeb
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowLongPtrW]
mov rcx, rbx
cmp rax, 0x12feeb76
je 0x14005f29e
mov edx, 2
call qword [sym.imp.USER32.dll_GetWindow]
test rax, rax
mov rbx, rax
jne 0x14005ef7f
mov rcx, rdi
call qword [sym.imp.mfc140u.dll_COleDispatchImpl::GetTypeInfoCount]
test eax, eax
je 0x14005ef34
lea rdx, str.SpyxxUI_amd64.dll
lea rcx, [rbp - 0x80]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__1]
nop
lea rcx, [rbp - 0x80]
call fcn.14005eb54
mov r14, rax
lea rcx, [rbp - 0x80]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
test r14, r14
je 0x14005f00e
call qword [sym.imp.mfc140u.dll_AfxFieldText]
mov rbx, qword [rax + 0x18]
call qword [sym.imp.mfc140u.dll_AfxFieldText]
mov qword [rax + 0x18], r14
call qword [sym.imp.mfc140u.dll_AfxFieldText]
mov qword [rax + 0x98], rbx
mov r14d, 0xe
mov edx, r14d
mov rcx, rsi
call qword [sym.imp.mfc140u.dll_AfxCriticalNewHandler]
mov rcx, rax
mov rdx, rsi
call qword [sym.imp.USER32.dll_LoadIconW]
mov qword [rdi + 0x178], rax
lea edx, [r14 - 2]
lea ebx, [rdx - 2]
mov ecx, ebx
call qword [sym.imp.mfc140u.dll_AfxCriticalNewHandler]
mov rcx, rax
mov edx, ebx
call qword [sym.imp.USER32.dll_LoadCursorW]
mov qword [rdi + 0x180], rax
mov edx, r14d
lea ebx, [r14 - 6]
mov ecx, ebx
call qword [sym.imp.mfc140u.dll_AfxCriticalNewHandler]
mov rcx, rax
mov edx, ebx
call qword [sym.imp.USER32.dll_LoadIconW]
mov qword [rdi + 0x188], rax
mov edx, r14d
lea ebx, [r14 - 5]
mov ecx, ebx
call qword [sym.imp.mfc140u.dll_AfxCriticalNewHandler]
mov rcx, rax
mov edx, ebx
call qword [sym.imp.USER32.dll_LoadIconW]
mov qword [rdi + 0x190], rax
xor edx, edx
mov rcx, rdi
call qword [sym.imp.mfc140u.dll_CMFCVisualManagerWindows::IsDefaultWinXPPopupButton]
xor edx, edx
mov r8d, 0x3e8
lea rcx, [rbp + 0x510]
call sub.VCRUNTIME140.dll_memset
mov r8, qword [rdi + 0x90]
mov ebx, 0x1f4
mov edx, ebx
lea rcx, [rbp + 0x510]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
mov edx, ebx
lea rcx, [rbp + 0x510]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsupr_s]
lea rdx, str._LOGEACHMESSAGEONCE
lea rcx, [rbp + 0x510]
call qword [sym.imp.VCRUNTIME140.dll_wcsstr]
mov ecx, dword [0x1400c3210]
test rax, rax
cmovne ecx, esi
mov dword [0x1400c3210], ecx
lea rdx, str._LOGMESSAGESFORALLHWNDS
lea rcx, [rbp + 0x510]
call qword [sym.imp.VCRUNTIME140.dll_wcsstr]
mov ecx, dword [0x1400c3220]
test rax, rax
cmovne ecx, esi
mov dword [0x1400c3220], ecx
lea rdx, str._LOGMESSAGESFORHWND:
lea rcx, [rbp + 0x510]
call qword [sym.imp.VCRUNTIME140.dll_wcsstr]
mov rbx, rax
lea r13d, [r14 + 0x12]
lea r14d, [r13 - 0xc]
test rax, rax
je 0x14005f1a3
mov dword [0x1400c321c], esi
add rbx, 0x28
mov edx, r13d
mov rcx, rbx
call qword [sym.imp.VCRUNTIME140.dll_wcschr]
xorps xmm0, xmm0
xor ecx, ecx
movups xmmword [rbp + 0x60], xmm0
movups xmmword [rbp + 0x70], xmm0
mov qword [rbp + 0x80], rcx
sub rax, rbx
sar rax, 1
mov r9, rax
mov r8, rbx
mov edx, r14d
lea rcx, [rbp + 0x60]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy_s]
lea rcx, [rbp + 0x60]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtoi64]
mov qword [0x1400c2ba8], rax
lea rdx, str._LOGMESSAGESFORPROCESSID:
lea rcx, [rbp + 0x510]
call qword [sym.imp.VCRUNTIME140.dll_wcsstr]
mov rbx, rax
test rax, rax
je 0x14005f21e
mov dword [0x1400c3218], esi
add rbx, 0x32
mov edx, r13d
mov rcx, rbx
call qword [sym.imp.VCRUNTIME140.dll_wcschr]
xorps xmm0, xmm0
xor ecx, ecx
movups xmmword [rbp + 0x88], xmm0
movups xmmword [rbp + 0x98], xmm0
mov qword [rbp + 0xa8], rcx
sub rax, rbx
sar rax, 1
mov r9, rax
mov r8, rbx
mov rdx, r14
lea rcx, [rbp + 0x88]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy_s]
lea rcx, [rbp + 0x88]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtoi]
mov dword [0x1400c1f78], eax
lea rdx, str._CRACKPARAMETERSINLINE
lea rcx, [rbp + 0x510]
call qword [sym.imp.VCRUNTIME140.dll_wcsstr]
mov ecx, dword [0x1400c3224]
test rax, rax
cmovne ecx, esi
mov dword [0x1400c3224], ecx
cmp dword [0x1400c3220], r12d
jne 0x14005f263
cmp dword [0x1400c321c], r12d
jne 0x14005f263
cmp dword [0x1400c3218], r12d
je 0x14005f328
lea rdx, str._DUMPMESSAGELOGTOFILE:
lea rcx, [rbp + 0x510]
call qword [sym.imp.VCRUNTIME140.dll_wcsstr]
mov r14, rax
test rax, rax
je 0x14005f328
mov dword [0x1400c3214], esi
add r14, 0x2c
mov edx, 0x22
cmp word [r14], dx
jne 0x14005f2d3
add r14, 2
jmp 0x14005f2d6
call qword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x14005f2b3
mov edx, esi
mov rcx, rbx
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, rbx
call qword [sym.imp.USER32.dll_SetForegroundWindow]
mov rcx, rbx
call qword [sym.imp.USER32.dll_BringWindowToTop]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
jmp 0x14005ef2b
mov edx, r13d
mov rcx, r14
call qword [sym.imp.VCRUNTIME140.dll_wcschr]
mov rbx, rax
mov r8d, 0x208
xor edx, edx
lea rcx, [rbp + 0xf0]
call sub.VCRUNTIME140.dll_memset
sub rbx, r14
sar rbx, 1
mov r9, rbx
mov r8, r14
mov edx, 0x104
lea rcx, [rbp + 0xf0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy_s]
lea rdx, [rbp + 0xf0]
lea rcx, [0x1400c3228]
call qword [sym.imp.mfc140u.dll_CMFCControlRendererInfo::CMFCControlRendererInfo]
lea r8, [rsp + 0x48]
lea rdx, str.SoftwareMicrosoftSpy11.0
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
mov rcx, qword [rsp + 0x48]
test eax, eax
cmovne rcx, r12
mov qword [rsp + 0x48], rcx
mov dword [rsp + 0x40], 0x5c
test rcx, rcx
je 0x14005f39f
lea rax, [rdi + 0x198]
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x50]
xor r8d, r8d
lea rdx, str.DefaultFont
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [0x1400c3424]
test eax, eax
cmove ecx, esi
mov dword [0x1400c3424], ecx
mov rcx, qword [rsp + 0x48]
mov dword [rbp - 0x80], r12d
mov dword [rsp + 0x40], 0x2c
test rcx, rcx
je 0x14005f411
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x60]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x50]
xor r8d, r8d
lea rdx, str.MainWindowPosition
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14005f40c
mov ecx, dword [rdi + 0x98]
lea eax, [rcx - 1]
test eax, 0xfffffffb
je 0x14005f3f1
mov dword [rbp - 0x58], ecx
jmp 0x14005f402
mov eax, dword [rbp - 0x58]
cmp eax, 2
mov ecx, 9
cmove eax, ecx
mov dword [rbp - 0x58], eax
mov dword [rbp - 0x60], 0x2c
mov dword [rbp - 0x80], esi
mov rcx, qword [rsp + 0x48]
mov r14d, 4
mov dword [rsp + 0x40], r14d
test rcx, rcx
je 0x14005f453
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x50]
xor r8d, r8d
lea rdx, str.MaximizeMDI
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x48]
test eax, eax
je 0x14005f458
mov dword [rsp + 0x58], r12d
mov dword [rsp + 0x40], r14d
test rcx, rcx
je 0x14005f494
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x54]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x50]
xor r8d, r8d
lea rdx, str.AlwaysOnTop
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x48]
test eax, eax
je 0x14005f499
mov dword [rsp + 0x54], r12d
mov dword [rsp + 0x40], r14d
test rcx, rcx
je 0x14005f4d5
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x5c]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x50]
xor r8d, r8d
lea rdx, str.WindowTreeOnStartup
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x48]
test eax, eax
je 0x14005f4da
mov dword [rsp + 0x5c], r12d
mov dword [rsp + 0x40], r14d
test rcx, rcx
je 0x14005f516
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x50]
xor r8d, r8d
lea rdx, str.ProcessTreeOnStartup
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x48]
test eax, eax
je 0x14005f51b
mov dword [rsp + 0x60], r12d
mov dword [rsp + 0x40], r14d
test rcx, rcx
je 0x14005f557
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x64]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x50]
xor r8d, r8d
lea rdx, str.ThreadTreeOnStartup
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x48]
test eax, eax
je 0x14005f55c
mov dword [rsp + 0x64], r12d
mov dword [rsp + 0x40], r14d
test rcx, rcx
je 0x14005f598
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x50]
xor r8d, r8d
lea rdx, str.WindowTreeActive
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x48]
test eax, eax
je 0x14005f59d
mov dword [rsp + 0x68], r12d
mov dword [rsp + 0x40], r14d
test rcx, rcx
je 0x14005f5d9
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x50]
xor r8d, r8d
lea rdx, str.ProcessTreeActive
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x48]
test eax, eax
je 0x14005f5de
mov dword [rsp + 0x70], r12d
mov dword [rsp + 0x40], r14d
test rcx, rcx
je 0x14005f61a
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x50]
xor r8d, r8d
lea rdx, str.ThreadTreeActive
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x48]
test eax, eax
je 0x14005f61f
mov dword [rsp + 0x78], r12d
mov r13d, r12d
mov dword [rsp + 0x40], 0x2c
test rcx, rcx
je 0x14005f66a
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x30]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x50]
xor r8d, r8d
lea rdx, str.WindowTreePosition
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x48]
test eax, eax
jne 0x14005f66a
mov dword [rbp - 0x30], 0x2c
mov r13d, esi
mov dword [rsp + 0x6c], r12d
mov dword [rsp + 0x40], 0x2c
test rcx, rcx
je 0x14005f6b8
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [rbp]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x50]
xor r8d, r8d
lea rdx, str.ProcessTreePosition
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x48]
test eax, eax
jne 0x14005f6b8
mov dword [rbp], 0x2c
mov dword [rsp + 0x6c], esi
mov dword [rsp + 0x74], r12d
mov dword [rsp + 0x40], 0x2c
test rcx, rcx
je 0x14005f706
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x30]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x50]
xor r8d, r8d
lea rdx, str.ThreadTreePosition
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x48]
test eax, eax
jne 0x14005f706
mov dword [rbp + 0x30], 0x2c
mov dword [rsp + 0x74], esi
call fcn.140051f40
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x14005f71b
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp qword [str.IDC_ARROW], r12
je 0x14005f744
lea rbx, str.IDC_ARROW
mov rdx, qword [rbx - 8]
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorW]
mov qword [rbx - 0x10], rax
lea rbx, [rbx + 0x18]
cmp qword [rbx], r12
jne 0x14005f72b
cmp qword [str.IDI_APPLICATION], r12
je 0x14005f76d
lea rbx, str.IDI_APPLICATION
mov rdx, qword [rbx - 8]
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadIconW]
mov qword [rbx - 0x10], rax
lea rbx, [rbx + 0x18]
cmp qword [rbx], r12
jne 0x14005f754
mov ecx, 0x140
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonLinkCtrl::XElementButtonLinkCtrl]
mov qword [rbp - 0x70], rax
mov ebx, 3
test rax, rax
je 0x14005f7ad
lea rcx, str.CMsgView
mov qword [rsp + 0x20], rcx
lea r9, str.CMsgMDIChildWnd
lea r8, str.CMsgDoc
mov edx, ebx
mov rcx, rax
call qword [sym.imp.mfc140u.dll_CMFCVisualManagerOffice2003::CMFCVisualManagerOffice2003]
jmp 0x14005f7b0
mov rax, r12
mov qword [rdi + 0x2b8], rax
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.mfc140u.dll_CMFCRibbonCommandsListBox::AddCommand]
mov ecx, 0x140
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonLinkCtrl::XElementButtonLinkCtrl]
mov qword [rbp - 0x70], rax
lea rcx, str.CSpyTreeView
test rax, rax
je 0x14005f801
mov qword [rsp + 0x20], rcx
lea r9, str.Pl_b_
lea r8, str.8G_t_
mov edx, 6
mov rcx, rax
call qword [sym.imp.mfc140u.dll_CMFCVisualManagerOffice2003::CMFCVisualManagerOffice2003]
jmp 0x14005f804
mov rax, r12
mov qword [rdi + 0x2c0], rax
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.mfc140u.dll_CMFCRibbonCommandsListBox::AddCommand]
mov ecx, 0x140
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonLinkCtrl::XElementButtonLinkCtrl]
mov qword [rbp - 0x70], rax
test rax, rax
je 0x14005f853
lea rcx, str.CSpyTreeView
mov qword [rsp + 0x20], rcx
lea r9, str.CPrcMDIChildWnd
lea r8, str.HG_t_
mov edx, r14d
mov rcx, rax
call qword [sym.imp.mfc140u.dll_CMFCVisualManagerOffice2003::CMFCVisualManagerOffice2003]
jmp 0x14005f856
mov rax, r12
mov qword [rdi + 0x2c8], rax
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.mfc140u.dll_CMFCRibbonCommandsListBox::AddCommand]
mov ecx, 0x140
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonLinkCtrl::XElementButtonLinkCtrl]
mov qword [rbp - 0x70], rax
test rax, rax
je 0x14005f8a7
lea rcx, str.CSpyTreeView
mov qword [rsp + 0x20], rcx
lea r9, str.pl_b_
lea r8, str.CThdTreeDoc
mov edx, 5
mov rcx, rax
call qword [sym.imp.mfc140u.dll_CMFCVisualManagerOffice2003::CMFCVisualManagerOffice2003]
jmp 0x14005f8aa
mov rax, r12
mov qword [rdi + 0x2d0], rax
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.mfc140u.dll_CMFCRibbonCommandsListBox::AddCommand]
mov ecx, 0x4b0
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonLinkCtrl::XElementButtonLinkCtrl]
mov r14, rax
mov qword [rbp - 0x70], rax
test rax, rax
je 0x14005f906
mov rcx, rax
call qword [sym.imp.mfc140u.dll_CKeyFrame::CKeyFrame]
nop
lea rax, vtable.CMainFrame.0
mov qword [r14], rax
lea rcx, [r14 + 0x1e0]
call qword [sym.imp.mfc140u.dll_CStdioFile::CStdioFile]
nop
lea rcx, [r14 + 0x360]
call qword [sym.imp.mfc140u.dll_CSmartDockingGroupGuidesManager::CSmartDockingGroupGuidesManager]
nop
jmp 0x14005f909
mov r14, r12
mov rax, qword [r14]
mov qword [rsp + 0x20], r12
xor r9d, r9d
mov r8d, 0xcf8000
mov edx, esi
mov rcx, r14
call qword [rax + 0x2e0]
test eax, eax
je 0x14005f2c5
mov qword [rdi + 0x40], r14
mov eax, dword [rsp + 0x54]
mov dword [0x1400c17e8], eax
mov eax, dword [rsp + 0x58]
mov dword [0x1400c31f4], eax
mov eax, dword [rsp + 0x5c]
mov dword [0x1400c320c], eax
mov ecx, dword [rsp + 0x60]
mov dword [0x1400c3208], ecx
mov edx, dword [rsp + 0x64]
mov dword [0x1400c3204], edx
cmp dword [0x1400c3220], r12d
jne 0x14005fac2
cmp dword [0x1400c321c], r12d
jne 0x14005fac2
cmp dword [0x1400c3218], r12d
jne 0x14005fac2
mov rbx, r12
test eax, eax
jne 0x14005f99d
test ecx, ecx
jne 0x14005f9f2
test edx, edx
jne 0x14005fa4d
mov rcx, rdi
call fcn.14006030c
mov rcx, qword [0x1400c3270]
mov rax, qword [rcx]
call qword [rax + 0x2f0]
mov r12, rax
test r13d, r13d
je 0x14005f9de
mov ecx, dword [rbp - 0x28]
cmp dword [0x1400c31f4], ebx
mov eax, 3
cmovne ecx, eax
mov dword [rbp - 0x28], ecx
lea rdx, [rbp - 0x30]
mov rcx, r12
call qword [sym.imp.mfc140u.dll_CMFCVisualManagerWindows::SetOfficeStyleMenus]
cmp dword [rsp + 0x68], ebx
cmovne rbx, r12
xor r12d, r12d
cmp dword [0x1400c3208], r12d
je 0x14005fa44
mov rcx, rdi
call fcn.1400603e0
mov rcx, qword [0x1400c3270]
mov rax, qword [rcx]
call qword [rax + 0x2f0]
mov r12, rax
xor r13d, r13d
cmp dword [rsp + 0x6c], r13d
je 0x14005fa38
mov ecx, dword [rbp + 8]
cmp dword [0x1400c31f4], r13d
lea eax, [r13 + 3]
cmovne ecx, eax
mov dword [rbp + 8], ecx
lea rdx, [rbp]
mov rcx, r12
call qword [sym.imp.mfc140u.dll_CMFCVisualManagerWindows::SetOfficeStyleMenus]
cmp dword [rsp + 0x70], r13d
cmovne rbx, r12
xor r12d, r12d
cmp dword [0x1400c3204], r12d
je 0x14005fa9f
mov rcx, rdi
call fcn.1400604d0
mov rcx, qword [0x1400c3270]
mov rax, qword [rcx]
call qword [rax + 0x2f0]
mov r12, rax
xor r13d, r13d
cmp dword [rsp + 0x74], r13d
je 0x14005fa93
mov ecx, dword [rbp + 0x38]
cmp dword [0x1400c31f4], r13d
lea eax, [r13 + 3]
cmovne ecx, eax
mov dword [rbp + 0x38], ecx
lea rdx, [rbp + 0x30]
mov rcx, r12
call qword [sym.imp.mfc140u.dll_CMFCVisualManagerWindows::SetOfficeStyleMenus]
cmp dword [rsp + 0x78], r13d
cmovne rbx, r12
xor r12d, r12d
test rbx, rbx
je 0x14005fabd
xor r9d, r9d
mov r8, qword [rbx + 0x40]
mov edx, reloc.mfc140u.dll_CJumpList::CJumpList
mov rcx, qword [r14 + 0x1d8]
call qword [sym.imp.USER32.dll_SendMessageW]
mov ebx, 3
cmp dword [rbp - 0x80], r12d
je 0x14005fad8
lea rdx, [rbp - 0x60]
mov rcx, qword [r14 + 0x40]
call qword [sym.imp.USER32.dll_SetWindowPlacement]
jmp 0x14005fae7
mov edx, dword [rdi + 0x98]
mov rcx, r14
call qword [sym.imp.mfc140u.dll_COleControlSite::SetPropertyV]
mov rcx, qword [r14 + 0x40]
call qword [sym.imp.USER32.dll_UpdateWindow]
mov rcx, qword [rdi + 0x40]
mov dword [rsp + 0x30], ebx
xor r9d, r9d
xor r8d, r8d
mov rcx, qword [rcx + 0x40]
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], r12d
cmp dword [0x1400c17e8], r12d
je 0x14005fb1c
or rdx, 0xffffffffffffffff
jmp 0x14005fb23
mov rdx, 0xfffffffffffffffe
call qword [sym.imp.USER32.dll_SetWindowPos]
mov edx, 0x7f89
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorW]
mov qword [0x1400bdb78], rax
mov ecx, 0x1a
call qword [sym.imp.USER32.dll_GetSysColor]
mov dword [0x1400bdb74], eax
call fcn.140035184
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rbp - 0x78]
test eax, eax
je 0x14005fb7d
or r8d, 0xffffffff
mov edx, 0x2030
mov ecx, eax
call qword [sym.imp.mfc140u.dll_AfxInitLocalData]
mov ebx, 0x1388
cmp dword [0x1400c3220], r12d
je 0x14005fbba
mov edx, ebx
mov rcx, qword [0x1400bdb98]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x14005fbba
mov qword [0x1400c4938], r12
mov dword [0x1400b4304], r12d
mov dword [0x1400c31f0], esi
mov rcx, rdi
call fcn.1400601b8
cmp dword [0x1400c321c], r12d
je 0x14005fbfb
mov rcx, qword [0x1400c2ba8]
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x14005fbfb
mov edx, ebx
mov rcx, qword [0x1400bdb98]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x14005ef37
mov rax, qword [0x1400c2ba8]
mov dword [0x1400b4304], r12d
jmp 0x14005fc3d
cmp dword [0x1400c3218], r12d
je 0x14005ef37
cmp dword [0x1400c1f78], r12d
je 0x14005ef37
mov edx, ebx
mov rcx, qword [0x1400bdb98]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x14005ef37
movsxd rax, dword [0x1400c1f78]
mov dword [0x1400b4304], 2
mov qword [0x1400c4938], rax
mov dword [0x1400c31f0], esi
mov rcx, rdi
call fcn.1400601b8
jmp 0x14005ef37