Function at 0x1400d9360
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rax, qword [rcx]
mov rdi, rdx
mov rbx, rcx
call qword [rax + 0x228]
test al, al
jne 0x1400d93ac
mov eax, dword [rdi]
sub eax, 9
cmp eax, 0xc
ja 0x1400d93ac
mov rcx, qword [rbx + 0x748]
mov rdx, rdi
test rcx, rcx
jne 0x1400d9696
mov rcx, rbx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
jmp fcn.1400de610
mov eax, dword [rdi]
cmp eax, 0x13
jne 0x1400d93e2
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x218]
test al, al
je 0x1400d96af
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x30]
mov rcx, rbx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
jmp fcn.1400c8b20
cmp eax, 3
jne 0x1400d93fe
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x218]
test al, al
je 0x1400d93fe
cmp word [rdi + 0x1c], 0xd
je 0x1400d93c7
cmp dword [rdi], 0xd
jne 0x1400d94b8
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x218]
test al, al
je 0x1400d96af
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + Ordinal_145]
test al, al
je 0x1400d944f
mov rcx, qword [rbx + 0x58]
lea r8, str.buttondown
mov byte [rsp + 0x28], 0
xor r9d, r9d
mov rdx, rbx
mov qword [rsp + 0x20], 0
call fcn.1400bfaa0
mov ecx, reloc.WS2_32.dll_recvfrom
call qword [sym.imp.USER32.dll_GetKeyState]
mov edi, 0x8000
test di, ax
jne 0x1400d948e
mov ecx, reloc.WS2_32.dll_recv
call qword [sym.imp.USER32.dll_GetKeyState]
test di, ax
jne 0x1400d948e
lea rcx, [rbx + 0x730]
mov dl, 1
mov rax, qword [rcx]
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
jmp qword [rax + Ordinal_41]
mov rcx, qword [rbx + 0x748]
test rcx, rcx
je 0x1400d96af
mov rax, qword [rcx]
xor r8d, r8d
mov edx, dword [rbx + 0x738]
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
jmp qword [rax + 0x20]
mov rcx, qword [rbx + 0x748]
test rcx, rcx
je 0x1400d94f1
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
cmp byte [rax + 0x470], 0
je 0x1400d94f1
cmp dword [rdi], 0xf
jne 0x1400d94f1
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x218]
test al, al
je 0x1400d96af
jmp 0x1400d944f
mov eax, dword [rdi]
cmp eax, 0xe
jne 0x1400d953b
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x218]
test al, al
je 0x1400d96af
mov rcx, qword [rbx + 0x58]
lea r8, str.itemclick
mov byte [rsp + 0x28], 0
xor r9d, r9d
mov rdx, rbx
mov qword [rsp + 0x20], 0
call fcn.1400bfaa0
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
cmp eax, 0xb
jne 0x1400d95a6
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x218]
test al, al
je 0x1400d96af
or dword [rbx + 0x740], 8
mov rcx, rbx
call fcn.1400c8b20
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + Ordinal_145]
test al, al
je 0x1400d96af
mov rcx, qword [rbx + 0x58]
lea r8, str.mouseenter
mov byte [rsp + 0x28], 0
xor r9d, r9d
mov rdx, rbx
mov qword [rsp + 0x20], 0
call fcn.1400bfaa0
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
cmp eax, 0xa
jne 0x1400d960d
mov eax, dword [rbx + 0x740]
test al, 8
je 0x1400d96af
and eax, 0xfffffff7
mov rcx, rbx
mov dword [rbx + 0x740], eax
call fcn.1400c8b20
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + Ordinal_145]
test al, al
je 0x1400d96af
mov rcx, qword [rbx + 0x58]
lea r8, str.mouseleave
mov byte [rsp + 0x28], 0
xor r9d, r9d
mov rdx, rbx
mov qword [rsp + 0x20], 0
call fcn.1400bfaa0
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
cmp eax, 0x1b
jne 0x1400d9642
mov rax, qword [rdi + 0x28]
lea r8, str.timer
mov r9, qword [rdi + 0x20]
mov rdx, rbx
mov rcx, qword [rbx + 0x58]
mov byte [rsp + 0x28], 0
mov qword [rsp + 0x20], rax
call fcn.1400bfaa0
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
cmp eax, 0x14
jne 0x1400d9687
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x1d0]
test al, al
je 0x1400d9687
mov rax, qword [rdi + 0x28]
lea r8, str.menu
mov r9, qword [rdi + 0x20]
mov rdx, rbx
mov rcx, qword [rbx + 0x58]
mov byte [rsp + 0x28], 0
mov qword [rsp + 0x20], rax
call fcn.1400bfaa0
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
mov rcx, qword [rbx + 0x748]
mov rdx, rdi
test rcx, rcx
je 0x1400d96a7
mov rax, qword [rcx]
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
jmp qword [rax + 0x30]
mov rcx, rbx
call fcn.1400db7e0
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret