Function at 0x140105e30
Capabilities:
Log keystrokes via polling
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x118
mov rcx, qword [rsp + 0x120]
mov rcx, qword [rcx + 0x98]
call sub.mfc90u.dll_CDaoTableDef::GetValidationRule
test eax, eax
jne 0x140105e64
xor eax, eax
jmp 0x14010654a
cmp qword [rsp + 0x130], 0
je 0x140105e7d
mov rax, qword [rsp + 0x130]
mov dword [rax], 1
cmp qword [0x1404f8e30], 0
je 0x1401061cc
mov rcx, qword [0x1404f8e30]
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1401061cc
call qword [sym.imp.USER32.dll_GetFocus]
mov rcx, rax
call sub.mfc90u.dll_CDaoDatabase::Execute
mov qword [rsp + 0x30], rax
mov rax, qword [0x1404f8e30]
mov rax, qword [rax]
mov rcx, qword [0x1404f8e30]
call qword [rax + 0x3c8]
test eax, eax
je 0x14010601c
cmp qword [rsp + 0x30], 0
jne 0x140105eec
mov qword [rsp + 0xc8], 0
jmp 0x140105efd
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x40]
mov qword [rsp + 0xc8], rax
cmp qword [rsp + 0xc8], 0
je 0x140105fcb
mov rax, qword [0x1404f8e30]
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x30], 0
jne 0x140105f2e
mov qword [rsp + 0xd0], 0
jmp 0x140105f3f
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x40]
mov qword [rsp + 0xd0], rax
mov rdx, qword [rsp + 0xd0]
mov rcx, qword [rsp + 0x60]
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_IsChild]
test eax, eax
jne 0x140105fbe
cmp qword [rsp + 0x30], 0
jne 0x140105f70
mov qword [rsp + 0xd8], 0
jmp 0x140105f81
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x40]
mov qword [rsp + 0xd8], rax
cmp qword [0x1404f8e30], 0
jne 0x140105f99
mov qword [rsp + 0xe0], 0
jmp 0x140105fac
mov rax, qword [0x1404f8e30]
mov rax, qword [rax + 0x40]
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0xe0]
cmp qword [rsp + 0xd8], rax
jne 0x140105fcb
mov dword [rsp + 0xe8], 1
jmp 0x140105fd6
mov dword [rsp + 0xe8], 0
mov eax, dword [rsp + 0xe8]
mov dword [rsp + 0x3c], eax
cmp dword [rsp + 0x3c], 0
je 0x140105fef
xor eax, eax
jmp 0x14010654a
mov rax, qword [0x1404f8e30]
mov qword [rsp + 0x68], rax
xor r9d, r9d
xor r8d, r8d
mov edx, reloc.WS2_32.dll_recv
mov rcx, qword [rsp + 0x68]
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
xor eax, eax
jmp 0x14010654a
cmp qword [rsp + 0x30], 0
jne 0x140106032
mov qword [rsp + 0xf0], 0
jmp 0x140106043
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x40]
mov qword [rsp + 0xf0], rax
cmp qword [rsp + 0xf0], 0
je 0x1401060a3
mov rax, qword [0x1404f8e30]
mov qword [rsp + 0x70], rax
cmp qword [rsp + 0x30], 0
jne 0x140106070
mov qword [rsp + 0xf8], 0
jmp 0x140106081
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x40]
mov qword [rsp + 0xf8], rax
mov rdx, qword [rsp + 0xf8]
mov rcx, qword [rsp + 0x70]
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_IsChild]
test eax, eax
je 0x1401060a3
xor eax, eax
jmp 0x14010654a
mov rax, qword [0x1404f8e30]
mov rax, qword [rax]
mov rcx, qword [0x1404f8e30]
call qword [rax + COleVariant::operator=]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
mov eax, dword [rax + reloc.mfc90u.dll_CControlBar::OnLButtonDblClk]
mov dword [rsp + 0x38], eax
mov rax, qword [0x1404f8e30]
mov qword [rsp + 0x80], rax
movsxd r8, dword [rsp + 0x128]
xor r9d, r9d
mov edx, HashKey<wchar_t const *>
mov rcx, qword [rsp + 0x80]
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
cmp dword [rsp + 0x38], 0
jne 0x140106110
mov eax, 1
jmp 0x14010654a
call fcn.1402aefe0
mov rdx, qword [0x1404f8e30]
mov rcx, rax
call sub.mfc90u.dll_AfxCheckError
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x1401061b5
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 0x1940]
mov qword [rsp + 0x88], rax
cmp qword [rsp + 0x88], 0
jne 0x140106162
mov qword [rsp + 0x100], 0
jmp 0x140106176
mov rax, qword [rsp + 0x88]
mov rax, qword [rax + 0x40]
mov qword [rsp + 0x100], rax
call qword [sym.imp.USER32.dll_GetFocus]
cmp qword [rsp + 0x100], rax
jne 0x140106193
mov dword [rsp + 0x108], 1
jmp 0x14010619e
mov dword [rsp + 0x108], 0
cmp dword [rsp + 0x108], 0
je 0x1401061b5
mov dword [rsp + 0x10c], 0
jmp 0x1401061c0
mov dword [rsp + 0x10c], 1
mov eax, dword [rsp + 0x10c]
jmp 0x14010654a
mov rax, qword [rsp + 0x120]
mov rax, qword [rax + 0x98]
mov qword [rsp + 0x90], rax
mov rcx, qword [rsp + 0x90]
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x140106203
mov eax, 1
jmp 0x14010654a
cmp dword [0x1404f7e34], 0
je 0x140106213
xor eax, eax
jmp 0x14010654a
mov dword [rsp + 0x24], 0
lea rax, [0x1404f7eb8]
mov rax, qword [rax + 8]
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x40], rax
cmp dword [rsp + 0x24], 0
jne 0x140106316
cmp qword [rsp + 0x40], 0
je 0x140106316
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0xa0], rax
cmp qword [rsp + 0xa0], 0
jne 0x14010626f
call sub.mfc90u.dll_AfxOleUnregisterServerClass
mov rax, qword [rsp + 0xa0]
mov rax, qword [rax]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0xa0]
add rax, 0x10
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0xa8]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov rcx, qword [rsp + 0x48]
mov rcx, qword [rcx + 0x40]
call sub.mfc90u.dll_CWnd::ExecuteDlgInit
test rax, rax
je 0x140106311
mov dword [rsp + 0x50], 0
jmp 0x1401062cb
mov eax, dword [rsp + 0x50]
add eax, 1
mov dword [rsp + 0x50], eax
mov rcx, qword [rsp + 0x48]
call fcn.1400f7f30
cmp dword [rsp + 0x50], eax
jge 0x140106311
mov edx, dword [rsp + 0x50]
mov rcx, qword [rsp + 0x48]
call fcn.1400f0a10
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x58]
call qword [rax + 0x158]
test eax, eax
je 0x14010630f
mov dword [rsp + 0x24], 1
jmp 0x140106311
jmp 0x1401062c0
jmp 0x14010623b
mov byte [rsp + 0x20], 0
mov ecx, send
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x14010633c
movzx eax, byte [rsp + 0x20]
or eax, 8
mov byte [rsp + 0x20], al
mov ecx, send
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x14010635d
movzx eax, byte [rsp + 0x20]
or eax, 0x10
mov byte [rsp + 0x20], al
mov ecx, reloc.WS2_32.dll_recv
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x14010637e
movzx eax, byte [rsp + 0x20]
or eax, 4
mov byte [rsp + 0x20], al
cmp dword [rsp + 0x24], 0
jne 0x14010640a
movzx eax, byte [rsp + 0x20]
or eax, 1
mov r9d, 1
mov r8, qword [rsp + 0x120]
mov r8, qword [r8 + 0x98]
movzx edx, al
movzx ecx, word [rsp + 0x128]
call fcn.1401f1070
test eax, eax
jne 0x140106403
mov rax, qword [rsp + 0x120]
mov rax, qword [rax + 0x98]
mov rcx, qword [rsp + 0x120]
mov rcx, qword [rcx + 0x98]
mov rax, qword [rax]
call qword [rax + 0x2a0]
mov r8, rax
movzx eax, byte [rsp + 0x20]
or eax, 1
xor r9d, r9d
movzx edx, al
movzx ecx, word [rsp + 0x128]
call fcn.1401f1070
test eax, eax
je 0x14010640a
xor eax, eax
jmp 0x14010654a
mov rax, qword [rsp + 0x120]
cmp qword [rax + 0x118], 0
je 0x1401064a8
mov rax, qword [rsp + 0x120]
mov rax, qword [rax + 0x118]
mov qword [rsp + 0xb0], rax
mov rcx, qword [rsp + 0xb0]
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x1401064a8
movzx eax, byte [rsp + 0x20]
cmp eax, 8
jne 0x1401064a8
cmp dword [rsp + 0x128], 0x70
jne 0x1401064a8
mov rax, qword [rsp + 0x120]
mov rax, qword [rax + 0x118]
mov rax, qword [rax + 0x3c8]
mov qword [rsp + 0xb8], rax
cmp qword [rsp + 0xb8], 0
je 0x1401064a8
mov rcx, qword [rsp + 0x120]
mov rcx, qword [rcx + 0x118]
call fcn.140291ad0
mov eax, 1
jmp 0x14010654a
mov rax, qword [rsp + 0x120]
cmp qword [rax + 0x198], 0
je 0x1401064ff
cmp dword [rsp + 0x128], 0x1b
jne 0x1401064ff
mov rax, qword [rsp + 0x120]
mov rax, qword [rax + 0x198]
mov qword [rsp + 0xc0], rax
xor r9d, r9d
xor r8d, r8d
mov edx, reloc.WS2_32.dll_recv
mov rcx, qword [rsp + 0xc0]
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
mov eax, 1
jmp 0x14010654a
movzx eax, byte [rsp + 0x20]
cmp eax, 0x10
jne 0x140106528
mov edx, dword [rsp + 0x128]
mov rcx, qword [rsp + 0x120]
call fcn.140107ac0
test eax, eax
je 0x140106528
mov eax, 1
jmp 0x14010654a
cmp dword [rsp + 0x24], 0
je 0x140106548
cmp qword [rsp + 0x130], 0
je 0x140106548
mov rax, qword [rsp + 0x130]
mov dword [rax], 0
xor eax, eax
add rsp, 0x118
ret