Function at 0x14004b710
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x50
xorps xmm0, xmm0
xor edi, edi
movups xmmword [0x1400d49c8], xmm0
movups xmmword [0x1400d49d8], xmm0
movups xmmword [0x1400d49e8], xmm0
nop dword [rax]
nop dword [rax + rax]
mov rdx, qword [0x1400d49f8]
lea rcx, [0x1400d49c8]
xor r9d, r9d
mov dword [rsp + 0x20], 1
xor r8d, r8d
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x14004b780
lea rcx, [0x1400d49c8]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [0x1400d49c8]
call qword [sym.imp.USER32.dll_DispatchMessageA]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov ecx, 0x23
mov rbx, rax
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
jne 0x14004ba52
mov rcx, qword [0x1400d49c0]
cmp rbx, rcx
jne 0x14004b7e3
mov edx, 3
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindow]
mov rcx, qword [0x1400d49f8]
xor r9d, r9d
mov dword [rsp + 0x30], 3
mov rdx, rax
mov dword [rsp + 0x28], edi
xor r8d, r8d
mov dword [rsp + 0x20], edi
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rcx, qword [0x1400d49c0]
xorps xmm0, xmm0
mov qword [rsp + 0x60], rdi
lea rdx, [rsp + 0x40]
movups xmmword [rsp + 0x40], xmm0
call qword [sym.imp.USER32.dll_GetClientRect]
mov rcx, qword [0x1400d49c0]
lea rdx, [rsp + 0x60]
call qword [sym.imp.USER32.dll_ClientToScreen]
mov eax, dword [rsp + 0x60]
lea rcx, [rsp + 0x68]
mov rbx, qword [0x1400d49b0]
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x64]
mov dword [rsp + 0x44], eax
mov rax, qword [0x1400d49c0]
mov qword [rbx + 0x108], rax
mov dword [rbx + 0x18], 0x3c888889
call qword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [rsp + 0x68]
mov ecx, 1
sub eax, dword [rsp + 0x60]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x118], xmm0
mov eax, dword [rsp + 0x6c]
sub eax, dword [rsp + 0x64]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x11c], xmm0
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x14004b89e
mov byte [rbx + 0x120], 1
mov eax, dword [rbx + 0x11c]
mov dword [rbx + 0x3dc], eax
mov byte [rbx + 0x430], 1
jmp 0x14004b8a5
mov byte [rbx + 0x120], dil
mov eax, dword [0x1400d4fc8]
mov ecx, dword [rsp + 0x4c]
mov edx, dword [rsp + 0x48]
cmp dword [rsp + 0x40], eax
jne 0x14004b8d5
cmp edx, dword [0x1400d4fd0]
jne 0x14004b8d5
mov eax, dword [0x1400d4fcc]
cmp dword [rsp + 0x44], eax
jne 0x14004b8d5
cmp ecx, dword [0x1400d4fd4]
je 0x14004b939
movups xmm0, xmmword [rsp + 0x40]
mov r9d, dword [rsp + 0x64]
mov r8d, dword [rsp + 0x60]
mov dword [rsp + 0x30], 8
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], edx
mov dword [0x1400d4abc], edx
mov dword [0x1400d4ab8], ecx
mov dword [0x1400d4a50], edx
xor edx, edx
mov dword [0x1400d4a54], ecx
mov rcx, qword [0x1400d49f8]
movups xmmword [0x1400d4fc8], xmm0
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rcx, qword [0x1400d4aa0]
lea rdx, [0x1400d4a50]
mov rax, qword [rcx]
call qword [rax + 0x80]
call fcn.14004a910
cvttss2si rcx, dword [0x1400abd18]
xor r8d, r8d
mov edx, 1
mov ecx, ecx
imul rax, rcx, 0xfffffffffffffff6
xor ecx, ecx
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_CreateWaitableTimerA]
mov dword [rsp + 0x28], edi
lea rdx, [rsp + 0x70]
mov rcx, rax
mov qword [rsp + 0x20], rdi
xor r9d, r9d
xor r8d, r8d
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_SetWaitableTimer]
mov edx, 0xffffffff
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [0x1400d49d0], 0x12
jne 0x14004b740
call fcn.140024b60
mov rbx, qword [0x1400d49b0]
mov rcx, rbx
mov qword [0x1400d4b10], rdi
mov qword [0x1400d4b20], rdi
call fcn.140006f40
cmp qword [0x1400d49b0], rbx
jne 0x14004b9d8
mov qword [0x1400d49b0], rdi
test rbx, rbx
je 0x14004b9ff
mov rcx, rbx
call fcn.1400146a0
mov rax, qword [0x1400d49b0]
test rax, rax
je 0x14004b9f7
dec dword [rax + 0x3c8]
mov rcx, rbx
call fcn.140063b14
mov rcx, qword [0x1400d4aa0]
test rcx, rcx
je 0x14004ba21
mov rax, qword [rcx]
call qword [rax + 0x150]
mov rcx, qword [0x1400d4aa0]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [0x1400d4a08]
test rcx, rcx
je 0x14004ba33
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [0x1400d49f8]
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rax, qword [0x1400d49d8]
mov rbx, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret
mov ecx, 8
call fcn.14006a414
int3