Function at 0x140049350
Capabilities:
Log keystrokes via polling

Disassembly:
push rdi
sub rsp, 0x50
mov ecx, dword [0x140072310]
movaps xmmword [rsp + 0x40], xmm6
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x140049379
cmp byte [0x1400720e0], 0
sete byte [0x1400720e0]
cmp byte [0x140072a3c], 0
jne 0x14004938e
call fcn.140047220
mov byte [0x140072a3c], 1
mov rax, qword [0x140072a40]
xor edi, edi
test rax, rax
je 0x1400493a5
mov rcx, qword [rax + 0xf0]
jmp 0x1400493a8
mov rcx, rdi
cmp qword [rcx + 0x18], rdi
jne 0x1400493c9
test rax, rax
je 0x1400493c9
mov rcx, qword [rax + 0xf0]
test rcx, rcx
je 0x1400493c9
cmp qword [rcx], rdi
je 0x1400493c9
call fcn.1400271a0
call fcn.140027820
call fcn.140006290
movzx eax, byte [0x1400720e0]
mov rdx, qword [0x140072a40]
mov byte [rdx + 0xc8], al
call fcn.140046b90
movss xmm3, dword [0x140072ba4]
xorps xmm0, xmm0
addss xmm3, dword [0x140069bd4]
movss xmm6, dword [0x140069aa4]
comiss xmm3, xmm0
movss dword [0x140072ba4], xmm3
jae 0x14004941e
mov dword [0x140072ba4], 0x3f800000
cmp byte [0x14007234c], dil
jne 0x140049433
call fcn.140047b20
mov rdx, qword [0x140072a40]
mov eax, dword [0x140072b9c]
inc eax
mov dword [0x140072b9c], eax
cmp eax, 0x32
jle 0x14004944c
mov dword [0x140072b9c], edi
cmp byte [0x1400720e0], 1
jne 0x1400494dd
mov dword [rdx + 0x130], edi
mov ecx, 1
mov byte [rdx + 0x134], dil
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x1400494a4
mov rcx, qword [0x140072a40]
cmp byte [rcx + 0x130], dil
je 0x14004949d
movss xmm0, dword [rcx + 0x38]
mulss xmm0, xmm0
comiss xmm0, dword [rcx + 0x4a0]
setbe al
test al, al
jne 0x1400494a4
mov byte [rcx + 0x130], 1
call fcn.140044f30
mov rcx, qword [0x140072aa0]
mov edx, 0xffffffec
mov r8d, 0x80
call qword [sym.imp.USER32.dll_SetWindowLongA]
mov rcx, qword [0x140072aa0]
call qword [sym.imp.USER32.dll_UpdateWindow]
mov rcx, qword [0x140072aa0]
call qword [sym.imp.USER32.dll_SetFocus]
jmp 0x140049502
mov rcx, qword [0x140072aa0]
mov edx, 0xffffffec
mov r8d, 0x800a0
call qword [sym.imp.USER32.dll_SetWindowLongA]
mov rcx, qword [0x140072aa0]
call qword [sym.imp.USER32.dll_UpdateWindow]
call fcn.140008490
mov rcx, qword [0x140072058]
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 [0x140072058]
mov rax, qword [rcx]
call qword [rax + 0x148]
movaps xmm6, xmmword [rsp + 0x40]
test eax, eax
js 0x14004957f
call fcn.140008850
mov rax, qword [0x140072a40]
mov rcx, qword [rax + 0x1e10]
mov rcx, qword [rcx]
add rcx, 0x40
cmp byte [rcx], dil
cmove rcx, rdi
call fcn.140026bf0
mov rcx, qword [0x140072058]
mov rax, qword [rcx]
call qword [rax + 0x150]
mov rcx, qword [0x140072058]
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 0x14004966f
mov rcx, qword [0x140072058]
mov rax, qword [rcx]
call qword [rax + 0x18]
cmp eax, 0x88760869
jne 0x14004966f
mov qword [rsp + 0x60], rbx
mov rbx, qword [0x140072a40]
test rbx, rbx
je 0x14004962c
mov rbx, qword [rbx + 0xf0]
test rbx, rbx
je 0x14004962c
cmp qword [rbx], rdi
je 0x14004962c
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x1400495f4
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rbx + 8], rdi
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x140049607
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rbx + 0x10], rdi
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x14004962c
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rax, qword [0x140072a40]
mov qword [rbx + 0x18], rdi
mov rcx, qword [rax + 0xa8]
mov qword [rcx + 8], rdi
mov rcx, qword [0x140072058]
lea rdx, [0x140072060]
mov rax, qword [rcx]
call qword [rax + 0x80]
mov rax, qword [0x140072a40]
mov rbx, qword [rsp + 0x60]
test rax, rax
je 0x14004966f
mov rax, qword [rax + 0xf0]
test rax, rax
je 0x14004966f
cmp qword [rax], rdi
je 0x14004966f
add rsp, 0x50
pop rdi
jmp fcn.1400271a0
add rsp, 0x50
pop rdi
ret