Function at 0x180081cd0
Capabilities:
Log keystrokes via polling

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xa0
mov rax, qword [0x180315040]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov rsi, r9
mov r12, r8
mov r15, rdx
xor ebx, ebx
mov dword [rbp + 0xf], ebx
mov ecx, dword [0x1803165d4]
mov rax, qword gs:[0x58]
mov edx, 4
mov rax, qword [rax + rcx*8]
mov ecx, dword [rdx + rax]
cmp dword [0x180319c08], ecx
jle 0x180081d53
lea rcx, [0x180319c08]
call fcn.18009e688
cmp dword [0x180319c08], 0xffffffff
jne 0x180081d53
lea rcx, [0x180319c00]
call fcn.180081bf0
lea rcx, [0x180319c08]
call fcn.18009e61c
cmp byte [0x18031804a], bl
je 0x18008218f
cmp byte [0x180318030], bl
jne 0x180081d88
lea rdx, [rbp - 0x59]
mov rcx, qword [0x180319a50]
call fcn.1800607d0
mov ebx, 1
cmp qword [rax + 8], 0
jne 0x180081d88
xor dil, dil
jmp 0x180081d8b
mov dil, 1
test bl, 1
je 0x180081dbb
cmp byte [rbp - 0x49], 0
je 0x180081dbb
cmp qword [0x180316600], 0
je 0x180081dbb
mov rdx, qword [rbp - 0x51]
test rdx, rdx
je 0x180081dbb
mov rcx, qword [rbp - 0x59]
mov rax, qword [rcx]
mov r8, qword [rax + 0xb0]
call r8
nop
test dil, dil
jne 0x18008218f
lea rdx, [rbp - 0x21]
mov rcx, qword [0x180319a50]
call fcn.1800606e0
nop
lea rdx, [rbp - 0x59]
mov rcx, rax
call fcn.180063990
mov r14, rax
mov rdi, qword [0x180316600]
xorps xmm0, xmm0
movups xmmword [rbp - 0x41], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x31], xmm1
mov r8d, 5
lea rdx, str.BLOCK
lea rcx, [rbp - 0x41]
call fcn.180005bc0
nop
lea rdx, [rbp - 0x41]
lea rcx, [0x180319930]
call fcn.18006db30
mov rbx, rax
mov rdx, rdi
lea rcx, [0x180319930]
call fcn.18006d950
mov rcx, qword [rdi]
mov r9, qword [rcx + 0x488]
mov r8, rbx
mov rdx, rax
mov rcx, rdi
call r9
mov r8, rax
mov qword [rbp - 9], rdi
mov byte [rbp + 7], 0
mov qword [rbp - 1], rax
mov rdx, qword [r14 + 8]
cmp rdx, rax
jne 0x180081e65
mov bl, 1
jmp 0x180081e88
test rdx, rdx
je 0x180081e86
test r8, r8
je 0x180081e86
mov rcx, qword [r14]
mov rax, qword [rcx]
mov r9, qword [rax + 0xc0]
call r9
cmp al, 1
sete bl
jmp 0x180081e88
xor bl, bl
mov rdx, qword [rbp - 0x29]
cmp rdx, 0xf
jbe 0x180081ec6
inc rdx
mov rcx, qword [rbp - 0x41]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180081ec1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180081ec1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18009eb84
movdqa xmm0, xmmword [0x1803046f0]
movdqu xmmword [rbp - 0x31], xmm0
mov byte [rbp - 0x41], 0
cmp byte [rbp - 0x49], 0
je 0x180081f09
cmp qword [0x180316600], 0
je 0x180081f09
mov rdx, qword [rbp - 0x51]
test rdx, rdx
je 0x180081f09
mov rcx, qword [rbp - 0x59]
mov rax, qword [rcx]
mov r8, qword [rax + 0xb0]
call r8
mov qword [rbp - 0x51], 0
cmp byte [rbp - 0x11], 0
je 0x180081f34
cmp qword [0x180316600], 0
je 0x180081f34
mov rdx, qword [rbp - 0x19]
test rdx, rdx
je 0x180081f34
mov rcx, qword [rbp - 0x21]
mov rax, qword [rcx]
mov r8, qword [rax + 0xb0]
call r8
nop
test bl, bl
jne 0x18008218f
cmp byte [0x18031804a], bl
je 0x18008218f
cmp byte [0x180318038], bl
je 0x18008218f
cmp qword [0x180318028], 0
je 0x18008218f
lea rcx, [0x180315318]
call fcn.18007f550
movd xmm1, eax
cvtdq2ps xmm1, xmm1
movss xmm0, dword [0x1803150f0]
comiss xmm0, xmm1
jb 0x18008218f
lea rdx, [rbp - 0x21]
mov rcx, r12
call fcn.1800606e0
nop
lea rdx, [rbp - 0x59]
mov rcx, rax
call fcn.180063990
mov rdi, rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x41], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x31], xmm1
mov r8d, 4
lea rdx, str.MISS
lea rcx, [rbp - 0x41]
call fcn.180005bc0
nop
lea rdx, [rbp - 0x41]
lea rcx, [0x180319930]
call fcn.18006db30
mov rbx, rax
mov rdx, r15
lea rcx, [0x180319930]
call fcn.18006d950
mov rcx, qword [r15]
mov r9, qword [rcx + 0x488]
mov r8, rbx
mov rdx, rax
mov rcx, r15
call r9
mov r8, rax
mov qword [rbp - 9], r15
mov byte [rbp + 7], 0
mov qword [rbp - 1], rax
mov rdx, qword [rdi + 8]
cmp rdx, rax
jne 0x18008201c
xor bl, bl
jmp 0x18008203f
test rdx, rdx
je 0x18008203d
test r8, r8
je 0x18008203d
mov rcx, qword [rdi]
mov rax, qword [rcx]
mov r9, qword [rax + 0xc0]
call r9
cmp al, 1
setne bl
jmp 0x18008203f
mov bl, 1
mov rdx, qword [rbp - 0x29]
cmp rdx, 0xf
jbe 0x18008207d
inc rdx
mov rcx, qword [rbp - 0x41]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180082078
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180082078
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18009eb84
movdqa xmm0, xmmword [0x1803046f0]
movdqu xmmword [rbp - 0x31], xmm0
mov byte [rbp - 0x41], 0
cmp byte [rbp - 0x49], 0
je 0x1800820c0
cmp qword [0x180316600], 0
je 0x1800820c0
mov rdx, qword [rbp - 0x51]
test rdx, rdx
je 0x1800820c0
mov rcx, qword [rbp - 0x59]
mov rax, qword [rcx]
mov r8, qword [rax + 0xb0]
call r8
mov qword [rbp - 0x51], 0
cmp byte [rbp - 0x11], 0
je 0x1800820eb
cmp qword [0x180316600], 0
je 0x1800820eb
mov rdx, qword [rbp - 0x19]
test rdx, rdx
je 0x1800820eb
mov rcx, qword [rbp - 0x21]
mov rax, qword [rcx]
mov r8, qword [rax + 0xb0]
call r8
nop
test bl, bl
je 0x18008218f
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x18008218f
mov qword [rsi + 0x40], 0
mov byte [rsi], 1
lea rcx, [rbp + 0xf]
call fcn.180081bf0
mov rbx, qword [rbp + 0xf]
mov rax, rbx
sub rax, qword [0x180319c00]
cmp rax, 0xee6b280
jl 0x18008218f
lea rcx, [rbp + 0xf]
call qword [sym.imp.USER32.dll_GetCursorPos]
movzx r9d, word [rbp + 0x13]
shl r9d, 0x10
movzx eax, word [rbp + 0xf]
or r9, rax
mov edx, 0x204
mov r8d, 2
mov rcx, qword [0x180318028]
call qword [sym.imp.USER32.dll_PostMessageA]
movzx r9d, word [rbp + 0x13]
shl r9d, 0x10
movzx eax, word [rbp + 0xf]
or r9, rax
xor r8d, r8d
mov edx, 0x205
mov rcx, qword [0x180318028]
call qword [sym.imp.USER32.dll_PostMessageA]
mov qword [0x180319c00], rbx
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.18009e5c0
add rsp, 0xa0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret