Function at 0x14000bfb0
Capabilities:
Terminate thread

Disassembly:
push rdi
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x48], rbx
mov rdi, rcx
lea rax, vtable.CDisplayDlg.0
mov qword [rcx], rax
call qword [sym.imp.MFC42u.dll_Ordinal_1463]
nop dword [rax + rax]
nop
or edx, 0xffffffff
mov rcx, qword [rdi + reloc.MFC42u.dll_CRuntimeClassconstCSyncObject::classCSyncObject]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
nop dword [rax + rax]
nop
mov rcx, qword [rdi + reloc.MFC42u.dll_CRuntimeClassconstCSyncObject::classCSyncObject]
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
nop dword [rax + rax]
nop
mov rcx, qword [rdi + 0x108]
test rcx, rcx
je 0x14000c02d
xor r9d, r9d
xor r8d, r8d
mov edx, 0x1009
call qword [sym.imp.USER32.dll_SendMessageW]
nop dword [rax + rax]
nop
mov dword [rsp + 0x40], 0x103
mov rcx, qword [rdi + 0x300]
call qword [sym.imp.KERNEL32.dll_SetEvent]
nop dword [rax + rax]
nop
xor ebx, ebx
cmp dword [rsp + 0x40], 0x103
jne 0x14000c0c2
lea rdx, [rsp + 0x40]
mov rcx, qword [rdi + 0x2e8]
call qword [sym.imp.KERNEL32.dll_GetExitCodeThread]
nop dword [rax + rax]
nop
test eax, eax
je 0x14000c0a2
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
nop dword [rax + rax]
nop
mov rcx, qword [rdi + 0x300]
call qword [sym.imp.KERNEL32.dll_SetEvent]
nop dword [rax + rax]
nop
inc ebx
cmp ebx, 0xc8
jl 0x14000c04b
cmp dword [rsp + 0x40], 0x103
jne 0x14000c0c2
xor edx, edx
mov rcx, qword [rdi + 0x2e8]
call qword [sym.imp.KERNEL32.dll_TerminateThread]
nop dword [rax + rax]
nop
or qword [rdi + 0x2e8], 0xffffffffffffffff
mov rcx, qword [rdi + 0x2f0]
test rcx, rcx
je 0x14000c0e3
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
nop
mov rcx, qword [rdi + 0x2f8]
test rcx, rcx
je 0x14000c0fc
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
nop
mov rcx, qword [rdi + 0x300]
test rcx, rcx
je 0x14000c115
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
nop
mov rcx, qword [rdi + reloc.MFC42u.dll_CRuntimeClassconstCSyncObject::classCSyncObject]
test rcx, rcx
je 0x14000c12e
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
nop
mov rcx, qword [rdi + 0x790]
test rcx, rcx
je 0x14000c147
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
nop
lea rcx, [rdi + 0x10850]
call fcn.14004da08
nop
lea rbx, [rdi + 0x10828]
mov rcx, rbx
call fcn.140011d0c
nop
mov rcx, qword [rbx]
call qword [sym.imp.MFC42u.dll_CMonthCalCtrl::SetFirstDayOfWeek]
nop dword [rax + rax]
nop
and qword [rbx], 0
lea rbx, [rdi + 0x10800]
mov rcx, rbx
call fcn.140011d0c
nop
mov rcx, qword [rbx]
call qword [sym.imp.MFC42u.dll_CMonthCalCtrl::SetFirstDayOfWeek]
nop dword [rax + rax]
nop
and qword [rbx], 0
lea rcx, [rdi + 0x107c8]
call fcn.14001210c
nop
lea rcx, [rdi + 0x768]
call qword [sym.imp.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef]
nop dword [rax + rax]
nop
lea rcx, [rdi + 0x760]
call qword [sym.imp.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef]
nop dword [rax + rax]
nop
lea rcx, [rdi + 0x738]
call qword [sym.imp.MFC42u.dll_COleControl::XOleControl::AddRef]
nop dword [rax + rax]
nop
lea rcx, [rdi + 0x510]
call fcn.1400504fc
nop
lea rcx, [rdi + 0x2b0]
call qword [sym.imp.MFC42u.dll_CDaoRecordset::AddNew]
nop dword [rax + rax]
nop
lea rcx, [rdi + 0x160]
call qword [sym.imp.MFC42u.dll_CDocObjectServer::XOleDocumentView::AddRef]
nop dword [rax + rax]
nop
lea rcx, [rdi + 0x148]
call qword [sym.imp.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef]
nop dword [rax + rax]
nop
lea rcx, [rdi + 0xc8]
call qword [sym.imp.MFC42u.dll_CMapStringToPtr::operator__]
nop dword [rax + rax]
nop
mov rcx, rdi
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
jmp qword [sym.imp.MFC42u.dll_COleVariant::operator_1]