Function at 0x1400416c0
Capabilities:
Log keystrokes via polling

Disassembly:
push rdi
sub rsp, 0x40
mov ecx, 0x2d
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x1400416e3
cmp byte [0x14005712a], 0
sete byte [0x14005712a]
mov rax, qword [0x140057d10]
xor edi, edi
test rax, rax
je 0x1400416fa
mov rcx, qword [rax + 0xf0]
jmp 0x1400416fd
mov rcx, rdi
cmp qword [rcx + 0x18], rdi
jne 0x14004171e
test rax, rax
je 0x14004171e
mov rcx, qword [rax + 0xf0]
test rcx, rcx
je 0x14004171e
cmp qword [rcx], rdi
je 0x14004171e
call fcn.140027ad0
call fcn.140028150
call fcn.1400060e0
call fcn.14003e4e0
movzx eax, byte [0x14005712a]
mov rcx, qword [0x140057d10]
mov byte [rcx + 0xc8], al
cmp al, 1
jne 0x1400417a9
mov dword [rcx + 0x130], edi
mov byte [rcx + 0x134], dil
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x140041770
mov rax, qword [0x140057d10]
mov byte [rax + 0x130], 1
call fcn.14003b2d0
mov rcx, qword [0x1400580a0]
mov edx, 0xffffffec
mov r8d, 0x80
call qword [sym.imp.USER32.dll_SetWindowLongA]
mov rcx, qword [0x1400580a0]
call qword [sym.imp.USER32.dll_UpdateWindow]
mov rcx, qword [0x1400580a0]
call qword [sym.imp.USER32.dll_SetFocus]
jmp 0x1400417ce
mov rcx, qword [0x1400580a0]
mov edx, 0xffffffec
mov r8d, 0x800a0
call qword [sym.imp.USER32.dll_SetWindowLongA]
mov rcx, qword [0x1400580a0]
call qword [sym.imp.USER32.dll_UpdateWindow]
call fcn.1400083d0
mov rcx, qword [0x140057138]
mov r9d, 1
movss xmm0, dword [0x14004ea34]
xor r8d, r8d
mov dword [rsp + 0x30], edi
xor edx, edx
movss dword [rsp + 0x28], xmm0
mov rax, qword [rcx]
mov dword [rsp + 0x20], edi
call qword [rax + 0x158]
mov rcx, qword [0x140057138]
mov rax, qword [rcx]
call qword [rax + 0x148]
test eax, eax
js 0x14004184e
call fcn.140008760
mov rax, qword [0x140057d10]
mov rcx, qword [rax + 0x1e00]
mov rcx, qword [rcx]
add rcx, 0x40
cmp byte [rcx], dil
cmove rcx, rdi
call fcn.140027510
mov rcx, qword [0x140057138]
mov rax, qword [rcx]
call qword [rax + 0x150]
mov rcx, qword [0x140057138]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rdi
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0x88]
cmp eax, 0x88760868
jne 0x14004193e
mov rcx, qword [0x140057138]
mov rax, qword [rcx]
call qword [rax + 0x18]
cmp eax, 0x88760869
jne 0x14004193e
mov qword [rsp + 0x50], rbx
mov rbx, qword [0x140057d10]
test rbx, rbx
je 0x1400418fb
mov rbx, qword [rbx + 0xf0]
test rbx, rbx
je 0x1400418fb
cmp qword [rbx], rdi
je 0x1400418fb
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x1400418c3
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rbx + 8], rdi
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x1400418d6
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rbx + 0x10], rdi
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x1400418fb
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rax, qword [0x140057d10]
mov qword [rbx + 0x18], rdi
mov rcx, qword [rax + 0xa8]
mov qword [rcx + 8], rdi
mov rcx, qword [0x140057138]
lea rdx, [0x140057140]
mov rax, qword [rcx]
call qword [rax + 0x80]
mov rax, qword [0x140057d10]
mov rbx, qword [rsp + 0x50]
test rax, rax
je 0x14004193e
mov rax, qword [rax + 0xf0]
test rax, rax
je 0x14004193e
cmp qword [rax], rdi
je 0x14004193e
add rsp, 0x40
pop rdi
jmp fcn.140027ad0
add rsp, 0x40
pop rdi
ret