Function at 0x180066380
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x80
mov rax, qword [0x1800cb040]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov rdi, qword [0x1800f3af8]
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
xor esi, esi
movups xmmword [rsp + 0x48], xmm0
movups xmmword [rsp + 0x58], xmm0
nop dword [rax]
mov rcx, qword [0x1800f3a68]
call qword [sym.imp.USER32.dll_UpdateWindow]
mov rcx, qword [0x1800f3a68]
mov edx, 5
call qword [sym.imp.USER32.dll_ShowWindow]
mov rdx, qword [0x1800f3a68]
lea rcx, [rsp + 0x38]
xor r9d, r9d
mov dword [rsp + 0x20], 1
xor r8d, r8d
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x180066419
lea rcx, [rsp + 0x38]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rsp + 0x38]
call qword [sym.imp.USER32.dll_DispatchMessageA]
mov rbx, qword [0x1800f3a60]
lea rcx, [rsp + 0x30]
mov rax, qword [0x1800f3a68]
mov qword [rbx + 0xd0], rax
mov dword [rbx + 0x18], 0x3c888889
call qword [sym.imp.USER32.dll_GetCursorPos]
movd xmm0, dword [rsp + 0x30]
mov ecx, 1
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0xe08], xmm0
movd xmm0, dword [rsp + 0x34]
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0xe0c], xmm0
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x18006648e
mov byte [rbx + 0xe10], 1
mov eax, dword [rbx + 0xe0c]
mov dword [rbx + 0x36f8], eax
mov byte [rbx + 0x3748], 1
jmp 0x180066495
mov byte [rbx + 0xe10], sil
xor ecx, ecx
call fcn.180027a80
mov rax, qword [0x1800f3a60]
test rax, rax
je 0x1800664b1
mov rax, qword [rax + 0xa0]
jmp 0x1800664b4
mov rax, rsi
cmp qword [rax + 0x48], rsi
jne 0x1800664bf
call fcn.180032090
call fcn.1800331e0
call fcn.18000c630
mov rcx, qword [0x1800f3b08]
call fcn.1800508f0
mov rcx, qword [0x1800f3b20]
call fcn.18004d220
mov rcx, rdi
call fcn.180064ad0
call fcn.18000e740
mov rcx, qword [0x1800f3a78]
lea r8, [0x1800f3ae8]
xorps xmm0, xmm0
xor r9d, r9d
movups xmmword [rsp + 0x68], xmm0
mov rax, qword [rcx]
lea edx, [r9 + 1]
call qword [rax + pe_nt_image_headers64]
mov rcx, qword [0x1800f3a78]
lea r8, [rsp + 0x68]
mov rdx, qword [0x1800f3ae8]
mov rax, qword [rcx]
call qword [rax + 0x190]
mov rax, qword [0x1800f3a60]
mov rcx, qword [rax + 0x48a8]
mov rax, qword [rcx]
mov rcx, rsi
add rax, 0x48
cmp byte [rax], cl
cmovne rcx, rax
call fcn.180031630
mov rcx, qword [0x1800f3aa8]
xor r8d, r8d
mov rax, qword [rcx]
lea edx, [r8 + 1]
call qword [rax + 0x40]
cmp dword [rsp + 0x40], 0x12
jne 0x1800663c0
mov rdi, qword [0x1800f3a60]
test rdi, rdi
je 0x180066587
mov rbx, qword [rdi + 0xa0]
jmp 0x18006658a
mov rbx, rsi
call fcn.1800325d0
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x18006659e
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbx]
test rcx, rcx
je 0x1800665ac
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x1800665bb
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rax, qword [0x1800f3a60]
mov qword [rdi + 0x90], rsi
mov qword [rdi + 0xa0], rsi
test rax, rax
je 0x1800665db
dec dword [rax + 0xf4]
mov rcx, rbx
call fcn.180078b7c
mov rax, qword [0x1800f3a60]
test rax, rax
je 0x1800665f8
mov rbx, qword [rax + 0x98]
jmp 0x1800665fb
mov rbx, rsi
mov rcx, qword [rbx + 0x30]
lea rdi, [rax + 8]
test rcx, rcx
je 0x180066615
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rax, qword [0x1800f3a60]
mov qword [rdi + 0x80], rsi
mov qword [rdi + 0x90], rsi
test rax, rax
je 0x18006662e
dec dword [rax + 0xf4]
mov rcx, rbx
call fcn.180078b7c
mov rbx, qword [0x1800f3a60]
mov qword [0x1800f3a60], rbx
call fcn.18000a5e0
mov qword [0x1800f3a60], rsi
test rbx, rbx
je 0x180066677
mov rcx, rbx
call fcn.180020520
mov rax, qword [0x1800f3a60]
test rax, rax
je 0x18006666f
dec dword [rax + 0xf4]
mov rcx, rbx
call fcn.180078b7c
mov rcx, qword [0x1800f3a68]
call qword [sym.imp.USER32.dll_DestroyWindow]
mov al, 1
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.18006e1d0
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret