Function at 0x140049280
Capabilities:
Log keystrokes via polling

Disassembly:
push rdi
sub rsp, 0x50
mov ecx, dword [0x140071310]
movaps xmmword [rsp + 0x40], xmm6
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x1400492a9
cmp byte [0x1400710e0], 0
sete byte [0x1400710e0]
cmp byte [0x140071a3e], 0
jne 0x1400492be
call fcn.1400470c0
mov byte [0x140071a3e], 1
mov rax, qword [0x140071a40]
xor edi, edi
test rax, rax
je 0x1400492d5
mov rcx, qword [rax + 0xf0]
jmp 0x1400492d8
mov rcx, rdi
cmp qword [rcx + 0x18], rdi
jne 0x1400492f9
test rax, rax
je 0x1400492f9
mov rcx, qword [rax + 0xf0]
test rcx, rcx
je 0x1400492f9
cmp qword [rcx], rdi
je 0x1400492f9
call fcn.1400271b0
call fcn.140027830
call fcn.1400062a0
movzx eax, byte [0x1400710e0]
mov rdx, qword [0x140071a40]
mov byte [rdx + 0xc8], al
call fcn.140046a30
movss xmm3, dword [0x140071bb0]
xorps xmm0, xmm0
addss xmm3, dword [0x140068a9c]
movss xmm6, dword [0x14006896c]
comiss xmm3, xmm0
movss dword [0x140071bb0], xmm3
jae 0x14004934e
mov dword [0x140071bb0], 0x3f800000
cmp byte [0x14007134c], dil
jne 0x140049363
call fcn.1400479c0
mov rdx, qword [0x140071a40]
mov eax, dword [0x140071b90]
inc eax
mov dword [0x140071b90], eax
cmp eax, 0x32
jle 0x14004937c
mov dword [0x140071b90], edi
cmp byte [0x1400710e0], 1
jne 0x14004940d
mov dword [rdx + 0x130], edi
mov ecx, 1
mov byte [rdx + 0x134], dil
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x1400493d4
mov rcx, qword [0x140071a40]
cmp byte [rcx + 0x130], dil
je 0x1400493cd
movss xmm0, dword [rcx + 0x38]
mulss xmm0, xmm0
comiss xmm0, dword [rcx + 0x4a0]
setbe al
test al, al
jne 0x1400493d4
mov byte [rcx + 0x130], 1
call fcn.140044dd0
mov rcx, qword [0x140071aa0]
mov edx, 0xffffffec
mov r8d, 0x80
call qword [sym.imp.USER32.dll_SetWindowLongA]
mov rcx, qword [0x140071aa0]
call qword [sym.imp.USER32.dll_UpdateWindow]
mov rcx, qword [0x140071aa0]
call qword [sym.imp.USER32.dll_SetFocus]
jmp 0x140049432
mov rcx, qword [0x140071aa0]
mov edx, 0xffffffec
mov r8d, 0x800a0
call qword [sym.imp.USER32.dll_SetWindowLongA]
mov rcx, qword [0x140071aa0]
call qword [sym.imp.USER32.dll_UpdateWindow]
call fcn.1400084a0
mov rcx, qword [0x140071058]
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 [0x140071058]
mov rax, qword [rcx]
call qword [rax + 0x148]
movaps xmm6, xmmword [rsp + 0x40]
test eax, eax
js 0x1400494af
call fcn.140008860
mov rax, qword [0x140071a40]
mov rcx, qword [rax + 0x1e10]
mov rcx, qword [rcx]
add rcx, 0x40
cmp byte [rcx], dil
cmove rcx, rdi
call fcn.140026c00
mov rcx, qword [0x140071058]
mov rax, qword [rcx]
call qword [rax + 0x150]
mov rcx, qword [0x140071058]
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 0x14004959f
mov rcx, qword [0x140071058]
mov rax, qword [rcx]
call qword [rax + 0x18]
cmp eax, 0x88760869
jne 0x14004959f
mov qword [rsp + 0x60], rbx
mov rbx, qword [0x140071a40]
test rbx, rbx
je 0x14004955c
mov rbx, qword [rbx + 0xf0]
test rbx, rbx
je 0x14004955c
cmp qword [rbx], rdi
je 0x14004955c
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x140049524
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rbx + 8], rdi
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x140049537
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rbx + 0x10], rdi
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x14004955c
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rax, qword [0x140071a40]
mov qword [rbx + 0x18], rdi
mov rcx, qword [rax + 0xa8]
mov qword [rcx + 8], rdi
mov rcx, qword [0x140071058]
lea rdx, [0x140071060]
mov rax, qword [rcx]
call qword [rax + 0x80]
mov rax, qword [0x140071a40]
mov rbx, qword [rsp + 0x60]
test rax, rax
je 0x14004959f
mov rax, qword [rax + 0xf0]
test rax, rax
je 0x14004959f
cmp qword [rax], rdi
je 0x14004959f
add rsp, 0x50
pop rdi
jmp fcn.1400271b0
add rsp, 0x50
pop rdi
ret