Function at 0x140203360
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xf8
mov dword [rsp + 0x20], 1
mov rax, qword [rsp + 0x108]
mov eax, dword [rax + 8]
mov dword [rsp + 0xc8], eax
cmp dword [rsp + 0xc8], reloc.mfc90u.dll_SerializeElements_class_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_______
ja 0x1402033ed
cmp dword [rsp + 0xc8], reloc.mfc90u.dll_SerializeElements_class_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_______
je 0x140203538
mov eax, dword [rsp + 0xc8]
sub eax, 0x7b
mov dword [rsp + 0xc8], eax
cmp dword [rsp + 0xc8], 0x89
ja case.0x140203426.514
mov eax, dword [rsp + 0xc8]
lea rcx, [0x140000000]
movzx eax, byte [rcx + rax + 0x203b78]
mov eax, dword [rcx + rax*4 + 0x203b64]
add rax, rcx
jmp rax
mov eax, dword [rsp + 0xc8]
sub eax, reloc.mfc90u.dll_COleStreamFile::COleStreamFile
mov dword [rsp + 0xc8], eax
cmp dword [rsp + 0xc8], 0xa
ja case.0x140203426.514
mov eax, dword [rsp + 0xc8]
lea rcx, [0x140000000]
mov eax, dword [rcx + rax*4 + 0x203c04]
add rax, rcx
jmp rax
mov rax, qword [rsp + 0x100]
cmp qword [rax + 0x4138], 0
je case.0x1402033eb.123
mov r9, qword [rsp + 0x108]
mov r9, qword [r9 + 0x18]
mov r8, qword [rsp + 0x108]
mov r8, qword [r8 + 0x10]
mov rdx, qword [rsp + 0x100]
mov rcx, qword [rsp + 0x100]
mov rcx, qword [rcx + 0x4138]
call fcn.140293c80
test eax, eax
je case.0x1402033eb.123
mov eax, 1
jmp 0x140203b5a
cmp dword [0x1404f7c80], 0
jne 0x14020349d
cmp dword [0x1404f7c7c], 0
jne 0x14020349d
mov dword [0x1404f7c7c], 1
call fcn.140102e50
cmp qword [0x1404f8e30], 0
je 0x140203503
mov rcx, qword [0x1404f8e30]
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x140203503
mov rax, qword [rsp + 0x108]
cmp qword [rax + 0x10], 0x12
jne 0x140203503
mov rax, qword [0x1404f8e30]
mov qword [rsp + 0x80], rax
xor r9d, r9d
xor r8d, r8d
mov edx, reloc.WS2_32.dll_recv
mov rcx, qword [rsp + 0x80]
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
mov eax, 1
jmp 0x140203b5a
mov rcx, qword [rsp + 0x100]
add rcx, 0x4020
xor r8d, r8d
mov rax, qword [rsp + 0x108]
mov edx, dword [rax + 0x10]
call fcn.140105e30
test eax, eax
je 0x140203533
mov eax, 1
jmp 0x140203b5a
jmp case.0x140203426.514
mov rax, qword [rsp + 0x100]
cmp qword [rax + 0x4138], 0
je 0x14020358c
mov r9, qword [rsp + 0x108]
mov r9, qword [r9 + 0x18]
mov r8, qword [rsp + 0x108]
mov r8, qword [r8 + 0x10]
mov rdx, qword [rsp + 0x100]
mov rcx, qword [rsp + 0x100]
mov rcx, qword [rcx + 0x4138]
call fcn.140293e60
test eax, eax
je 0x14020358c
mov eax, 1
jmp 0x140203b5a
mov ecx, send
call qword [sym.imp.USER32.dll_GetKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x1402035ae
mov dword [rsp + 0xcc], 1
jmp 0x1402035b9
mov dword [rsp + 0xcc], 0
mov eax, dword [rsp + 0xcc]
mov dword [rsp + 0x24], eax
mov ecx, reloc.WS2_32.dll_recv
call qword [sym.imp.USER32.dll_GetKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x1402035e6
mov dword [rsp + 0xd0], 1
jmp 0x1402035f1
mov dword [rsp + 0xd0], 0
mov eax, dword [rsp + 0xd0]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x100]
mov rax, qword [rax + 0x40a8]
mov qword [rsp + 0x88], rax
cmp qword [rsp + 0x88], 0
jne 0x14020362c
mov qword [rsp + 0xd8], 0
jmp 0x140203640
mov rax, qword [rsp + 0x88]
mov rax, qword [rax + 0x40]
mov qword [rsp + 0xd8], rax
cmp qword [rsp + 0xd8], 0
je 0x140203723
mov rax, qword [rsp + 0x100]
mov rax, qword [rax + 0x40a8]
mov qword [rsp + 0x90], rax
mov rcx, qword [rsp + 0x90]
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x140203723
mov rax, qword [rsp + 0x108]
cmp qword [rax + 0x10], 0x12
je 0x1402036b0
mov rax, qword [rsp + 0x108]
cmp qword [rax + 0x10], 0x79
jne 0x140203723
cmp dword [rsp + 0x24], 0
jne 0x140203723
cmp dword [rsp + 0x28], 0
jne 0x140203723
call qword [sym.imp.USER32.dll_GetFocus]
mov rcx, rax
call sub.mfc90u.dll_CDaoDatabase::Execute
mov qword [rsp + 0x98], rax
mov rcx, qword [rsp + 0x100]
mov rax, qword [rsp + 0x98]
cmp qword [rcx + 0x40a8], rax
jne 0x1402036ee
mov rcx, qword [rsp + 0x100]
call sub.mfc90u.dll_CDHtmlDialog::ResizeBorder
jmp 0x140203719
mov rax, qword [rsp + 0x108]
mov rax, qword [rax + 0x18]
and rax, 0x20000000
test rax, rax
jne 0x140203719
mov rcx, qword [rsp + 0x100]
mov rcx, qword [rcx + 0x40a8]
call sub.mfc90u.dll_CDHtmlDialog::ResizeBorder
mov eax, 1
jmp 0x140203b5a
cmp qword [0x1404f8e30], 0
je 0x14020374c
mov rcx, qword [0x1404f8e30]
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x14020374c
mov eax, 1
jmp 0x140203b5a
jmp case.0x140203426.514
mov rcx, qword [rsp + 0x108]
call fcn.140107e00
test eax, eax
jne 0x140203792
mov rcx, qword [rsp + 0x100]
add rcx, 0x4020
xor r8d, r8d
mov rax, qword [rsp + 0x108]
mov edx, dword [rax + 0x10]
call fcn.140105e30
test eax, eax
je 0x140203792
mov eax, 1
jmp 0x140203b5a
mov rax, qword [rsp + 0x108]
cmp qword [rax + 0x10], 0x1b
jne 0x1402038ad
mov rax, qword [rsp + 0x100]
mov eax, dword [rax + 0x40f0]
mov dword [rsp + 0xa0], eax
cmp dword [rsp + 0xa0], 0
je 0x1402037ea
mov rcx, qword [rsp + 0x100]
add rcx, 0x40d0
mov rdx, qword [rsp + 0x100]
call fcn.14028dea0
mov eax, 1
jmp 0x140203b5a
mov qword [rsp + 0x38], 0
mov rax, qword [rsp + 0x100]
mov rax, qword [rax + 0x4500]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
je 0x140203851
mov rax, qword [rsp + 0x38]
cmp dword [rax + 0xc], 0
je 0x140203832
mov rax, qword [rsp + 0x38]
cmp dword [rax + 8], 0
je 0x140203832
mov dword [rsp + 0xe0], 1
jmp 0x14020383d
mov dword [rsp + 0xe0], 0
cmp dword [rsp + 0xe0], 0
je 0x140203851
mov rcx, qword [rsp + 0x38]
call fcn.14028dd20
call qword [sym.imp.USER32.dll_GetCapture]
mov rcx, rax
call sub.mfc90u.dll_CDaoDatabase::Execute
mov qword [rsp + 0xa8], rax
call fcn.1402801a0
mov rdx, qword [rsp + 0xa8]
mov rcx, rax
call sub.mfc90u.dll_AfxCheckError
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x1402038ad
xor r9d, r9d
xor r8d, r8d
mov edx, 0x1f
mov rcx, qword [rsp + 0x30]
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
mov eax, 1
jmp 0x140203b5a
cmp dword [rsp + 0x20], 0
jne 0x1402038bb
xor eax, eax
jmp 0x140203b5a
jmp case.0x140203426.514
mov rax, qword [rsp + 0x108]
mov rax, qword [rax + 0x18]
shr rax, 0x10
and rax, 0xffff
cwde
mov dword [rsp + 0xb4], eax
mov rax, qword [rsp + 0x108]
mov rax, qword [rax + 0x18]
and rax, 0xffff
cwde
mov dword [rsp + 0xb0], eax
mov eax, dword [rsp + 0xb0]
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0xb4]
mov dword [rsp + 0x44], eax
mov rcx, qword [rsp + 0x108]
mov rcx, qword [rcx]
call sub.mfc90u.dll_CDaoDatabase::Execute
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
je 0x140203954
mov rcx, qword [rsp + 0x108]
mov rcx, qword [rcx]
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x140203954
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x48]
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_ClientToScreen]
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0x100]
add rcx, 0x4020
mov r9, qword [rsp + 0x108]
mov r9, qword [r9]
mov r8, qword [rsp + 0x60]
mov rax, qword [rsp + 0x108]
mov edx, dword [rax + 8]
call fcn.140106560
test eax, eax
je 0x14020399b
mov eax, 1
jmp 0x140203b5a
mov rcx, qword [rsp + 0x108]
mov rcx, qword [rcx]
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x1402039ba
mov eax, 1
jmp 0x140203b5a
jmp case.0x140203426.514
mov rax, qword [rsp + 0x108]
mov rax, qword [rax + 0x18]
shr rax, 0x10
and rax, 0xffff
cwde
mov dword [rsp + 0xbc], eax
mov rax, qword [rsp + 0x108]
mov rax, qword [rax + 0x18]
and rax, 0xffff
cwde
mov dword [rsp + 0xb8], eax
mov eax, dword [rsp + 0xb8]
mov dword [rsp + 0x70], eax
mov eax, dword [rsp + 0xbc]
mov dword [rsp + 0x74], eax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x68], rax
mov rcx, qword [rsp + 0x100]
add rcx, 0x4020
mov r9, qword [rsp + 0x108]
mov r9, qword [r9]
mov r8, qword [rsp + 0x68]
mov rax, qword [rsp + 0x108]
mov edx, dword [rax + 8]
call fcn.140106560
test eax, eax
je 0x140203a54
mov eax, 1
jmp 0x140203b5a
jmp case.0x140203426.514
mov rcx, qword [rsp + 0x100]
add rcx, 0x4020
mov r8, qword [rsp + 0x108]
mov r8, qword [r8 + 0x18]
mov rdx, qword [rsp + 0x108]
mov rdx, qword [rdx + 0x10]
call fcn.140107430
test eax, eax
je 0x140203a93
mov eax, 1
jmp 0x140203b5a
jmp case.0x140203426.514
mov rax, qword [rsp + 0x108]
mov rax, qword [rax + 0x18]
shr rax, 0x10
and rax, 0xffff
cwde
mov dword [rsp + 0xc4], eax
mov rax, qword [rsp + 0x108]
mov rax, qword [rax + 0x18]
and rax, 0xffff
cwde
mov dword [rsp + 0xc0], eax
mov eax, dword [rsp + 0xc0]
mov dword [rsp + 0x50], eax
mov eax, dword [rsp + 0xc4]
mov dword [rsp + 0x54], eax
mov rcx, qword [rsp + 0x108]
mov rcx, qword [rcx]
call sub.mfc90u.dll_CDaoDatabase::Execute
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
je 0x140203b17
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x58]
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_ClientToScreen]
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x78], rax
mov rcx, qword [rsp + 0x100]
add rcx, 0x4020
mov rdx, qword [rsp + 0x78]
call fcn.140107320
test eax, eax
je case.0x140203426.514
mov eax, 1
jmp 0x140203b5a
mov rdx, qword [rsp + 0x108]
mov rcx, qword [rsp + 0x100]
call sub.mfc90u.dll_COleControl::OnSetText
add rsp, 0xf8
ret