Function at 0x1400a8bd0
Capabilities:
Log keystrokes via polling

Disassembly:
push rbp
lea rbp, [rsp - 0x30]
sub rsp, 0x130
mov rax, qword [0x14015c040]
xor rax, rsp
mov qword [rbp + 0x10], rax
mov ecx, dword [0x14043735c]
test ecx, ecx
je 0x1400a8c25
sub ecx, 1
je 0x1400a8c0b
cmp ecx, 1
jne 0x1400a8c47
movzx eax, cl
mov byte [0x140437368], cl
jmp 0x1400a8c4e
mov ecx, dword [0x140437358]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
setne al
mov byte [0x140437368], al
jmp 0x1400a8c4e
mov ecx, dword [0x140437358]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x1400a8c47
cmp byte [0x140437368], 0
sete al
mov byte [0x140437368], al
jmp 0x1400a8c4e
movzx eax, byte [0x140437368]
cmp byte [0x14043829d], 0
mov qword [rsp + 0x140], rbx
je 0x1400a9002
test al, al
je 0x1400a9002
lea rdx, [rsp + 0x41]
mov dword [rsp + 0x40], 0x626f5222
xor ecx, ecx
mov dword [rsp + 0x44], 0x786f6c
call qword [sym.imp.USER32.dll_FindWindowA]
mov rbx, rax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, rbx
jne 0x1400a9002
mov edx, dword [0x140439128]
xor ebx, ebx
mov rax, qword [0x1404382d0]
mov rcx, qword [0x140439120]
add rax, 0x110
mov qword [rbp - 0x28], rax
lea rax, [rsp + 0x68]
mov qword [rbp - 0x20], rax
movaps xmmword [rsp + 0x120], xmm6
mov dword [rbp - 0xf], ebx
mov word [rbp - 0xb], bx
mov byte [rbp - 9], bl
mov dword [rbp - 0x30], 0x12b2d92
mov qword [rbp - 0x18], 8
mov dword [rbp - 0x2c], edx
mov byte [rbp - 0x10], bl
test edx, edx
je 0x1400a8d30
test rcx, rcx
je 0x1400a8d30
mov qword [rsp + 0x38], rbx
lea rax, [rbp - 0x30]
mov qword [rsp + 0x30], rbx
lea r8, [rbp - 0x30]
mov dword [rsp + 0x28], 0x28
mov r9d, 0x28
mov edx, 0x224a14
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov edx, dword [0x140439128]
mov rcx, qword [0x140439120]
mov rax, qword [rsp + 0x68]
add rax, 0x298
mov dword [rbp - 0x3f], ebx
mov qword [rbp - 0x58], rax
lea rax, [rsp + 0x48]
mov qword [rbp - 0x50], rax
mov word [rbp - 0x3b], bx
mov byte [rbp - 0x39], bl
mov dword [rbp - 0x60], 0x12b2d92
mov qword [rbp - 0x48], 8
mov dword [rbp - 0x5c], edx
mov byte [rbp - 0x40], bl
test edx, edx
je 0x1400a8da0
test rcx, rcx
je 0x1400a8da0
mov qword [rsp + 0x38], rbx
lea rax, [rbp - 0x60]
mov qword [rsp + 0x30], rbx
lea r8, [rbp - 0x60]
mov dword [rsp + 0x28], 0x28
mov r9d, 0x28
mov edx, 0x224a14
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
movdqa xmm0, xmmword [0x140142ec0]
lea rax, [rsp + 0x51]
movdqu xmmword [rsp + 0x50], xmm0
mov word [rsp + 0x60], 0x74
mov r8, 0xffffffffffffffff
xorps xmm0, xmm0
mov qword [rbp - 0x80], rbx
movups xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x78], rbx
inc r8
cmp byte [rax + r8], bl
jne 0x1400a8dd1
lea rdx, [rsp + 0x51]
lea rcx, [rsp + 0x70]
call fcn.14000c8c0
lea r8, [rsp + 0x70]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x48]
call fcn.140087a60
mov edx, dword [0x140439128]
mov rax, qword [0x1404382d0]
mov rcx, qword [0x140439120]
add rax, 0x110
mov qword [rbp - 0x58], rax
lea rax, [rbp]
mov qword [rbp - 0x50], rax
mov dword [rbp - 0x3f], ebx
mov word [rbp - 0x3b], bx
mov byte [rbp - 0x39], bl
mov dword [rbp - 0x60], 0x12b2d92
mov qword [rbp - 0x48], 8
mov dword [rbp - 0x5c], edx
mov byte [rbp - 0x40], bl
test edx, edx
je 0x1400a8e88
test rcx, rcx
je 0x1400a8e88
mov qword [rsp + 0x38], rbx
lea rax, [rbp - 0x60]
mov qword [rsp + 0x30], rbx
lea r8, [rbp - 0x60]
mov dword [rsp + 0x28], 0x28
mov r9d, 0x28
mov edx, 0x224a14
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov edx, dword [0x140439128]
mov rcx, qword [0x140439120]
mov rax, qword [rbp]
add rax, 0x298
mov dword [rbp - 0xf], ebx
mov qword [rbp - 0x28], rax
lea rax, [rbp + 8]
mov qword [rbp - 0x20], rax
mov word [rbp - 0xb], bx
mov byte [rbp - 9], bl
mov dword [rbp - 0x30], 0x12b2d92
mov qword [rbp - 0x18], 8
mov dword [rbp - 0x2c], edx
mov byte [rbp - 0x10], bl
test edx, edx
je 0x1400a8ef6
test rcx, rcx
je 0x1400a8ef6
mov qword [rsp + 0x38], rbx
lea rax, [rbp - 0x30]
mov qword [rsp + 0x30], rbx
lea r8, [rbp - 0x30]
mov dword [rsp + 0x28], 0x28
mov r9d, 0x28
mov edx, 0x224a14
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov rdx, qword [rsp + 0x40]
movss xmm6, dword [0x1404382c8]
add rdx, 0x158
call fcn.140089b20
test rax, rax
je 0x1400a8f26
lea r8, [rax + 0x11c]
lea rdx, [rbp - 0x60]
call fcn.14008a210
jmp 0x1400a8f3e
movdqa xmm0, xmmword [0x140142770]
lea rax, [rbp - 0x60]
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
movups xmm0, xmmword [rax]
lea rcx, [rsp + 0x48]
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x70], xmm0
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rbp - 0x80], xmm1
movups xmmword [rbp - 0x70], xmm0
call fcn.1400963b0
mov rcx, qword [rsp + 0x48]
xorps xmm1, xmm1
mov rax, rcx
xorps xmm3, xmm3
sub rax, qword [0x140438308]
xorps xmm2, xmm2
mov qword [0x140438308], rcx
lea rcx, [rbp - 0x60]
cvtsi2ss xmm1, rax
divss xmm1, dword [0x1401426b8]
mulss xmm1, xmm6
call fcn.1400a6fc0
movups xmm0, xmmword [rbp - 0x60]
lea r8, [rbp - 0x30]
movups xmm1, xmmword [rbp - 0x50]
lea rdx, [rbp - 0x60]
movaps xmmword [rbp - 0x30], xmm0
lea rcx, [rsp + 0x70]
movups xmm0, xmmword [rbp - 0x40]
movaps xmmword [rbp - 0x20], xmm1
movaps xmmword [rbp - 0x10], xmm0
call fcn.1400a6c80
movups xmm0, xmmword [rbp - 0x60]
lea rdx, [rbp - 0x30]
movups xmm1, xmmword [rbp - 0x50]
lea rcx, [rsp + 0x40]
movaps xmmword [rbp - 0x30], xmm0
movups xmm0, xmmword [rbp - 0x40]
movaps xmmword [rbp - 0x20], xmm1
movaps xmmword [rbp - 0x10], xmm0
call fcn.1400882d0
lea rcx, [rsp + 0x40]
call fcn.1400963b0
mov rax, qword [rsp + 0x40]
movaps xmm6, xmmword [rsp + 0x120]
jmp 0x1400a9016
lea rcx, [rsp + 0x40]
call fcn.1400963b0
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x40], rax
mov rbx, qword [rsp + 0x140]
movabs r8, 0x7fffffffff67697f
cmp rax, r8
je 0x1400a9046
mov ecx, 1
mov edx, 0xff
cmovl ecx, edx
test cl, cl
jns 0x1400a9046
add rax, 0x989680
jmp 0x1400a9050
movabs rax, 0x7fffffffffffffff
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x40], rax
call fcn.14009af70
mov rcx, qword [rbp + 0x10]
xor rcx, rsp
call fcn.140113570
add rsp, 0x130
pop rbp
ret