Function at 0x1400d44a0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x138
mov rax, qword [0x14014a340]
xor rax, rsp
mov qword [rsp + 0x120], rax
mov eax, dword [0x1401802a8]
mov rcx, qword [rsp + 0x150]
add rax, qword [rcx + 0x48]
lea r8, [rsp + 0xfc]
mov rdx, rax
lea rcx, [0x1401b8628]
call fcn.140024a70
movzx eax, al
test eax, eax
je 0x1400d44fa
cmp dword [rsp + 0xfc], 0xffffffff
jne 0x1400d44ff
jmp 0x1400d489f
lea rax, [rsp + 0xe0]
mov qword [rsp + 0x60], rax
lea rcx, [rsp + 0x33]
call fcn.1400080b0
mov qword [rsp + 0x58], rax
mov eax, dword [rsp + 0xfc]
shr eax, 9
lea eax, [rax*8 + 0x10]
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x44], 0
lea rax, [rsp + 0x48]
mov r8, rax
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0xd0]
call fcn.140007fd0
lea rcx, [rsp + 0xa8]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0xc0]
lea rcx, [rsp + 0xa8]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov r8, qword [rsp + 0x58]
lea rdx, [rsp + 0xc0]
mov rcx, qword [rsp + 0x60]
call fcn.140021de0
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x78], rax
lea rcx, [0x1401b8660]
call fcn.140023070
mov qword [rsp + 0x80], rax
mov r8, qword [rsp + 0x78]
mov rdx, qword [rsp + 0x80]
lea rcx, [0x1401b8628]
call fcn.14002da40
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
jne 0x1400d45f3
jmp 0x1400d489f
mov eax, dword [rsp + 0xfc]
and eax, 0x1ff
imul eax, eax, 0x78
mov eax, eax
mov rcx, qword [rsp + 0x50]
add rcx, rax
mov rax, rcx
lea r8, [rsp + 0x110]
mov rdx, rax
lea rcx, [0x1401b8628]
call fcn.140009070
movzx eax, al
test eax, eax
jne 0x1400d4632
jmp 0x1400d489f
lea rdx, [rsp + 0x110]
lea rcx, [0x1401b7bf0]
call fcn.14002de20
movzx eax, al
test eax, eax
jne 0x1400d4652
jmp 0x1400d489f
movzx eax, byte [0x1401b81c1]
test eax, eax
jne 0x1400d4676
mov rax, qword [rsp + 0x150]
xorps xmm0, xmm0
comiss xmm0, dword [rax + 0x104]
jae 0x1400d4676
jmp 0x1400d489f
movzx eax, byte [0x1401b81c0]
test eax, eax
je 0x1400d46bb
mov eax, dword [0x14018026c]
mov rcx, qword [rsp + 0x150]
add rax, qword [rcx + 0x48]
lea r8, [rsp + 0xf8]
mov rdx, rax
lea rcx, [0x1401b8628]
call fcn.140023e40
movzx eax, byte [rsp + 0xf8]
test eax, eax
jne 0x1400d46bb
jmp 0x1400d489f
movzx eax, byte [0x14014a3bd]
test eax, eax
je 0x1400d4702
mov rax, qword [rsp + 0x150]
mov ecx, dword [0x1401b7ce0]
cmp dword [rax + 0xf0], ecx
je 0x1400d46ef
cmp dword [0x1401b7cd0], 0
jle 0x1400d46ef
mov dword [rsp + 0x34], 1
jmp 0x1400d46f7
mov dword [rsp + 0x34], 0
movzx eax, byte [rsp + 0x34]
mov byte [rsp + 0x30], al
jmp 0x1400d4726
cmp dword [0x1401b7cd0], 0
jle 0x1400d4715
mov dword [rsp + 0x38], 1
jmp 0x1400d471d
mov dword [rsp + 0x38], 0
movzx eax, byte [rsp + 0x38]
mov byte [rsp + 0x30], al
movzx eax, byte [rsp + 0x30]
test eax, eax
jne 0x1400d4734
jmp 0x1400d489f
lea rcx, [rsp + 0x100]
call fcn.14000b460
lea r8, [0x1401b8918]
lea rdx, [rsp + 0x100]
lea rcx, [rsp + 0x88]
call fcn.140024ae0
mov rdx, rax
lea rcx, [rsp + 0x108]
call fcn.140024b40
movzx eax, byte [0x1401b8608]
test eax, eax
jne 0x1400d47b1
lea rcx, [rsp + 0x108]
call fcn.14000b5b0
cvtsi2sd xmm1, dword [0x14014a37c]
comisd xmm0, xmm1
jb 0x1400d47b1
lea rcx, [rsp + 0x90]
call fcn.14000b460
mov rax, qword [rax]
mov qword [0x1401b8920], rax
mov byte [0x1401b8608], 1
lea r8, [0x1401b8920]
lea rdx, [rsp + 0x100]
lea rcx, [rsp + 0x98]
call fcn.140024ae0
mov rdx, rax
lea rcx, [rsp + 0x118]
call fcn.140024b40
lea rcx, [rsp + 0x108]
call fcn.14000b5b0
cvtsi2sd xmm1, dword [0x14014a37c]
comisd xmm0, xmm1
jb 0x1400d489f
lea rcx, [rsp + 0x118]
call fcn.14000b5b0
cvtsi2sd xmm1, dword [0x14014a374]
comisd xmm0, xmm1
jb 0x1400d489f
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
test eax, eax
jge 0x1400d4832
mov byte [rsp + 0x31], 1
jmp 0x1400d4837
mov byte [rsp + 0x31], 0
movzx eax, byte [rsp + 0x31]
mov byte [rsp + 0x32], al
movzx eax, byte [rsp + 0x32]
test eax, eax
jne 0x1400d489f
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov ecx, 2
call qword [sym.imp.USER32.dll_mouse_event]
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov ecx, 4
call qword [sym.imp.USER32.dll_mouse_event]
lea rcx, [rsp + 0xa0]
call fcn.14000b460
mov rax, qword [rax]
mov qword [0x1401b8918], rax
mov byte [0x1401b8608], 0
mov rcx, qword [rsp + 0x120]
xor rcx, rsp
call fcn.1401080d0
add rsp, 0x138
pop rdi
pop rsi
ret