Function at 0x1401d2330
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 0x1401d2369
mov qword [rsp + 0x1c0], 0
jmp 0x1401d2394
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 0x1401d23b7
mov qword [rsp + 0x1c8], 0
jmp 0x1401d23fb
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0xe8], rax
cmp qword [rsp + 0xe8], 0
jne 0x1401d23d4
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 0x1401d2463
mov ecx, reloc.WS2_32.dll_recv
call qword [sym.imp.USER32.dll_GetKeyState]
cwde
and eax, 0x80
test eax, eax
je 0x1401d2458
mov dword [rsp + 0x208], 0x26
jmp 0x1401d2463
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.0x1401d24ba.14
mov eax, dword [rsp + 0x1d0]
lea rcx, [0x140000000]
movzx eax, byte [rcx + rax + 0x1d3034]
mov eax, dword [rcx + rax*4 + 0x1d3018]
add rax, rcx
jmp rax
mov dword [rsp + 0x2c], 1
call fcn.1401da050
mov rdx, qword [rsp + 0x40]
mov rcx, rax
call sub.mfc90u.dll_AfxCheckError
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x1401d256a
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 0x1401d2517
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 0x1401d256a
mov rcx, qword [rsp + reloc.mfc90u.dll_COleStreamFile::COleStreamFile]
call fcn.140008d90
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 0x1401d2ea3
mov qword [rsp + 0x30], 0
mov rax, qword [rsp + reloc.mfc90u.dll_COleStreamFile::COleStreamFile]
cmp dword [rax + 0x13c4], 0
je 0x1401d25c3
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 0x1401d25c3
cmp dword [rsp + 0x208], 0x24
je 0x1401d25c3
mov eax, 1
jmp 0x1401d300b
mov dword [rsp + 0x2c], 1
mov rax, qword [rsp + reloc.mfc90u.dll_COleStreamFile::COleStreamFile]
cmp qword [rax + 0x10e0], 0
jne 0x1401d25ea
mov dword [rsp + reloc.mfc90u.dll_COleClientItem::COleClientItem], 1
jmp 0x1401d25f5
mov dword [rsp + reloc.mfc90u.dll_COleClientItem::COleClientItem], 0
cmp dword [rsp + reloc.mfc90u.dll_COleClientItem::COleClientItem], 0
je 0x1401d2604
jmp 0x1401d2ea3
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0
je 0x1401d2643
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x108], rax
cmp qword [rsp + 0x108], 0
jne 0x1401d2633
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 0x1401d2679
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 0x1401d2684
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 0x1401d2786
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 0x1401d26c4
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 0x1401d2727
mov rcx, qword [rsp + 0x68]
add rcx, 0x48
call qword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x1401d2727
mov rax, qword [rsp + 0x68]
cmp dword [rax + 0xc], 0xfffffffe
je 0x1401d2727
jmp 0x1401d2786
mov eax, dword [rsp + 0x48]
add eax, 1
mov dword [rsp + 0x48], eax
cmp qword [rsp + 0x60], 0
jne 0x1401d2781
mov rax, qword [rsp + reloc.mfc90u.dll_COleStreamFile::COleStreamFile]
cmp dword [rax + 0x13c4], 0
je 0x1401d2755
mov eax, 1
jmp 0x1401d300b
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 0x1401d268d
cmp qword [rsp + 0x58], 0
je 0x1401d27d7
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x130], rax
cmp qword [rsp + 0x130], 0
jne 0x1401d27ab
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 0x1401d2ea3
mov qword [rsp + 0x30], 0
mov rax, qword [rsp + reloc.mfc90u.dll_COleStreamFile::COleStreamFile]
cmp dword [rax + 0x13c4], 0
je 0x1401d2830
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 0x1401d2830
cmp dword [rsp + 0x208], 0x23
je 0x1401d2830
mov eax, 1
jmp 0x1401d300b
mov dword [rsp + 0x2c], 1
mov rax, qword [rsp + reloc.mfc90u.dll_COleStreamFile::COleStreamFile]
cmp qword [rax + 0x10e0], 0
jne 0x1401d2857
mov dword [rsp + 0x1d8], 1
jmp 0x1401d2862
mov dword [rsp + 0x1d8], 0
cmp dword [rsp + 0x1d8], 0
je 0x1401d2871
jmp 0x1401d2ea3
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x78], rax
cmp qword [rsp + 0x78], 0
je 0x1401d28b1
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x148], rax
cmp qword [rsp + 0x148], 0
jne 0x1401d28a0
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 0x1401d2904
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 0x1401d290f
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 0x1401d2a3b
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 0x1401d294f
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 0x1401d29bf
mov rcx, qword [rsp + 0x80]
add rcx, 0x48
call qword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x1401d29bf
mov rax, qword [rsp + 0x80]
cmp dword [rax + 0xc], 0xfffffffe
je 0x1401d29bf
jmp 0x1401d2a3b
mov eax, dword [rsp + 0x48]
sub eax, 1
mov dword [rsp + 0x48], eax
cmp qword [rsp + 0x78], 0
jne 0x1401d2a36
mov rax, qword [rsp + reloc.mfc90u.dll_COleStreamFile::COleStreamFile]
cmp dword [rax + 0x13c4], 0
je 0x1401d29ed
mov eax, 1
jmp 0x1401d300b
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 0x1401d2918
cmp qword [rsp + 0x70], 0
je 0x1401d2a8c
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x180], rax
cmp qword [rsp + 0x180], 0
jne 0x1401d2a60
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 0x1401d2ea3
mov rax, qword [rsp + reloc.mfc90u.dll_COleStreamFile::COleStreamFile]
cmp dword [rax + 0x13c4], 0
je 0x1401d2bb5
mov rax, qword [rsp + reloc.mfc90u.dll_COleStreamFile::COleStreamFile]
cmp dword [rax + 0x13c8], 0
jle 0x1401d2bb5
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 0x1401d2b00
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 0x1401d2b5b
cmp dword [rsp + 0x208], 0x21
jne 0x1401d2b2e
mov dword [rsp + 0x1dc], 0x26
jmp 0x1401d2b39
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 0x1401d2aef
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 0x1401d2bab
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 0x1401d300b
jmp 0x1401d2ea3
cmp dword [0x1404e6674], 0
jne 0x1401d2ea3
mov ecx, setsockopt
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
and eax, 0x8000
test eax, eax
jne 0x1401d2ea3
mov ecx, dword [rsp + 0x208]
call fcn.1401fbdb0
mov dword [rsp + 0x9c], eax
mov eax, dword [rsp + 0x208]
mov dword [rsp + 0x98], eax
cmp dword [rsp + 0x9c], 0
je 0x1401d2c1e
mov ecx, dword [rsp + 0x208]
call fcn.1401fbe90
mov dword [rsp + 0x98], eax
cmp dword [rsp + 0x9c], 0
je 0x1401d2e36
mov rcx, qword [rsp + reloc.mfc90u.dll_COleStreamFile::COleStreamFile]
add rcx, 0x1290
lea r8, [rsp + 0x90]
lea rdx, [rsp + 0x98]
call fcn.140123740
test eax, eax
je 0x1401d2e36
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 0x1401d2caa
mov eax, dword [rsp + 0xa8]
add eax, 1
mov dword [rsp + 0xa8], eax
cmp qword [rsp + 0xb0], 0
je 0x1401d2d33
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x198], rax
cmp qword [rsp + 0x198], 0
jne 0x1401d2cd5
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 0x1401d2d2e
mov eax, dword [rsp + 0xa8]
mov dword [rsp + 0x48], eax
jmp 0x1401d2d33
jmp 0x1401d2c99
call fcn.1401da050
mov rdx, qword [rsp + 0x90]
mov rcx, rax
call sub.mfc90u.dll_AfxCheckError
mov qword [rsp + 0xa0], rax
cmp qword [rsp + 0xa0], 0
je 0x1401d2e34
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 0x1401d2dc9
mov rax, qword [rsp + 0xa0]
cmp qword [rax + 0xd0], 0
je 0x1401d2dc7
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 0x1401d2e34
mov rax, qword [rsp + 0x90]
mov eax, dword [rax + 0x10]
and eax, 0x40000
test eax, eax
je 0x1401d2dfe
mov r8, qword [rsp + 0x90]
xor edx, edx
mov rcx, qword [rsp + reloc.mfc90u.dll_COleStreamFile::COleStreamFile]
call fcn.1401cf3d0
mov eax, 1
jmp 0x1401d300b
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 0x1401d2e34
mov eax, 1
jmp 0x1401d300b
jmp 0x1401d2ea3
cmp dword [0x1404de458], 0
je 0x1401d2ea3
mov rax, qword [rsp + reloc.mfc90u.dll_COleStreamFile::COleStreamFile]
cmp dword [rax + 0x1344], 0
jne 0x1401d2ea3
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.1401d5510
test eax, eax
je 0x1401d2ea3
xor r8d, r8d
mov edx, dword [rsp + 0xc0]
mov rcx, qword [rsp + reloc.mfc90u.dll_COleStreamFile::COleStreamFile]
call fcn.1401cf3d0
mov eax, 1
jmp 0x1401d300b
mov rax, qword [rsp + 0x40]
cmp qword [rsp + 0x20], rax
je 0x1401d3007
cmp dword [rsp + 0x28], 0
je 0x1401d2ee8
mov rax, qword [rsp + reloc.mfc90u.dll_COleStreamFile::COleStreamFile]
cmp dword [rax + 0x13cc], 0
jne 0x1401d2ee8
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 [0x1404e6674], 0
je 0x1401d2f03
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 + COleDispatchImpl::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 0x1401d2f7e
mov eax, dword [rsp + 0xe4]
cmp dword [rsp + 0xd4], eax
jle 0x1401d2f80
jmp 0x1401d2fdb
cmp qword [rsp + 0x40], 0
je 0x1401d2fa9
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 0x1401d3007
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