Function at 0x1800c8db0
Capabilities:
Log keystrokes via polling

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r14
push r15
mov rbp, rsp
sub rsp, 0x60
mov qword [rbp - 0x30], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rsi, rcx
mov rax, qword [r8]
shr rax, 0x20
sub eax, dword [rcx + 0x74]
test eax, eax
jle 0x1800c90c3
cdq
idiv dword [rcx + 0x78]
mov ebx, eax
mov rcx, qword [rcx + 0x108]
test rcx, rcx
je 0x1800c8e23
mov rdx, qword [rcx]
call qword [rdx + 0x38]
test al, al
je 0x1800c8e23
mov rcx, qword [rsi + 0x108]
mov r8d, dword [rcx + 0x68]
mov ecx, dword [rsi + 0x78]
mov eax, r8d
cdq
idiv ecx
imul ecx, eax
cmp ecx, r8d
jge 0x1800c8e25
inc eax
jmp 0x1800c8e25
xor eax, eax
lea r14d, [rbx + rax]
mov dword [rbp + 0x30], r14d
mov ecx, reloc.WS2_32.dll_recv
call qword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x1800c8ea4
mov r15d, dword [rsi + 0x70]
cmp r15d, 0xffffffff
je 0x1800c8ea4
lea rcx, [rsi + 0x60]
call fcn.18008d130
mov edi, r15d
cmp r15d, r14d
cmovge edi, r14d
cmovle r15d, r14d
mov dword [rbp + 0x30], edi
cmp edi, r15d
jg 0x1800c8e8f
movzx ebx, byte [rbp + 0x30]
nop
mov byte [rsp + 0x20], bl
lea r9, [rbp + 0x30]
lea rdx, [rbp - 0x18]
lea rcx, [rsi + 0x60]
call fcn.1800c98e0
inc edi
mov dword [rbp + 0x30], edi
cmp edi, r15d
jle 0x1800c8e70
mov dword [rsi + 0x70], r14d
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0xd0]
jmp 0x1800c90c3
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x28], xmm0
call fcn.18008d200
mov qword [rbp - 0x28], rax
mov ecx, send
call qword [sym.imp.USER32.dll_GetKeyState]
movzx edi, ax
shr edi, 0xf
and dil, 1
je 0x1800c8f7e
lea r15, [rsi + 0x60]
lea rax, [rbp - 0x28]
cmp rax, r15
je 0x1800c8f7e
lea rcx, [rbp - 0x28]
call fcn.18008d130
mov rdx, qword [r15]
mov rbx, qword [rbp - 0x28]
movzx r9d, byte [rbp + 0x30]
mov r8, rbx
mov rdx, qword [rdx + 8]
lea rcx, [rbp - 0x28]
call fcn.1800c9a20
mov qword [rbx + 8], rax
mov rax, qword [r15 + 8]
mov qword [rbp - 0x20], rax
mov r8, qword [rbp - 0x28]
mov rdx, qword [r8 + 8]
cmp byte [rdx + 0x19], 0
jne 0x1800c8f73
mov rcx, qword [rdx]
cmp byte [rcx + 0x19], 0
jne 0x1800c8f3f
nop dword [rax]
mov rdx, rcx
mov rax, qword [rcx]
mov rcx, rax
cmp byte [rax + 0x19], 0
je 0x1800c8f30
mov qword [r8], rdx
mov rdx, qword [rbp - 0x28]
mov rcx, qword [rdx + 8]
mov rax, qword [rcx + 0x10]
cmp byte [rax + 0x19], 0
jne 0x1800c8f6d
nop dword [rax]
nop dword [rax + rax]
mov rcx, rax
mov rax, qword [rax + 0x10]
cmp byte [rax + 0x19], 0
je 0x1800c8f60
mov qword [rdx + 0x10], rcx
jmp 0x1800c8f7e
mov qword [r8], r8
mov rax, qword [rbp - 0x28]
mov qword [rax + 0x10], rax
test r14d, r14d
js 0x1800c9051
cmp r14d, dword [rsi + 0x58]
jge 0x1800c9051
test dil, dil
je 0x1800c9034
mov rcx, qword [rbp - 0x28]
mov rdx, rcx
mov rax, qword [rcx + 8]
cmp byte [rax + 0x19], 0
jne 0x1800c9034
nop
cmp dword [rax + 0x1c], r14d
jge 0x1800c8fbc
mov rax, qword [rax + 0x10]
jmp 0x1800c8fc2
mov rdx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x1800c8fb0
cmp rdx, rcx
je 0x1800c9034
cmp r14d, dword [rdx + 0x1c]
jl 0x1800c9034
mov rax, rdx
mov rcx, qword [rdx + 0x10]
cmp byte [rcx + 0x19], 0
je 0x1800c9005
mov rcx, qword [rdx + 8]
cmp byte [rcx + 0x19], 0
jne 0x1800c901c
nop word [rax + rax]
cmp rax, qword [rcx + 0x10]
jne 0x1800c901c
mov rax, rcx
mov rcx, qword [rcx + 8]
cmp byte [rcx + 0x19], 0
je 0x1800c8ff0
jmp 0x1800c901c
mov rcx, qword [rcx]
cmp byte [rcx + 0x19], 0
jne 0x1800c901c
nop
mov rax, qword [rcx]
mov rcx, rax
cmp byte [rax + 0x19], 0
je 0x1800c9010
lea rcx, [rbp - 0x28]
call fcn.180081c70
mov edx, 0x20
mov rcx, rax
call fcn.18042ce14
jmp 0x1800c904d
movzx eax, byte [rbp + 0x30]
mov byte [rsp + 0x20], al
lea r9, [rbp + 0x30]
lea rdx, [rbp - 0x18]
lea rcx, [rbp - 0x28]
call fcn.1800c98e0
mov dword [rsi + 0x70], r14d
lea rdx, [rbp - 0x28]
mov rcx, rsi
call fcn.1800c90e0
test al, al
je 0x1800c90ab
lea rdx, [rsi + 0x60]
lea rax, [rbp - 0x28]
cmp rdx, rax
je 0x1800c908c
mov rcx, qword [rdx]
mov rax, qword [rbp - 0x28]
mov qword [rdx], rax
mov qword [rbp - 0x28], rcx
mov rcx, qword [rdx + 8]
mov rax, qword [rbp - 0x20]
mov qword [rdx + 8], rax
mov qword [rbp - 0x20], rcx
mov rcx, qword [rsi + 0x100]
test rcx, rcx
je 0x1800c909e
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0xd0]
nop
lea rcx, [rbp - 0x28]
call fcn.18008d130
nop
mov edx, 0x20
mov rcx, qword [rbp - 0x28]
call fcn.18042ce14
mov al, 1
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret