Function at 0x140019d40
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
sub rsp, 0x70
mov rax, qword [0x140107040]
xor rax, rsp
mov qword [rsp + 0x60], rax
cmp byte [0x140670a68], 0
jne 0x140019d7d
xorps xmm0, xmm0
mov byte [0x140670a68], 1
movups xmmword [0x140671660], xmm0
movups xmmword [0x140671670], xmm0
movups xmmword [0x140671680], xmm0
mov rdx, qword [0x1406716a0]
lea rcx, [0x140671660]
xor r9d, r9d
mov dword [rsp + 0x20], 1
xor r8d, r8d
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x140019dbd
lea rcx, [0x140671660]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [0x140671660]
call qword [sym.imp.USER32.dll_DispatchMessageA]
mov rbx, qword [0x1406716c0]
lea rcx, [0x140670c70]
mov dword [rbx + 0x18], 0x3c888889
call qword [sym.imp.USER32.dll_GetCursorPos]
movd xmm0, dword [0x140670c70]
mov ecx, 1
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0xe08], xmm0
movd xmm0, dword [0x140670c74]
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0xe0c], xmm0
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x140019e2a
mov byte [rbx + 0xe10], 1
mov eax, dword [rbx + 0xe0c]
mov dword [rbx + 0x36f8], eax
mov byte [rbx + 0x3748], 1
jmp 0x140019e31
mov byte [rbx + 0xe10], 0
mov rax, qword [0x1406716c0]
xor ebx, ebx
test rax, rax
je 0x140019e48
mov rcx, qword [rax + 0xa0]
jmp 0x140019e4b
mov rcx, rbx
cmp qword [rcx + 0x48], rbx
jne 0x140019e56
call fcn.140053ee0
call fcn.140054ec0
call fcn.14002ab90
cmp byte [0x140107130], bl
je 0x140019ed3
mov rax, qword [0x1406716c0]
lea r8, str.Background
xor edx, edx
mov rcx, qword [rax + 0x48d0]
mov rcx, qword [rcx]
call fcn.14002a280
movd xmm0, dword [0x1406716dc]
lea r8, [rsp + 0x40]
movd xmm1, dword [0x1406716d8]
lea rdx, [rsp + 0x48]
cvtdq2ps xmm0, xmm0
mov dword [rsp + 0x28], ebx
mov r9d, 0xff000000
mov rcx, rax
mov qword [rsp + 0x48], rbx
cvtdq2ps xmm1, xmm1
movss dword [rsp + 0x40], xmm0
xorps xmm0, xmm0
movss dword [rsp + 0x20], xmm0
movss dword [rsp + 0x44], xmm1
call fcn.140049f20
call fcn.14000fb20
call fcn.1400156e0
call fcn.14002cc50
movss xmm2, dword [0x1401071a4]
lea r8, [0x140671698]
movss xmm1, dword [0x14010719c]
movaps xmm0, xmm2
mulss xmm0, dword [0x140107198]
xor r9d, r9d
mov rcx, qword [0x140671658]
mulss xmm1, xmm2
movss dword [rsp + 0x50], xmm0
lea edx, [r9 + 1]
movss xmm0, dword [0x1401071a0]
mulss xmm0, xmm2
movss dword [rsp + 0x54], xmm1
movss dword [rsp + 0x5c], xmm2
movss dword [rsp + 0x58], xmm0
mov rax, qword [rcx]
call qword [rax + 0x108]
mov rcx, qword [0x140671658]
lea r8, [rsp + 0x50]
mov rdx, qword [0x140671698]
mov rax, qword [rcx]
call qword [rax + 0x190]
mov rax, qword [0x1406716c0]
mov rcx, qword [rax + 0x48d0]
mov rcx, qword [rcx]
add rcx, 0x48
cmp byte [rcx], bl
cmove rcx, rbx
call fcn.140053480
mov rcx, qword [0x140671690]
xor r8d, r8d
cmp byte [0x140670a43], bl
mov rax, qword [rcx]
je 0x140019f9a
lea edx, [r8 + 1]
jmp 0x140019f9c
xor edx, edx
call qword [rax + 0x40]
movzx eax, byte [0x140107130]
cmp al, byte [0x140107107]
je 0x14001a044
mov rcx, qword [0x1406716a0]
mov edx, 0xffffffec
test al, al
je 0x140019fd5
lea r8d, [rdx + 0x34]
call qword [sym.imp.USER32.dll_SetWindowLongA]
mov rdx, 0xfffffffffffffffe
jmp 0x140019fe8
mov r8d, 0x800a8
call qword [sym.imp.USER32.dll_SetWindowLongA]
mov rdx, 0xffffffffffffffff
mov rcx, qword [0x1406716a0]
xor r9d, r9d
mov dword [rsp + 0x30], 3
xor r8d, r8d
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], ebx
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rcx, qword [0x1406716a0]
mov edx, 5
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [0x1406716a0]
call qword [sym.imp.USER32.dll_SetForegroundWindow]
mov rcx, qword [0x1406716a0]
call qword [sym.imp.USER32.dll_UpdateWindow]
movzx eax, byte [0x140107130]
mov byte [0x140107107], al
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400cc870
add rsp, 0x70
pop rbx
ret