Function at 0x18019ad90
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x50
mov rbx, qword [rcx + 0x7e0]
mov rdi, r9
mov r15, qword [rcx + 0x7e8]
mov esi, r8d
mov r14, qword [rsp + 0x90]
mov rbp, rdx
cmp rbx, r15
je 0x1800ddcd4
nop dword [rax]
mov rcx, qword [rbx + 0x38]
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x38], rdi
mov dword [rsp + 0x70], esi
mov qword [rsp + 0x40], rbp
test rcx, rcx
je 0x1800ddcfd
mov rax, qword [rcx]
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x20], rdx
lea r9, [rsp + 0x38]
lea rdx, [rsp + 0x40]
lea r8, [rsp + 0x70]
call qword [rax + 0x10]
add rbx, 0x40
cmp rbx, r15
jne 0x1800ddc90
mov r9, r14
mov r8, rdi
mov edx, esi
mov rcx, rbp
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rdi
jmp 0x18019ad90
call sub.MSVCP140.dll_void___cdecl_std::_Xbad_function_call_void_
int3
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], r8
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x50
mov rbp, r9
mov edi, edx
mov r12, rcx
call fcn.180165fb0
test rax, rax
je case.0x18019b175.519
call fcn.1801664f0
mov r15, rax
call fcn.180165fb0
xor r14d, r14d
test rax, rax
je 0x18019ade4
call fcn.1801664f0
mov rbx, qword [rax + 0x90]
jmp 0x18019ade7
mov rbx, r14
cmp edi, 0x200
ja 0x18019b14b
je 0x18019b0f1
lea eax, [rdi - 7]
cmp eax, 0xfe
ja case.0x18019b175.519
lea rdx, [0x180000000]
movzx eax, byte [rdx + rax + 0x19b31c]
mov ecx, dword [rdx + rax*4 + 0x19b308]
add rcx, rdx
jmp rcx
lea eax, [rdi - 0x100]
mov esi, 0x100
test eax, 0xfffffffb
sete dil
cmp qword [rsp + 0x90], rsi
jae case.0x18019b175.519
call fcn.1801664f0
mov ecx, 0x11
mov rbx, rax
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov edx, 0x1000
and al, 1
mov rcx, rbx
movzx r8d, al
call fcn.18015e970
mov ecx, 0x10
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov edx, 0x2000
and al, 1
mov rcx, rbx
movzx r8d, al
call fcn.18015e970
mov ecx, 0x12
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov edx, 0x4000
and al, 1
mov rcx, rbx
movzx r8d, al
call fcn.18015e970
mov ecx, 0x5d
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov edx, 0x8000
and al, 1
mov rcx, rbx
movzx r8d, al
call fcn.18015e970
mov rbx, qword [rsp + 0x90]
cmp rbx, 0xd
jne 0x18019aef0
mov rax, rbp
shr rax, 0x10
test si, ax
mov eax, 0x10d
cmovne ebx, eax
movsxd rcx, ebx
call fcn.18019a840
shr rbp, 0x10
movzx esi, bpl
test eax, eax
je 0x18019af15
mov r9d, esi
mov r8d, ebx
movzx edx, dil
mov ecx, eax
call fcn.180199c30
cmp ebx, 0x10
jne 0x18019af7b
mov ecx, 0xa0
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp al, dil
jne 0x18019af46
mov r9d, esi
mov r8d, 0xa0
movzx edx, dil
mov ecx, 0x210
call fcn.180199c30
mov ecx, 0xa1
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp al, dil
jne case.0x18019b175.519
mov r9d, esi
mov r8d, 0xa1
movzx edx, dil
mov ecx, 0x214
call fcn.180199c30
jmp case.0x18019b175.519
cmp ebx, 0x11
jne 0x18019afe1
mov ecx, 0xa2
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp al, dil
jne 0x18019afac
mov r9d, esi
mov r8d, 0xa2
movzx edx, dil
mov ecx, 0x20f
call fcn.180199c30
mov ecx, 0xa3
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp al, dil
jne case.0x18019b175.519
mov r9d, esi
mov r8d, 0xa3
movzx edx, dil
mov ecx, 0x213
call fcn.180199c30
jmp case.0x18019b175.519
cmp ebx, 0x12
jne case.0x18019b175.519
mov ecx, 0xa4
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp al, dil
jne 0x18019b016
mov r9d, esi
mov r8d, 0xa4
movzx edx, dil
mov ecx, 0x211
call fcn.180199c30
mov ecx, 0xa5
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp al, dil
jne case.0x18019b175.519
mov r9d, esi
mov r8d, 0xa5
movzx edx, dil
mov ecx, 0x215
call fcn.180199c30
jmp case.0x18019b175.519
cmp edi, 7
mov rcx, r15
sete dl
call fcn.18015e590
jmp case.0x18019b175.519
mov rcx, r12
call qword [sym.imp.USER32.dll_IsWindowUnicode]
test eax, eax
je 0x18019b090
mov rdx, qword [rsp + 0x90]
lea rax, [rdx - 1]
cmp rax, 0xfffe
ja case.0x18019b175.519
mov rcx, r15
call fcn.18015e720
jmp case.0x18019b175.519
mov ebp, 1
mov word [rsp + 0x30], r14w
lea rax, [rsp + 0x30]
mov dword [rsp + 0x28], ebp
mov r9d, ebp
mov qword [rsp + 0x20], rax
mov edx, ebp
lea r8, [rsp + 0x90]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
movzx edx, word [rsp + 0x30]
mov rcx, r15
call fcn.18015e670
jmp case.0x18019b175.519
cmp bp, 1
jne case.0x18019b175.519
call fcn.18019a6c0
test al, al
je case.0x18019b175.519
mov eax, 1
jmp 0x18019b2ef
mov qword [rbx + 8], r12
cmp byte [rbx + 0x10], r14b
jne 0x18019b125
mov esi, 2
mov dword [rsp + 0x38], 0x18
lea rcx, [rsp + 0x38]
mov dword [rsp + 0x3c], esi
mov qword [rsp + 0x40], r12
mov dword [rsp + 0x48], r14d
call qword [sym.imp.USER32.dll_TrackMouseEvent]
mov byte [rbx + 0x10], 1
mov rax, rbp
mov rcx, r15
shr rax, 0x10
cwde
movd xmm2, eax
movsx eax, bp
cvtdq2ps xmm2, xmm2
movd xmm1, eax
cvtdq2ps xmm1, xmm1
call fcn.18015eaa0
jmp case.0x18019b175.519
lea eax, [rdi - 0x201]
cmp eax, 0xa2
ja case.0x18019b175.519
lea rdx, [0x180000000]
movzx eax, byte [rdx + rax + 0x19b438]
mov ecx, dword [rdx + rax*4 + 0x19b41c]
add rcx, rdx
jmp rcx
cmp qword [rbx + 8], r12
jne 0x18019b181
mov qword [rbx + 8], r14
movss xmm1, dword [0x18026d430]
mov rcx, r15
movaps xmm2, xmm1
mov byte [rbx + 0x10], r14b
call fcn.18015eaa0
jmp case.0x18019b175.519
cmp edi, 0x204
je 0x18019b1b0
mov ebp, r14d
cmp edi, 0x206
jne 0x18019b1b5
mov ebp, 1
lea eax, [rdi - 0x207]
mov esi, 2
test eax, 0xfffffffd
lea eax, [rdi - 0x20b]
cmove ebp, esi
test eax, 0xfffffffd
jne 0x18019b1ed
mov rax, qword [rsp + 0x90]
shr rax, 0x10
cmp ax, 1
setne r14b
lea ebp, [r14 + 3]
cmp dword [rbx + 0x14], 0
jne 0x18019b207
call qword [sym.imp.USER32.dll_GetCapture]
test rax, rax
jne 0x18019b207
mov rcx, r12
call qword [sym.imp.USER32.dll_SetCapture]
mov eax, dword [rbx + 0x14]
mov r8b, 1
bts eax, ebp
mov edx, ebp
mov rcx, r15
mov dword [rbx + 0x14], eax
call fcn.18015e9a0
jmp case.0x18019b175.519
cmp edi, 0x205
mov esi, r14d
sete sil
cmp edi, 0x208
jne 0x18019b23e
mov esi, 2
jmp 0x18019b260
cmp edi, 0x20c
jne 0x18019b260
mov rax, qword [rsp + 0x90]
mov esi, r14d
shr rax, 0x10
cmp ax, 1
setne sil
add esi, 3
mov eax, dword [rbx + 0x14]
btr eax, esi
mov dword [rbx + 0x14], eax
test eax, eax
jne 0x18019b27e
call qword [sym.imp.USER32.dll_GetCapture]
cmp rax, r12
jne 0x18019b27e
call qword [sym.imp.USER32.dll_ReleaseCapture]
xor r8d, r8d
mov edx, esi
mov rcx, r15
call fcn.18015e9a0
jmp case.0x18019b175.519
mov rax, qword [rsp + 0x90]
xorps xmm1, xmm1
shr rax, 0x10
mov rcx, r15
cwde
movd xmm2, eax
cvtdq2ps xmm2, xmm2
divss xmm2, dword [0x180271670]
call fcn.18015ec30
jmp case.0x18019b175.519
mov rax, qword [rsp + 0x90]
xorps xmm2, xmm2
shr rax, 0x10
mov rcx, r15
cwde
movd xmm1, eax
cvtdq2ps xmm1, xmm1
divss xmm1, dword [0x180271670]
call fcn.18015ec30
jmp case.0x18019b175.519
cmp dword [rsp + 0x90], 7
jne case.0x18019b175.519
mov byte [rbx + 0x2d], 1
xor eax, eax
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret