Function at 0x1800c2e18
Capabilities:
Log keystrokes via polling

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
mov qword [rax + 0x18], r8
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x50
mov r12, rcx
xor r13d, r13d
mov rcx, qword [0x1802c6060]
mov r15, r9
test rcx, rcx
je 0x1800c34a3
mov r14, qword [rcx + 0x98]
lea rbx, [rcx + 8]
mov eax, 0x204
lea r11d, [rax + 1]
lea r10d, [rax + 8]
cmp edx, eax
ja 0x1800c32d3
je 0x1800c33bf
mov eax, 0x104
lea edi, [r13 + 1]
lea r9d, [rax - 4]
cmp edx, eax
ja 0x1800c31a2
je 0x1800c319a
mov eax, edx
sub eax, 7
je 0x1800c318a
sub eax, edi
je 0x1800c318a
sub eax, 0x18
je 0x1800c316b
sub eax, 0xe0
je 0x1800c3042
sub eax, edi
je 0x1800c3042
cmp eax, edi
jne 0x1800c34a3
mov rcx, r12
call qword [sym.imp.USER32.dll_IsWindowUnicode]
test eax, eax
je 0x1800c2f86
mov rdi, qword [rbp + 0x40]
lea rax, [rdi - 1]
cmp rax, 0xfffe
ja 0x1800c34a3
test di, di
jne 0x1800c2f04
cmp word [rbx + 0x37a4], r13w
je 0x1800c34a3
cmp byte [rbx + 0x37a1], r13b
je 0x1800c34a3
mov ecx, 0xfc00
movzx eax, di
and ax, cx
mov edx, 0xd800
movzx ecx, word [rbx + 0x37a4]
cmp ax, dx
jne 0x1800c2f4b
test cx, cx
je 0x1800c2f3f
mov edx, 0xfffd
mov rcx, rbx
call fcn.1800a88f0
mov word [rbx + 0x37a4], di
jmp 0x1800c34a3
test cx, cx
je 0x1800c2f76
mov ecx, 0xdc00
cmp ax, cx
je 0x1800c2f69
mov edx, 0xfffd
mov rcx, rbx
call fcn.1800a88f0
jmp 0x1800c2f6e
mov edi, 0xfffd
mov word [rbx + 0x37a4], r13w
movzx edx, di
mov rcx, rbx
call fcn.1800a88f0
jmp 0x1800c34a3
lea rax, [rbp - 0x20]
mov dword [rsp + 0x28], edi
mov r9d, edi
mov qword [rsp + 0x20], rax
lea r8, [rbp + 0x40]
mov word [rbp - 0x20], r13w
mov edx, edi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
movzx eax, word [rbp - 0x20]
test eax, eax
je 0x1800c34a3
cmp byte [rbx + 0x37a1], r13b
je 0x1800c34a3
mov rbx, qword [0x1802c6060]
mov esi, 2
add rbx, 0x37c0
mov qword [rbp - 0xc], r13
mov dword [rbp - 4], r13d
mov dword [rbp - 0x18], 5
mov dword [rbp - 0x14], esi
mov ecx, dword [rbx]
mov r8d, dword [rbx + 4]
mov dword [rbp - 0x10], eax
cmp ecx, r8d
jne 0x1800c301d
inc ecx
test r8d, r8d
je 0x1800c3009
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x1800c300e
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
mov rcx, rbx
call fcn.1800b9ea8
movsxd rax, dword [rbx]
movups xmm0, xmmword [rbp - 0x18]
movsd xmm1, qword [rbp - 8]
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 8]
movups xmmword [rax + rcx*8], xmm0
movsd qword [rax + rcx*8 + 0x10], xmm1
add dword [rbx], edi
jmp 0x1800c34a3
cmp edx, r9d
je 0x1800c319a
mov sil, r13b
cmp r8, r9
jae 0x1800c34a3
lea rbx, [rcx + 8]
mov ecx, send
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov edx, 0x1000
and al, dil
mov rcx, rbx
mov r8b, al
call fcn.1800a8b10
mov ecx, reloc.WS2_32.dll_recv
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov edx, 0x2000
and al, dil
mov rcx, rbx
mov r8b, al
call fcn.1800a8b10
mov ecx, send
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov edx, 0x4000
and al, dil
mov rcx, rbx
mov r8b, al
call fcn.1800a8b10
mov ecx, 0x5d
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov edx, 0x8000
and al, dil
mov rcx, rbx
mov r8b, al
call fcn.1800a8b10
mov rbx, qword [rbp + 0x40]
cmp rbx, 0xd
jne 0x1800c30fb
shr r15, 0x10
mov eax, 0x10d
bt r15w, 8
cmovb ebx, eax
movsxd rcx, ebx
call fcn.1800c2884
test eax, eax
je 0x1800c3114
mov r8d, ebx
mov dl, sil
mov ecx, eax
call fcn.1800c2144
cmp ebx, 0x10
jne 0x1800c3221
mov ebx, 0xa0
mov ecx, ebx
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, dil
cmp al, sil
jne 0x1800c3145
mov r8d, ebx
mov dl, sil
mov ecx, 0x210
call fcn.1800c2144
mov ebx, 0xa1
mov ecx, ebx
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, dil
cmp al, sil
jne 0x1800c34a3
mov ecx, 0x214
jmp 0x1800c32c3
cmp r15w, di
jne 0x1800c34a3
call fcn.1800c2098
test al, al
je 0x1800c34a3
mov rax, rdi
jmp 0x1800c34a5
cmp edx, 7
sete dl
call fcn.1800a8df4
jmp 0x1800c34a3
mov sil, dil
jmp 0x1800c304e
mov eax, edx
sub eax, 0x105
je 0x1800c304b
sub eax, 0xfb
je 0x1800c31d3
sub eax, edi
je 0x1800c33c4
sub eax, edi
je 0x1800c3446
cmp eax, edi
je 0x1800c33c4
jmp 0x1800c34a3
mov qword [r14 + 8], r12
cmp byte [r14 + 0x10], r13b
jne 0x1800c3202
mov esi, 2
mov dword [rbp - 0x18], 0x18
lea rcx, [rbp - 0x18]
mov dword [rbp - 0x14], esi
mov qword [rbp - 0x10], r12
mov dword [rbp - 8], r13d
call qword [sym.imp.USER32.dll_TrackMouseEvent]
mov byte [r14 + 0x10], dil
mov rax, r15
shr rax, 0x10
cwde
movd xmm2, eax
movsx eax, r15w
cvtdq2ps xmm2, xmm2
movd xmm1, eax
cvtdq2ps xmm1, xmm1
jmp 0x1800c337f
cmp ebx, 0x11
jne 0x1800c3271
mov ebx, 0xa2
mov ecx, ebx
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, dil
cmp al, sil
jne 0x1800c324e
mov r8d, ebx
mov dl, sil
mov ecx, 0x20f
call fcn.1800c2144
mov ebx, 0xa3
mov ecx, ebx
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, dil
cmp al, sil
jne 0x1800c34a3
mov ecx, 0x213
jmp 0x1800c32c3
cmp ebx, 0x12
jne 0x1800c34a3
mov ebx, 0xa4
mov ecx, ebx
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, dil
cmp al, sil
jne 0x1800c32a2
mov r8d, ebx
mov dl, sil
mov ecx, 0x211
call fcn.1800c2144
mov ebx, 0xa5
mov ecx, ebx
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, dil
cmp al, sil
jne 0x1800c34a3
mov ecx, 0x215
mov r8d, ebx
mov dl, sil
call fcn.1800c2144
jmp 0x1800c34a3
mov eax, 0x20b
cmp edx, eax
ja 0x1800c3341
je 0x1800c33bf
mov eax, edx
sub eax, r11d
je 0x1800c3441
sub eax, 1
je 0x1800c33bf
sub eax, 1
je 0x1800c33bf
sub eax, 1
je 0x1800c3441
sub eax, 1
je 0x1800c33bf
cmp eax, 1
jne 0x1800c34a3
shr r8, 0x10
xorps xmm1, xmm1
movsx eax, r8w
movd xmm2, eax
cvtdq2ps xmm2, xmm2
mulss xmm2, dword [0x1800461ac]
mov rcx, rbx
call fcn.1800a8d48
jmp 0x1800c34a3
mov eax, edx
sub eax, r10d
je 0x1800c3441
sub eax, 1
je 0x1800c33bf
sub eax, 1
je 0x1800c33a0
sub eax, 0xb
je 0x1800c338c
cmp eax, 0x8a
jne 0x1800c34a3
cmp qword [r14 + 8], r12
jne 0x1800c3370
mov qword [r14 + 8], r13
movss xmm1, dword [0x1800464d8]
movaps xmm2, xmm1
mov byte [r14 + 0x10], r13b
mov rcx, rbx
call fcn.1800a8b3c
jmp 0x1800c34a3
cmp r8d, 7
jne 0x1800c34a3
mov byte [r14 + 0x2d], 1
jmp 0x1800c34a3
shr r8, 0x10
xorps xmm2, xmm2
movsx eax, r8w
movd xmm1, eax
cvtdq2ps xmm1, xmm1
mulss xmm1, dword [0x1800461ac]
jmp 0x1800c3334
mov edi, 1
mov ecx, 0xfffffffd
lea eax, [rdx - 0x201]
and eax, ecx
mov esi, 2
neg eax
lea eax, [rdx - 0x204]
sbb r15d, r15d
and r15d, r13d
test ecx, eax
lea eax, [rdx - 0x207]
cmove r15d, edi
test ecx, eax
lea eax, [rdx - 0x20b]
cmove r15d, esi
test ecx, eax
jne 0x1800c3413
shr r8, 0x10
mov r15d, r13d
cmp r8w, di
setne r15b
add r15d, 3
cmp dword [r14 + 0x14], r13d
jne 0x1800c342d
call qword [sym.imp.USER32.dll_GetCapture]
test rax, rax
jne 0x1800c342d
mov rcx, r12
call qword [sym.imp.USER32.dll_SetCapture]
mov eax, dword [r14 + 0x14]
mov r8b, dil
bts eax, r15d
mov edx, r15d
mov dword [r14 + 0x14], eax
jmp 0x1800c349b
mov edi, 1
cmp edx, r11d
mov esi, r13d
sete sil
cmp edx, 0x208
jne 0x1800c345f
mov esi, 2
jmp 0x1800c3476
cmp edx, r10d
jne 0x1800c3476
shr r8, 0x10
mov esi, r13d
cmp r8w, di
setne sil
add esi, 3
mov eax, dword [r14 + 0x14]
btr eax, esi
mov dword [r14 + 0x14], eax
test eax, eax
jne 0x1800c3496
call qword [sym.imp.USER32.dll_GetCapture]
cmp rax, r12
jne 0x1800c3496
call qword [sym.imp.USER32.dll_ReleaseCapture]
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call fcn.1800a8c7c
xor eax, eax
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret