Function at 0x140055060
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x140068040]
xor rax, rsp
mov qword [rsp + 0x48], rax
xorps xmm0, xmm0
xor esi, esi
movups xmmword [0x140069278], xmm0
movups xmmword [0x140069288], xmm0
movups xmmword [0x140069298], xmm0
nop dword [rax + rax]
mov rdx, qword [0x1400692a8]
lea rcx, [0x140069278]
xor r9d, r9d
mov dword [rsp + 0x20], 1
xor r8d, r8d
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x1400550e0
lea rcx, [0x140069278]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [0x140069278]
call qword [sym.imp.USER32.dll_DispatchMessageA]
mov rbx, qword [0x140069238]
lea rcx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_GetCursorPos]
movd xmm0, dword [rsp + 0x30]
mov ecx, 1
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0xd0c], xmm0
movd xmm0, dword [rsp + 0x34]
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0xd10], xmm0
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x140055140
mov byte [rbx + 0xd14], 1
mov eax, dword [rbx + 0xd10]
mov dword [rbx + 0x35dc], eax
mov byte [rbx + 0x3630], 1
jmp 0x140055147
mov byte [rbx + 0xd14], sil
mov rax, qword [0x140069238]
test rax, rax
je 0x14005515c
mov rcx, qword [rax + 0x98]
jmp 0x14005515f
mov rcx, rsi
cmp qword [rcx + 0x48], rsi
jne 0x14005516a
call fcn.140028b60
call fcn.1400298c0
call fcn.140006170
mov ecx, 0x2d
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x1400551ae
movzx eax, byte [0x140069375]
test al, al
jne 0x140055198
mov byte [0x140069375], 1
jmp 0x1400551a3
cmp al, 1
jne 0x1400551a3
mov byte [0x140069375], sil
mov ecx, 0xc8
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp byte [0x140069375], sil
je 0x1400551bc
call fcn.14004f220
call fcn.14004a230
call fcn.140008c30
mov rcx, qword [0x140069250]
lea r8, [0x1400692b8]
xorps xmm0, xmm0
xor r9d, r9d
movups xmmword [rsp + 0x38], xmm0
mov rax, qword [rcx]
lea edx, [r9 + 1]
call qword [rax + pe_nt_image_headers64]
mov rcx, qword [0x140069250]
lea r8, [rsp + 0x38]
mov rdx, qword [0x1400692b8]
mov rax, qword [rcx]
call qword [rax + 0x190]
mov rax, qword [0x140069238]
mov rcx, qword [rax + 0x4030]
mov rax, qword [rcx]
mov rcx, rsi
add rax, 0x48
cmp byte [rax], cl
cmovne rcx, rax
call fcn.140028100
mov rcx, qword [0x1400692b0]
xor r8d, r8d
mov rax, qword [rcx]
lea edx, [r8 + 1]
call qword [rax + 0x40]
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [0x140069280], 0x12
jne 0x1400550a0
mov rdi, qword [0x140069238]
test rdi, rdi
je 0x14005526c
mov rbx, qword [rdi + 0x98]
jmp 0x14005526f
mov rbx, rsi
call fcn.1400290a0
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x140055283
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbx]
test rcx, rcx
je 0x140055291
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x1400552a0
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rax, qword [0x140069238]
mov qword [rdi + 0x88], rsi
mov qword [rdi + 0x98], rsi
test rax, rax
je 0x1400552c0
dec dword [rax + 0xec]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, qword [0x140069238]
test rax, rax
je 0x1400552de
mov rbx, qword [rax + 0x90]
jmp 0x1400552e1
mov rbx, rsi
mov rcx, qword [rbx + 0x30]
lea rdi, [rax + 8]
test rcx, rcx
je 0x1400552fb
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rax, qword [0x140069238]
mov qword [rdi + 0x78], rsi
mov qword [rdi + 0x88], rsi
test rax, rax
je 0x140055311
dec dword [rax + 0xec]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rbx, qword [0x140069238]
mov rcx, rbx
call fcn.140007670
cmp qword [0x140069238], rbx
jne 0x140055339
mov qword [0x140069238], rsi
test rbx, rbx
je 0x140055361
mov rcx, rbx
call fcn.140017a60
mov rax, qword [0x140069238]
test rax, rax
je 0x140055358
dec dword [rax + 0xec]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [0x1400692b8]
test rcx, rcx
je 0x14005537a
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [0x1400692b8], rsi
mov rcx, qword [0x1400692b0]
test rcx, rcx
je 0x140055393
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [0x1400692b0], rsi
mov rcx, qword [0x140069250]
test rcx, rcx
je 0x1400553ac
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [0x140069250], rsi
mov rcx, qword [0x140069270]
test rcx, rcx
je 0x1400553c5
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [0x140069270], rsi
mov rcx, qword [0x1400692a8]
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rax, qword [0x140069288]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140057a70
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret