Function at 0x140051f70
Capabilities:
Log keystrokes via polling

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x2f]
sub rsp, 0xc8
mov rax, qword [0x1400e5250]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov r14d, r9d
mov esi, r8d
mov rdi, rdx
mov rbx, rcx
mov qword [rbp - 0x69], rdx
xor r15d, r15d
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 1], xmm0
mov qword [rbp + 0xf], rax
mov r9d, dword [rcx + 0x41c]
add r9d, r14d
mov r8d, dword [rcx + 0x37c]
add r8d, esi
mov rax, qword [rcx + 0x328]
mov rdx, qword [rcx + 0x330]
cmp rax, rdx
je 0x140052005
mov rcx, qword [rax]
cmp byte [rcx + 0x6e], r15b
je 0x140051fec
cmp byte [rcx + 0x1a8], r15b
jne 0x140051ff2
add rax, 0x40
jmp 0x140051fd5
sub r9d, dword [rcx + 0x54]
sub r8d, dword [rcx + 0x50]
lea rdx, [rbp - 1]
call fcn.14000fa20
jmp 0x14005201b
xorps xmm0, xmm0
movdqu xmmword [rbp - 1], xmm0
mov qword [rbp + 0xf], r15
lea rcx, [rbp - 1]
call fcn.140028480
nop
mov rax, qword [rbp + 7]
cmp qword [rbp - 1], rax
jne 0x14005221a
mov ecx, 0x10
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x14005215a
cmp byte [rbx + 0x378], 0
je 0x14005221a
mov qword [rbp - 9], r15
mov qword [rbp - 0x69], 0x8f0d180
cmp byte [rbx + 0x3b8], 0
je 0x140052068
mov r8d, dword [rbx + 0x3d4]
jmp 0x14005206f
mov r8d, dword [rbx + 0x37c]
sub r8d, dword [rbx + 0x380]
lea rax, [rbp - 0x41]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x69]
mov edx, 1
mov rcx, rbx
call fcn.1400495d0
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x61], xmm0
mov qword [rbp - 0x51], r15
lea rcx, [rbp - 0x61]
call fcn.140028480
nop
mov dword [rsp + 0x20], r14d
mov r9d, esi
mov r8, rbx
mov rdx, rdi
lea rcx, [rbp - 0x61]
call fcn.14000dd10
nop
mov rcx, qword [rbp - 0x61]
test rcx, rcx
je 0x1400520fd
mov rdx, qword [rbp - 0x51]
sub rdx, rcx
and rdx, 0xfffffffffffffff0
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400520f7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140052279
call fcn.1400861ac
nop
mov rcx, qword [rbp - 1]
test rcx, rcx
je 0x14005213b
mov rdx, qword [rbp + 0xf]
sub rdx, rcx
and rdx, 0xfffffffffffffff0
mov rax, rcx
cmp rdx, 0x1000
jb 0x140052136
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140052273
call fcn.1400861ac
mov rax, rdi
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.140086080
add rsp, 0xc8
pop r15
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
cmp byte [rbx + 0x418], 0
je 0x14005221a
mov qword [rbp - 9], r15
mov qword [rbp - 0x69], 0x8f0d180
cmp byte [rbx + 0x458], 0
je 0x140052185
mov r8d, dword [rbx + 0x474]
jmp 0x14005218c
mov r8d, dword [rbx + 0x41c]
sub r8d, dword [rbx + 0x420]
lea rax, [rbp - 0x41]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x69]
xor edx, edx
mov rcx, rbx
call fcn.1400495d0
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x61], xmm0
mov qword [rbp - 0x51], r15
lea rcx, [rbp - 0x61]
call fcn.140028480
nop
mov dword [rsp + 0x20], r14d
mov r9d, esi
mov r8, rbx
mov rdx, rdi
lea rcx, [rbp - 0x61]
call fcn.14000dd10
nop
mov rcx, qword [rbp - 0x61]
test rcx, rcx
je 0x1400520fd
mov rdx, qword [rbp - 0x51]
sub rdx, rcx
and rdx, 0xfffffffffffffff0
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400520f7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140052279
jmp 0x1400520f7
mov qword [rdi], r15
mov qword [rdi + 8], r15
mov qword [rdi + 0x10], r15
lea rdx, [rbp - 1]
mov rcx, rdi
call fcn.140025590
nop
mov rcx, qword [rbp - 1]
test rcx, rcx
je 0x14005213b
mov rdx, qword [rbp + 0xf]
sub rdx, rcx
and rdx, 0xfffffffffffffff0
mov rax, rcx
cmp rdx, 0x1000
jb 0x140052136
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140052136
call fcn.14008c8c4
nop
call fcn.14008c8c4
int3