Function at 0x287651dc
Capabilities:
Create thread
Log keystrokes via polling
Terminate thread

Disassembly:
sub rsp, 0x88
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [0x28764ed4]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rsp + 0x48], rax
xor edx, edx
lea rcx, [0x287a06ba]
call fcn.28765b0c
nop
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [0x28764000]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rsp + 0x50], rax
xor eax, eax
cmp eax, 1
je 0x287654ab
call fcn.28765728
movzx eax, al
test eax, eax
jne 0x287652a8
call fcn.287654b4
nop
mov edx, 5
lea rcx, [0x287a06ba]
call fcn.28765ab4
mov byte [rsp + 0x31], al
mov al, byte [rsp + 0x31]
movzx eax, al
test eax, eax
je 0x287652a6
xor edx, edx
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_TerminateThread]
xor edx, edx
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_TerminateThread]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitThread]
jmp 0x28765251
mov edx, 0x3e8
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Beep]
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [0x28764650]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [0x28764e60]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rsp + 0x58], rax
xor edx, edx
lea rcx, [0x287a06b8]
call fcn.28765b0c
nop
xor edx, edx
lea rcx, [0x287a06bb]
call fcn.28765b0c
nop
xor eax, eax
cmp eax, 1
je 0x2876547c
mov edx, 5
lea rcx, [0x287a06ba]
call fcn.28765ab4
mov byte [rsp + 0x32], al
mov al, byte [rsp + 0x32]
movzx eax, al
test eax, eax
je 0x287653c4
lea rcx, [0x287a06b8]
call fcn.28765818
movzx eax, al
test eax, eax
jne 0x2876536a
jmp 0x28765355
xor edx, edx
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_TerminateThread]
xor edx, edx
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_TerminateThread]
xor edx, edx
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_TerminateThread]
xor edx, edx
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov rcx, qword [0x287a06c0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, 0x1f4
mov ecx, 0x1f4
call qword [sym.imp.KERNEL32.dll_Beep]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitThread]
mov edx, 5
lea rcx, [0x287a06e0]
call fcn.28765a1c
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x3c]
mov ecx, eax
call qword [sym.imp.USER32.dll_GetKeyState]
cwde
and eax, 1
test eax, eax
jne 0x287653f7
mov dword [rsp + 0x38], 1
jmp 0x287653ff
mov dword [rsp + 0x38], 0
mov edx, 5
lea rcx, [0x28780a34]
call fcn.28765ab4
mov byte [rsp + 0x33], al
mov al, byte [rsp + 0x33]
movzx eax, al
cmp dword [rsp + 0x38], eax
je 0x28765477
mov edx, 5
lea rcx, [0x28780a34]
call fcn.28765ab4
mov byte [rsp + 0x34], al
mov al, byte [rsp + 0x34]
movzx eax, al
test eax, eax
jne 0x28765448
mov byte [rsp + 0x30], 1
jmp 0x2876544d
mov byte [rsp + 0x30], 0
mov dl, byte [rsp + 0x30]
lea rcx, [0x28780a34]
call fcn.28765b0c
nop
xor r9d, r9d
xor r8d, r8d
mov edx, 5
mov rcx, qword [0x287a06c8]
call qword [sym.imp.USER32.dll_SendMessageW]
nop
jmp 0x2876532a
mov dword [rsp + 0x40], 0x3e8
movsxd rax, dword [rsp + 0x40]
mov qword [rsp + 0x68], rax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
mov rcx, rax
call fcn.287663c8
nop
jmp 0x28765246
add rsp, 0x88
ret