Function at 0x1400d4890
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x118
mov rax, qword [0x14014e340]
xor rax, rsp
mov qword [rsp + 0x108], rax
mov eax, dword [0x14017a238]
mov rcx, qword [rsp + 0x130]
add rax, qword [rcx + 0x48]
lea r8, [rsp + 0xec]
mov rdx, rax
lea rcx, [0x1401b2fa0]
call fcn.140025490
movzx eax, al
test eax, eax
je 0x1400d48ea
cmp dword [rsp + 0xec], 0xffffffff
jne 0x1400d48ef
jmp 0x1400d4bf5
lea rax, [rsp + 0xd0]
mov qword [rsp + 0x60], rax
lea rcx, [rsp + 0x33]
call fcn.140008f10
mov qword [rsp + 0x58], rax
mov eax, dword [rsp + 0xec]
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 + 0xc0]
call fcn.140008e30
lea rcx, [rsp + 0x98]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0xb0]
lea rcx, [rsp + 0x98]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov r8, qword [rsp + 0x58]
lea rdx, [rsp + 0xb0]
mov rcx, qword [rsp + 0x60]
call fcn.140022770
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, [0x1401b2fe0]
call fcn.140027ca0
mov qword [rsp + 0x80], rax
mov r8, qword [rsp + 0x78]
mov rdx, qword [rsp + 0x80]
lea rcx, [0x1401b2fa0]
call fcn.14002da40
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
jne 0x1400d49e3
jmp 0x1400d4bf5
mov eax, dword [rsp + 0xec]
and eax, 0x1ff
imul eax, eax, 0x78
mov eax, eax
mov rcx, qword [rsp + 0x50]
add rcx, rax
mov rax, rcx
lea r8, [rsp + 0xf0]
mov rdx, rax
lea rcx, [0x1401b2fa0]
call fcn.140009f10
movzx eax, al
test eax, eax
jne 0x1400d4a22
jmp 0x1400d4bf5
lea rdx, [rsp + 0xf0]
lea rcx, [0x1401b2250]
call fcn.14002de20
movzx eax, al
test eax, eax
jne 0x1400d4a42
jmp 0x1400d4bf5
movzx eax, byte [0x1401b2b21]
test eax, eax
jne 0x1400d4a66
mov rax, qword [rsp + 0x130]
xorps xmm0, xmm0
comiss xmm0, dword [rax + 0x104]
jae 0x1400d4a66
jmp 0x1400d4bf5
movzx eax, byte [0x1401b2b20]
test eax, eax
je 0x1400d4aab
mov eax, dword [0x14017a200]
mov rcx, qword [rsp + 0x130]
add rax, qword [rcx + 0x48]
lea r8, [rsp + 0xe8]
mov rdx, rax
lea rcx, [0x1401b2fa0]
call fcn.140024810
movzx eax, byte [rsp + 0xe8]
test eax, eax
jne 0x1400d4aab
jmp 0x1400d4bf5
movzx eax, byte [0x14014e3bd]
test eax, eax
je 0x1400d4af2
mov rax, qword [rsp + 0x130]
mov ecx, dword [0x1401b2340]
cmp dword [rax + 0xf0], ecx
je 0x1400d4adf
cmp dword [0x1401b2330], 0
jle 0x1400d4adf
mov dword [rsp + 0x34], 1
jmp 0x1400d4ae7
mov dword [rsp + 0x34], 0
movzx eax, byte [rsp + 0x34]
mov byte [rsp + 0x30], al
jmp 0x1400d4b16
cmp dword [0x1401b2330], 0
jle 0x1400d4b05
mov dword [rsp + 0x38], 1
jmp 0x1400d4b0d
mov dword [rsp + 0x38], 0
movzx eax, byte [rsp + 0x38]
mov byte [rsp + 0x30], al
movzx eax, byte [rsp + 0x30]
test eax, eax
jne 0x1400d4b24
jmp 0x1400d4bf5
lea rcx, [rsp + 0xf8]
call fcn.14000c2c0
lea r8, [0x1401b32b8]
lea rdx, [rsp + 0xf8]
lea rcx, [rsp + 0x88]
call fcn.14002b530
mov rdx, rax
lea rcx, [rsp + 0x100]
call fcn.1400d4e40
lea rcx, [rsp + 0x100]
call fcn.14000c410
cvtsi2sd xmm1, dword [0x14014e378]
comisd xmm0, xmm1
jb 0x1400d4bf5
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
test eax, eax
jge 0x1400d4b8f
mov byte [rsp + 0x31], 1
jmp 0x1400d4b94
mov byte [rsp + 0x31], 0
movzx eax, byte [rsp + 0x31]
mov byte [rsp + 0x32], al
movzx eax, byte [rsp + 0x32]
test eax, eax
jne 0x1400d4bf5
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 + 0x90]
call fcn.14000c2c0
mov rax, qword [rax]
mov qword [0x1401b32b8], rax
mov rcx, qword [rsp + 0x108]
xor rcx, rsp
call fcn.140108600
add rsp, 0x118
pop rdi
pop rsi
ret