Function at 0x140042d60
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0xc0
mov rax, qword [0x140059040]
xor rax, rsp
mov qword [rsp + 0xb0], rax
cmp byte [0x14005911c], 0
mov rdi, rcx
je 0x140042d97
mov edx, 0x11
jmp 0x140042d99
xor edx, edx
call qword [sym.imp.USER32.dll_SetWindowDisplayAffinity]
lea rdx, str.Rust
lea rcx, str.UnityWndClass
call qword [sym.imp.USER32.dll_FindWindowA]
mov rbx, rax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, rbx
je 0x140042dcb
mov edx, 1
cmp rax, rdi
jne 0x140042dd2
mov rdx, 0xffffffffffffffff
xor ebx, ebx
mov dword [rsp + 0x30], 3
mov dword [rsp + 0x28], ebx
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], ebx
mov rcx, rdi
call qword [sym.imp.USER32.dll_SetWindowPos]
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
call qword [sym.imp.USER32.dll_GetDesktopWindow]
mov rcx, rax
lea rdx, [rsp + 0x40]
call qword [sym.imp.USER32.dll_GetWindowRect]
movd xmm0, dword [rsp + 0x48]
lea rcx, [0x140049be8]
movd xmm1, dword [rsp + 0x4c]
mov edx, 1
mov rsi, qword [0x1400732a8]
mov r8d, 0xc030f
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
movss dword [0x140072850], xmm0
xorps xmm0, xmm0
movss dword [0x140072854], xmm1
movdqa xmm1, xmmword [0x14004fca0]
movups xmmword [rsi + 0x1638], xmm0
movups xmmword [rsi + 0x1668], xmm1
mov eax, dword [rsi + 0x1b08]
or eax, 1
mov qword [rsi + 0x1b18], rbx
mov dword [rsi + 0x1b08], eax
or eax, 2
mov qword [rsi + 0x1b20], rbx
mov dword [rsi + 0x1b0c], 1
movss xmm0, dword [0x140072850]
movss xmm1, dword [0x140072854]
movss dword [rsi + 0x1b28], xmm0
movss dword [rsi + 0x1b2c], xmm1
mov dword [rsi + 0x1b08], eax
mov dword [rsi + 0x1b10], 1
call fcn.140019390
call fcn.1400087d0
call fcn.14001b5c0
mov ecx, 0x2d
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x140042ef4
mov ecx, 0xc8
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp byte [0x14005911d], bl
sete byte [0x14005911d]
mov rax, qword [sym.imp.USER32.dll_DefWindowProcA]
mov edx, 0x7f00
xor ecx, ecx
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x50], 0x50
mov qword [rsp + 0x60], 0
mov qword [rsp + 0x68], rbx
call qword [sym.imp.USER32.dll_LoadIconA]
mov edx, 0x7f00
xor ecx, ecx
mov qword [rsp + 0x70], rax
call qword [sym.imp.USER32.dll_LoadCursorA]
cmp qword [0x140072840], 0xf
xorps xmm0, xmm0
mov qword [rsp + 0x78], rax
mov edx, 0x7f00
lea rax, [0x140072828]
movdqa xmmword [rsp + 0x80], xmm0
cmova rax, qword [0x140072828]
xor ecx, ecx
mov qword [rsp + 0x90], rax
call qword [sym.imp.USER32.dll_LoadIconA]
mov qword [rsp + 0x98], rax
call qword [sym.imp.USER32.dll_GetDesktopWindow]
mov rcx, rax
lea rdx, [rsp + 0xa0]
call qword [sym.imp.USER32.dll_GetWindowRect]
lea rcx, [rsp + 0x50]
call qword [sym.imp.USER32.dll_RegisterClassExA]
call fcn.140040400
cmp byte [0x14005911d], 0
mov edx, 0xffffffec
mov rcx, rdi
je 0x140042fed
mov r8d, 0x80000
call qword [sym.imp.USER32.dll_SetWindowLongA]
cmp byte [0x14005911d], 0
movdqa xmm0, xmmword [0x14004fd70]
movdqa xmm1, xmmword [0x14004fd50]
movups xmmword [rsi + 0x1638], xmm0
movups xmmword [rsi + 0x1668], xmm1
je 0x140042ff9
call fcn.1400408c0
jmp 0x140042ff9
mov r8d, 0x80020
call qword [sym.imp.USER32.dll_SetWindowLongA]
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.140046350
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret