Function at 0x1400c9880
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x1402809a0]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rax, qword [rcx]
mov esi, edx
mov rbx, rcx
call qword [rax + 0x390]
mov rdi, rax
mov rcx, rbx
xor eax, eax
mov dword [rsp + 0x20], eax
call fcn.14001ef04
mov ebp, eax
mov eax, 0x25
and ebp, 0x400000
je 0x1400c9912
cmp esi, eax
jne 0x1400c990c
lea esi, [rax + 2]
mov eax, esi
sub eax, 0x26
je 0x1400c9935
sub eax, 1
je 0x1400c99f2
cmp eax, 1
je 0x1400c99be
mov rax, qword [rdi]
mov edx, esi
mov rcx, rdi
call qword [rax + 0x800]
test eax, eax
jne 0x1400c9c77
mov rcx, rbx
call fcn.140018778
jmp 0x1400c9c77
cmp esi, 0x27
cmove esi, eax
cmp esi, eax
ja 0x1400c98d0
je 0x1400c9970
cmp esi, 0xd
je 0x1400c9adb
cmp esi, 0x1b
je 0x1400c995f
cmp esi, 0x20
jbe 0x1400c98e9
cmp esi, 0x22
jbe 0x1400c993f
cmp esi, 0x24
ja 0x1400c98e9
mov ebp, 1
jmp 0x1400c9adf
xor eax, eax
cmp dword [rbx + 0x16a8], eax
je 0x1400c98e9
mov rax, qword [rdi]
mov edx, esi
mov rcx, rdi
call qword [rax + 0x800]
xor r8d, r8d
jmp 0x1400c9b04
mov dword [rbx + 0x19ac], 1
mov edx, 1
jmp 0x1400c99b1
mov rcx, rbx
call fcn.1400c8678
test rax, rax
je 0x1400c998e
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x730]
jmp 0x1400c9c77
mov rcx, qword [rbx + 0x228]
test rcx, rcx
je 0x1400c9c77
mov rax, qword [rcx]
call qword [rax + 0xe0]
test eax, eax
je 0x1400c9c77
xor edx, edx
mov rcx, rbx
call fcn.1400c6e94
jmp 0x1400c9c77
mov ecx, reloc.WS2_32.dll_recvfrom
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0x8000
test cx, ax
je 0x1400c9935
xor eax, eax
cmp dword [rdi + 0x1380], eax
jne 0x1400c9935
mov rcx, rbx
call fcn.1400cc13c
jmp 0x1400c9c77
xor ecx, ecx
call fcn.14004c1ec
mov esi, eax
mov rcx, rbx
xor eax, eax
mov dword [0x14028e61c], eax
call fcn.1400c86e8
mov rdi, rax
test rax, rax
je 0x1400c9a73
mov ecx, dword [rax + 0x24]
dec ecx
cmp ecx, 0xfffffffd
ja 0x1400c9a2d
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x1c0]
test eax, eax
je 0x1400c9a73
mov rax, qword [rdi]
xor edx, edx
mov rcx, rdi
call qword [rax + 0x198]
xor ecx, ecx
test eax, eax
je 0x1400c9a73
cmp qword [rdi + 0xc0], rcx
je 0x1400c9ad0
mov rcx, rbx
call fcn.1400c86e8
cmp rax, rdi
jne 0x1400c9ad0
mov rcx, qword [rdi + 0xc0]
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x24]
call fcn.1400c9880
jmp 0x1400c9ad0
mov rcx, rbx
call fcn.1400c8678
mov rdi, rax
test rax, rax
je 0x1400c9aa4
lea rdx, str.CMFCPopupMenuBar
mov rcx, rax
call fcn.140038cb8
test eax, eax
jne 0x1400c9aa4
mov rdx, qword [rdi]
mov rcx, rdi
call qword [rdx + 0x738]
jmp 0x1400c9ad0
mov rcx, rbx
call fcn.1400c8614
test rax, rax
je 0x1400c9ad0
mov rcx, qword [rax + 0x40]
neg ebp
mov edx, 0x100
sbb r8, r8
xor r9d, r9d
and r8, 0xfffffffffffffffe
add r8, 0x27
call qword [sym.imp.USER32.dll_SendMessageW]
mov dword [0x14028e61c], esi
jmp 0x1400c9c77
mov ebp, dword [rsp + 0x20]
xor r8d, r8d
cmp dword [0x14028bce0], r8d
jne 0x1400c9afc
mov rax, qword [rdi]
mov edx, esi
mov rcx, rdi
call qword [rax + 0x800]
xor r8d, r8d
test ebp, ebp
je 0x1400c9c77
cmp dword [rbx + 0x16a4], r8d
je 0x1400c9c5c
mov edx, dword [rdi + 0x1138]
test edx, edx
js 0x1400c9c5c
mov rcx, rdi
call fcn.14004c300
mov rsi, rax
test rax, rax
jne 0x1400c9b46
mov rdx, qword [rdi]
mov rcx, rdi
call qword [rdx + 0x6a8]
xor r8d, r8d
test eax, eax
je 0x1400c9c5c
mov rcx, qword [rdi + 0x40]
lea rdx, [rsp + 0x28]
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x28], xmm0
call qword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [rsp + 0x2c]
mov ebp, dword [rdi + 0x1364]
cmp dword [rsi + 0x6c], eax
jge 0x1400c9b8a
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x6a8]
mov ecx, eax
mov eax, dword [rsi + 0x6c]
sub eax, dword [rsp + 0x2c]
cdq
idiv ecx
lea esi, [rax - 1]
jmp 0x1400c9bb2
mov eax, dword [rsp + 0x34]
cmp dword [rsi + 0x74], eax
jle 0x1400c9c59
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x6a8]
mov ecx, eax
mov eax, dword [rsi + 0x74]
sub eax, dword [rsp + 0x34]
cdq
idiv ecx
lea esi, [rax + 1]
xor r8d, r8d
test esi, esi
je 0x1400c9c5c
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x6a8]
add ebp, esi
mov esi, dword [rdi + 0x11a0]
mov ecx, eax
mov eax, dword [rbx + 0x214]
cdq
idiv ecx
sub eax, 2
sub esi, eax
xor eax, eax
dec esi
test ebp, ebp
cmovs ebp, eax
cmp ebp, esi
cmovl esi, ebp
cmp dword [rdi + 0x1364], esi
je 0x1400c9c09
mov rax, qword [rdi]
mov rcx, rdi
mov dword [rdi + 0x1364], esi
call qword [rax + 0x7c8]
xor edx, edx
mov rcx, rbx
call fcn.1400c69fc
xor r8d, r8d
cmp dword [rbx + 0x16a8], r8d
je 0x1400c9c4b
lea rcx, [rbx + 0x16e0]
test rcx, rcx
je 0x1400c9c4b
cmp qword [rcx + 0x40], r8
je 0x1400c9c4b
mov rcx, qword [rbx + 0x1720]
lea r9d, [r8 + 1]
lea edx, [r9 + 1]
mov r8d, esi
call qword [sym.imp.USER32.dll_SetScrollPos]
jmp 0x1400c9c59
test eax, eax
je 0x1400c9c5c
xor edx, edx
mov rcx, rbx
call fcn.1400c69fc
xor r8d, r8d
cmp dword [rdi + 0x1398], r8d
je 0x1400c9c77
mov rax, qword [rbx]
mov rcx, rbx
mov edx, dword [rdi + 0x1138]
call qword [rax + 0x408]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140194eb0
mov rbx, qword [rsp + 0x70]
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret