Function at 0x18008fbc8
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], r8
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x70
mov r15, r9
mov ebx, edx
mov r12, rcx
call fcn.18006d134
xor r13d, r13d
test rax, rax
je 0x18009028a
call fcn.18006d3cc
mov r14, rax
call fcn.18008ed08
mov rsi, rax
mov edi, 0x204
cmp ebx, edi
ja 0x18009002d
je 0x180090160
mov eax, 0x102
cmp ebx, eax
ja 0x18008fe69
je 0x18008fdf9
mov eax, ebx
sub eax, 7
je 0x18008fde4
sub eax, 1
je 0x18008fde4
sub eax, 0x18
je 0x18008fdc2
sub eax, 0x80
je 0x18008fea6
sub eax, 0x60
je 0x18008fc69
cmp eax, 1
jne 0x18009010a
lea eax, [rbx - 0x100]
test eax, 0xfffffffb
sete sil
mov r14d, 0x100
cmp qword [rsp + 0xb0], r14
jae 0x180090026
call fcn.18006d3cc
mov rbx, rax
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov edi, 1
and al, dil
mov r8b, al
mov edx, 0x1000
mov rcx, rbx
call fcn.18006660c
lea ecx, [rdi + 0xf]
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, dil
mov r8b, al
mov edx, 0x2000
mov rcx, rbx
call fcn.18006660c
lea r12d, [rdi + 0x11]
mov ecx, r12d
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, dil
mov r8b, al
mov edx, 0x4000
mov rcx, rbx
call fcn.18006660c
lea ecx, [rdi + 0x5c]
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, dil
mov r8b, al
mov edx, 0x8000
mov rcx, rbx
call fcn.18006660c
mov rbx, qword [rsp + 0xb0]
mov dword [rsp + 0x34], ebx
cmp rbx, 0xd
jne 0x18008fd43
mov rax, r15
shr rax, 0x10
test r14w, ax
lea eax, [r14 + 0xd]
cmovne ebx, eax
mov dword [rsp + 0x34], ebx
movsxd rcx, ebx
call fcn.18008f634
shr r15, 0x10
movzx r14d, r15b
test eax, eax
je 0x18008fd67
mov r9d, r14d
mov r8d, ebx
mov dl, sil
mov ecx, eax
call fcn.18008eca0
cmp ebx, 0x10
jne 0x18008ff7c
mov ecx, 0xa0
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, dil
cmp al, sil
jne 0x18008fd9c
mov r9d, r14d
mov r8d, 0xa0
mov dl, sil
mov ecx, 0x210
call fcn.18008eca0
mov ebx, 0xa1
mov ecx, ebx
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, dil
cmp al, sil
jne 0x180090026
mov ecx, 0x214
jmp 0x180090018
mov edi, 1
cmp r15w, di
jne 0x18008fddd
call fcn.18008f584
test al, al
je 0x18008fddd
mov eax, edi
jmp 0x18009028a
xor eax, eax
jmp 0x18009028a
cmp ebx, 7
sete dl
mov rcx, r14
call fcn.18006631c
xor eax, eax
jmp 0x18009028a
mov rcx, r12
call qword [sym.imp.USER32.dll_IsWindowUnicode]
test eax, eax
je 0x18008fe27
mov rcx, qword [rsp + 0xb0]
lea rax, [rcx - 1]
cmp rax, 0xfffe
ja 0x18008fe62
movzx edx, cx
mov rcx, r14
call fcn.180066420
jmp 0x18008fe62
mov word [rsp + 0x30], r13w
mov edi, 1
mov dword [rsp + 0x28], edi
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov r9d, edi
lea r8, [rsp + 0xb0]
mov edx, edi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
movzx edx, word [rsp + 0x30]
mov rcx, r14
call fcn.1800663c0
xor eax, eax
jmp 0x18009028a
mov eax, ebx
sub eax, 0x104
je 0x18008fc69
sub eax, 1
je 0x18008fc69
sub eax, 0xfb
je 0x18008fea6
sub eax, 1
je 0x180090160
sub eax, 1
je 0x180090203
cmp eax, 1
je 0x180090160
jmp 0x18009010a
call fcn.18008ec68
mov dword [rsp + 0x30], eax
mov edx, 0x200
cmp ebx, edx
setne r13b
mov edi, 1
add r13d, edi
mov qword [rsi + 8], r12
cmp dword [rsi + 0x10], r13d
je 0x18008ff27
mov dword [rsp + 0x40], 0x18
mov dword [rsp + 0x44], 0x80000000
mov qword [rsp + 0x48], r12
and dword [rsp + 0x50], 0
mov dword [rsp + 0x58], 0x18
lea eax, [rdi + 1]
lea ecx, [rdi + 0x11]
cmp ebx, edx
cmovne eax, ecx
mov dword [rsp + 0x5c], eax
mov qword [rsp + 0x60], r12
and dword [rsp + 0x68], 0
cmp dword [rsi + 0x10], 0
je 0x18008ff18
lea rcx, [rsp + 0x40]
call qword [sym.imp.USER32.dll_TrackMouseEvent]
lea rcx, [rsp + 0x58]
call qword [sym.imp.USER32.dll_TrackMouseEvent]
mov dword [rsi + 0x10], r13d
movsx eax, r15w
mov dword [rsp + 0x38], eax
shr r15, 0x10
movsx eax, r15w
mov dword [rsp + 0x3c], eax
cmp ebx, 0xa0
jne 0x18008ff59
lea rdx, [rsp + 0x38]
mov rcx, r12
call qword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x18009010a
mov edx, dword [rsp + 0x30]
mov rcx, r14
call fcn.180066824
movd xmm2, dword [rsp + 0x3c]
cvtdq2ps xmm2, xmm2
movd xmm1, dword [rsp + 0x38]
cvtdq2ps xmm1, xmm1
jmp 0x180090101
cmp ebx, 0x11
jne 0x18008ffcb
mov ebx, 0xa2
mov ecx, ebx
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, dil
cmp al, sil
jne 0x18008ffac
mov r9d, r14d
mov r8d, ebx
mov dl, sil
mov ecx, 0x20f
call fcn.18008eca0
mov ebx, 0xa3
mov ecx, ebx
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, dil
cmp al, sil
jne 0x180090026
mov ecx, 0x213
jmp 0x180090018
cmp ebx, r12d
jne 0x180090026
mov ebx, 0xa4
mov ecx, ebx
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, dil
cmp al, sil
jne 0x18008fffb
mov r9d, r14d
mov r8d, ebx
mov dl, sil
mov ecx, 0x211
call fcn.18008eca0
mov ebx, 0xa5
mov ecx, ebx
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, dil
cmp al, sil
jne 0x180090026
mov ecx, 0x215
mov r9d, r14d
mov r8d, ebx
mov dl, sil
call fcn.18008eca0
xor eax, eax
jmp 0x18009028a
mov eax, 0x20b
cmp ebx, eax
ja 0x1800900a4
je 0x180090160
mov eax, ebx
sub eax, 0x205
je 0x180090203
sub eax, 1
je 0x180090160
sub eax, 1
je 0x180090160
sub eax, 1
je 0x180090203
sub eax, 1
je 0x180090160
cmp eax, 1
jne 0x18009010a
mov rax, qword [rsp + 0xb0]
shr rax, 0x10
cwde
movd xmm2, eax
cvtdq2ps xmm2, xmm2
divss xmm2, dword [0x180159618]
xorps xmm1, xmm1
mov rcx, r14
call fcn.180066834
xor eax, eax
jmp 0x18009028a
mov eax, ebx
sub eax, 0x20c
je 0x180090203
sub eax, 1
je 0x180090160
sub eax, 1
je 0x18009012b
sub eax, 0xb
je 0x180090111
sub eax, 0x89
je 0x1800900d0
cmp eax, 1
jne 0x18009010a
mov eax, r13d
cmp ebx, 0x2a3
setne al
mov edi, 1
add eax, edi
cmp dword [rsi + 0x10], eax
jne 0x18009010a
cmp qword [rsi + 8], r12
jne 0x1800900f2
mov qword [rsi + 8], r13
mov dword [rsi + 0x10], r13d
movss xmm1, dword [0x18015b468]
movaps xmm2, xmm1
mov rcx, r14
call fcn.1800666f8
nop
xor eax, eax
jmp 0x18009028a
cmp dword [rsp + 0xb0], 7
jne 0x180090124
mov edi, 1
mov byte [rsi + 0x2d], dil
xor eax, eax
jmp 0x18009028a
mov rax, qword [rsp + 0xb0]
shr rax, 0x10
cwde
movd xmm1, eax
cvtdq2ps xmm1, xmm1
xorps xmm1, xmmword [0x18015b4d0]
divss xmm1, dword [0x180159618]
xorps xmm2, xmm2
mov rcx, r14
call fcn.180066834
xor eax, eax
jmp 0x18009028a
call fcn.18008ec68
mov r13d, eax
cmp ebx, edi
je 0x18009017d
xor r15d, r15d
cmp ebx, 0x206
je 0x18009017d
lea edi, [r15 + 1]
jmp 0x180090185
mov edi, 1
mov r15d, edi
lea eax, [rbx - 0x207]
mov ecx, 0xfffffffd
test ecx, eax
mov eax, 2
cmove r15d, eax
lea eax, [rbx - 0x20b]
test ecx, eax
jne 0x1800901bf
mov rax, qword [rsp + 0xb0]
shr rax, 0x10
xor r15d, r15d
cmp ax, di
setne r15b
add r15d, 3
cmp dword [rsi + 0x14], 0
jne 0x1800901d9
call qword [sym.imp.USER32.dll_GetCapture]
test rax, rax
jne 0x1800901d9
mov rcx, r12
call qword [sym.imp.USER32.dll_SetCapture]
mov eax, dword [rsi + 0x14]
bts eax, r15d
mov dword [rsi + 0x14], eax
mov edx, r13d
mov rcx, r14
call fcn.180066824
mov r8b, dil
mov edx, r15d
mov rcx, r14
call fcn.180066638
xor eax, eax
jmp 0x18009028a
call fcn.18008ec68
mov r13d, eax
xor r15d, r15d
cmp ebx, 0x205
sete r15b
mov eax, 2
cmp ebx, 0x208
cmove r15d, eax
cmp ebx, 0x20c
jne 0x18009024c
mov rcx, qword [rsp + 0xb0]
shr rcx, 0x10
xor r15d, r15d
lea edi, [rax - 1]
cmp cx, di
setne r15b
add r15d, 3
mov eax, dword [rsi + 0x14]
btr eax, r15d
mov dword [rsi + 0x14], eax
test eax, eax
jne 0x18009026b
call qword [sym.imp.USER32.dll_GetCapture]
cmp rax, r12
jne 0x18009026b
call qword [sym.imp.USER32.dll_ReleaseCapture]
mov edx, r13d
mov rcx, r14
call fcn.180066824
xor r8d, r8d
mov edx, r15d
mov rcx, r14
call fcn.180066638
xor eax, eax
jmp 0x18009028a
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret