Function at 0x140389540
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, 0x5f8
mov qword [rsp + reloc.mfc90u.dll_CReBar::CalcDynamicLayout], 0xfffffffffffffffe
lea rdi, [rsp + 0x580]
mov rsi, qword [rsp + 0x620]
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
lea rdi, [rsp + 0x60]
lea rsi, [rsp + 0x580]
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
mov rcx, qword [rsp + reloc.mfc90u.dll_CFile::Close]
call fcn.1402415f0
mov dword [rsp + 0xc8], eax
mov rcx, qword [rsp + reloc.mfc90u.dll_CFile::Close]
call fcn.140241620
mov dword [rsp + 0x38], eax
mov rcx, qword [rsp + reloc.mfc90u.dll_CFile::Close]
call fcn.140241680
mov dword [rsp + 0x9c], eax
mov rcx, qword [rsp + reloc.mfc90u.dll_CFile::Close]
call fcn.1402416b0
mov dword [rsp + 0x34], eax
mov rax, qword [rsp + reloc.mfc90u.dll_CFile::Close]
mov rcx, qword [rsp + reloc.mfc90u.dll_CFile::Close]
mov eax, dword [rax + 0x1c]
imul eax, dword [rcx + 0x18]
mov dword [rsp + 0xc4], eax
mov rcx, qword [rsp + reloc.mfc90u.dll_CFile::Close]
call fcn.140229b30
mov dword [rsp + 0xf8], eax
mov rax, qword [rsp + reloc.mfc90u.dll_CFile::Close]
mov rax, qword [rax + reloc.mfc90u.dll_CFileDialog::CFileDialog]
mov qword [rsp + 0x218], rax
mov eax, dword [rsp + 0x218]
mov dword [rsp + 0x7c], eax
mov r8d, dword [rsp + 0xc4]
neg r8d
xor edx, edx
lea rcx, [rsp + 0x60]
call qword [sym.imp.USER32.dll_OffsetRect]
mov rcx, qword [rsp + reloc.mfc90u.dll_CFile::Close]
call fcn.1402415c0
mov ecx, eax
call fcn.14032e920
mov dword [rsp + 0xc0], eax
mov eax, 0x3c
cdq
idiv dword [rsp + 0xc0]
mov dword [rsp + 0x3c], eax
lea rax, [fcn.14000da80]
mov qword [rsp + 0x20], rax
lea r9, [0x14000da60]
mov r8d, 2
mov edx, reloc.WS2_32.dll_recv
lea rcx, [rsp + 0xa0]
call fcn.1403ae044
nop
lea rax, [fcn.14000da80]
mov qword [rsp + 0x20], rax
lea r9, [0x14000da60]
mov r8d, 2
mov edx, reloc.WS2_32.dll_recv
lea rcx, [rsp + 0x40]
call fcn.1403ae044
nop
mov dword [rsp + 0xfc], 0
jmp 0x1403896e4
mov eax, dword [rsp + 0xfc]
add eax, 1
mov dword [rsp + 0xfc], eax
cmp dword [rsp + 0xfc], 2
jge 0x1403897eb
cmp dword [rsp + 0xfc], 0
jne 0x140389709
mov dword [rsp + CStatusBar::CalcInsideRect], 1
jmp 0x140389714
mov dword [rsp + CStatusBar::CalcInsideRect], 0
mov rax, qword [rsp + reloc.mfc90u.dll_CFile::Close]
mov rax, qword [rax]
mov r8d, 1
mov edx, dword [rsp + 0x598]
mov rcx, qword [rsp + reloc.mfc90u.dll_CFile::Close]
call qword [rax + CView::CView]
mov dword [rsp + 0x220], eax
mov r8d, dword [rsp + 0x220]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.GDI32.dll_CreatePen]
mov rdx, rax
movsxd rax, dword [rsp + 0xfc]
imul rax, rax, 0x10
lea rcx, [rsp + rax + 0xa0]
call sub.mfc90u.dll_COleControl::AmbientScaleUnits
cmp dword [rsp + 0xfc], 0
jne 0x140389786
mov dword [rsp + 0x59c], 1
jmp 0x140389791
mov dword [rsp + 0x59c], 0
mov rax, qword [rsp + reloc.mfc90u.dll_CFile::Close]
mov rax, qword [rax]
xor r8d, r8d
mov edx, dword [rsp + 0x59c]
mov rcx, qword [rsp + reloc.mfc90u.dll_CFile::Close]
call qword [rax + CView::CView]
mov dword [rsp + 0x224], eax
mov r8d, dword [rsp + 0x224]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.GDI32.dll_CreatePen]
mov rdx, rax
movsxd rax, dword [rsp + 0xfc]
imul rax, rax, 0x10
lea rcx, [rsp + rax + 0x40]
call sub.mfc90u.dll_COleControl::AmbientScaleUnits
jmp 0x1403896d3
lea rdi, [rsp + 0x1c0]
mov rsi, qword [rsp + 0x620]
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + reloc.mfc90u.dll_CFile::Close]
mov rax, qword [rax]
xor r9d, r9d
lea r8, [rsp + 0x1c0]
mov rdx, qword [rsp + 0x618]
mov rcx, qword [rsp + reloc.mfc90u.dll_CFile::Close]
call qword [rax + CWnd::CWnd]
call fcn.140001270
mov qword [rsp + 0x5a0], rax
mov rax, qword [rsp + 0x5a0]
mov rax, qword [rax]
mov rdx, qword [rsp + reloc.mfc90u.dll_CFile::Close]
mov rcx, qword [rsp + 0x5a0]
call qword [rax + 0x558]
mov edx, eax
lea rcx, [rsp + 0xe8]
call sub.mfc90u.dll_CBrush::CBrush
nop
call fcn.140001270
mov qword [rsp + CDragListBox::CancelDrag], rax
mov rax, qword [rsp + 0x5a8]
mov rax, qword [rax]
mov rdx, qword [rsp + reloc.mfc90u.dll_CFile::Close]
mov rcx, qword [rsp + 0x5a8]
call qword [rax + 0x560]
mov r9d, eax
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0xd8]
call sub.mfc90u.dll_COleTemplateServer::COleTemplateServer
nop
lea rdx, [rsp + 0xd8]
mov rcx, qword [rsp + 0x618]
call sub.mfc90u.dll_CImageList::Read
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + reloc.mfc90u.dll_CFile::Close]
mov eax, dword [rax + 0x1c]
mov dword [rsp + 0xcc], eax
mov rdx, qword [rsp + 0x620]
mov rax, qword [rsp + 0x620]
mov ecx, dword [rax + 4]
mov eax, dword [rdx + 0xc]
sub eax, ecx
cdq
mov rcx, qword [rsp + reloc.mfc90u.dll_CFile::Close]
idiv dword [rcx + 0x18]
mov ecx, eax
mov rax, qword [rsp + reloc.mfc90u.dll_CFile::Close]
add ecx, dword [rax + 0x1c]
mov eax, dword [rsp + 0x3c]
imul eax, eax, 0x18
cmp ecx, eax
jge 0x140389953
mov rdx, qword [rsp + 0x620]
mov rax, qword [rsp + 0x620]
mov ecx, dword [rax + 4]
mov eax, dword [rdx + 0xc]
sub eax, ecx
cdq
mov rcx, qword [rsp + reloc.mfc90u.dll_CFile::Close]
idiv dword [rcx + 0x18]
mov rcx, qword [rsp + reloc.mfc90u.dll_CFile::Close]
add eax, dword [rcx + 0x1c]
mov dword [rsp + 0x5b0], eax
jmp 0x140389961
mov eax, dword [rsp + 0x3c]
imul eax, eax, 0x18
mov dword [rsp + 0x5b0], eax
mov eax, dword [rsp + 0x5b0]
mov dword [rsp + 0x98], eax
lea rdi, [rsp + 0x570]
mov rsi, qword [rsp + reloc.mfc90u.dll_CFile::Close]
add rsi, 0x38
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
lea rdi, [rsp + 0x88]
lea rsi, [rsp + 0x570]
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
mov rcx, qword [rsp + reloc.mfc90u.dll_CFile::Close]
add rcx, 0x58
call fcn.1402440d0
test eax, eax
jne 0x140389a26
mov rcx, qword [rsp + reloc.mfc90u.dll_CFile::Close]
add rcx, 0x58
call fcn.140244140
test eax, eax
jne 0x140389a26
mov rcx, qword [rsp + reloc.mfc90u.dll_CFile::Close]
add rcx, 0x58
call fcn.1402441b0
test eax, eax
jne 0x140389a26
mov rcx, qword [rsp + reloc.mfc90u.dll_CFile::Close]
add rcx, 0x68
call fcn.1402440d0
cmp eax, 0x17
jne 0x140389a26
mov rcx, qword [rsp + reloc.mfc90u.dll_CFile::Close]
add rcx, 0x68
call fcn.140244140
cmp eax, 0x3b
jne 0x140389a26
mov rcx, qword [rsp + reloc.mfc90u.dll_CFile::Close]
add rcx, 0x68
call fcn.1402441b0
cmp eax, 0x3b
je 0x140389ab4
mov rcx, qword [rsp + reloc.mfc90u.dll_CFile::Close]
add rcx, 0x68
call fcn.1402440d0
test eax, eax
jne 0x140389aa7
mov rcx, qword [rsp + reloc.mfc90u.dll_CFile::Close]
add rcx, 0x68
call fcn.140244140
test eax, eax
jne 0x140389aa7
mov rcx, qword [rsp + reloc.mfc90u.dll_CFile::Close]
add rcx, 0x68
call fcn.1402441b0
test eax, eax
jne 0x140389aa7
mov rcx, qword [rsp + reloc.mfc90u.dll_CFile::Close]
add rcx, 0x58
call fcn.1402440d0
cmp eax, 0x17
jne 0x140389aa7
mov rcx, qword [rsp + reloc.mfc90u.dll_CFile::Close]
add rcx, 0x58
call fcn.140244140
cmp eax, 0x3b
jne 0x140389aa7
mov rcx, qword [rsp + reloc.mfc90u.dll_CFile::Close]
add rcx, 0x58
call fcn.1402441b0
cmp eax, 0x3b
je 0x140389ab4
mov dword [rsp + CFrameWnd::CanEnterHelpMode], 1
jmp 0x140389abf
mov dword [rsp + CFrameWnd::CanEnterHelpMode], 0
mov eax, dword [rsp + 0x5b4]
mov dword [rsp + 0x80], eax
mov rax, qword [rsp + reloc.mfc90u.dll_CFile::Close]
mov rax, qword [rax + 0x118]
mov qword [rsp + 0x368], rax
mov rcx, qword [rsp + 0x368]
call fcn.140346930
and eax, 0x100
test eax, eax
jne 0x140389b07
mov dword [rsp + CRichEditView::CanPaste], 1
jmp 0x140389b12
mov dword [rsp + CRichEditView::CanPaste], 0
mov eax, dword [rsp + 0x5b8]
mov dword [rsp + 0x78], eax
cmp dword [rsp + 0x78], 0
je 0x140389b31
mov dword [rsp + reloc.mfc90u.dll_CFrameWnd::CanEnterHelpMode], 7
jmp 0x140389b3c
mov dword [rsp + reloc.mfc90u.dll_CFrameWnd::CanEnterHelpMode], 0
mov eax, dword [rsp + reloc.mfc90u.dll_CFrameWnd::CanEnterHelpMode]
mov dword [rsp + 0x70], eax
call fcn.140001270
mov qword [rsp + CRichEditView::CanPaste], rax
mov rax, qword [rsp + 0x5c0]
mov rax, qword [rax]
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x5c0]
call qword [rax + reloc.mfc90u.dll_CAsyncSocket::Bind]
mov rax, qword [rsp + reloc.mfc90u.dll_CFile::Close]
mov rax, qword [rax]
mov rcx, qword [rsp + reloc.mfc90u.dll_CFile::Close]
call qword [rax + 0x28]
mov dword [rsp + 0x74], eax
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x30], 0
jmp 0x140389ba9
mov eax, dword [rsp + 0x30]
add eax, 1
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0xf8]
cmp dword [rsp + 0x30], eax
jge 0x14038a261
lea rcx, [rsp + 0x88]
call fcn.1402308c0
mov dword [rsp + 0x104], eax
cmp dword [rsp + 0x104], 1
je 0x140389bef
cmp dword [rsp + 0x104], 7
je 0x140389bef
mov dword [rsp + 0x5c8], 0
jmp 0x140389bfa
mov dword [rsp + 0x5c8], 1
mov eax, dword [rsp + 0x5c8]
mov dword [rsp + 0x100], eax
mov dword [rsp + 0x108], 0
jmp 0x140389c26
mov eax, dword [rsp + 0x108]
add eax, 1
mov dword [rsp + 0x108], eax
mov eax, dword [rsp + 0x7c]
cmp dword [rsp + 0x108], eax
jge 0x14038a1b3
movsxd rax, dword [rsp + 0x108]
mov qword [rsp + 0x3a8], rax
mov rax, qword [rsp + reloc.mfc90u.dll_CFile::Close]
add rax, reloc.mfc90u.dll_CDocObjectServerItem::CDocObjectServerItem
mov qword [rsp + 0x3a0], rax
cmp qword [rsp + 0x3a8], 0
jl 0x140389ca0
mov rax, qword [rsp + 0x3a0]
mov rax, qword [rax + 0x10]
cmp qword [rsp + 0x3a8], rax
jge 0x140389ca0
mov rax, qword [rsp + 0x3a8]
imul rax, rax, 0x60
mov rcx, qword [rsp + 0x3a0]
add rax, qword [rcx + 8]
mov qword [rsp + 0x398], rax
jmp 0x140389ca5
call sub.mfc90u.dll_AfxOleUnregisterServerClass
mov rax, qword [rsp + 0x398]
mov qword [rsp + 0x110], rax
mov eax, dword [rsp + 0xc8]
mov dword [rsp + 0x120], eax
mov eax, dword [rsp + 0x38]
mov dword [rsp + 0x118], eax
mov eax, dword [rsp + 0x9c]
mov dword [rsp + 0x128], eax
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x12c], eax
mov rdx, qword [rsp + 0x110]
add rdx, 0x20
mov rcx, qword [rsp + 0x110]
add rcx, 0x10
call fcn.140230930
movzx eax, al
test eax, eax
je 0x140389d6b
mov rcx, qword [rsp + 0x110]
add rcx, 0x10
call fcn.1402440d0
mov dword [rsp + 0x120], eax
mov rcx, qword [rsp + 0x110]
add rcx, 0x10
call fcn.140244140
mov dword [rsp + 0x118], eax
mov rcx, qword [rsp + 0x110]
add rcx, 0x20
call fcn.1402440d0
mov dword [rsp + 0x128], eax
mov rcx, qword [rsp + 0x110]
add rcx, 0x20
call fcn.140244140
mov dword [rsp + 0x12c], eax
mov edi, dword [rsp + 0x120]
imul edi, dword [rsp + 0x3c]
mov eax, dword [rsp + 0x118]
cdq
idiv dword [rsp + 0xc0]
mov ecx, eax
mov eax, edi
add eax, ecx
mov dword [rsp + 0x11c], eax
mov edi, dword [rsp + 0x128]
imul edi, dword [rsp + 0x3c]
mov eax, dword [rsp + 0x12c]
cdq
idiv dword [rsp + 0xc0]
mov ecx, eax
mov eax, edi
add eax, ecx
mov dword [rsp + 0x124], eax
movsxd rax, dword [rsp + 0x30]
mov qword [rsp + 0x460], rax
mov rax, qword [rsp + 0x110]
add rax, 0x38
mov qword [rsp + 0x458], rax
cmp qword [rsp + 0x460], 0
jl 0x140389e1f
mov rax, qword [rsp + 0x458]
mov rax, qword [rax + 0x10]
cmp qword [rsp + 0x460], rax
jge 0x140389e1f
mov rax, qword [rsp + 0x460]
imul rax, rax, 0x10
mov rcx, qword [rsp + 0x458]
add rax, qword [rcx + 8]
mov qword [rsp + AfxFormatString2], rax
jmp 0x140389e24
call sub.mfc90u.dll_AfxOleUnregisterServerClass
lea rdi, [rsp + 0x560]
mov rsi, qword [rsp + 0x450]
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
lea rdi, [rsp + 0x60]
lea rsi, [rsp + 0x560]
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
mov edx, dword [rsp + 0x70]
mov eax, dword [rsp + 0x60]
add eax, edx
mov dword [rsp + 0x60], eax
mov rax, qword [rsp + reloc.mfc90u.dll_CFile::Close]
mov ecx, dword [rax + 0x18]
mov eax, dword [rsp + 0x64]
lea eax, [rax + rcx - 1]
mov dword [rsp + 0x6c], eax
mov eax, dword [rsp + 0xcc]
mov dword [rsp + 0x130], eax
jmp 0x140389e95
mov eax, dword [rsp + 0x130]
add eax, 1
mov dword [rsp + 0x130], eax
mov eax, dword [rsp + 0x98]
cmp dword [rsp + 0x130], eax
jge 0x14038a1ae
cmp dword [rsp + 0x100], 0
jne 0x140389ee0
mov eax, dword [rsp + 0x130]
cmp dword [rsp + 0x11c], eax
jg 0x140389ee0
mov eax, dword [rsp + 0x124]
cmp dword [rsp + 0x130], eax
jge 0x140389ee0
mov dword [rsp + 0x5cc], 1
jmp 0x140389eeb
mov dword [rsp + 0x5cc], 0
mov eax, dword [rsp + 0x5cc]
mov dword [rsp + 0x134], eax
xorpd xmm0, xmm0
mov eax, dword [rsp + 0x130]
imul eax, dword [rsp + 0xc0]
cdq
mov ecx, 0x3c
idiv ecx
movd xmm1, eax
cvtdq2pd xmm1, xmm1
divsd xmm1, qword [0x14042bff8]
addsd xmm0, xmm1
mov eax, dword [rsp + 0x130]
imul eax, dword [rsp + 0xc0]
cdq
mov ecx, 0x3c
idiv ecx
movd xmm1, edx
cvtdq2pd xmm1, xmm1
divsd xmm1, qword [0x140442028]
addsd xmm0, xmm1
xorpd xmm1, xmm1
divsd xmm1, qword [0x1403f7358]
addsd xmm0, xmm1
movsd qword [rsp + 0x168], xmm0
mov dword [rsp + 0x170], 0
movsd xmm0, qword [0x1403f7370]
comisd xmm0, xmmword [rsp + 0x168]
ja 0x140389f9d
movsd xmm0, qword [rsp + 0x168]
comisd xmm0, xmmword [0x1403f7368]
jbe 0x140389fa8
mov dword [rsp + 0x170], 1
lea rdi, [rsp + 0x1d0]
lea rsi, [rsp + 0x168]
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
lea r8, [rsp + 0x1d0]
lea rdx, [rsp + reloc.mfc90u.dll_CDialog::CDialog]
lea rcx, [rsp + 0x88]
call fcn.140230bb0
mov rdx, rax
mov rax, qword [rsp + reloc.mfc90u.dll_CFile::Close]
mov rax, qword [rax]
mov rcx, qword [rsp + reloc.mfc90u.dll_CFile::Close]
call qword [rax + 0x48]
test eax, eax
je 0x14038a013
cmp dword [rsp + 0x80], 0
je 0x14038a013
mov rcx, qword [rsp + 0x110]
mov eax, dword [rsp + 0x74]
cmp dword [rcx], eax
je 0x14038a062
cmp dword [rsp + 0x134], 0
je 0x14038a060
lea rdi, [rsp + 0x1e0]
lea rsi, [rsp + 0x60]
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + reloc.mfc90u.dll_CFile::Close]
mov rax, qword [rax]
mov r9d, 1
lea r8, [rsp + 0x1e0]
mov rdx, qword [rsp + 0x618]
mov rcx, qword [rsp + reloc.mfc90u.dll_CFile::Close]
call qword [rax + CWnd::CWnd]
jmp 0x14038a0be
lea rax, [rsp + 0xe8]
mov qword [rsp + AfxLockGlobals], rax
cmp qword [rsp + 0x498], 0
jne 0x14038a08b
mov qword [rsp + CCheckListBox::CheckFromPoint], 0
jmp 0x14038a09f
mov rax, qword [rsp + 0x498]
mov rax, qword [rax + 8]
mov qword [rsp + COleControlContainer::CheckDlgButton], rax
mov r8, qword [rsp + 0x5d0]
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x618]
mov rcx, qword [rcx + 8]
call qword [sym.imp.USER32.dll_FillRect]
cmp dword [rsp + 0x134], 0
je 0x14038a0d5
mov dword [rsp + CCheckListBox::CheckFromPoint], 0
jmp 0x14038a0e0
mov dword [rsp + CCheckListBox::CheckFromPoint], 1
mov eax, dword [rsp + 0x5d8]
mov dword [rsp + 0x138], eax
mov eax, dword [rsp + 0x130]
add eax, 1
cdq
idiv dword [rsp + 0x3c]
test edx, edx
jne 0x14038a11f
movsxd rax, dword [rsp + 0x138]
imul rax, rax, 0x10
lea rax, [rsp + rax + 0xa0]
mov qword [rsp + 0x5e0], rax
jmp 0x14038a138
movsxd rax, dword [rsp + 0x138]
imul rax, rax, 0x10
lea rax, [rsp + rax + 0x40]
mov qword [rsp + 0x5e0], rax
mov rdx, qword [rsp + 0x5e0]
mov rcx, qword [rsp + 0x618]
call sub.mfc90u.dll_CImageList::Read
mov r9d, dword [rsp + 0x6c]
mov r8d, dword [rsp + 0x60]
lea rdx, [rsp + reloc.mfc90u.dll_CDynLinkLibrary::CDynLinkLibrary]
mov rcx, qword [rsp + 0x618]
call sub.mfc90u.dll_CDaoWorkspace::InitWorkspacesCollection
mov r8d, dword [rsp + 0x6c]
mov edx, dword [rsp + 0x68]
mov rcx, qword [rsp + 0x618]
call sub.mfc90u.dll_CHtmlView::GetVisible
mov rdx, qword [rsp + reloc.mfc90u.dll_CFile::Close]
mov eax, dword [rdx + 0x18]
mov dword [rsp + AfxOleInit], eax
mov r8d, dword [rsp + 0x4a0]
xor edx, edx
lea rcx, [rsp + 0x60]
call qword [sym.imp.USER32.dll_OffsetRect]
jmp 0x140389e84
jmp 0x140389c15
movsd xmm0, qword [0x140402370]
xorpd xmm1, xmm1
divsd xmm1, qword [0x14042bff8]
addsd xmm0, xmm1
xorpd xmm1, xmm1
divsd xmm1, qword [0x140442028]
addsd xmm0, xmm1
xorpd xmm1, xmm1
divsd xmm1, qword [0x1403f7358]
addsd xmm0, xmm1
movsd qword [rsp + 0x190], xmm0
mov dword [rsp + 0x198], 0
movsd xmm0, qword [0x1403f7370]
comisd xmm0, xmmword [rsp + 0x190]
ja 0x14038a225
movsd xmm0, qword [rsp + 0x190]
comisd xmm0, xmmword [0x1403f7368]
jbe 0x14038a230
mov dword [rsp + 0x198], 1
lea rdi, [rsp + 0x1f0]
lea rsi, [rsp + 0x190]
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
lea rdx, [rsp + 0x1f0]
lea rcx, [rsp + 0x88]
call fcn.140230dd0
jmp 0x140389b9e
lea rdx, [rsp + 0xd8]
mov rcx, qword [rsp + 0x618]
call sub.mfc90u.dll_CImageList::Read
cmp dword [rsp + 0x78], 0
je 0x14038a4ec
mov dword [rsp + 0x30], 0
jmp 0x14038a296
mov eax, dword [rsp + 0x30]
add eax, 1
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0xf8]
cmp dword [rsp + 0x30], eax
jge 0x14038a4e7
mov dword [rsp + 0x13c], 0
jmp 0x14038a2c5
mov eax, dword [rsp + 0x13c]
add eax, 1
mov dword [rsp + 0x13c], eax
mov eax, dword [rsp + 0x7c]
cmp dword [rsp + 0x13c], eax
jge 0x14038a4e2
movsxd rax, dword [rsp + 0x13c]
mov qword [rsp + 0x4e8], rax
mov rax, qword [rsp + reloc.mfc90u.dll_CFile::Close]
add rax, reloc.mfc90u.dll_CDocObjectServerItem::CDocObjectServerItem
mov qword [rsp + AfxThrowResourceException], rax
cmp qword [rsp + 0x4e8], 0
jl 0x14038a33f
mov rax, qword [rsp + 0x4e0]
mov rax, qword [rax + 0x10]
cmp qword [rsp + 0x4e8], rax
jge 0x14038a33f
mov rax, qword [rsp + 0x4e8]
imul rax, rax, 0x60
mov rcx, qword [rsp + 0x4e0]
add rax, qword [rcx + 8]
mov qword [rsp + 0x4d8], rax
jmp 0x14038a344
call sub.mfc90u.dll_AfxOleUnregisterServerClass
movsxd rax, dword [rsp + 0x30]
mov qword [rsp + CDaoRecordset::AllocDatabase], rax
mov rax, qword [rsp + 0x4d8]
add rax, 0x38
mov qword [rsp + 0x4f8], rax
cmp qword [rsp + 0x500], 0
jl 0x14038a3a8
mov rax, qword [rsp + 0x4f8]
mov rax, qword [rax + 0x10]
cmp qword [rsp + 0x500], rax
jge 0x14038a3a8
mov rax, qword [rsp + 0x500]
imul rax, rax, 0x10
mov rcx, qword [rsp + 0x4f8]
add rax, qword [rcx + 8]
mov qword [rsp + AfxWinInit], rax
jmp 0x14038a3ad
call sub.mfc90u.dll_AfxOleUnregisterServerClass
lea rdi, [rsp + 0x550]
mov rsi, qword [rsp + 0x4f0]
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
lea rdi, [rsp + 0x140]
lea rsi, [rsp + 0x550]
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
mov eax, dword [rsp + 0x140]
add eax, 6
mov dword [rsp + 0x148], eax
lea rax, [0x1404e62e8]
mov qword [rsp + 0x508], rax
cmp qword [rsp + 0x508], 0
jne 0x14038a414
mov qword [rsp + reloc.mfc90u.dll_CDaoTableDef::classCDaoTableDef], 0
jmp 0x14038a428
mov rax, qword [rsp + 0x508]
mov rax, qword [rax + 8]
mov qword [rsp + reloc.mfc90u.dll_CDaoTableDef::classCDaoTableDef], rax
mov r8, qword [rsp + reloc.mfc90u.dll_CDaoTableDef::classCDaoTableDef]
lea rdx, [rsp + 0x140]
mov rcx, qword [rsp + 0x618]
mov rcx, qword [rcx + 8]
call qword [sym.imp.USER32.dll_FillRect]
cmp dword [rsp + 0x30], 0
jg 0x14038a45b
cmp dword [rsp + 0x13c], 0
jle 0x14038a49c
mov r9d, dword [rsp + 0x144]
mov r8d, dword [rsp + 0x140]
lea rdx, [rsp + 0x1a0]
mov rcx, qword [rsp + 0x618]
call sub.mfc90u.dll_CDaoWorkspace::InitWorkspacesCollection
mov r8d, dword [rsp + reloc.mfc90u.dll_CBrush::CBrush]
mov edx, dword [rsp + 0x140]
mov rcx, qword [rsp + 0x618]
call sub.mfc90u.dll_CHtmlView::GetVisible
mov r9d, dword [rsp + 0x144]
mov r8d, dword [rsp + 0x148]
lea rdx, [rsp + reloc.mfc90u.dll_CGopherLocator::CGopherLocator]
mov rcx, qword [rsp + 0x618]
call sub.mfc90u.dll_CDaoWorkspace::InitWorkspacesCollection
mov r8d, dword [rsp + reloc.mfc90u.dll_CBrush::CBrush]
mov edx, dword [rsp + 0x148]
mov rcx, qword [rsp + 0x618]
call sub.mfc90u.dll_CHtmlView::GetVisible
jmp 0x14038a2b4
jmp 0x14038a28b
jmp 0x14038a6a2
mov dword [rsp + 0x30], 0
jmp 0x14038a501
mov eax, dword [rsp + 0x30]
add eax, 1
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0xf8]
cmp dword [rsp + 0x30], eax
jge 0x14038a6a2
mov dword [rsp + reloc.mfc90u.dll_CChevronOwnerDrawMenu::CChevronOwnerDrawMenu], 0
jmp 0x14038a530
mov eax, dword [rsp + reloc.mfc90u.dll_CChevronOwnerDrawMenu::CChevronOwnerDrawMenu]
add eax, 1
mov dword [rsp + reloc.mfc90u.dll_CChevronOwnerDrawMenu::CChevronOwnerDrawMenu], eax
mov eax, dword [rsp + 0x7c]
cmp dword [rsp + reloc.mfc90u.dll_CChevronOwnerDrawMenu::CChevronOwnerDrawMenu], eax
jge 0x14038a69d
movsxd rax, dword [rsp + reloc.mfc90u.dll_CChevronOwnerDrawMenu::CChevronOwnerDrawMenu]
mov qword [rsp + ATL::CSimpleStringT<char,1>::Append], rax
mov rax, qword [rsp + reloc.mfc90u.dll_CFile::Close]
add rax, reloc.mfc90u.dll_CDocObjectServerItem::CDocObjectServerItem
mov qword [rsp + COleControl::AmbientLocaleID], rax
cmp qword [rsp + 0x520], 0
jl 0x14038a5aa
mov rax, qword [rsp + 0x518]
mov rax, qword [rax + 0x10]
cmp qword [rsp + 0x520], rax
jge 0x14038a5aa
mov rax, qword [rsp + 0x520]
imul rax, rax, 0x60
mov rcx, qword [rsp + 0x518]
add rax, qword [rcx + 8]
mov qword [rsp + 0x510], rax
jmp 0x14038a5af
call sub.mfc90u.dll_AfxOleUnregisterServerClass
movsxd rax, dword [rsp + 0x30]
mov qword [rsp + 0x538], rax
mov rax, qword [rsp + 0x510]
add rax, 0x38
mov qword [rsp + ATL::CStringT<wchar_t,class StrTraitMFC_DLL<wchar_t,class ATL::ChTraitsCRT<wchar_t> > >::AppendFormat], rax
cmp qword [rsp + 0x538], 0
jl 0x14038a613
mov rax, qword [rsp + 0x530]
mov rax, qword [rax + 0x10]
cmp qword [rsp + 0x538], rax
jge 0x14038a613
mov rax, qword [rsp + 0x538]
imul rax, rax, 0x10
mov rcx, qword [rsp + 0x530]
add rax, qword [rcx + 8]
mov qword [rsp + 0x528], rax
jmp 0x14038a618
call sub.mfc90u.dll_AfxOleUnregisterServerClass
lea rdi, [rsp + 0x540]
mov rsi, qword [rsp + 0x528]
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
lea rdi, [rsp + 0x158]
lea rsi, [rsp + 0x540]
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
cmp dword [rsp + 0x30], 0
jg 0x14038a657
cmp dword [rsp + reloc.mfc90u.dll_CChevronOwnerDrawMenu::CChevronOwnerDrawMenu], 0
jle 0x14038a698
mov r9d, dword [rsp + 0x15c]
mov r8d, dword [rsp + 0x158]
lea rdx, [rsp + 0x1b0]
mov rcx, qword [rsp + 0x618]
call sub.mfc90u.dll_CDaoWorkspace::InitWorkspacesCollection
mov r8d, dword [rsp + 0x164]
mov edx, dword [rsp + 0x158]
mov rcx, qword [rsp + 0x618]
call sub.mfc90u.dll_CHtmlView::GetVisible
jmp 0x14038a51f
jmp 0x14038a4f6
mov rdx, qword [rsp + 0xd0]
mov rcx, qword [rsp + 0x618]
call sub.mfc90u.dll_CImageList::Read
nop
lea rax, vtable.CPen.0
mov qword [rsp + 0xd8], rax
lea rcx, [rsp + 0xd8]
call fcn.140002370
nop
lea rax, vtable.CBrush.0
mov qword [rsp + 0xe8], rax
lea rcx, [rsp + 0xe8]
call fcn.140002370
nop
lea r9, [fcn.14000da80]
mov r8d, 2
mov edx, reloc.WS2_32.dll_recv
lea rcx, [rsp + 0x40]
call fcn.1403adfc0
nop
lea r9, [fcn.14000da80]
mov r8d, 2
mov edx, reloc.WS2_32.dll_recv
lea rcx, [rsp + 0xa0]
call fcn.1403adfc0
add rsp, 0x5f8
pop rdi
pop rsi
ret