Function at 0x140272660
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x208
mov qword [rsp + 0x1d8], 0xfffffffffffffffe
mov dword [rsp + 0x88], 0
mov dword [rsp + 0x8c], 0
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x230]
mov rax, qword [rax + 8]
mov qword [rsp + 0x90], rax
mov eax, dword [rsp + 0x90]
mov dword [rsp + 0x40], eax
mov ecx, dword [rsp + 0x80]
mov eax, dword [rsp + 0x90]
add eax, ecx
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x94]
mov dword [rsp + 0x44], eax
mov ecx, dword [rsp + 0x84]
mov eax, dword [rsp + 0x94]
add eax, ecx
mov dword [rsp + 0x4c], eax
mov dword [rsp + 0x64], 0
mov rax, qword [rsp + 0x220]
mov rax, qword [rax + 0x448]
sub rax, 1
mov dword [rsp + 0x64], eax
jmp 0x140272728
mov eax, dword [rsp + 0x64]
sub eax, 1
mov dword [rsp + 0x64], eax
cmp dword [rsp + 0x64], 0
jl 0x1402728f6
movsxd rax, dword [rsp + 0x64]
mov qword [rsp + 0x100], rax
mov rax, qword [rsp + 0x220]
add rax, reloc.mfc90u.dll_AfxCriticalNewHandler
mov qword [rsp + 0xf8], rax
cmp qword [rsp + 0x100], 0
jl 0x140272777
mov rax, qword [rsp + 0xf8]
mov rax, qword [rax + 0x10]
cmp qword [rsp + 0x100], rax
jl 0x14027277c
call sub.mfc90u.dll_AfxOleUnregisterServerClass
mov rcx, qword [rsp + 0xf8]
mov rcx, qword [rcx + 8]
mov rax, qword [rsp + 0x100]
lea rax, [rcx + rax*8]
mov qword [rsp + 0xf0], rax
mov rax, qword [rsp + 0xf0]
mov rax, qword [rax]
cmp dword [rax + 0x24], 0
jne 0x1402728f1
movsxd rax, dword [rsp + 0x64]
mov qword [rsp + 0x118], rax
mov rax, qword [rsp + 0x220]
add rax, reloc.mfc90u.dll_AfxCriticalNewHandler
mov qword [rsp + 0x110], rax
cmp qword [rsp + 0x118], 0
jl 0x1402727f5
mov rax, qword [rsp + 0x110]
mov rax, qword [rax + 0x10]
cmp qword [rsp + 0x118], rax
jl 0x1402727fa
call sub.mfc90u.dll_AfxOleUnregisterServerClass
mov rcx, qword [rsp + 0x110]
mov rcx, qword [rcx + 8]
mov rax, qword [rsp + 0x118]
lea rax, [rcx + rax*8]
mov qword [rsp + 0x108], rax
mov rax, qword [rsp + 0x108]
mov rax, qword [rax]
cmp dword [rax + 0x10], 0
jne 0x1402728f1
movsxd rax, dword [rsp + 0x64]
mov qword [rsp + 0x130], rax
mov rax, qword [rsp + 0x220]
add rax, reloc.mfc90u.dll_AfxCriticalNewHandler
mov qword [rsp + 0x128], rax
cmp qword [rsp + 0x130], 0
jl 0x140272873
mov rax, qword [rsp + 0x128]
mov rax, qword [rax + 0x10]
cmp qword [rsp + 0x130], rax
jl 0x140272878
call sub.mfc90u.dll_AfxOleUnregisterServerClass
mov rcx, qword [rsp + 0x128]
mov rcx, qword [rcx + 8]
mov rax, qword [rsp + 0x130]
lea rax, [rcx + rax*8]
mov qword [rsp + 0x120], rax
mov rax, qword [rsp + 0x120]
mov rax, qword [rax]
mov qword [rsp + 0x1e0], rax
mov rax, qword [rsp + 0x1e0]
mov rax, qword [rax]
lea rdx, [rsp + 0x98]
mov rcx, qword [rsp + 0x1e0]
call qword [rax + 0x28]
lea rdi, [rsp + 0x1c8]
mov rsi, rax
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
lea rdi, [rsp + 0x40]
lea rsi, [rsp + 0x1c8]
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
jmp 0x1402728f6
jmp 0x14027271d
mov dword [rsp + 0xb0], 0
mov dword [rsp + 0xb4], 0
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0x230]
mov rax, qword [rax]
mov qword [rsp + 0xb8], rax
mov eax, dword [rsp + 0xb8]
mov dword [rsp + 0x30], eax
mov ecx, dword [rsp + 0xa8]
mov eax, dword [rsp + 0xb8]
add eax, ecx
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0xbc]
mov dword [rsp + 0x34], eax
mov ecx, dword [rsp + 0xac]
mov eax, dword [rsp + 0xbc]
add eax, ecx
mov dword [rsp + 0x3c], eax
mov rax, qword [rsp + 0x220]
mov rax, qword [rax + 0x448]
sub rax, 1
mov dword [rsp + 0x64], eax
jmp 0x140272991
mov eax, dword [rsp + 0x64]
sub eax, 1
mov dword [rsp + 0x64], eax
cmp dword [rsp + 0x64], 0
jl 0x140272b5f
movsxd rax, dword [rsp + 0x64]
mov qword [rsp + 0x148], rax
mov rax, qword [rsp + 0x220]
add rax, reloc.mfc90u.dll_AfxCriticalNewHandler
mov qword [rsp + 0x140], rax
cmp qword [rsp + 0x148], 0
jl 0x1402729e0
mov rax, qword [rsp + 0x140]
mov rax, qword [rax + 0x10]
cmp qword [rsp + 0x148], rax
jl 0x1402729e5
call sub.mfc90u.dll_AfxOleUnregisterServerClass
mov rcx, qword [rsp + 0x140]
mov rcx, qword [rcx + 8]
mov rax, qword [rsp + 0x148]
lea rax, [rcx + rax*8]
mov qword [rsp + 0x138], rax
mov rax, qword [rsp + 0x138]
mov rax, qword [rax]
cmp dword [rax + 0x24], 0
je 0x140272b5a
movsxd rax, dword [rsp + 0x64]
mov qword [rsp + 0x160], rax
mov rax, qword [rsp + 0x220]
add rax, reloc.mfc90u.dll_AfxCriticalNewHandler
mov qword [rsp + 0x158], rax
cmp qword [rsp + 0x160], 0
jl 0x140272a5e
mov rax, qword [rsp + 0x158]
mov rax, qword [rax + 0x10]
cmp qword [rsp + 0x160], rax
jl 0x140272a63
call sub.mfc90u.dll_AfxOleUnregisterServerClass
mov rcx, qword [rsp + 0x158]
mov rcx, qword [rcx + 8]
mov rax, qword [rsp + 0x160]
lea rax, [rcx + rax*8]
mov qword [rsp + reloc.mfc90u.dll_CChevronOwnerDrawMenu::CChevronOwnerDrawMenu], rax
mov rax, qword [rsp + reloc.mfc90u.dll_CChevronOwnerDrawMenu::CChevronOwnerDrawMenu]
mov rax, qword [rax]
cmp dword [rax + 0x10], 0
jne 0x140272b5a
movsxd rax, dword [rsp + 0x64]
mov qword [rsp + reloc.mfc90u.dll_CDialog::CDialog], rax
mov rax, qword [rsp + 0x220]
add rax, reloc.mfc90u.dll_AfxCriticalNewHandler
mov qword [rsp + 0x170], rax
cmp qword [rsp + reloc.mfc90u.dll_CDialog::CDialog], 0
jl 0x140272adc
mov rax, qword [rsp + 0x170]
mov rax, qword [rax + 0x10]
cmp qword [rsp + reloc.mfc90u.dll_CDialog::CDialog], rax
jl 0x140272ae1
call sub.mfc90u.dll_AfxOleUnregisterServerClass
mov rcx, qword [rsp + 0x170]
mov rcx, qword [rcx + 8]
mov rax, qword [rsp + reloc.mfc90u.dll_CDialog::CDialog]
lea rax, [rcx + rax*8]
mov qword [rsp + 0x168], rax
mov rax, qword [rsp + 0x168]
mov rax, qword [rax]
mov qword [rsp + 0x1e8], rax
mov rax, qword [rsp + 0x1e8]
mov rax, qword [rax]
lea rdx, [rsp + 0xc0]
mov rcx, qword [rsp + 0x1e8]
call qword [rax + 0x28]
lea rdi, [rsp + 0x1b8]
mov rsi, rax
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
lea rdi, [rsp + 0x30]
lea rsi, [rsp + 0x1b8]
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
jmp 0x140272b5f
jmp 0x140272986
lea rdi, [rsp + 0xe0]
lea rsi, [rsp + 0x40]
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
lea rdi, [rsp + 0xd0]
mov rsi, qword [rsp + 0x230]
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
call fcn.1400012b8
mov qword [rsp + 0x1f0], rax
mov rdi, qword [rsp + 0x1f0]
mov rdi, qword [rdi]
lea rax, [rsp + 0xe0]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0xd0]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x220]
mov r9d, dword [rax + 0x3c8]
mov r8, qword [rsp + 0x220]
mov rdx, qword [rsp + 0x228]
mov rcx, qword [rsp + 0x1f0]
call qword [rdi + reloc.OLEAUT32.dll_VariantTimeToSystemTime]
mov dword [rsp + 0x70], eax
mov dword [rsp + 0x64], 0
jmp 0x140272c02
mov eax, dword [rsp + 0x64]
add eax, 1
mov dword [rsp + 0x64], eax
mov rax, qword [rsp + 0x220]
mov rax, qword [rax + 0x448]
mov qword [rsp + 0x190], rax
movsxd rax, dword [rsp + 0x64]
cmp rax, qword [rsp + 0x190]
jge 0x140272cb6
movsxd rax, dword [rsp + 0x64]
mov qword [rsp + reloc.mfc90u.dll_CGopherLocator::CGopherLocator], rax
mov rax, qword [rsp + 0x220]
add rax, reloc.mfc90u.dll_AfxCriticalNewHandler
mov qword [rsp + 0x1a0], rax
cmp qword [rsp + reloc.mfc90u.dll_CGopherLocator::CGopherLocator], 0
jl 0x140272c70
mov rax, qword [rsp + 0x1a0]
mov rax, qword [rax + 0x10]
cmp qword [rsp + reloc.mfc90u.dll_CGopherLocator::CGopherLocator], rax
jl 0x140272c75
call sub.mfc90u.dll_AfxOleUnregisterServerClass
mov rcx, qword [rsp + 0x1a0]
mov rcx, qword [rcx + 8]
mov rax, qword [rsp + reloc.mfc90u.dll_CGopherLocator::CGopherLocator]
lea rax, [rcx + rax*8]
mov qword [rsp + 0x198], rax
mov rax, qword [rsp + 0x198]
mov rax, qword [rax]
mov qword [rsp + 0x78], rax
mov rcx, qword [rsp + 0x78]
mov eax, dword [rsp + 0x70]
mov dword [rcx + 0x1c], eax
jmp 0x140272bf7
mov edx, 1
mov rcx, qword [rsp + 0x228]
call sub.mfc90u.dll_CDocument::ReleaseFile
mov dword [rsp + 0x60], eax
mov rax, qword [rsp + 0x228]
mov rax, qword [rax]
mov edx, dword [rsp + 0x70]
mov rcx, qword [rsp + 0x228]
call qword [rax + VarBstrFromDisp]
mov dword [rsp + 0x50], eax
mov rax, qword [rsp + 0x228]
mov rax, qword [rax]
lea rdx, [0x1404f7b60]
mov rcx, qword [rsp + 0x228]
call qword [rax + 0x60]
mov qword [rsp + 0x58], rax
lea rcx, [rsp + 0x68]
call qword [0x140409500]
nop
lea rdx, [rsp + 0x68]
mov rcx, qword [rsp + 0x220]
call sub.mfc90u.dll_CMultiDocTemplate::GetThisClass
mov rdx, qword [rsp + 0x230]
mov eax, dword [rsp + 0x40]
mov dword [rdx + 8], eax
mov rcx, qword [rsp + 0x230]
mov eax, dword [rsp + 0x38]
mov dword [rcx], eax
mov rax, qword [rsp + 0x230]
mov ecx, dword [rax + 4]
add ecx, 1
mov rax, qword [rsp + 0x230]
mov dword [rax + 4], ecx
mov eax, dword [reloc.OLEAUT32.dll_SysReAllocString]
shl eax, 1
mov dword [rsp + 0x1b0], eax
xor r8d, r8d
neg r8d
mov edx, dword [rsp + 0x1b0]
neg edx
mov rcx, qword [rsp + 0x230]
call qword [sym.imp.USER32.dll_InflateRect]
lea rcx, [rsp + 0x68]
call qword [sym.imp.mfc90u.dll_CDocObjectServer::XOleObject::GetExtent]
mov edi, eax
lea rcx, [rsp + 0x68]
call qword [sym.imp.mfc90u.dll_CDumpContext::operator___1]
mov rdx, rax
mov rax, qword [rsp + 0x228]
mov rax, qword [rax]
mov dword [rsp + 0x20], 0x8024
mov r9, qword [rsp + 0x230]
mov r8d, edi
mov rcx, qword [rsp + 0x228]
call qword [rax + 0xe0]
mov rax, qword [rsp + 0x228]
mov rax, qword [rax]
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x228]
call qword [rax + 0x60]
mov edx, dword [rsp + 0x60]
mov rcx, qword [rsp + 0x228]
call sub.mfc90u.dll_CDocument::ReleaseFile
mov rax, qword [rsp + 0x228]
mov rax, qword [rax]
mov edx, dword [rsp + 0x50]
mov rcx, qword [rsp + 0x228]
call qword [rax + VarBstrFromDisp]
nop
lea rcx, [rsp + 0x68]
call qword [sym.imp.mfc90u.dll_CView::CView]
add rsp, 0x208
pop rdi
pop rsi
ret