Function at 0x140007770
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x170
mov qword [rsp + 0xf8], 0xfffffffffffffffe
lea rcx, [rsp + 0x60]
call qword [0x14000f878]
nop
lea rcx, [rsp + 0x68]
call qword [0x14000f878]
nop
lea rcx, [rsp + 0x30]
call qword [0x14000f878]
nop
lea rcx, [rsp + 0x20]
call qword [0x14000f878]
nop
lea rcx, [rsp + 0x70]
call qword [0x14000f878]
nop
mov rdx, qword [rsp + 0x188]
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_class]
nop
mov dword [rsp + 0x58], 0
mov rcx, qword [rsp + 0x180]
add rcx, 0x344
call fcn.14000a8d0
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc90u.dll_CDumpContext::operator__]
lea rdx, [0x140011018]
mov rcx, rax
call qword [sym.imp.MSVCR90.dll__wfopen]
mov qword [rsp + 0x50], rax
mov r8d, 2
xor edx, edx
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.MSVCR90.dll_fseek]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.MSVCR90.dll_ftell]
mov dword [rsp + 0x5c], eax
movsxd rcx, dword [rsp + 0x5c]
call sub.mfc90u.dll_new__
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x48], rax
movsxd rcx, dword [rsp + 0x5c]
mov rdi, qword [rsp + 0x48]
xor eax, eax
rep stosb byte [rdi], al
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.MSVCR90.dll_fseek]
movsxd rdx, dword [rsp + 0x5c]
mov r9, qword [rsp + 0x50]
mov r8d, 1
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.MSVCR90.dll_fread]
mov rdx, qword [rsp + 0x48]
lea rcx, [rsp + 0x70]
call qword [sym.imp.mfc90u.dll_CUIntArray::CUIntArray]
mov rcx, qword [rsp + 0x180]
add rcx, 0x68c
lea r8, [rsp + 0x28]
lea rdx, [rsp + 0x78]
call sub.mfc90u.dll_CFrameWnd::GetMenu
mov rcx, qword [rsp + 0x180]
add rcx, 0x68c
mov edx, dword [rsp + 0x28]
call fcn.14000a890
lea rcx, [rsp + 0x70]
call qword [sym.imp.mfc90u.dll_CDumpContext::operator__]
test rax, rax
je 0x140007c33
lea rcx, [rsp + 0x70]
call qword [sym.imp.mfc90u.dll_CDocObjectServer::XOleObject::GetExtent]
mov dword [rsp + 0x40], eax
mov dx, 9
lea rcx, [rsp + 0x70]
call qword [sym.imp.mfc90u.dll_CMDIFrameWnd::PreTranslateMessage]
mov dword [rsp + 0x58], eax
mov r8d, dword [rsp + 0x58]
add r8d, 1
mov r9d, dword [rsp + 0x40]
lea rdx, [rsp + 0x88]
lea rcx, [rsp + 0x70]
call qword [sym.imp.mfc90u.dll_CDockContext::InitLoop]
mov qword [rsp + 0x100], rax
mov rax, qword [rsp + 0x100]
mov qword [rsp + 0x108], rax
mov rdx, qword [rsp + 0x108]
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc90u.dll_CToolBarCtrl::CToolBarCtrl]
nop
lea rcx, [rsp + 0x88]
call qword [sym.imp.mfc90u.dll_CView::CView]
mov eax, dword [rsp + 0x58]
mov r8d, dword [rsp + 0x40]
sub r8d, eax
mov edx, dword [rsp + 0x58]
lea rcx, [rsp + 0x70]
call qword [sym.imp.mfc90u.dll_CDHtmlDialog::DDX_DHtml_ElementText]
lea rcx, [rsp + 0x70]
call qword [sym.imp.mfc90u.dll_CDocObjectServer::XOleObject::GetExtent]
mov dword [rsp + 0x40], eax
mov dx, 9
lea rcx, [rsp + 0x70]
call qword [sym.imp.mfc90u.dll_CMDIFrameWnd::PreTranslateMessage]
mov dword [rsp + 0x58], eax
mov r8d, dword [rsp + 0x58]
add r8d, 1
mov r9d, dword [rsp + 0x40]
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x70]
call qword [sym.imp.mfc90u.dll_CDockContext::InitLoop]
mov qword [rsp + 0x110], rax
mov rax, qword [rsp + 0x110]
mov qword [rsp + 0x118], rax
mov rdx, qword [rsp + 0x118]
lea rcx, [rsp + 0x68]
call qword [sym.imp.mfc90u.dll_CToolBarCtrl::CToolBarCtrl]
nop
lea rcx, [rsp + 0x90]
call qword [sym.imp.mfc90u.dll_CView::CView]
mov eax, dword [rsp + 0x58]
mov r8d, dword [rsp + 0x40]
sub r8d, eax
mov edx, dword [rsp + 0x58]
lea rcx, [rsp + 0x70]
call qword [sym.imp.mfc90u.dll_CDHtmlDialog::DDX_DHtml_ElementText]
lea rcx, [rsp + 0x70]
call qword [sym.imp.mfc90u.dll_CDocObjectServer::XOleObject::GetExtent]
mov dword [rsp + 0x40], eax
mov dx, 9
lea rcx, [rsp + 0x70]
call qword [sym.imp.mfc90u.dll_CMDIFrameWnd::PreTranslateMessage]
mov dword [rsp + 0x58], eax
mov r8d, dword [rsp + 0x58]
add r8d, 1
mov r9d, dword [rsp + 0x40]
lea rdx, [rsp + 0x98]
lea rcx, [rsp + 0x70]
call qword [sym.imp.mfc90u.dll_CDockContext::InitLoop]
mov qword [rsp + 0x120], rax
mov rax, qword [rsp + 0x120]
mov qword [rsp + reloc.mfc90u.dll_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_____], rax
mov rdx, qword [rsp + reloc.mfc90u.dll_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_____]
lea rcx, [rsp + 0x60]
call qword [sym.imp.mfc90u.dll_CToolBarCtrl::CToolBarCtrl]
nop
lea rcx, [rsp + 0x98]
call qword [sym.imp.mfc90u.dll_CView::CView]
mov eax, dword [rsp + 0x58]
mov r8d, dword [rsp + 0x40]
sub r8d, eax
mov edx, dword [rsp + 0x58]
lea rcx, [rsp + 0x70]
call qword [sym.imp.mfc90u.dll_CDHtmlDialog::DDX_DHtml_ElementText]
lea rcx, [rsp + 0x70]
call qword [sym.imp.mfc90u.dll_CDocObjectServer::XOleObject::GetExtent]
mov dword [rsp + 0x40], eax
mov dx, 0xa
lea rcx, [rsp + 0x70]
call qword [sym.imp.mfc90u.dll_CMDIFrameWnd::PreTranslateMessage]
mov dword [rsp + 0x58], eax
mov r8d, dword [rsp + 0x58]
add r8d, 1
mov r9d, dword [rsp + 0x40]
lea rdx, [rsp + 0xa0]
lea rcx, [rsp + 0x70]
call qword [sym.imp.mfc90u.dll_CDockContext::InitLoop]
mov qword [rsp + 0x130], rax
mov rax, qword [rsp + 0x130]
mov qword [rsp + 0x138], rax
mov rdx, qword [rsp + 0x138]
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc90u.dll_CToolBarCtrl::CToolBarCtrl]
nop
lea rcx, [rsp + 0xa0]
call qword [sym.imp.mfc90u.dll_CView::CView]
lea rax, [rsp + 0xa8]
mov qword [rsp + 0xb0], rax
lea rax, [rsp + 0xb8]
mov qword [rsp + 0xc0], rax
lea rax, [rsp + 0xc8]
mov qword [rsp + 0xd0], rax
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0xb0]
call qword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_class]
mov qword [rsp + 0x140], rax
mov rax, qword [rsp + 0x140]
mov qword [rsp + 0x148], rax
lea rdx, [rsp + 0x68]
mov rcx, qword [rsp + 0xc0]
call qword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_class]
mov qword [rsp + 0x150], rax
mov rax, qword [rsp + 0x150]
mov qword [rsp + 0x158], rax
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0xd0]
call qword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_class]
mov qword [rsp + 0x160], rax
mov r9, qword [rsp + 0x148]
mov r8, qword [rsp + 0x158]
mov rdx, qword [rsp + 0x160]
mov rcx, qword [rsp + 0x180]
call fcn.1400032f0
mov eax, dword [rsp + 0x58]
mov r8d, dword [rsp + 0x40]
sub r8d, eax
mov edx, dword [rsp + 0x58]
lea rcx, [rsp + 0x70]
call qword [sym.imp.mfc90u.dll_CDHtmlDialog::DDX_DHtml_ElementText]
lea rdx, [0x1400113a6]
lea rcx, [rsp + 0x70]
call fcn.140008010
movzx eax, al
test eax, eax
je 0x140007c2e
jmp 0x140007c33
jmp 0x1400078da
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.MSVCR90.dll_fclose]
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0xd8], rax
mov rcx, qword [rsp + 0xd8]
call sub.mfc90u.dll_CStatusBar::CStatusBar
mov edx, 4
mov rcx, qword [rsp + 0x180]
call fcn.14000a8f0
mov dword [rsp + 0xe0], 1
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc90u.dll_CView::CView]
nop
lea rcx, [rsp + 0x70]
call qword [sym.imp.mfc90u.dll_CView::CView]
nop
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc90u.dll_CView::CView]
nop
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc90u.dll_CView::CView]
nop
lea rcx, [rsp + 0x68]
call qword [sym.imp.mfc90u.dll_CView::CView]
nop
lea rcx, [rsp + 0x60]
call qword [sym.imp.mfc90u.dll_CView::CView]
nop
mov rcx, qword [rsp + 0x188]
call qword [sym.imp.mfc90u.dll_CView::CView]
mov eax, dword [rsp + 0xe0]
add rsp, 0x170
pop rdi
ret