Function at 0x14002ec20
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x10], rdx
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x60
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov r15, r8
mov rsi, rdx
xor ebx, ebx
test rdx, rdx
jne 0x14002ec51
mov qword [rsp + 0x38], rbx
jmp 0x14002ec5a
mov rax, qword [rdx + 0x40]
mov qword [rsp + 0x38], rax
mov r14d, dword [r8 + 8]
call qword [sym.imp.USER32.dll_GetFocus]
mov qword [rsp + 0x48], rax
mov rcx, rax
call fcn.14000b12c
mov r13, rax
mov qword [rsp + 0x40], rax
mov r12d, 0x100
cmp r14d, r12d
jb 0x14002ec8d
cmp r14d, 0x109
jbe 0x14002ec9d
lea eax, [r14 - 0x200]
cmp eax, 9
ja 0x14002ed7b
test r13, r13
je 0x14002ed7b
mov rdi, r13
cmp qword [rdi + 0xc8], rbx
jne 0x14002ece3
mov rcx, qword [rdi + 0x40]
call qword [sym.imp.USER32.dll_GetParent]
mov rcx, rax
call fcn.14000b12c
cmp rax, rsi
je 0x14002ece3
mov rcx, qword [rdi + 0x40]
call qword [sym.imp.USER32.dll_GetParent]
mov rcx, rax
call fcn.14000b12c
mov rdi, rax
test rax, rax
jne 0x14002eca9
test rdi, rdi
je 0x14002ed1b
mov rax, qword [rdi + 0xc8]
test rax, rax
je 0x14002ed1b
cmp qword [rax + 0x90], rbx
je 0x14002ed1b
mov rcx, qword [rax + 0x90]
mov rax, qword [rcx]
mov rdx, r15
call qword [rax + 0x28]
test eax, eax
jne 0x14002ed1b
mov eax, 1
jmp 0x14002f1d0
cmp r14d, 0x101
je 0x14002ed32
cmp r14d, r12d
je 0x14002ed32
cmp r14d, 0x102
jne 0x14002ed7b
test rdi, rdi
je 0x14002ed7b
mov rax, qword [rdi + 0xc8]
test rax, rax
je 0x14002ed7b
mov ecx, SafeArrayGetElemsize
lea edi, [rcx - 0xc]
cmp word [r15 + 0x10], cx
jne 0x14002ed5b
test byte [rax + 0xcc], dil
jne 0x14002ed74
mov ecx, 0x1b
lea r12d, [rcx - 0x19]
cmp word [r15 + 0x10], cx
jne 0x14002ed86
test byte [rax + 0xcc], r12b
je 0x14002ed86
xor eax, eax
jmp 0x14002f1d0
mov r12d, 2
lea edi, [r12 - 1]
mov rcx, qword [r15]
call fcn.14000b12c
mov qword [rsp + 0x30], rax
mov edx, ebx
mov dword [rsp + 0xb0], ebx
mov ecx, r14d
sub ecx, 0x100
je 0x14002ee6e
sub ecx, r12d
je 0x14002ede2
cmp ecx, 4
jne 0x14002f12f
test r13, r13
jne 0x14002edd6
lea ecx, [r13 + 0x12]
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x14002f12f
mov rax, qword [rsp + 0x30]
cmp word [r15 + 0x10], 0x20
je 0x14002f12f
test rax, rax
jne 0x14002edeb
mov ecx, ebx
jmp 0x14002ee09
mov r9, r15
mov r8, qword [r15 + 0x10]
mov edx, 0x87
mov rcx, qword [rax + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, rax
mov rax, qword [rsp + 0x30]
cmp r14d, 0x102
jne 0x14002ee1b
test cl, 0x84
jne 0x14002f12f
mov r8d, 9
cmp word [r15 + 0x10], r8w
jne 0x14002ee31
test r12b, cl
jne 0x14002f12f
cmp word [r15 + 0x10], 0x20
je 0x14002ed74
mov r8, r15
mov rdx, rax
mov rcx, rsi
call fcn.14002eadc
test rax, rax
je 0x14002f12f
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x14002f12f
mov rdx, r15
call fcn.14002682c
jmp 0x14002f17b
test rax, rax
jne 0x14002ee77
mov eax, ebx
jmp 0x14002ee8f
mov r9, r15
mov r8, qword [r15 + 0x10]
mov edx, 0x87
mov rcx, qword [rax + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
mov edx, ebx
movzx ecx, word [r15 + 0x10]
cmp ecx, 3
je 0x14002f0c7
mov r8d, 9
cmp ecx, r8d
je 0x14002f020
cmp ecx, 0xd
je 0x14002efe0
cmp ecx, 0x1b
je 0x14002f0c7
cmp ecx, 0x24
jle 0x14002f12f
cmp ecx, 0x26
jle 0x14002eedf
cmp ecx, 0x28
jle 0x14002eee8
cmp ecx, 0x2b
je 0x14002efe0
jmp 0x14002f12f
mov edx, edi
mov dword [rsp + 0xb0], edx
test r13, r13
jne 0x14002eef1
mov eax, ebx
jmp 0x14002ef0e
mov r9, r15
mov r8, qword [r15 + 0x10]
mov edx, 0x87
mov rcx, qword [r13 + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [rsp + 0xb0]
test dil, al
jne 0x14002f12f
mov rcx, rsi
test edx, edx
je 0x14002ef27
xor edx, edx
call fcn.140012d8c
jmp 0x14002ef2e
xor edx, edx
call fcn.140012df0
mov r12, rax
test rax, rax
je 0x14002f12f
cmp dword [rax + 0x10], ebx
je 0x14002ef4a
mov rdx, rax
mov rcx, rsi
call fcn.140012850
cmp qword [r12 + 8], rbx
je 0x14002ef67
mov rcx, qword [r12 + 8]
mov rax, qword [rcx]
mov rdx, r15
call qword [rax + 0x158]
jmp 0x14002f17b
cmp qword [r12], rbx
je 0x14002ef73
mov rcx, qword [r12]
jmp 0x14002ef94
test r13, r13
mov rdx, rbx
je 0x14002ef7f
mov rdx, qword [r13 + 0x40]
mov r8d, dword [rsp + 0xb0]
mov rcx, qword [rsi + 0x40]
call qword [sym.imp.USER32.dll_GetNextDlgGroupItem]
mov rcx, rax
call fcn.14000b12c
mov r14, rax
test rax, rax
je 0x14002f12f
mov rax, qword [rsi + 0xc0]
mov qword [rax + 0xd8], rbx
mov rcx, r14
call fcn.14002e284
cmp dword [r12 + 0x10], ebx
je 0x14002f17b
xor r9d, r9d
mov r8, rdi
mov edx, 0xf1
mov rcx, qword [r14 + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
jmp 0x14002f17b
test al, 4
jne 0x14002f12f
mov rcx, r13
call fcn.14002e240
test al, 0x10
je 0x14002f010
mov r14, r13
mov rcx, r13
call fcn.1400122bc
mov r12d, eax
test r13, r13
jne 0x14002f0da
jmp 0x14002f0c7
mov rcx, rsi
call fcn.14002e75c
mov r12d, eax
jmp 0x14002f0c7
test r12b, al
jne 0x14002f12f
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetDim
call qword [sym.imp.USER32.dll_GetKeyState]
mov r12d, ebx
test ax, ax
sets r12b
mov r8d, r12d
xor edx, edx
mov rcx, rsi
call fcn.1400126a8
test rax, rax
je 0x14002f12f
cmp qword [rax + 8], rbx
je 0x14002f063
mov rcx, qword [rax + 8]
jmp 0x14002ef56
cmp qword [rax], rbx
je 0x14002f06d
mov rcx, qword [rax]
jmp 0x14002f090
mov rdx, qword [rsp + 0x30]
test rdx, rdx
jne 0x14002f07c
mov rdx, rbx
jmp 0x14002f080
mov rdx, qword [rdx + 0x40]
mov r8d, r12d
mov rcx, qword [rsi + 0x40]
call qword [sym.imp.USER32.dll_GetNextDlgTabItem]
mov rcx, rax
call fcn.14000b12c
mov r12, rax
test rax, rax
je 0x14002f17b
mov rax, qword [rsi + 0xc0]
mov qword [rax + 0xd8], rbx
mov rcx, r12
call fcn.14002e284
mov rdx, r12
mov rcx, r13
call fcn.14002e510
jmp 0x14002f17b
mov edx, r12d
mov rcx, rsi
call fcn.14002e5d0
mov r14, rax
test rax, rax
je 0x14002f12f
mov rcx, r14
call fcn.140012384
test eax, eax
jne 0x14002f0f0
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBeep]
jmp 0x14002f12f
cmp qword [r14 + 0xc8], rbx
je 0x14002f12f
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
movzx r9d, bx
movzx r8d, di
mov edx, 0xfffffdd9
mov rcx, r14
call fcn.1400123d4
nop
jmp 0x14002f17b
test dword [rsi + 0xa0], 0x1000
jne 0x14002f179
mov rdx, r15
mov rcx, qword [rsi + 0x40]
call qword [sym.imp.USER32.dll_IsDialogMessageW]
mov edi, eax
test eax, eax
je 0x14002f17b
call qword [sym.imp.USER32.dll_GetFocus]
mov rcx, rax
call fcn.14000b12c
cmp rax, r13
je 0x14002f17b
call qword [sym.imp.USER32.dll_GetFocus]
mov rcx, rax
call fcn.14000b12c
mov rcx, rax
call fcn.14002e470
jmp 0x14002f17b
mov edi, ebx
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x14002f1ce
call qword [sym.imp.USER32.dll_GetFocus]
mov rcx, rax
call fcn.14000b12c
mov rdx, rax
mov rcx, r13
call fcn.14002e510
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x14002f1ce
call qword [sym.imp.USER32.dll_GetFocus]
mov rcx, rax
call fcn.14000b12c
mov r8, rax
mov rdx, r13
mov rcx, rsi
call fcn.14002e798
mov eax, edi
add rsp, 0x60
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret