Function at 0x140054f90
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x70
mov rax, qword [0x14006b040]
xor rax, rsp
mov qword [rsp + 0x60], rax
xorps xmm0, xmm0
xor ebp, ebp
movups xmmword [0x14006bae0], xmm0
movups xmmword [0x14006baf0], xmm0
movups xmmword [0x14006bb00], xmm0
nop dword [rax]
cmp byte [0x14006ba5e], bpl
jne 0x1400551b9
xor r9d, r9d
mov dword [rsp + 0x20], 1
xor r8d, r8d
lea rcx, [0x14006bae0]
xor edx, edx
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x140055018
lea rcx, [0x14006bae0]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [0x14006bae0]
call qword [sym.imp.USER32.dll_DispatchMessageW]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, qword [0x14006bb28]
jne 0x14005505b
mov edx, 3
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindow]
mov rcx, qword [0x14006bb28]
xor r9d, r9d
mov dword [rsp + 0x30], 3
mov rdx, rax
mov dword [rsp + 0x28], ebp
xor r8d, r8d
mov dword [rsp + 0x20], ebp
call qword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, 0x23
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x140055079
xor ecx, ecx
mov byte [0x14006ba5e], 1
call qword [sym.imp.USER32.dll_PostQuitMessage]
mov rcx, qword [0x14006bb28]
lea rdx, [rsp + 0x50]
xorps xmm0, xmm0
mov qword [rsp + 0x40], rbp
movups xmmword [rsp + 0x50], xmm0
call qword [sym.imp.USER32.dll_GetClientRect]
mov rcx, qword [0x14006bb28]
lea rdx, [rsp + 0x40]
call qword [sym.imp.USER32.dll_ClientToScreen]
mov eax, dword [rsp + 0x40]
lea rcx, [rsp + 0x48]
mov rbx, qword [0x14006ba60]
mov dword [rsp + 0x50], eax
mov eax, dword [rsp + 0x44]
mov dword [rsp + 0x54], eax
mov dword [rbx + 0x18], 0x3c888889
call qword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [rsp + 0x48]
mov ecx, 1
sub eax, dword [rsp + 0x40]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x110], xmm0
mov eax, dword [rsp + 0x4c]
sub eax, dword [rsp + 0x44]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x114], xmm0
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
shr eax, 0xf
and al, 1
mov byte [rbx + 0x118], al
mov eax, dword [0x14006c4f0]
mov ecx, dword [rsp + 0x5c]
mov edx, dword [rsp + 0x58]
cmp dword [rsp + 0x50], eax
jne 0x140055147
cmp edx, dword [0x14006c4f8]
jne 0x140055147
mov eax, dword [0x14006c4f4]
cmp dword [rsp + 0x54], eax
jne 0x140055147
cmp ecx, dword [0x14006c4fc]
je 0x14005519f
movups xmm0, xmmword [rsp + 0x50]
mov r9d, dword [rsp + 0x44]
mov r8d, dword [rsp + 0x40]
mov dword [rsp + 0x30], 8
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], edx
mov dword [0x14006baa0], edx
xor edx, edx
mov dword [0x14006baa4], ecx
mov rcx, qword [0x14006bb28]
movups xmmword [0x14006c4f0], xmm0
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rcx, qword [0x14006bb18]
lea rdx, [0x14006baa0]
mov rax, qword [rcx]
call qword [rax + 0x80]
call fcn.140054d50
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [0x14006bae8], 0x12
jne 0x140054fd0
mov r8, qword [0x14006ba60]
test r8, r8
je 0x1400551ce
mov rsi, qword [r8 + 0xa0]
jmp 0x1400551d1
mov rsi, rbp
lea rdi, [r8 + 8]
test r8, r8
je 0x140055241
mov rbx, qword [r8 + 0xa0]
test rbx, rbx
je 0x140055241
cmp qword [rbx], rbp
je 0x140055241
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x140055205
mov rax, qword [rcx]
call qword [rax + 0x10]
mov r8, qword [0x14006ba60]
mov qword [rbx + 8], rbp
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x14005521f
mov rax, qword [rcx]
call qword [rax + 0x10]
mov r8, qword [0x14006ba60]
mov qword [rbx + 0x10], rbp
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x140055241
mov rax, qword [rcx]
call qword [rax + 0x10]
mov r8, qword [0x14006ba60]
mov qword [rbx + 0x18], rbp
mov rax, qword [r8 + 0x38]
mov qword [rax + 8], rbp
mov rcx, qword [rsi]
test rcx, rcx
je 0x140055256
mov rax, qword [rcx]
call qword [rax + 0x10]
mov r8, qword [0x14006ba60]
and dword [rdi + 4], 0xfffffff7
mov qword [rdi + 0x88], rbp
mov qword [rdi + 0x98], rbp
test r8, r8
je 0x1400552cc
movsx rdx, word [r8 + 0x6228]
mov r9d, dword [r8 + 0x3fc0]
lea rcx, [rdx*8 + 0x622c]
add rcx, r8
cmp dword [rcx], r9d
je 0x1400552c1
lea ecx, [rdx + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x6228], cx
movsx rax, cx
lea rcx, [rax*8 + 0x622c]
add rcx, r8
mov dword [rcx], r9d
mov dword [rcx + 4], ebp
inc word [rcx + 6]
inc dword [r8 + 0x6224]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov r8, qword [0x14006ba60]
test r8, r8
je 0x1400552ea
mov rdi, qword [r8 + 0x98]
jmp 0x1400552ed
mov rdi, rbp
mov rcx, qword [rdi + 0x38]
lea rbx, [r8 + 8]
test rcx, rcx
je 0x140055307
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov r8, qword [0x14006ba60]
and dword [rbx + 4], 0xfffffff8
mov qword [rbx + 0x80], rbp
mov qword [rbx + 0x90], rbp
test r8, r8
je 0x14005537d
movsx rdx, word [r8 + 0x6228]
mov r9d, dword [r8 + 0x3fc0]
lea rcx, [rdx*8 + 0x622c]
add rcx, r8
cmp dword [rcx], r9d
je 0x140055372
lea ecx, [rdx + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x6228], cx
movsx rax, cx
lea rcx, [rax*8 + 0x622c]
add rcx, r8
mov dword [rcx], r9d
mov dword [rcx + 4], ebp
inc word [rcx + 6]
inc dword [r8 + 0x6224]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rbx, qword [0x14006ba60]
mov qword [0x14006ba60], rbx
call fcn.140006590
mov qword [0x14006ba60], rbp
test rbx, rbx
je 0x140055422
mov rcx, rbx
call fcn.14001f220
mov r8, qword [0x14006ba60]
test r8, r8
je 0x140055419
movsx r10, word [r8 + 0x6228]
lea rdx, [r8 + 0x622c]
mov r9d, dword [r8 + 0x3fc0]
lea rdx, [rdx + r10*8]
cmp dword [rdx], r9d
je 0x14005540e
lea ecx, [r10 + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
lea rdx, [r8 + 0x622c]
sub ecx, eax
mov word [r8 + 0x6228], cx
movsx rax, cx
lea rdx, [rdx + rax*8]
mov dword [rdx], r9d
mov dword [rdx + 4], ebp
inc word [rdx + 6]
inc dword [r8 + 0x6224]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [0x14006bb28]
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400586f0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret