Function at 0x1402884d4
Capabilities:
Log keystrokes via polling

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
mov rbp, rsp
sub rsp, 0x60
mov qword [rbp - 0x38], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x14045cbf0]
xor rax, rsp
mov qword [rbp - 8], rax
mov rsi, rdx
mov rbx, rcx
cmp dword [rdx + 8], 0x104
jne 0x140288534
cmp qword [rdx + 0x10], 0x73
jne 0x140288534
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x10]
mov rcx, qword [rcx - 0xa8]
call qword [sym.imp.USER32.dll_PostMessageW]
xor eax, eax
jmp 0x14028873b
cmp dword [rdx + 8], 0x100
jne 0x14028872b
mov rax, qword [rdx + 0x10]
cmp rax, 0xd
jne 0x1402885c1
call qword [sym.imp.USER32.dll_GetFocus]
mov rbx, rax
xor edi, edi
mov word [rbp - 0x18], di
xor eax, eax
mov qword [rbp - 0x16], rax
mov dword [rbp - 0xe], eax
mov word [rbp - 0xa], ax
lea r8d, [rdi + 8]
lea rdx, [rbp - 0x18]
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetClassNameW]
lea rsi, [rbp - 0x18]
lea rdi, str.Button
mov ecx, 7
repe cmpsw word [rsi], word [rdi]
jne 0x14028852d
xor r9d, r9d
lea r12d, [r9 + 1]
mov r8d, r12d
mov edx, 0x201
mov rcx, rbx
call qword [sym.imp.USER32.dll_SendMessageW]
xor r9d, r9d
mov r8d, r12d
mov edx, 0x202
mov rcx, rbx
call qword [sym.imp.USER32.dll_SendMessageW]
mov eax, r12d
jmp 0x14028873b
cmp rax, 0x1b
je 0x14028852d
cmp rax, 0x74
jne 0x1402885e3
add rcx, 0xffffffffffffff48
mov rax, qword [rcx]
call qword [rax + 0x68]
jmp 0x14028852d
cmp rax, 9
jne 0x14028872b
lea ecx, [rax + 8]
call qword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x14028872b
call qword [sym.imp.USER32.dll_GetFocus]
mov rdi, rax
lea rcx, section..data
mov rdx, qword [section..data]
call qword [rdx + 0x18]
add rax, 0x18
mov qword [rbp - 0x40], rax
mov r9d, 1
lea r8d, [r9 + 0x13]
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x30]
call fcn.14000bd14
mov r8d, 0x13
mov rdx, qword [rax + 8]
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetClassNameW]
mov eax, dword [rbp - 0x20]
mov r12, qword [rbp - 0x30]
xor edi, edi
cmp eax, 0xffffffff
jne 0x140288674
mov rcx, qword [r12]
test rcx, rcx
jne 0x14028866b
mov eax, edi
jmp 0x14028867c
movsxd rdx, dword [rcx - 0xc]
call fcn.1400beaac
test eax, eax
js 0x140288720
mov rcx, qword [r12]
cmp eax, dword [rcx - 0xc]
jg 0x140288720
mov dword [rcx - 0x10], eax
movsxd rcx, eax
mov rax, qword [r12]
mov word [rax + rcx*2], di
lea rdx, [0x140353f30]
mov rcx, qword [rbp - 0x40]
call fcn.1400bedf4
test eax, eax
je 0x1402886f8
xor r9d, r9d
lea r8, str.32770
xor edx, edx
mov rcx, qword [rbx - 0xa8]
call qword [sym.imp.USER32.dll_FindWindowExW]
test rax, rax
je 0x1402886f8
xor r9d, r9d
lea r8, [0x140353f30]
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_FindWindowExW]
test rax, rax
je 0x1402886f8
mov r9, qword [rsi + 0x18]
mov r8, qword [rsi + 0x10]
mov edx, dword [rsi + 8]
mov rcx, rax
call qword [sym.imp.USER32.dll_SendMessageW]
nop
mov rdx, qword [rbp - 0x40]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14028852d
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x14028852d
mov ecx, 0x80070057
call fcn.14000cbb8
nop
mov rdx, rsi
mov rcx, qword [rbx - 0xa8]
call qword [sym.imp.USER32.dll_IsDialogMessageW]
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1400be110
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r12
pop rdi
pop rbp
ret