Function at 0x14004b4b0
Capabilities:
Log keystrokes via polling

Disassembly:
push rdi
sub rsp, 0x50
mov ecx, dword [0x140112430]
movaps xmmword [rsp + 0x40], xmm6
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x14004b4d9
cmp byte [0x140112334], 0
sete byte [0x140112334]
cmp byte [0x140112bf6], 0
jne 0x14004b4ee
call fcn.140049ea0
mov byte [0x140112bf6], 1
mov rax, qword [0x140112be0]
xor edi, edi
test rax, rax
je 0x14004b505
mov rcx, qword [rax + 0xa0]
jmp 0x14004b508
mov rcx, rdi
cmp qword [rcx + 0x18], rdi
jne 0x14004b529
test rax, rax
je 0x14004b529
mov rcx, qword [rax + 0xa0]
test rcx, rcx
je 0x14004b529
cmp qword [rcx], rdi
je 0x14004b529
call fcn.14002c370
call fcn.14002cd70
call fcn.1400085f0
movzx eax, byte [0x140112334]
mov rdx, qword [0x140112be0]
mov byte [rdx + 0x78], al
call fcn.140049810
movss xmm3, dword [0x140112d44]
xorps xmm0, xmm0
addss xmm3, dword [0x14005abcc]
movss xmm6, dword [0x14005aa80]
comiss xmm0, xmm3
movss dword [0x140112d44], xmm3
jbe 0x14004b57b
mov dword [0x140112d44], 0x3f800000
cmp byte [0x14011246c], dil
jne 0x14004b590
call fcn.14004a450
mov rdx, qword [0x140112be0]
mov eax, dword [0x140112d3c]
inc eax
mov dword [0x140112d3c], eax
cmp eax, 0x32
jle 0x14004b5a9
mov dword [0x140112d3c], edi
cmp byte [0x140112334], 1
jne 0x14004b63e
mov dword [rdx + 0xe10], edi
mov ecx, 1
mov byte [rdx + 0xe14], dil
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x14004b605
mov rcx, qword [0x140112be0]
cmp byte [rcx + 0xe10], dil
je 0x14004b5fe
movss xmm1, dword [rcx + 0x38]
movss xmm0, dword [rcx + 0x37a0]
mulss xmm1, xmm1
comiss xmm0, xmm1
setae al
test al, al
jne 0x14004b605
mov byte [rcx + 0xe10], 1
call fcn.1400472e0
mov rcx, qword [0x140112c50]
mov edx, 0xffffffec
mov r8d, 0x80
call qword [sym.imp.USER32.dll_SetWindowLongA]
mov rcx, qword [0x140112c50]
call qword [sym.imp.USER32.dll_UpdateWindow]
mov rcx, qword [0x140112c50]
call qword [sym.imp.USER32.dll_SetFocus]
jmp 0x14004b663
mov rcx, qword [0x140112c50]
mov edx, 0xffffffec
mov r8d, 0x800a0
call qword [sym.imp.USER32.dll_SetWindowLongA]
mov rcx, qword [0x140112c50]
call qword [sym.imp.USER32.dll_UpdateWindow]
call fcn.14000a2f0
mov rcx, qword [0x140112348]
mov r9d, 1
mov dword [rsp + 0x30], edi
xor r8d, r8d
movss dword [rsp + 0x28], xmm6
xor edx, edx
mov dword [rsp + 0x20], edi
mov rax, qword [rcx]
call qword [rax + 0x158]
mov rcx, qword [0x140112348]
mov rax, qword [rcx]
call qword [rax + 0x148]
movaps xmm6, xmmword [rsp + 0x40]
test eax, eax
js 0x14004b6e0
call fcn.14000a6b0
mov rax, qword [0x140112be0]
mov rcx, qword [rax + 0x48a0]
mov rcx, qword [rcx]
add rcx, 0x48
cmp byte [rcx], dil
cmove rcx, rdi
call fcn.14002bdb0
mov rcx, qword [0x140112348]
mov rax, qword [rcx]
call qword [rax + 0x150]
mov rcx, qword [0x140112348]
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 0x14004b7cd
mov rcx, qword [0x140112348]
mov rax, qword [rcx]
call qword [rax + 0x18]
cmp eax, 0x88760869
jne 0x14004b7cd
mov qword [rsp + 0x60], rbx
mov rbx, qword [0x140112be0]
test rbx, rbx
je 0x14004b78a
mov rbx, qword [rbx + 0xa0]
test rbx, rbx
je 0x14004b78a
cmp qword [rbx], rdi
je 0x14004b78a
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x14004b755
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rbx + 8], rdi
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x14004b768
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rbx + 0x10], rdi
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x14004b78a
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rax, qword [0x140112be0]
mov qword [rbx + 0x18], rdi
mov rcx, qword [rax + 0x58]
mov qword [rcx + 8], rdi
mov rcx, qword [0x140112348]
lea rdx, [0x140112350]
mov rax, qword [rcx]
call qword [rax + 0x80]
mov rax, qword [0x140112be0]
mov rbx, qword [rsp + 0x60]
test rax, rax
je 0x14004b7cd
mov rax, qword [rax + 0xa0]
test rax, rax
je 0x14004b7cd
cmp qword [rax], rdi
je 0x14004b7cd
add rsp, 0x50
pop rdi
jmp fcn.14002c370
add rsp, 0x50
pop rdi
ret