Function at 0x1400c14f0
Capabilities:
Log keystrokes via polling

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x28], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov r13, rdx
mov r14, rcx
cmp dword [rdx + 8], 0x14
jne 0x1400c1527
mov eax, 1
jmp 0x1400c1ae1
xor r15d, r15d
cmp dword [rcx + 0xf8], r15d
jne 0x1400c1adc
cmp dword [rdx + 8], 0x201
jne 0x1400c157b
mov rdi, qword [rcx + 0xe8]
cmp dword [rdi + 0x290], r15d
je 0x1400c157b
cmp dword [rdi + 0x140], r15d
jne 0x1400c157b
mov rax, qword [rcx + 0x40]
cmp qword [rdx], rax
je 0x1400c157b
mov rax, qword [rdi]
mov rbx, qword [rax + 0x448]
mov rcx, rbx
call fcn.1401cb730
xor edx, edx
mov rcx, rdi
call rbx
mov r12d, 1
cmp dword [r13 + 8], 0x200
jne 0x1400c1701
mov rdi, qword [r14 + 0xe8]
mov rax, qword [rdi]
mov rbx, qword [rax + 0x1b8]
mov rcx, rbx
call fcn.1401cb730
mov rcx, rdi
call rbx
test eax, eax
jne 0x1400c1701
lea ecx, [rax + 0x17]
call qword [sym.imp.USER32.dll_GetSystemMetrics]
neg eax
sbb ecx, ecx
neg ecx
add ecx, r12d
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0x8000
test cx, ax
je 0x1400c15f2
call qword [sym.imp.USER32.dll_GetFocus]
mov rcx, rax
call fcn.14003a2e0
cmp rax, r14
je 0x1400c15f2
mov eax, r12d
jmp 0x1400c1ae1
mov esi, 0x105
cmp dword [r14 + 0xf0], r15d
jne 0x1400c1639
mov dword [r14 + 0xf0], r12d
mov dword [rbp - 0x20], 0x18
mov dword [rbp - 0x1c], 2
mov rax, qword [r14 + 0x40]
mov qword [rbp - 0x18], rax
lea rcx, [rbp - 0x20]
call qword [sym.imp.USER32.dll_TrackMouseEvent]
mov r9d, esi
xor r8d, r8d
xor edx, edx
mov rcx, qword [r14 + 0x40]
call qword [sym.imp.USER32.dll_RedrawWindow]
cmp dword [r14 + 0xf4], r15d
jne 0x1400c1701
mov rdi, qword [r14 + 0xe8]
mov rax, qword [rdi]
mov rbx, qword [rax + 0x148]
mov rcx, rbx
call fcn.1401cb730
mov rcx, rdi
call rbx
test rax, rax
je 0x1400c1701
mov qword [rbp + 0x48], r15
lea rcx, [rbp + 0x48]
call qword [sym.imp.USER32.dll_GetCursorPos]
mov dword [r14 + 0xf4], r12d
mov r9d, esi
xor r8d, r8d
xor edx, edx
mov rcx, qword [r14 + 0x40]
call qword [sym.imp.USER32.dll_RedrawWindow]
mov rdi, qword [r14 + 0xe8]
mov rax, qword [rdi]
mov rbx, qword [rax + 0x148]
mov rcx, rbx
call fcn.1401cb730
mov rcx, rdi
call rbx
lea rdx, [rbp + 0x48]
mov rcx, qword [rax + 0x40]
call qword [sym.imp.USER32.dll_ScreenToClient]
movzx esi, word [rbp + 0x4c]
shl esi, 0x10
movzx eax, word [rbp + 0x48]
or rsi, rax
mov rdi, qword [r14 + 0xe8]
mov rax, qword [rdi]
mov rbx, qword [rax + 0x148]
mov rcx, rbx
call fcn.1401cb730
mov rcx, rdi
call rbx
mov r9, rsi
xor r8d, r8d
mov edx, 0x200
mov rcx, qword [rax + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
mov esi, 0x100
cmp dword [r13 + 8], esi
jne 0x1400c1ad6
mov rdi, qword [r14 + 0xe8]
mov rax, qword [rdi]
mov rbx, qword [rax + 0x1b8]
mov rcx, rbx
call fcn.1401cb730
mov rcx, rdi
call rbx
test eax, eax
jne 0x1400c1ad6
mov edx, dword [r13 + 0x10]
mov rcx, r14
call fcn.1400c1afc
test eax, eax
jne 0x1400c15ea
mov rax, qword [r13 + 0x10]
cmp rax, 9
je 0x1400c1ab0
cmp rax, 0xd
je 0x1400c190b
cmp rax, 0x1b
je 0x1400c1828
cmp rax, 0x20
jbe 0x1400c1ad6
cmp rax, 0x22
jbe 0x1400c17da
cmp rax, 0x26
je 0x1400c17da
cmp rax, 0x28
jne 0x1400c1ad6
mov rdi, qword [r14 + 0xe8]
cmp dword [rdi + 0x288], r15d
je 0x1400c17da
mov rax, qword [rdi]
mov rbx, qword [rax + 0x1c8]
mov rcx, rbx
call fcn.1401cb730
mov rcx, rdi
call rbx
test eax, eax
jne 0x1400c17da
mov rdi, qword [r14 + 0xe8]
mov rax, qword [rdi]
mov rbx, qword [rax + 0x530]
mov rcx, rbx
call fcn.1401cb730
mov rcx, rdi
call rbx
jmp 0x1400c15ea
mov rdi, qword [r14 + 0xe8]
mov rax, qword [rdi]
mov rbx, qword [rax + 0x1c8]
mov rcx, rbx
call fcn.1401cb730
mov rcx, rdi
call rbx
test eax, eax
je 0x1400c1ad6
mov rax, qword [0x1402f2998]
test rax, rax
je 0x1400c1810
mov r15, qword [rax + 0x40]
mov r9, qword [r13 + 0x18]
mov r8, qword [r13 + 0x10]
mov edx, esi
mov rcx, r15
call qword [sym.imp.USER32.dll_SendMessageW]
jmp 0x1400c15ea
mov rdi, qword [r14 + 0xe8]
mov rax, qword [rdi]
mov rbx, qword [rax + 0x1c8]
mov rcx, rbx
call fcn.1401cb730
mov rcx, rdi
call rbx
test eax, eax
je 0x1400c1866
mov rcx, qword [0x1402f2998]
test rcx, rcx
je 0x1400c1866
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x10]
mov rcx, qword [rcx + 0x40]
jmp 0x1400c181d
mov rdi, qword [r14 + 0xe8]
mov rax, qword [rdi]
mov rbx, qword [rax + 0x1c8]
mov rcx, rbx
call fcn.1401cb730
mov rcx, rdi
call rbx
test eax, eax
jne 0x1400c18bf
mov rdx, qword [r14 + 0x100]
mov rcx, r14
call fcn.1400375f8
mov rcx, qword [r14 + 0x100]
sub rcx, 0x18
call fcn.140016850
add rax, 0x18
mov qword [rbp + 0x58], rax
lea rdx, [rbp + 0x58]
mov rcx, qword [r14 + 0xe8]
call fcn.1400c207c
mov rcx, r14
call fcn.14003a940
test rax, rax
je 0x1400c1ad6
mov rdi, qword [r14 + 0xe8]
mov rax, qword [rdi]
mov rbx, qword [rax + 0x1c8]
mov rcx, rbx
call fcn.1401cb730
mov rcx, rdi
call rbx
test eax, eax
jne 0x1400c1ad6
mov rcx, r14
call fcn.14003a940
mov rcx, rax
call fcn.140037498
jmp 0x1400c15ea
mov rdi, qword [r14 + 0xe8]
mov rax, qword [rdi]
mov rbx, qword [rax + 0x1c8]
mov rcx, rbx
call fcn.1401cb730
mov rcx, rdi
call rbx
test eax, eax
jne 0x1400c1ad6
call fcn.140032868
mov rdi, rax
test rax, rax
jne 0x1400c1949
mov ecx, 0x80004005
call fcn.1400063a0
int3
mov rax, qword [rax]
mov rbx, qword [rax + 0x18]
mov rcx, rbx
call fcn.1401cb730
mov rcx, rdi
call rbx
add rax, 0x18
mov qword [rbp + 0x50], rax
lea rdx, [rbp + 0x50]
mov rcx, r14
call fcn.14003aacc
mov rcx, qword [rbp + 0x50]
add rcx, 0xffffffffffffffe8
call fcn.140016850
add rax, 0x18
mov qword [rbp - 0x30], rax
lea rdx, [rbp - 0x30]
mov rcx, qword [r14 + 0xe8]
call fcn.1400c207c
mov edx, r12d
mov rcx, qword [r14 + 0xe8]
call fcn.140086fa8
mov rax, qword [r14 + 0xe8]
mov rcx, qword [rax + 0xf8]
test rcx, rcx
je 0x1400c1a1f
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_GetParent]
mov rcx, rax
call fcn.14003a2e0
test rax, rax
mov rcx, r15
je 0x1400c19d6
mov rcx, qword [rax + 0x40]
mov rax, qword [0x1402f2998]
test rax, rax
jne 0x1400c19e7
mov rax, r15
jmp 0x1400c19eb
mov rax, qword [rax + 0x40]
cmp rcx, rax
jne 0x1400c1a1f
mov rcx, qword [r14 + 0xe8]
mov rcx, qword [rcx + 0xf8]
call fcn.14002c9bc
mov rdi, rax
mov rcx, qword [rax]
mov rbx, qword [rcx + 0xc0]
mov rcx, rbx
call fcn.1401cb730
mov rcx, rdi
call rbx
jmp 0x1400c1a4b
mov rcx, r14
call fcn.14003a940
test rax, rax
je 0x1400c1a81
mov rax, qword [r14 + 0xe8]
mov dword [rax + 0x294], r15d
mov rcx, r14
call fcn.14003a940
mov rcx, rax
call fcn.140037498
nop
mov rsi, qword [rbp + 0x50]
or eax, 0xffffffff
lock xadd dword [rsi - 8], eax
sub eax, 1
jg 0x1400c15ea
mov rdi, qword [rsi - 0x18]
mov rax, qword [rdi]
mov rbx, qword [rax + 8]
mov rcx, rbx
call fcn.1401cb730
lea rdx, [rsi - 0x18]
mov rcx, rdi
call rbx
jmp 0x1400c15ea
mov rsi, qword [rbp + 0x50]
or eax, 0xffffffff
lock xadd dword [rsi - 8], eax
sub eax, 1
jg 0x1400c1ad6
mov rdi, qword [rsi - 0x18]
mov rax, qword [rdi]
mov rbx, qword [rax + 8]
mov rcx, rbx
call fcn.1401cb730
lea rdx, [rsi - 0x18]
mov rcx, rdi
call rbx
jmp 0x1400c1ad6
mov rdi, qword [r14 + 0xe8]
mov rax, qword [rdi]
mov rbx, qword [rax + 0x1a8]
mov rcx, rbx
call fcn.1401cb730
mov rcx, rdi
call rbx
test eax, eax
je 0x1400c15ea
mov rdx, r13
mov rcx, r14
call fcn.14003d5b8
mov rbx, qword [rsp + 0x90]
add rsp, 0x50
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret