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

Disassembly:
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, reloc.mfc90u.dll_COleDocument::COleDocument
mov qword [rsp + reloc.mfc90u.dll_CDocObjectServerItem::CDocObjectServerItem], 0xfffffffffffffffe
mov rax, qword [rsp + 0x2f0]
mov rax, qword [rax]
lea r8, [rsp + 0x308]
mov edx, dword [rsp + reloc.mfc90u.dll_CScrollView::CScrollView]
mov rcx, qword [rsp + 0x2f0]
call qword [rax + ATL::CStringT<wchar_t,class StrTraitMFC_DLL<wchar_t,class ATL::ChTraitsCRT<wchar_t> > >::CStringT<wchar_t,class StrTraitMFC_DLL<wchar_t,class ATL::ChTraitsCRT<wchar_t> > >]
mov dword [rsp + 0x30], eax
mov rcx, qword [rsp + 0x2f0]
call fcn.140346d50
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x38], 0
mov dword [rsp + 0x3c], 0
mov dword [rsp + 0x34], 0
mov eax, dword [rsp + 0x30]
cmp dword [rsp + 0x40], eax
je 0x140233295
mov dword [rsp + 0x290], 1
jmp 0x1402332a0
mov dword [rsp + 0x290], 0
mov eax, dword [rsp + 0x290]
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x2f0]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x2f0]
call qword [rax + CResetPropExchange::CResetPropExchange]
mov dword [rsp + 0x2c], eax
mov rax, qword [rsp + 0x2f0]
mov eax, dword [rax + 0x214]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x2f0]
mov dword [rax + 0x110], 0
cmp dword [rsp + 0x30], 0
je 0x14023350e
mov rax, qword [rsp + 0x2f0]
mov rax, qword [rax]
lea r8, [rsp + 0x308]
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x2f0]
call qword [rax + 0x58]
mov rax, qword [rsp + 0x2f0]
mov rax, qword [rax]
lea rdx, [rsp + 0x308]
mov rcx, qword [rsp + 0x2f0]
call qword [rax + new[]]
mov dword [rsp + 0x4c], eax
mov rax, qword [rsp + 0x2f0]
mov rax, qword [rax]
lea rdx, [rsp + 0x308]
mov rcx, qword [rsp + 0x2f0]
call qword [rax + 0x68]
mov dword [rsp + 0x48], eax
xorpd xmm0, xmm0
movsd qword [rsp + 0xb8], xmm0
mov dword [rsp + 0xc0], 0
lea rdx, [rsp + 0xb8]
lea rcx, [rsp + 0x50]
call fcn.140225860
movzx eax, al
test eax, eax
jne 0x14023339f
mov dword [rsp + 0x294], 1
jmp 0x1402333aa
mov dword [rsp + 0x294], 0
movzx eax, byte [rsp + 0x294]
test eax, eax
je 0x140233407
mov rdx, qword [rsp + 0x2f0]
add rdx, 0x100
lea rcx, [rsp + 0x50]
call fcn.140225860
movzx eax, al
test eax, eax
jne 0x1402333e3
mov dword [rsp + reloc.mfc90u.dll_CFileDialog::CFileDialog], 1
jmp 0x1402333ee
mov dword [rsp + reloc.mfc90u.dll_CFileDialog::CFileDialog], 0
movzx eax, byte [rsp + reloc.mfc90u.dll_CFileDialog::CFileDialog]
test eax, eax
je 0x140233407
mov dword [rsp + 0x29c], 1
jmp 0x140233412
mov dword [rsp + 0x29c], 0
mov eax, dword [rsp + 0x29c]
mov dword [rsp + 0x38], eax
mov rcx, qword [rsp + 0x2f0]
mov eax, dword [rsp + 0x4c]
cmp dword [rcx + 0x214], eax
je 0x14023343e
mov dword [rsp + 0x2a0], 1
jmp 0x140233449
mov dword [rsp + 0x2a0], 0
mov eax, dword [rsp + 0x2a0]
mov dword [rsp + 0x3c], eax
mov rcx, qword [rsp + 0x2f0]
mov eax, dword [rsp + 0x48]
cmp dword [rcx + 0x21c], eax
je 0x140233475
mov dword [rsp + 0x2a4], 1
jmp 0x140233480
mov dword [rsp + 0x2a4], 0
mov eax, dword [rsp + 0x2a4]
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x38], 0
je 0x1402334ad
mov rdi, qword [rsp + 0x2f0]
lea rsi, [rsp + 0x50]
add rdi, 0x100
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
cmp dword [rsp + 0x3c], 0
je 0x1402334f5
cmp dword [rsp + 0x4c], 3
je 0x1402334c2
cmp dword [rsp + 0x4c], 5
jne 0x1402334e3
mov rax, qword [rsp + 0x2f0]
cmp dword [rax + 0x214], 4
jne 0x1402334e3
mov dword [rsp + 0x4c], 4
mov dword [rsp + 0x3c], 0
mov rcx, qword [rsp + 0x2f0]
mov eax, dword [rsp + 0x4c]
mov dword [rcx + 0x214], eax
cmp dword [rsp + 0x34], 0
je 0x14023350e
mov rcx, qword [rsp + 0x2f0]
mov eax, dword [rsp + 0x48]
mov dword [rcx + 0x21c], eax
mov rax, qword [rsp + 0x2f0]
cmp dword [rax + 0x214], 4
jne 0x14023352c
mov dword [rsp + reloc.mfc90u.dll_CHtmlEditCtrl::CHtmlEditCtrl], 1
jmp 0x140233537
mov dword [rsp + reloc.mfc90u.dll_CHtmlEditCtrl::CHtmlEditCtrl], 0
mov eax, dword [rsp + reloc.mfc90u.dll_CHtmlEditCtrl::CHtmlEditCtrl]
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x20], 0
jne 0x14023356b
cmp dword [rsp + 0x38], 0
jne 0x14023356b
cmp dword [rsp + 0x3c], 0
jne 0x14023356b
cmp dword [rsp + 0x34], 0
jne 0x14023356b
mov dword [rsp + 0x2ac], 0
jmp 0x140233576
mov dword [rsp + 0x2ac], 1
mov eax, dword [rsp + 0x2ac]
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
je 0x140233b6b
mov rax, qword [rsp + 0x2f0]
cmp qword [rax + 0x160], 0
je 0x1402335e1
mov rax, qword [rsp + 0x2f0]
mov rax, qword [rax + 0x160]
mov rcx, qword [rsp + 0x2f0]
mov rcx, qword [rcx + 0x160]
mov rax, qword [rax]
call qword [rax + 0x40]
mov rcx, qword [rsp + 0x2f0]
add rcx, 0x168
mov r8, 0xffffffffffffffff
xor edx, edx
call fcn.14018cd90
jmp 0x140233600
call fcn.14035c9a0
mov rcx, rax
call sub.mfc90u.dll_COleDispatchDriver::CreateDispatch
mov rdx, rax
mov rax, qword [rsp + 0x2f0]
mov qword [rax + 0x160], rdx
cmp dword [rsp + 0x30], 0
jne 0x140233650
mov rcx, qword [rsp + 0x2f0]
call fcn.140346d50
cmp eax, dword [rsp + 0x30]
je 0x140233635
cmp dword [rsp + 0x28], 4
jne 0x140233635
mov rax, qword [rsp + 0x2f0]
mov dword [rax + 0x110], 2
jmp 0x140233647
mov rax, qword [rsp + 0x2f0]
mov dword [rax + 0x110], 1
mov eax, dword [rsp + 0x30]
jmp 0x140233c3e
call fcn.1403482a0
xor r8d, r8d
movzx edx, ax
mov rcx, qword [rsp + reloc.mfc90u.dll_CRecentFileList::CRecentFileList]
call sub.mfc90u.dll_CFileFind::GetCreationTime
mov qword [rsp + 0x88], rax
cmp qword [rsp + 0x88], 0
jne 0x140233682
xor eax, eax
jmp 0x140233c3e
lea rcx, [rsp + 0x60]
call fcn.140225560
nop
mov rcx, qword [rsp + 0x2f0]
call fcn.140345fe0
test eax, eax
je 0x1402336c8
xorpd xmm0, xmm0
movsd qword [rsp + 0xd0], xmm0
mov dword [rsp + 0xd8], 0
lea rax, [rsp + 0xd0]
mov qword [rsp + reloc.mfc90u.dll_CInternetException::CInternetException], rax
jmp 0x1402336de
mov rax, qword [rsp + 0x2f0]
add rax, 0x100
mov qword [rsp + reloc.mfc90u.dll_CInternetException::CInternetException], rax
mov rax, qword [rsp + reloc.mfc90u.dll_CInternetException::CInternetException]
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0x2f0]
mov rax, qword [rax + 0x118]
mov eax, dword [rax + 0x1d8]
mov dword [rsp + 0x130], eax
mov r9, qword [rsp + 0xc8]
mov r8d, dword [rsp + 0x130]
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x88]
call fcn.14034f700
mov dword [rsp + 0x90], eax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0xe8], rax
mov rax, qword [rsp + 0xe8]
mov qword [rsp + 0xe0], rax
cmp qword [rsp + 0xe0], 0
je 0x140233783
mov rax, qword [rsp + 0xe0]
mov rax, qword [rax]
mov edx, 1
mov rcx, qword [rsp + 0xe0]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov qword [rsp + 0x2b8], rax
jmp 0x14023378f
mov qword [rsp + 0x2b8], 0
cmp dword [rsp + 0x90], 0
je 0x140233b61
mov rcx, qword [rsp + 0x2f0]
call fcn.140345fe0
test eax, eax
je 0x140233926
xorpd xmm0, xmm0
xorpd xmm1, xmm1
divsd xmm1, qword [0x140439008]
addsd xmm0, xmm1
xorpd xmm1, xmm1
divsd xmm1, qword [0x1404502e8]
addsd xmm0, xmm1
xorpd xmm1, xmm1
divsd xmm1, qword [0x14040ba98]
addsd xmm0, xmm1
movsd qword [rsp + 0x98], xmm0
mov dword [rsp + 0xa0], 0
movsd xmm0, qword [0x14040bab0]
comisd xmm0, xmmword [rsp + 0x98]
ja 0x140233820
movsd xmm0, qword [rsp + 0x98]
comisd xmm0, xmmword [0x14040baa8]
jbe 0x14023382b
mov dword [rsp + 0xa0], 1
mov rdx, qword [rsp + 0x2f0]
add rdx, 0xf0
mov rcx, qword [rsp + 0x2f0]
add rcx, 0x100
call fcn.140225cc0
movzx eax, al
mov dword [rsp + 0x94], eax
cmp dword [rsp + 0x94], 0
je 0x1402338b8
mov r8, qword [rsp + 0x2f0]
add r8, 0xf0
mov rcx, qword [rsp + 0x2f0]
add rcx, 0x100
lea rdx, [rsp + 0xf0]
call fcn.1400043e8
lea rdi, [rsp + reloc.mfc90u.dll_CDataSourceControl::CDataSourceControl]
mov rsi, rax
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
lea rdi, [rsp + 0x98]
lea rsi, [rsp + reloc.mfc90u.dll_CDataSourceControl::CDataSourceControl]
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
jmp 0x14023390c
mov r8, qword [rsp + 0x2f0]
add r8, 0x100
mov rcx, qword [rsp + 0x2f0]
add rcx, 0xf0
lea rdx, [rsp + 0x100]
call fcn.1400043e8
lea rdi, [rsp + 0x268]
mov rsi, rax
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
lea rdi, [rsp + 0x98]
lea rsi, [rsp + 0x268]
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
mov r8d, dword [rsp + 0x94]
lea rdx, [rsp + 0x98]
lea rcx, [rsp + 0x60]
call fcn.14034fcc0
mov dword [rsp + 0xa8], 0
jmp 0x140233944
mov eax, dword [rsp + 0xa8]
add eax, 1
mov dword [rsp + 0xa8], eax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x1d0], rax
movsxd rax, dword [rsp + 0xa8]
cmp rax, qword [rsp + 0x1d0]
jge 0x140233b15
movsxd rax, dword [rsp + 0xa8]
mov qword [rsp + 0x1e0], rax
cmp qword [rsp + 0x1e0], 0
jl 0x1402339ac
mov rax, qword [rsp + 0x70]
cmp qword [rsp + 0x1e0], rax
jge 0x1402339ac
mov rcx, qword [rsp + 0x68]
mov rax, qword [rsp + 0x1e0]
lea rax, [rcx + rax*8]
mov qword [rsp + 0x1d8], rax
jmp 0x1402339b1
call sub.mfc90u.dll_AfxOleUnregisterServerClass
mov rax, qword [rsp + 0x1d8]
mov rax, qword [rax]
mov qword [rsp + 0xb0], rax
mov edx, 1
mov rcx, qword [rsp + 0xb0]
call fcn.140357a70
mov rdx, qword [rsp + 0xb0]
mov eax, dword [rdx + 0x78]
mov dword [rsp + 0x1e8], eax
cmp dword [rsp + 0x1e8], 0
jne 0x140233a10
mov rcx, qword [rsp + 0xb0]
call fcn.14021fd90
test eax, eax
jne 0x140233a10
mov dword [rsp + reloc.mfc90u.dll_CMiniFrameWnd::CMiniFrameWnd], 0
jmp 0x140233a1b
mov dword [rsp + reloc.mfc90u.dll_CMiniFrameWnd::CMiniFrameWnd], 1
mov eax, dword [rsp + reloc.mfc90u.dll_CMiniFrameWnd::CMiniFrameWnd]
mov dword [rsp + 0xac], eax
cmp dword [rsp + 0xac], 0
je 0x140233a76
cmp dword [rsp + 0x24], 0
jne 0x140233a74
xor edx, edx
mov rcx, qword [rsp + 0xb0]
call fcn.140357830
mov r8, qword [rsp + 0x2f0]
add r8, 0x100
mov rdx, qword [rsp + 0x2f0]
add rdx, 0x100
mov rcx, qword [rsp + 0xb0]
call fcn.140357560
jmp 0x140233aba
cmp dword [rsp + 0x24], 0
je 0x140233aba
mov edx, 1
mov rcx, qword [rsp + 0xb0]
call fcn.140357830
mov r8, qword [rsp + 0x2f0]
add r8, 0x100
mov rdx, qword [rsp + 0x2f0]
add rdx, 0x100
mov rcx, qword [rsp + 0xb0]
call fcn.140357560
mov rax, qword [rsp + 0x2f0]
mov eax, dword [rax + 0x21c]
mov dword [rsp + 0x260], eax
mov rcx, qword [rsp + 0xb0]
mov eax, dword [rsp + 0x260]
mov dword [rcx + reloc.mfc90u.dll_CDialog::CDialog], eax
mov rax, qword [rsp + 0x2f0]
mov rax, qword [rax + 0x160]
mov rcx, qword [rsp + 0x2f0]
mov rcx, qword [rcx + 0x160]
mov rax, qword [rax]
mov rdx, qword [rsp + 0xb0]
call qword [rax + 0x28]
jmp 0x140233933
mov r9, qword [rsp + 0x2f0]
add r9, 0x48
mov r8, qword [rsp + 0x2f0]
add r8, 0x38
mov rdx, qword [rsp + 0x2f0]
add rdx, 0x168
mov rax, qword [rsp + 0x2f0]
mov rax, qword [rax + 0x160]
mov rcx, qword [rsp + 0x2f0]
mov rcx, qword [rcx + 0x160]
mov rax, qword [rax]
call qword [rax + 0x48]
nop
lea rcx, [rsp + 0x60]
call fcn.1402255c0
cmp dword [rsp + 0x44], 0
jne 0x140233b95
mov rax, qword [rsp + 0x2f0]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x2f0]
call qword [rax + CResetPropExchange::CResetPropExchange]
cmp dword [rsp + 0x2c], eax
je 0x140233c3a
cmp dword [rsp + 0x3c], 0
je 0x140233bb4
cmp dword [rsp + 0x28], 4
je 0x140233c14
mov rax, qword [rsp + 0x2f0]
cmp dword [rax + 0x214], 4
je 0x140233c14
cmp dword [rsp + 0x20], 0
je 0x140233bf5
mov rax, qword [rsp + 0x2f0]
cmp dword [rax + 0x210], 4
jne 0x140233bdd
mov rax, qword [rsp + 0x2f0]
cmp dword [rax + 0x214], 4
je 0x140233c14
cmp dword [rsp + 0x40], 0
jne 0x140233bf5
mov rax, qword [rsp + 0x2f0]
cmp dword [rax + 0x214], 4
je 0x140233c14
cmp dword [rsp + 0x38], 0
jne 0x140233c03
cmp dword [rsp + 0x34], 0
je 0x140233c28
mov rax, qword [rsp + 0x2f0]
cmp dword [rax + 0x214], 4
jne 0x140233c28
mov rax, qword [rsp + 0x2f0]
mov dword [rax + 0x110], 2
jmp 0x140233c3a
mov rax, qword [rsp + 0x2f0]
mov dword [rax + 0x110], 1
mov eax, dword [rsp + 0x30]
add rsp, reloc.mfc90u.dll_COleDocument::COleDocument
pop rdi
pop rsi
ret