Function at 0x1400c719c
Capabilities:
Log keystrokes via polling

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0x20
xor ebx, ebx
mov rsi, rdx
cmp dword [rdx + 8], 0x20a
mov rdi, rcx
jne 0x1400c721f
mov rax, qword [rcx + 0xe8]
mov rcx, qword [rax + 0xd0]
test rcx, rcx
je 0x1400c721f
mov rcx, qword [rcx + 0x40]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x157
call qword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x1400c721f
mov rax, qword [rdi + 0xe8]
mov rcx, qword [rax + 0xd0]
mov r9, qword [rsi + 0x18]
mov r8, qword [rsi + 0x10]
mov edx, dword [rsi + 8]
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
mov eax, 1
jmp 0x1400c753d
cmp dword [rsi + 8], 0x100
jne 0x1400c7532
mov ecx, reloc.WS2_32.dll_select
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
js 0x1400c7390
mov ecx, reloc.WS2_32.dll_recvfrom
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
js 0x1400c7390
lea r15, [rdi + 0xe8]
mov rax, qword [r15]
mov rcx, qword [rax + 0xd0]
test rcx, rcx
je 0x1400c7390
mov rax, qword [rsi + 0x10]
mov r14, r15
sub rax, 0xd
je 0x1400c72c7
sub rax, 0x14
je 0x1400c72a3
sub rax, 1
je 0x1400c72a3
sub rax, 1
je 0x1400c72a3
sub rax, 1
je 0x1400c72a3
sub rax, 2
je 0x1400c72a3
cmp rax, 2
jne 0x1400c7390
mov rcx, qword [rcx + 0x40]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x157
call qword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x1400c7390
lea r14, [rdi + 0xe8]
mov rcx, rdi
call fcn.140042750
mov rax, qword [r15]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x157
mov rcx, qword [rax + 0xd0]
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
mov rax, qword [r15]
mov rcx, qword [rax + 0xd0]
jne 0x1400c7200
mov rax, qword [rcx + 0xa0]
test rax, rax
jne 0x1400c7316
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_GetParent]
mov rcx, rax
call fcn.14003c0d4
test rax, rax
je 0x1400c7215
mov rdx, qword [r14]
mov rcx, rdi
add rdx, 0xd8
call fcn.14003c7f4
mov rax, qword [r14]
mov rcx, qword [rax + 0xd0]
mov rax, qword [rcx + 0xa0]
test rax, rax
jne 0x1400c7359
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_GetParent]
mov rcx, rax
call fcn.14003c0d4
mov rdx, qword [r14]
mov rcx, qword [rdx + 0xd0]
test rcx, rcx
je 0x1400c7374
mov rbx, qword [rcx + 0x40]
movzx r8d, word [rdx + 0x24]
mov r9, rbx
mov rcx, qword [rax + 0x40]
mov edx, 0x111
call qword [sym.imp.USER32.dll_PostMessageW]
jmp 0x1400c7215
mov rax, qword [rsi + 0x10]
cmp rax, 9
je 0x1400c74e3
cmp rax, 0x1b
je 0x1400c74a4
add rax, 0xffffffffffffffda
test rax, 0xfffffffffffffffd
jne 0x1400c7532
mov ecx, reloc.WS2_32.dll_select
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
js 0x1400c7532
mov ecx, reloc.WS2_32.dll_recvfrom
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
js 0x1400c7532
mov rax, qword [rdi + 0xe8]
mov rcx, qword [rax + 0xd0]
test rcx, rcx
je 0x1400c7532
mov rcx, qword [rcx + 0x40]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x157
call qword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
jne 0x1400c7215
mov rax, qword [rdi + 0xe8]
xor r9d, r9d
mov edx, 0x14f
mov rcx, qword [rax + 0xd0]
lea r8d, [r9 + 1]
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rax, qword [rdi + 0xe8]
mov rcx, qword [rax + 0xd0]
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_GetParent]
mov rcx, rax
call fcn.14003c0d4
test rax, rax
je 0x1400c7215
mov rax, qword [rdi + 0xe8]
mov rcx, qword [rax + 0xd0]
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_GetParent]
mov rcx, rax
call fcn.14003c0d4
mov rdx, qword [rdi + 0xe8]
mov r8d, 1
add rdx, 0xa8
mov rcx, qword [rax + 0x40]
call qword [sym.imp.USER32.dll_InvalidateRect]
jmp 0x1400c7215
mov rax, qword [rdi + 0xe8]
mov rcx, qword [rax + 0xd0]
test rcx, rcx
je 0x1400c74cc
mov rcx, qword [rcx + 0x40]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x14f
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, rdi
call fcn.14003c6e8
test rax, rax
je 0x1400c7532
mov rcx, rdi
call fcn.14003c6e8
jmp 0x1400c7525
mov rcx, qword [rdi + 0x40]
call qword [sym.imp.USER32.dll_GetParent]
mov rcx, rax
call fcn.14003c0d4
test rax, rax
je 0x1400c7532
mov rcx, qword [rdi + 0x40]
call qword [sym.imp.USER32.dll_GetParent]
mov rcx, rax
call fcn.14003c0d4
mov rdx, qword [rdi + 0x40]
xor r8d, r8d
mov rcx, qword [rax + 0x40]
call qword [sym.imp.USER32.dll_GetNextDlgTabItem]
mov rcx, rax
call fcn.14003c0d4
mov rcx, rax
call fcn.140042750
jmp 0x1400c7215
mov rdx, rsi
mov rcx, rdi
call fcn.14003f060
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
add rsp, 0x20
pop r15
ret