Function at 0x140008db0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x90
mov rax, qword [0x14005f040]
xor rax, rsp
mov qword [rsp + 0x88], rax
mov rcx, qword [0x14006dca0]
xorps xmm0, xmm0
xor edi, edi
mov dword [rsp + 0x30], 0x13
mov dword [rsp + 0x28], edi
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], edi
mov rdx, 0xffffffffffffffff
movups xmmword [rsp + 0x48], xmm0
movups xmmword [rsp + 0x58], xmm0
movups xmmword [rsp + 0x68], xmm0
call qword [sym.imp.USER32.dll_SetWindowPos]
cmp dword [rsp + 0x50], 0x12
je 0x14000901e
nop dword [rax + rax]
xor r9d, r9d
mov dword [rsp + 0x20], 1
xor r8d, r8d
lea rcx, [rsp + 0x48]
xor edx, edx
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x140008e5a
lea rcx, [rsp + 0x48]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rsp + 0x48]
call qword [sym.imp.USER32.dll_DispatchMessageW]
jmp 0x140009013
mov rbx, qword [0x14006dd08]
lea rcx, [rsp + 0x40]
call qword [sym.imp.USER32.dll_GetCursorPos]
mov rcx, qword [0x14006dca0]
lea rdx, [rsp + 0x40]
call qword [sym.imp.USER32.dll_ScreenToClient]
movd xmm0, dword [rsp + 0x40]
mov ecx, 1
movd xmm1, dword [rsp + 0x44]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
movss dword [rbx + 0xe00], xmm0
movss dword [rbx + 0xe04], xmm1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
mov rcx, qword [0x14006dca0]
mov edx, 0xffffffec
test ax, ax
setne al
cmp byte [0x14006d504], dil
mov byte [rbx + 0xe08], al
je 0x140008ed7
call qword [sym.imp.USER32.dll_GetWindowLongW]
and eax, 0xffffffdf
jmp 0x140008ee0
call qword [sym.imp.USER32.dll_GetWindowLongW]
or eax, 0x20
mov rcx, qword [0x14006dca0]
mov r8d, eax
mov edx, 0xffffffec
call qword [sym.imp.USER32.dll_SetWindowLongW]
mov rcx, qword [0x14006dca0]
xor r9d, r9d
mov dword [rsp + 0x30], 0x13
xor r8d, r8d
mov dword [rsp + 0x28], edi
mov rdx, 0xffffffffffffffff
mov dword [rsp + 0x20], edi
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rax, qword [0x14006dd08]
test rax, rax
je 0x140008f34
mov rax, qword [rax + 0x98]
jmp 0x140008f37
mov rax, rdi
cmp qword [rax + 0x48], rdi
jne 0x140008f42
call fcn.140035900
call fcn.1400367a0
call fcn.1400108c0
lea rcx, [0x14006d530]
call fcn.140007d30
call fcn.140007400
call fcn.140012620
mov rcx, qword [0x14006dcb0]
lea r8, [rsp + 0x78]
mov rdx, qword [0x14006dd00]
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
mov rax, qword [rcx]
call qword [rax + 0x190]
call fcn.140012a30
mov rax, qword [0x14006dd08]
mov rcx, qword [rax + 0x48b0]
mov rax, qword [rcx]
mov rcx, rdi
add rax, 0x48
cmp byte [rax], cl
cmovne rcx, rax
call fcn.140034cb0
mov rcx, qword [0x14006dc70]
xor r8d, r8d
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0x40]
add eax, 0x7785fffb
test eax, 0xfffffffd
jne 0x140009013
call fcn.140035d00
mov rcx, qword [0x14006dc40]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [0x14006dcb0]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [0x14006dc70]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [0x14006dd00]
mov rax, qword [rcx]
call qword [rax + 0x10]
call fcn.140005270
test eax, eax
js 0x140009044
call fcn.140035900
cmp dword [rsp + 0x50], 0x12
jne 0x140008e20
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.14004de40
mov rbx, qword [rsp + 0xa0]
add rsp, 0x90
pop rdi
ret
mov rax, 0xffffffff80004005
jmp 0x140009023