Function at 0x1400dcac0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xc8
mov qword [rsp + 0x90], 0xfffffffffffffffe
cmp qword [rsp + 0xd8], 0
jne 0x1400dcb05
mov edx, 0x23a
lea rcx, str.f:dd_vctools_vc7libs_ship_atlmfc_srcmfcoccdlg.cpp
call fcn.14006ca30
test eax, eax
je 0x1400dcb05
int3
mov rcx, qword [rsp + 0xd8]
call fcn.140025900
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0xe0]
mov eax, dword [rax + 8]
mov dword [rsp + 0x48], eax
mov qword [rsp + 0x78], 0
mov qword [rsp + 0x40], 0
call qword [sym.imp.USER32.dll_GetFocus]
mov qword [rsp + 0x78], rax
mov rcx, qword [rsp + 0x78]
call fcn.14003a560
mov qword [rsp + 0x40], rax
cmp dword [rsp + 0x48], 0x100
jb 0x1400dcb66
cmp dword [rsp + 0x48], 0x109
jbe 0x1400dcb82
cmp dword [rsp + 0x48], 0x200
jb 0x1400dcd1a
cmp dword [rsp + 0x48], 0x209
ja 0x1400dcd1a
cmp qword [rsp + 0x40], 0
je 0x1400dcd1a
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x80], rax
cmp qword [rsp + 0x80], 0
je 0x1400dcbe6
mov rax, qword [rsp + 0x80]
cmp qword [rax + 0xa0], 0
jne 0x1400dcbe6
mov rcx, qword [rsp + 0x80]
call fcn.140027540
cmp rax, qword [rsp + 0xd8]
je 0x1400dcbe6
mov rcx, qword [rsp + 0x80]
call fcn.140027540
mov qword [rsp + 0x80], rax
jmp 0x1400dcb9b
cmp qword [rsp + 0x80], 0
je 0x1400dcc64
mov rax, qword [rsp + 0x80]
cmp qword [rax + 0xa0], 0
je 0x1400dcc64
mov rax, qword [rsp + 0x80]
mov rax, qword [rax + 0xa0]
cmp qword [rax + 0x90], 0
je 0x1400dcc64
mov rcx, qword [rsp + 0x80]
mov rcx, qword [rcx + 0xa0]
mov rcx, qword [rcx + 0x90]
mov rax, qword [rsp + 0x80]
mov rax, qword [rax + 0xa0]
mov rax, qword [rax + 0x90]
mov rax, qword [rax]
mov rdx, qword [rsp + 0xe0]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayAllocDescriptorEx]
test eax, eax
jne 0x1400dcc64
mov eax, 1
jmp 0x1400dd33b
cmp dword [rsp + 0x48], 0x101
je 0x1400dcc86
cmp dword [rsp + 0x48], 0x100
je 0x1400dcc86
cmp dword [rsp + 0x48], 0x102
jne 0x1400dcd1a
cmp qword [rsp + 0x80], 0
je 0x1400dcd1a
mov rax, qword [rsp + 0x80]
cmp qword [rax + 0xa0], 0
je 0x1400dcd1a
mov rax, qword [rsp + 0xe0]
mov rax, qword [rax + 0x10]
and rax, 0xffff
movzx eax, ax
cmp eax, 0xd
jne 0x1400dccdd
mov rax, qword [rsp + 0x80]
mov rax, qword [rax + 0xa0]
mov eax, dword [rax + 0xcc]
and eax, 1
test eax, eax
jne 0x1400dcd13
mov rax, qword [rsp + 0xe0]
mov rax, qword [rax + 0x10]
and rax, 0xffff
movzx eax, ax
cmp eax, 0x1b
jne 0x1400dcd1a
mov rax, qword [rsp + 0x80]
mov rax, qword [rax + 0xa0]
mov eax, dword [rax + 0xcc]
and eax, 2
test eax, eax
je 0x1400dcd1a
xor eax, eax
jmp 0x1400dd33b
mov dword [rsp + 0x58], 0
mov rcx, qword [rsp + 0xe0]
mov rcx, qword [rcx]
call fcn.14003a560
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x70], 0
mov dword [rsp + 0x4c], 2
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0x98], eax
cmp dword [rsp + 0x98], 0x100
je 0x1400dce9a
cmp dword [rsp + 0x98], 0x102
je 0x1400dcdc7
cmp dword [rsp + 0x98], 0x106
je 0x1400dcd8b
jmp case.0x1400dcf0c.4
cmp qword [rsp + 0x40], 0
jne 0x1400dcda8
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetUBound
call qword [sym.imp.USER32.dll_GetKeyState]
cwde
test eax, eax
jl 0x1400dcda8
jmp case.0x1400dcf0c.4
mov rax, qword [rsp + 0xe0]
mov rax, qword [rax + 0x10]
and rax, 0xffff
movzx eax, ax
cmp eax, 0x20
jne 0x1400dcdc7
jmp case.0x1400dcf0c.4
mov rdx, qword [rsp + 0xe0]
mov rcx, qword [rsp + 0x60]
call fcn.1400db7a0
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x48], 0x102
jne 0x1400dcdf9
mov eax, dword [rsp + 0x38]
and eax, 0x84
test eax, eax
je 0x1400dcdf9
jmp case.0x1400dcf0c.4
mov rax, qword [rsp + 0xe0]
mov rax, qword [rax + 0x10]
and rax, 0xffff
movzx eax, ax
cmp eax, 9
jne 0x1400dce23
mov eax, dword [rsp + 0x38]
and eax, 2
test eax, eax
je 0x1400dce23
jmp case.0x1400dcf0c.4
mov rax, qword [rsp + 0xe0]
mov rax, qword [rax + 0x10]
and rax, 0xffff
movzx eax, ax
cmp eax, 0x20
jne 0x1400dce44
xor eax, eax
jmp 0x1400dd33b
mov r8, qword [rsp + 0xe0]
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0xd8]
call fcn.1400dc1e0
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0
je 0x1400dce95
mov rax, qword [rsp + 0x68]
cmp qword [rax + 8], 0
je 0x1400dce95
mov rdx, qword [rsp + 0xe0]
mov rcx, qword [rsp + 0x68]
mov rcx, qword [rcx + 8]
call fcn.1400caae0
mov dword [rsp + 0x58], 1
jmp case.0x1400dcf0c.4
mov rdx, qword [rsp + 0xe0]
mov rcx, qword [rsp + 0x60]
call fcn.1400db7a0
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0xe0]
mov rax, qword [rax + 0x10]
and rax, 0xffff
movzx eax, ax
mov dword [rsp + 0x9c], eax
mov eax, dword [rsp + 0x9c]
sub eax, 3
mov dword [rsp + 0x9c], eax
cmp dword [rsp + 0x9c], 0x28
ja case.0x1400dcf0c.4
movsxd rax, dword [rsp + 0x9c]
lea rcx, [0x140000000]
movzx eax, byte [rcx + rax + 0xdd35c]
mov eax, dword [rcx + rax*4 + 0xdd344]
add rax, rcx
jmp rax
mov eax, dword [rsp + 0x38]
and eax, 2
test eax, eax
je 0x1400dcf1e
jmp case.0x1400dcf0c.4
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetDim
call qword [sym.imp.USER32.dll_GetKeyState]
cwde
test eax, eax
jge 0x1400dcf3b
mov dword [rsp + 0xa0], 1
jmp 0x1400dcf46
mov dword [rsp + 0xa0], 0
mov eax, dword [rsp + 0xa0]
mov dword [rsp + 0x70], eax
mov r8d, dword [rsp + 0x70]
xor edx, edx
mov rcx, qword [rsp + 0xd8]
call fcn.14002fc30
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0
je 0x1400dd03b
mov rax, qword [rsp + 0x68]
cmp qword [rax + 8], 0
je 0x1400dcfaa
mov rcx, qword [rsp + 0x68]
mov rcx, qword [rcx + 8]
mov rax, qword [rsp + 0x68]
mov rax, qword [rax + 8]
mov rax, qword [rax]
mov rdx, qword [rsp + 0xe0]
call qword [rax + 0x168]
jmp 0x1400dd033
mov rax, qword [rsp + 0x68]
cmp qword [rax], 0
je 0x1400dcfcc
mov rcx, qword [rsp + 0x68]
mov rcx, qword [rcx]
call fcn.14003a560
mov qword [rsp + 0xa8], rax
jmp 0x1400dcfeb
mov r8d, dword [rsp + 0x70]
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0xd8]
call fcn.140027170
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x1400dd033
mov rax, qword [rsp + 0xd8]
mov rax, qword [rax + 0x98]
mov qword [rax + 0xd8], 0
mov rcx, qword [rsp + 0x30]
call fcn.1400db810
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x40]
call fcn.1400dc540
mov dword [rsp + 0x58], 1
jmp case.0x1400dcf0c.4
mov dword [rsp + 0x70], 1
mov rdx, qword [rsp + 0xe0]
mov rcx, qword [rsp + 0x40]
call fcn.1400db7a0
and eax, 1
test eax, eax
je 0x1400dd066
jmp case.0x1400dcf0c.4
cmp dword [rsp + 0x70], 0
je 0x1400dd083
xor edx, edx
mov rcx, qword [rsp + 0xd8]
call fcn.1400300c0
mov qword [rsp + 0x68], rax
jmp 0x1400dd097
xor edx, edx
mov rcx, qword [rsp + 0xd8]
call fcn.1400305a0
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0
je 0x1400dd1a1
mov rax, qword [rsp + 0x68]
cmp dword [rax + 0x10], 0
je 0x1400dd0c0
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0xd8]
call fcn.1400307f0
mov rax, qword [rsp + 0x68]
cmp qword [rax + 8], 0
je 0x1400dd0fc
mov rcx, qword [rsp + 0x68]
mov rcx, qword [rcx + 8]
mov rax, qword [rsp + 0x68]
mov rax, qword [rax + 8]
mov rax, qword [rax]
mov rdx, qword [rsp + 0xe0]
call qword [rax + 0x168]
mov dword [rsp + 0x58], 1
jmp 0x1400dd1a1
mov rax, qword [rsp + 0x68]
cmp qword [rax], 0
je 0x1400dd11e
mov rcx, qword [rsp + 0x68]
mov rcx, qword [rcx]
call fcn.14003a560
mov qword [rsp + 0xb0], rax
jmp 0x1400dd13d
mov r8d, dword [rsp + 0x70]
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0xd8]
call fcn.140027100
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x1400dd1a1
mov rax, qword [rsp + 0xd8]
mov rax, qword [rax + 0x98]
mov qword [rax + 0xd8], 0
mov rcx, qword [rsp + 0x30]
call fcn.1400db810
mov rax, qword [rsp + 0x68]
cmp dword [rax + 0x10], 0
je 0x1400dd199
xor r9d, r9d
mov r8d, 1
mov edx, 0xf1
mov rcx, qword [rsp + 0x30]
call fcn.1400259d0
mov dword [rsp + 0x58], 1
jmp case.0x1400dcf0c.4
mov eax, dword [rsp + 0x38]
and eax, 4
test eax, eax
je 0x1400dd1b6
jmp case.0x1400dcf0c.4
mov rcx, qword [rsp + 0x40]
call fcn.1400dc7d0
and eax, 0x10
test eax, eax
je 0x1400dd1e1
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x30]
call fcn.14002f180
mov dword [rsp + 0x4c], eax
jmp case.0x1400dcf0c.3
mov rcx, qword [rsp + 0xd8]
call fcn.1400dc8d0
mov dword [rsp + 0x4c], eax
cmp qword [rsp + 0x30], 0
jne 0x1400dd21a
mov edx, dword [rsp + 0x4c]
mov rcx, qword [rsp + 0xd8]
call fcn.1400dc670
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x1400dd21a
jmp case.0x1400dcf0c.4
cmp qword [rsp + 0x30], 0
jne 0x1400dd23a
mov edx, 0x30b
lea rcx, str.f:dd_vctools_vc7libs_ship_atlmfc_srcmfcoccdlg.cpp
call fcn.14006ca30
test eax, eax
je 0x1400dd23a
int3
mov rcx, qword [rsp + 0x30]
call fcn.14002f520
test eax, eax
jne 0x1400dd252
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBeep]
jmp case.0x1400dcf0c.4
mov rax, qword [rsp + 0x30]
cmp qword [rax + 0xa0], 0
je case.0x1400dcf0c.4
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, 1
mov edx, 0xfffffdd9
mov rcx, qword [rsp + 0x30]
call fcn.14002f6f0
nop
mov dword [rsp + 0x58], 1
cmp dword [rsp + 0x58], 0
jne 0x1400dd2ed
mov rax, qword [rsp + 0xd8]
mov eax, dword [rax + 0x78]
and eax, 0x1000
test eax, eax
jne 0x1400dd2ed
mov rdx, qword [rsp + 0xe0]
mov rcx, qword [rsp + 0xd8]
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_IsDialogMessageA]
mov dword [rsp + 0x58], eax
cmp dword [rsp + 0x58], 0
je 0x1400dd2ed
call fcn.140026e20
cmp rax, qword [rsp + 0x40]
je 0x1400dd2ed
call fcn.140026e20
mov rcx, rax
call fcn.1400dc460
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1400dd337
call fcn.140026e20
mov rdx, rax
mov rcx, qword [rsp + 0x40]
call fcn.1400dc540
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1400dd337
call fcn.140026e20
mov r8, rax
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0xd8]
call fcn.1400dc940
mov eax, dword [rsp + 0x58]
add rsp, 0xc8
ret