Function at 0x140044570
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 0x140044593
cmp byte [0x140066178], 0
sete byte [0x140066178]
mov rax, qword [0x140066e20]
xor edi, edi
test rax, rax
je 0x1400445aa
mov rcx, qword [rax + 0xf0]
jmp 0x1400445ad
mov rcx, rdi
cmp qword [rcx + 0x18], rdi
jne 0x1400445ce
test rax, rax
je 0x1400445ce
mov rcx, qword [rax + 0xf0]
test rcx, rcx
je 0x1400445ce
cmp qword [rcx], rdi
je 0x1400445ce
call fcn.140028e70
call fcn.1400294f0
call fcn.1400065e0
call fcn.1400417f0
movzx eax, byte [0x140066178]
mov rcx, qword [0x140066e20]
mov byte [rcx + 0xc8], al
cmp al, 1
jne 0x14004465e
mov dword [rcx + 0x130], edi
mov byte [rcx + 0x134], dil
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x140044620
mov rax, qword [0x140066e20]
mov byte [rax + 0x130], 1
call fcn.14003fef0
call fcn.140040210
mov rcx, qword [0x1400671b0]
mov edx, 0xffffffec
mov r8d, 0x80
call qword [sym.imp.USER32.dll_SetWindowLongA]
mov rcx, qword [0x1400671b0]
call qword [sym.imp.USER32.dll_UpdateWindow]
mov rcx, qword [0x1400671b0]
call qword [sym.imp.USER32.dll_SetFocus]
jmp 0x140044683
mov rcx, qword [0x1400671b0]
mov edx, 0xffffffec
mov r8d, 0x800a0
call qword [sym.imp.USER32.dll_SetWindowLongA]
mov rcx, qword [0x1400671b0]
call qword [sym.imp.USER32.dll_UpdateWindow]
call fcn.140008890
mov rcx, qword [0x140066188]
mov r9d, 1
movss xmm0, dword [0x140051f60]
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 [0x140066188]
mov rax, qword [rcx]
call qword [rax + 0x148]
test eax, eax
js 0x140044703
call fcn.140008c10
mov rax, qword [0x140066e20]
mov rcx, qword [rax + 0x1e00]
mov rcx, qword [rcx]
add rcx, 0x40
cmp byte [rcx], dil
cmove rcx, rdi
call fcn.1400288c0
mov rcx, qword [0x140066188]
mov rax, qword [rcx]
call qword [rax + 0x150]
mov rcx, qword [0x140066188]
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 0x1400447f3
mov rcx, qword [0x140066188]
mov rax, qword [rcx]
call qword [rax + 0x18]
cmp eax, 0x88760869
jne 0x1400447f3
mov qword [rsp + 0x50], rbx
mov rbx, qword [0x140066e20]
test rbx, rbx
je 0x1400447b0
mov rbx, qword [rbx + 0xf0]
test rbx, rbx
je 0x1400447b0
cmp qword [rbx], rdi
je 0x1400447b0
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x140044778
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rbx + 8], rdi
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x14004478b
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rbx + 0x10], rdi
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x1400447b0
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rax, qword [0x140066e20]
mov qword [rbx + 0x18], rdi
mov rcx, qword [rax + 0xa8]
mov qword [rcx + 8], rdi
mov rcx, qword [0x140066188]
lea rdx, [0x140066190]
mov rax, qword [rcx]
call qword [rax + 0x80]
mov rax, qword [0x140066e20]
mov rbx, qword [rsp + 0x50]
test rax, rax
je 0x1400447f3
mov rax, qword [rax + 0xf0]
test rax, rax
je 0x1400447f3
cmp qword [rax], rdi
je 0x1400447f3
add rsp, 0x40
pop rdi
jmp fcn.140028e70
add rsp, 0x40
pop rdi
ret