Function at 0x140071d10
Capabilities:
Log keystrokes via polling
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rdx
push rbx
push rbp
sub rsp, 0xe8
mov rbp, rcx
add rcx, 0x18
movzx ebx, r8b
call qword [sym.imp.USER32.dll_SetRectEmpty]
test bl, bl
jne 0x140071d97
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
jne 0x140071d97
mov rcx, qword [rbp + 0x28]
call fcn.140178760
lea rdx, [rsp + 0x20]
mov rcx, qword [rax + 0x40]
mov qword [rsp + 0x100], rax
call qword [sym.imp.USER32.dll_GetWindowRect]
mov r8d, dword [0x140271244]
mov edx, dword [0x140271240]
lea rcx, [rsp + 0x20]
call qword [sym.imp.USER32.dll_InflateRect]
mov rdx, qword [rsp + 0x108]
lea rcx, [rsp + 0x20]
call qword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x140071db1
mov rdx, qword [rsp + 0x108]
mov rcx, rbp
call fcn.14006aa40
add rsp, 0xe8
pop rbp
pop rbx
ret
mov rcx, qword [rbp + 0x28]
mov qword [rsp + 0x118], rsi
mov qword [rsp + 0xe0], rdi
xor edi, edi
mov qword [rsp + 0xd8], r12
mov qword [rsp + 0xd0], r13
mov qword [rsp + 0xc8], r14
mov dword [rsp + 0x30], 0xe81b
mov byte [rsp + 0x34], 0
mov qword [rsp + 0xc0], r15
mov dword [rsp + 0x38], edi
mov dword [rsp + 0x3c], edi
mov dword [rsp + 0x40], edi
mov dword [rsp + 0x44], edi
mov qword [rsp + 0x48], rdi
mov byte [rsp + 0x54], dil
mov dword [rsp + 0x58], edi
mov dword [rsp + 0x5c], edi
mov dword [rsp + 0x60], edi
mov dword [rsp + 0x64], edi
mov qword [rsp + 0x68], rdi
mov byte [rsp + 0x74], dil
mov dword [rsp + 0x78], edi
mov dword [rsp + 0x7c], edi
mov dword [rsp + 0x80], edi
mov dword [rsp + 0x84], edi
mov qword [rsp + 0x88], rdi
mov byte [rsp + 0x94], dil
mov dword [rsp + 0x98], edi
mov dword [rsp + 0x9c], edi
mov dword [rsp + 0xa0], edi
mov dword [rsp + 0xa4], edi
mov qword [rsp + 0xa8], rdi
mov dword [rsp + 0x50], 0xe81e
mov dword [rsp + 0x70], 0xe81c
mov dword [rsp + 0x90], 0xe81d
call fcn.140061a90
mov esi, edi
mov rdi, qword [rsp + 0x100]
or r13d, 0xffffffff
lea rbx, [rsp + 0x40]
lea r12, [rsp + 0x38]
mov r14d, eax
nop dword [rax]
mov edx, dword [rbx - 0x10]
cmp r14d, edx
jne 0x140071ebf
or byte [rbx - 0xc], 1
mov r13d, esi
mov rcx, rdi
call fcn.140026ec4
mov edx, 3
lea ecx, [rdx + 9]
lea r8d, [rdx - 1]
mov qword [rbx + 8], rax
call qword [sym.imp.KERNEL32.dll_MulDiv]
mov edx, 3
lea ecx, [rdx + 9]
lea r8d, [rdx - 1]
mov r15d, eax
call qword [sym.imp.KERNEL32.dll_MulDiv]
mov rcx, qword [rbx + 8]
mov dword [rsp + 0x110], eax
call fcn.14000a5c4
shr eax, 0x1c
add al, al
xor al, byte [rbx - 0xc]
and al, 2
xor byte [rbx - 0xc], al
test byte [rbx - 0xc], 2
je 0x140071f28
mov rcx, qword [rbx + 8]
mov rdx, r12
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_GetWindowRect]
jmp 0x140071f78
lea rcx, [rsp + 0x20]
mov eax, dword [rcx]
mov dword [rbx - 8], eax
mov eax, dword [rcx + 4]
mov dword [rbx - 4], eax
mov eax, dword [rcx + 8]
mov dword [rbx], eax
mov eax, dword [rcx + 0xc]
mov dword [rbx + 4], eax
mov eax, dword [rbx - 0x10]
sub eax, 0xe81b
je 0x140071f72
sub eax, 1
je 0x140071f6b
sub eax, 1
je 0x140071f64
cmp eax, 1
jne 0x140071f78
mov eax, dword [rbx + 4]
mov dword [rbx - 4], eax
jmp 0x140071f78
mov eax, dword [rbx]
mov dword [rbx - 8], eax
jmp 0x140071f78
mov eax, dword [rbx - 8]
mov dword [rbx], eax
jmp 0x140071f78
mov eax, dword [rbx - 4]
mov dword [rbx + 4], eax
mov ecx, dword [rbx - 0x10]
mov eax, ecx
sub eax, 0xe81b
je 0x140071fb8
sub eax, 1
je 0x140071fac
sub eax, 1
je 0x140071fa0
cmp eax, 1
jne 0x140071fc3
mov eax, dword [rsp + 0x2c]
add dword [rbx - 4], 0xfffffff4
mov dword [rbx + 4], eax
jmp 0x140071fc3
mov eax, dword [rsp + 0x28]
add dword [rbx - 8], 0xfffffff4
mov dword [rbx], eax
jmp 0x140071fc3
mov eax, dword [rsp + 0x20]
add dword [rbx], 0xc
mov dword [rbx - 8], eax
jmp 0x140071fc3
mov eax, dword [rsp + 0x24]
add dword [rbx + 4], 0xc
mov dword [rbx - 4], eax
cmp ecx, 0xe81c
je 0x140071fd3
cmp ecx, 0xe81d
jne 0x140071fe7
mov eax, dword [rsp + 0x44]
add eax, 0xfffffff4
mov dword [rbx - 4], eax
mov eax, dword [rsp + 0x5c]
add eax, 0xc
mov dword [rbx + 4], eax
lea rcx, [rsp + 0xb0]
mov rdx, r12
call qword [sym.imp.USER32.dll_CopyRect]
mov r8d, dword [rsp + 0x110]
lea rcx, [rsp + 0xb0]
mov edx, r15d
call qword [sym.imp.USER32.dll_InflateRect]
mov rdx, qword [rsp + 0x108]
lea rcx, [rsp + 0xb0]
call qword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x14007202f
or byte [rbx - 0xc], 4
inc esi
add r12, 0x20
add rbx, 0x20
cmp esi, 4
jl 0x140071eb0
mov r15, qword [rsp + 0xc0]
mov r14, qword [rsp + 0xc8]
mov r12, qword [rsp + 0xd8]
mov edi, 0
test r13d, r13d
js 0x14007209b
movsxd r8, r13d
shl r8, 5
movzx eax, byte [rsp + r8 + 0x34]
test al, 4
je 0x14007207e
and al, 0xfe
mov byte [rsp + r8 + 0x34], al
jmp 0x14007209b
mov r8, qword [rsp + r8 + 0x48]
mov rdx, qword [rsp + 0x108]
mov rcx, rbp
call fcn.140071160
test al, al
jne 0x140072124
mov rsi, rdi
lea rbx, [rsp + 0x34]
movzx eax, byte [rbx]
test al, 1
jne 0x1400720ca
test al, 2
je 0x1400720ca
test al, 4
jne 0x1400720ca
mov r8, qword [rbx + 0x14]
mov rdx, qword [rsp + 0x108]
mov rcx, rbp
call fcn.140071160
test al, al
jne 0x140072124
inc rsi
add rbx, 0x20
cmp rsi, 4
jl 0x1400720a3
lea rbx, [rsp + 0x34]
nop dword [rax]
movzx eax, byte [rbx]
test al, 1
jne 0x140072107
test al, 2
jne 0x140072107
test al, 4
jne 0x140072107
mov r8, qword [rbx + 0x14]
mov rdx, qword [rsp + 0x108]
mov rcx, rbp
call fcn.140071160
test al, al
jne 0x140072124
inc rdi
add rbx, 0x20
cmp rdi, 4
jl 0x1400720e0
mov rdx, qword [rsp + 0x108]
mov rcx, rbp
call fcn.14006aa40
mov rdi, qword [rsp + 0xe0]
mov rsi, qword [rsp + 0x118]
mov r13, qword [rsp + 0xd0]
add rsp, 0xe8
pop rbp
pop rbx
ret