Function at 0x1401c7800
Capabilities:
Log keystrokes via polling

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x1e8
mov dword [rsp + 0x2c], 0
mov rax, qword [rsp + reloc.mfc90u.dll_COleStreamFile::COleStreamFile]
cmp dword [rax + 0x10bc], 0
jge 0x1401c7839
mov qword [rsp + 0x1c0], 0
jmp 0x1401c7864
mov rax, qword [rsp + reloc.mfc90u.dll_COleStreamFile::COleStreamFile]
movsxd rdx, dword [rax + 0x10bc]
mov rcx, qword [rsp + reloc.mfc90u.dll_COleStreamFile::COleStreamFile]
add rcx, 0x10c8
call sub.mfc90u.dll_CControlBar::EnableDocking
mov qword [rsp + 0x1c0], rax
mov rax, qword [rsp + 0x1c0]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x1401c7887
mov qword [rsp + 0x1c8], 0
jmp 0x1401c78cb
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0xe8], rax
cmp qword [rsp + 0xe8], 0
jne 0x1401c78a4
call sub.mfc90u.dll_AfxOleUnregisterServerClass
mov rax, qword [rsp + 0xe8]
add rax, 0x10
mov qword [rsp + 0xf0], rax
mov rax, qword [rsp + 0xf0]
mov rax, qword [rax]
mov qword [rsp + 0x1c8], rax
mov rax, qword [rsp + 0x1c8]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + reloc.mfc90u.dll_COleStreamFile::COleStreamFile]
mov eax, dword [rax + 0x10bc]
mov dword [rsp + 0x48], eax
mov dword [rsp + 0x28], 0
cmp dword [rsp + 0x208], 9
jne 0x1401c7933
mov ecx, reloc.WS2_32.dll_recv
call qword [sym.imp.USER32.dll_GetKeyState]
cwde
and eax, 0x80
test eax, eax
je 0x1401c7928
mov dword [rsp + 0x208], 0x26
jmp 0x1401c7933
mov dword [rsp + 0x208], 0x28
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x38], rax
mov eax, dword [rsp + 0x208]
mov dword [rsp + 0x1d0], eax
mov eax, dword [rsp + 0x1d0]
sub eax, 0xd
mov dword [rsp + 0x1d0], eax
cmp dword [rsp + 0x1d0], 0x1b
ja case.0x1401c798a.14
mov eax, dword [rsp + 0x1d0]
lea rcx, [0x140000000]
movzx eax, byte [rcx + rax + 0x1c8504]
mov eax, dword [rcx + rax*4 + 0x1c84e8]
add rax, rcx
jmp rax
mov dword [rsp + 0x2c], 1
call fcn.1401cf610
mov rdx, qword [rsp + 0x40]
mov rcx, rax
call sub.mfc90u.dll_AfxCheckError
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x1401c7a3a
mov rax, qword [rsp + 0x50]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x50]
call qword [rax + reloc.mfc90u.dll_COleStreamFile::COleStreamFile]
test eax, eax
jne 0x1401c79e7
mov rax, qword [rsp + 0x50]
mov rax, qword [rax]
xor edx, edx
mov rcx, qword [rsp + 0x50]
call qword [rax + CMapPtrToWord::CMapPtrToWord]
test eax, eax
jne 0x1401c7a3a
mov rcx, qword [rsp + reloc.mfc90u.dll_COleStreamFile::COleStreamFile]
call fcn.140006ca4
mov qword [rsp + 0xf8], rax
xor r9d, r9d
mov r8d, 0xe001
mov edx, 0x362
mov rcx, qword [rsp + 0xf8]
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rax, qword [rsp + reloc.mfc90u.dll_COleStreamFile::COleStreamFile]
mov rax, qword [rax]
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + reloc.mfc90u.dll_COleStreamFile::COleStreamFile]
call qword [rax + CDHtmlDialog::DDX_DHtml_CheckBox]
jmp 0x1401c8373
mov qword [rsp + 0x30], 0
mov rax, qword [rsp + reloc.mfc90u.dll_COleStreamFile::COleStreamFile]
cmp dword [rax + reloc.mfc90u.dll_CControlBar::OnLButtonDblClk], 0
je 0x1401c7a93
mov rax, qword [rsp + reloc.mfc90u.dll_COleStreamFile::COleStreamFile]
mov rax, qword [rax + 0x10d8]
mov qword [rsp + 0x100], rax
mov rax, qword [rsp + 0x100]
cmp qword [rsp + 0x38], rax
jne 0x1401c7a93
cmp dword [rsp + 0x208], 0x24
je 0x1401c7a93
mov eax, 1
jmp 0x1401c84db
mov dword [rsp + 0x2c], 1
mov rax, qword [rsp + reloc.mfc90u.dll_COleStreamFile::COleStreamFile]
cmp qword [rax + 0x10e0], 0
jne 0x1401c7aba
mov dword [rsp + reloc.mfc90u.dll_COleClientItem::COleClientItem], 1
jmp 0x1401c7ac5
mov dword [rsp + reloc.mfc90u.dll_COleClientItem::COleClientItem], 0
cmp dword [rsp + reloc.mfc90u.dll_COleClientItem::COleClientItem], 0
je 0x1401c7ad4
jmp 0x1401c8373
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0
je 0x1401c7b13
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x108], rax
cmp qword [rsp + 0x108], 0
jne 0x1401c7b03
call sub.mfc90u.dll_AfxOleUnregisterServerClass
mov rax, qword [rsp + 0x108]
mov rax, qword [rax]
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0
jne 0x1401c7b49
mov rax, qword [rsp + reloc.mfc90u.dll_COleStreamFile::COleStreamFile]
mov rax, qword [rax + 0x10d0]
mov qword [rsp + 0x110], rax
mov rax, qword [rsp + 0x110]
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x48], 0
jmp 0x1401c7b54
mov eax, dword [rsp + 0x48]
add eax, 1
mov dword [rsp + 0x48], eax
mov qword [rsp + 0x58], 0
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x60], rax
je 0x1401c7c56
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x118], rax
cmp qword [rsp + 0x118], 0
jne 0x1401c7b94
call sub.mfc90u.dll_AfxOleUnregisterServerClass
mov rax, qword [rsp + 0x118]
mov rax, qword [rax]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x118]
add rax, 0x10
mov qword [rsp + 0x120], rax
mov rax, qword [rsp + 0x120]
mov rax, qword [rax]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov eax, dword [rax + 0x10]
and eax, 1
test eax, eax
jne 0x1401c7bf7
mov rcx, qword [rsp + 0x68]
add rcx, 0x48
call qword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x1401c7bf7
mov rax, qword [rsp + 0x68]
cmp dword [rax + 0xc], 0xfffffffe
je 0x1401c7bf7
jmp 0x1401c7c56
mov eax, dword [rsp + 0x48]
add eax, 1
mov dword [rsp + 0x48], eax
cmp qword [rsp + 0x60], 0
jne 0x1401c7c51
mov rax, qword [rsp + reloc.mfc90u.dll_COleStreamFile::COleStreamFile]
cmp dword [rax + reloc.mfc90u.dll_CControlBar::OnLButtonDblClk], 0
je 0x1401c7c25
mov eax, 1
jmp 0x1401c84db
mov rax, qword [rsp + reloc.mfc90u.dll_COleStreamFile::COleStreamFile]
mov rax, qword [rax + 0x10d0]
mov qword [rsp + 0x128], rax
mov rax, qword [rsp + 0x128]
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x48], 0
jmp 0x1401c7b5d
cmp qword [rsp + 0x58], 0
je 0x1401c7ca7
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x130], rax
cmp qword [rsp + 0x130], 0
jne 0x1401c7c7b
call sub.mfc90u.dll_AfxOleUnregisterServerClass
mov rax, qword [rsp + 0x130]
add rax, 0x10
mov qword [rsp + 0x138], rax
mov rax, qword [rsp + 0x138]
mov rax, qword [rax]
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x28], 1
jmp 0x1401c8373
mov qword [rsp + 0x30], 0
mov rax, qword [rsp + reloc.mfc90u.dll_COleStreamFile::COleStreamFile]
cmp dword [rax + reloc.mfc90u.dll_CControlBar::OnLButtonDblClk], 0
je 0x1401c7d00
mov rax, qword [rsp + reloc.mfc90u.dll_COleStreamFile::COleStreamFile]
mov rax, qword [rax + 0x10d0]
mov qword [rsp + 0x140], rax
mov rax, qword [rsp + 0x140]
cmp qword [rsp + 0x38], rax
jne 0x1401c7d00
cmp dword [rsp + 0x208], 0x23
je 0x1401c7d00
mov eax, 1
jmp 0x1401c84db
mov dword [rsp + 0x2c], 1
mov rax, qword [rsp + reloc.mfc90u.dll_COleStreamFile::COleStreamFile]
cmp qword [rax + 0x10e0], 0
jne 0x1401c7d27
mov dword [rsp + 0x1d8], 1
jmp 0x1401c7d32
mov dword [rsp + 0x1d8], 0
cmp dword [rsp + 0x1d8], 0
je 0x1401c7d41
jmp 0x1401c8373
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x78], rax
cmp qword [rsp + 0x78], 0
je 0x1401c7d81
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x148], rax
cmp qword [rsp + 0x148], 0
jne 0x1401c7d70
call sub.mfc90u.dll_AfxOleUnregisterServerClass
mov rax, qword [rsp + 0x148]
mov rax, qword [rax + 8]
mov qword [rsp + 0x78], rax
cmp qword [rsp + 0x78], 0
jne 0x1401c7dd4
mov rax, qword [rsp + reloc.mfc90u.dll_COleStreamFile::COleStreamFile]
mov rax, qword [rax + 0x10d8]
mov qword [rsp + reloc.mfc90u.dll_CChevronOwnerDrawMenu::CChevronOwnerDrawMenu], rax
mov rax, qword [rsp + reloc.mfc90u.dll_CChevronOwnerDrawMenu::CChevronOwnerDrawMenu]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + reloc.mfc90u.dll_COleStreamFile::COleStreamFile]
mov rax, qword [rax + 0x10e0]
mov qword [rsp + 0x158], rax
mov eax, dword [rsp + 0x158]
sub eax, 1
mov dword [rsp + 0x48], eax
jmp 0x1401c7ddf
mov eax, dword [rsp + 0x48]
sub eax, 1
mov dword [rsp + 0x48], eax
mov qword [rsp + 0x70], 0
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x78], rax
je 0x1401c7f0b
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x160], rax
cmp qword [rsp + 0x160], 0
jne 0x1401c7e1f
call sub.mfc90u.dll_AfxOleUnregisterServerClass
mov rax, qword [rsp + 0x160]
mov rax, qword [rax + 8]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x160]
add rax, 0x10
mov qword [rsp + 0x168], rax
mov rax, qword [rsp + 0x168]
mov rax, qword [rax]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x10]
and eax, 1
test eax, eax
jne 0x1401c7e8f
mov rcx, qword [rsp + 0x80]
add rcx, 0x48
call qword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x1401c7e8f
mov rax, qword [rsp + 0x80]
cmp dword [rax + 0xc], 0xfffffffe
je 0x1401c7e8f
jmp 0x1401c7f0b
mov eax, dword [rsp + 0x48]
sub eax, 1
mov dword [rsp + 0x48], eax
cmp qword [rsp + 0x78], 0
jne 0x1401c7f06
mov rax, qword [rsp + reloc.mfc90u.dll_COleStreamFile::COleStreamFile]
cmp dword [rax + reloc.mfc90u.dll_CControlBar::OnLButtonDblClk], 0
je 0x1401c7ebd
mov eax, 1
jmp 0x1401c84db
mov rax, qword [rsp + reloc.mfc90u.dll_COleStreamFile::COleStreamFile]
mov rax, qword [rax + 0x10d8]
mov qword [rsp + 0x170], rax
mov rax, qword [rsp + 0x170]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + reloc.mfc90u.dll_COleStreamFile::COleStreamFile]
mov rax, qword [rax + 0x10e0]
mov qword [rsp + reloc.mfc90u.dll_CDialog::CDialog], rax
mov eax, dword [rsp + reloc.mfc90u.dll_CDialog::CDialog]
sub eax, 1
mov dword [rsp + 0x48], eax
jmp 0x1401c7de8
cmp qword [rsp + 0x70], 0
je 0x1401c7f5c
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x180], rax
cmp qword [rsp + 0x180], 0
jne 0x1401c7f30
call sub.mfc90u.dll_AfxOleUnregisterServerClass
mov rax, qword [rsp + 0x180]
add rax, 0x10
mov qword [rsp + reloc.mfc90u.dll_CDynLinkLibrary::CDynLinkLibrary], rax
mov rax, qword [rsp + reloc.mfc90u.dll_CDynLinkLibrary::CDynLinkLibrary]
mov rax, qword [rax]
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x28], 1
jmp 0x1401c8373
mov rax, qword [rsp + reloc.mfc90u.dll_COleStreamFile::COleStreamFile]
cmp dword [rax + reloc.mfc90u.dll_CControlBar::OnLButtonDblClk], 0
je 0x1401c8085
mov rax, qword [rsp + reloc.mfc90u.dll_COleStreamFile::COleStreamFile]
cmp dword [rax + 0x13c8], 0
jle 0x1401c8085
mov rax, qword [rsp + reloc.mfc90u.dll_COleStreamFile::COleStreamFile]
mov dword [rax + CMDIChildWnd::OnMDIActivate], 1
mov rax, qword [rsp + reloc.mfc90u.dll_COleStreamFile::COleStreamFile]
mov eax, dword [rax + 0x10bc]
mov dword [rsp + 0x88], eax
mov dword [rsp + 0x8c], 0
jmp 0x1401c7fd0
mov eax, dword [rsp + 0x8c]
add eax, 1
mov dword [rsp + 0x8c], eax
mov rax, qword [rsp + reloc.mfc90u.dll_COleStreamFile::COleStreamFile]
mov eax, dword [rax + 0x13c8]
cmp dword [rsp + 0x8c], eax
jge 0x1401c802b
cmp dword [rsp + 0x208], 0x21
jne 0x1401c7ffe
mov dword [rsp + 0x1dc], 0x26
jmp 0x1401c8009
mov dword [rsp + 0x1dc], 0x28
mov rax, qword [rsp + reloc.mfc90u.dll_COleStreamFile::COleStreamFile]
mov rax, qword [rax]
mov edx, dword [rsp + 0x1dc]
mov rcx, qword [rsp + reloc.mfc90u.dll_COleStreamFile::COleStreamFile]
call qword [rax + reloc.mfc90u.dll_DDX_FieldScroll]
jmp 0x1401c7fbf
mov rax, qword [rsp + reloc.mfc90u.dll_COleStreamFile::COleStreamFile]
mov dword [rax + CMDIChildWnd::OnMDIActivate], 0
mov rax, qword [rsp + reloc.mfc90u.dll_COleStreamFile::COleStreamFile]
mov eax, dword [rax + 0x10bc]
cmp dword [rsp + 0x88], eax
je 0x1401c807b
mov rdi, qword [rsp + reloc.mfc90u.dll_COleStreamFile::COleStreamFile]
mov rdi, qword [rdi]
mov rax, qword [rsp + reloc.mfc90u.dll_COleStreamFile::COleStreamFile]
mov edx, dword [rax + 0x10bc]
mov rcx, qword [rsp + reloc.mfc90u.dll_COleStreamFile::COleStreamFile]
call qword [rdi + reloc.mfc90u.dll_CFileDialog::CFileDialog]
mov eax, 1
jmp 0x1401c84db
jmp 0x1401c8373
cmp dword [0x1404f7e34], 0
jne 0x1401c8373
mov ecx, send
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
and eax, 0x8000
test eax, eax
jne 0x1401c8373
mov ecx, dword [rsp + 0x208]
call fcn.1401f0de0
mov dword [rsp + 0x9c], eax
mov eax, dword [rsp + 0x208]
mov dword [rsp + 0x98], eax
cmp dword [rsp + 0x9c], 0
je 0x1401c80ee
mov ecx, dword [rsp + 0x208]
call fcn.1401f0ec0
mov dword [rsp + 0x98], eax
cmp dword [rsp + 0x9c], 0
je 0x1401c8306
mov rcx, qword [rsp + reloc.mfc90u.dll_COleStreamFile::COleStreamFile]
add rcx, 0x1290
lea r8, [rsp + 0x90]
lea rdx, [rsp + 0x98]
call fcn.1401032c0
test eax, eax
je 0x1401c8306
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x20], rax
mov dword [rsp + 0xa8], 0
mov rax, qword [rsp + reloc.mfc90u.dll_COleStreamFile::COleStreamFile]
mov rax, qword [rax + 0x10d0]
mov qword [rsp + 0x190], rax
mov rax, qword [rsp + 0x190]
mov qword [rsp + 0xb0], rax
jmp 0x1401c817a
mov eax, dword [rsp + 0xa8]
add eax, 1
mov dword [rsp + 0xa8], eax
cmp qword [rsp + 0xb0], 0
je 0x1401c8203
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x198], rax
cmp qword [rsp + 0x198], 0
jne 0x1401c81a5
call sub.mfc90u.dll_AfxOleUnregisterServerClass
mov rax, qword [rsp + 0x198]
mov rax, qword [rax]
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0x198]
add rax, 0x10
mov qword [rsp + 0x1a0], rax
mov rax, qword [rsp + 0x1a0]
mov rax, qword [rax]
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0x90]
cmp qword [rsp + 0xb8], rax
jne 0x1401c81fe
mov eax, dword [rsp + 0xa8]
mov dword [rsp + 0x48], eax
jmp 0x1401c8203
jmp 0x1401c8169
call fcn.1401cf610
mov rdx, qword [rsp + 0x90]
mov rcx, rax
call sub.mfc90u.dll_AfxCheckError
mov qword [rsp + 0xa0], rax
cmp qword [rsp + 0xa0], 0
je 0x1401c8304
mov rax, qword [rsp + 0xa0]
mov rax, qword [rax]
xor edx, edx
mov rcx, qword [rsp + 0xa0]
call qword [rax + CMapPtrToWord::CMapPtrToWord]
test eax, eax
je 0x1401c8299
mov rax, qword [rsp + 0xa0]
cmp qword [rax + 0xd0], 0
je 0x1401c8297
mov rax, qword [rsp + 0xa0]
mov rax, qword [rax + 0xd0]
mov qword [rsp + reloc.mfc90u.dll_CGopherLocator::CGopherLocator], rax
xor r9d, r9d
mov r8d, 0x24
mov edx, HashKey<wchar_t const *>
mov rcx, qword [rsp + reloc.mfc90u.dll_CGopherLocator::CGopherLocator]
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
jmp 0x1401c8304
mov rax, qword [rsp + 0x90]
mov eax, dword [rax + 0x10]
and eax, 0x40000
test eax, eax
je 0x1401c82ce
mov r8, qword [rsp + 0x90]
xor edx, edx
mov rcx, qword [rsp + reloc.mfc90u.dll_COleStreamFile::COleStreamFile]
call fcn.1401c4870
mov eax, 1
jmp 0x1401c84db
mov rax, qword [rsp + reloc.mfc90u.dll_COleStreamFile::COleStreamFile]
mov rax, qword [rax]
mov rdx, qword [rsp + 0xa0]
mov rcx, qword [rsp + reloc.mfc90u.dll_COleStreamFile::COleStreamFile]
call qword [rax + CDHtmlDialog::DDX_DHtml_CheckBox]
mov dword [rsp + 0x2c], eax
cmp dword [rsp + 0x2c], 0
je 0x1401c8304
mov eax, 1
jmp 0x1401c84db
jmp 0x1401c8373
cmp dword [0x1404ef1dc], 0
je 0x1401c8373
mov rax, qword [rsp + reloc.mfc90u.dll_COleStreamFile::COleStreamFile]
cmp dword [rax + 0x1344], 0
jne 0x1401c8373
mov dword [rsp + 0xc0], 0
mov rcx, qword [rsp + reloc.mfc90u.dll_COleStreamFile::COleStreamFile]
add rcx, 0x1378
lea r8, [rsp + 0xc0]
mov edx, dword [rsp + 0x98]
call fcn.1401ca9e0
test eax, eax
je 0x1401c8373
xor r8d, r8d
mov edx, dword [rsp + 0xc0]
mov rcx, qword [rsp + reloc.mfc90u.dll_COleStreamFile::COleStreamFile]
call fcn.1401c4870
mov eax, 1
jmp 0x1401c84db
mov rax, qword [rsp + 0x40]
cmp qword [rsp + 0x20], rax
je 0x1401c84d7
cmp dword [rsp + 0x28], 0
je 0x1401c83b8
mov rax, qword [rsp + reloc.mfc90u.dll_COleStreamFile::COleStreamFile]
cmp dword [rax + 0x13cc], 0
jne 0x1401c83b8
mov rax, qword [rsp + reloc.mfc90u.dll_COleStreamFile::COleStreamFile]
mov rax, qword [rax]
mov edx, dword [rsp + 0x48]
mov rcx, qword [rsp + reloc.mfc90u.dll_COleStreamFile::COleStreamFile]
call qword [rax + reloc.mfc90u.dll_CFileDialog::CFileDialog]
cmp dword [0x1404f7e34], 0
je 0x1401c83d3
mov rcx, qword [rsp + reloc.mfc90u.dll_COleStreamFile::COleStreamFile]
mov eax, dword [rsp + 0x48]
mov dword [rcx + reloc.mfc90u.dll_COleDispatchImpl::Invoke], eax
mov rcx, qword [rsp + reloc.mfc90u.dll_COleStreamFile::COleStreamFile]
mov eax, dword [rsp + 0x48]
mov dword [rcx + CDHtmlEventSink::Invoke], eax
lea rdx, [rsp + 0xd8]
mov rcx, qword [rsp + reloc.mfc90u.dll_COleStreamFile::COleStreamFile]
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_GetClientRect]
lea rdi, [rsp + 0x1b0]
mov rsi, qword [rsp + 0x20]
add rsi, 0x48
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
lea rdi, [rsp + 0xc8]
lea rsi, [rsp + 0x1b0]
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
mov eax, dword [rsp + 0xdc]
cmp dword [rsp + 0xcc], eax
jl 0x1401c844e
mov eax, dword [rsp + 0xe4]
cmp dword [rsp + 0xd4], eax
jle 0x1401c8450
jmp 0x1401c84ab
cmp qword [rsp + 0x40], 0
je 0x1401c8479
mov rdx, qword [rsp + 0x40]
add rdx, 0x48
mov r8d, 1
mov rcx, qword [rsp + reloc.mfc90u.dll_COleStreamFile::COleStreamFile]
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_InvalidateRect]
mov r8d, 1
lea rdx, [rsp + 0xc8]
mov rcx, qword [rsp + reloc.mfc90u.dll_COleStreamFile::COleStreamFile]
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_InvalidateRect]
mov rcx, qword [rsp + reloc.mfc90u.dll_COleStreamFile::COleStreamFile]
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_UpdateWindow]
mov rax, qword [rsp + 0x20]
cmp dword [rax + 0xc], 0xffffffff
je 0x1401c84d7
mov rdi, qword [rsp + reloc.mfc90u.dll_COleStreamFile::COleStreamFile]
mov rdi, qword [rdi]
mov rax, qword [rsp + 0x20]
mov edx, dword [rax + 0xc]
mov rcx, qword [rsp + reloc.mfc90u.dll_COleStreamFile::COleStreamFile]
call qword [rdi + 0x7f8]
mov eax, dword [rsp + 0x2c]
add rsp, 0x1e8
pop rdi
pop rsi
ret