Function at 0x439f98
Capabilities:
Log keystrokes via polling

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0xe0
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov rbx, r9
mov rdi, rcx
lea rsi, [rcx + 0x168]
cmp r8, qword [rsi]
jne 0x43a381
xor r9d, r9d
xor r8d, r8d
mov ebp, 0x1032
mov edx, ebp
mov rcx, qword [rsi]
call qword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x43a381
movsx eax, bx
mov dword [rsp + 0xf0], eax
shr rbx, 0x10
movsx ecx, bx
mov dword [rsp + 0xf4], ecx
cmp eax, 0xffffffff
jne 0x43a02a
cmp ecx, eax
jne 0x43a02a
lea rax, [rdi + 0x160]
neg rax
sbb rcx, rcx
and rcx, rsi
lea rdx, [rsp + 0xf0]
call fcn.00566af0
mov rax, qword [rsp + 0xf0]
mov qword [rdi + 0x240], rax
xor r9d, r9d
xor r8d, r8d
mov edx, ebp
mov rcx, qword [rsi]
call qword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 1
sete bl
mov ecx, reloc.WS2_32.dll_recv
call qword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
jbe 0x43a08d
xor edx, edx
mov r8d, 0x64b
mov rax, qword [rsp + 0x110]
mov qword [rsp + 0x20], rax
mov r9, qword [rdi + 8]
mov rcx, rdi
call fcn.0043b054
xor eax, eax
jmp 0x43a38e
and qword [rsp + 0x30], 0
and qword [rsp + 0x38], 0
and qword [rsp + 0x40], 0
and qword [rsp + 0x48], 0
call qword [sym.imp.USER32.dll_CreatePopupMenu]
mov qword [rsp + 0x30], rax
mov byte [rsp + 0x20], 0
lea r9, [0x0086b580]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [rsp + 0x30]
call fcn.004d6414
mov r9, qword [0x00878688]
xor edx, edx
mov r8d, 0x469
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.USER32.dll_AppendMenuW]
mov r9, qword [0x00870078]
xor edx, edx
mov r8d, 0x456
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.USER32.dll_AppendMenuW]
mov r9, qword [0x00870168]
xor edx, edx
mov r8d, 0x455
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.USER32.dll_AppendMenuW]
xor edx, edx
test bl, bl
sete dl
mov r9, qword [0x0087e9e8]
mov r8d, 0x64b
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.USER32.dll_AppendMenuW]
mov r9, qword [0x00869908]
mov r8, qword [rdi + 0x220]
mov edx, reloc.WS2_32.dll_recv
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.USER32.dll_AppendMenuW]
mov r9, qword [0x00871928]
xor edx, edx
mov r8d, 0x405
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.USER32.dll_AppendMenuW]
call fcn.00559640
mov r9d, 2
or r8, 0xffffffffffffffff
mov edx, 0x100c
mov rcx, qword [rsi]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rbp, rax
cmp eax, 0xffffffff
je 0x43a25a
xor edx, edx
lea r8d, [rdx + 0x44]
lea rcx, [rsp + 0x94]
call fcn.006aba40
mov dword [rsp + 0x94], ebp
mov dword [rsp + 0x90], 4
lea r9, [rsp + 0x90]
xor r8d, r8d
mov edx, 0x104b
mov rcx, qword [rsi]
call qword [sym.imp.USER32.dll_SendMessageW]
neg eax
sbb rbx, rbx
and rbx, qword [rsp + 0xb8]
lea rdx, [rbx + 0x10]
mov r8b, 0x5c
lea rcx, [rsp + 0x58]
call fcn.004455f0
nop
lea rcx, [rbx + 0x40]
mov rdx, rax
call fcn.005596d0
nop
lea rax, [rsp + 0x58]
mov rcx, qword [rsp + 0x80]
cmp rcx, rax
je 0x43a238
test rcx, rcx
je 0x43a238
mov rdx, qword [rsp + 0x58]
sub rdx, rcx
cmp rdx, 0x100
jbe 0x43a233
call fcn.006a4944
jmp 0x43a238
call fcn.006a3610
movsxd r8, ebp
mov edx, 0x100c
mov r9d, 2
mov rcx, qword [rsi]
call qword [sym.imp.USER32.dll_SendMessageW]
mov ebp, eax
cmp eax, 0xffffffff
jne 0x43a19a
call fcn.00559690
mov r8d, dword [0x00867cf0]
mov r9, qword [0x00884488]
mov edx, reloc.WS2_32.dll_recv
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.USER32.dll_AppendMenuW]
xor r9d, r9d
xor r8d, r8d
mov esi, 0x800
mov edx, esi
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.USER32.dll_AppendMenuW]
lea rdx, [rsp + 0x30]
lea rcx, [rdi + 0xe8]
call fcn.00422ea0
xor r9d, r9d
xor r8d, r8d
mov edx, esi
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.USER32.dll_AppendMenuW]
mov r9, qword [0x008714c8]
xor edx, edx
mov r8d, 0x3f4
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.USER32.dll_AppendMenuW]
mov r9, qword [0x00871518]
xor edx, edx
mov r8d, 0x3f6
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.USER32.dll_AppendMenuW]
xor r8d, r8d
mov edx, 0x456
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.USER32.dll_SetMenuDefaultItem]
lea rcx, [rsp + 0x30]
call fcn.00568d58
lea rcx, [rdi + 0xe8]
call fcn.00423014
and qword [rsp + 0x28], 0
mov rax, qword [rdi + 8]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0xf4]
mov r8d, dword [rsp + 0xf0]
mov edx, 2
lea rcx, [rsp + 0x30]
call fcn.00406524
mov rbx, qword [rdi + 0x220]
xor r8d, r8d
mov edx, ebx
lea rcx, [rsp + 0x30]
call fcn.004d656c
xor r8d, r8d
mov edx, ebx
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.USER32.dll_RemoveMenu]
nop
lea rcx, [rsp + 0x30]
call fcn.004d6330
movabs rax, 1
jmp 0x43a38e
mov rax, qword [rsp + 0x110]
and dword [rax], 0
xor eax, eax
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret