Function at 0x180193060
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 + 0x7f0]
mov rdi, r9
mov r15, qword [rcx + 0x7f8]
mov esi, r8d
mov r14, qword [rsp + 0x90]
mov rbp, rdx
cmp rbx, r15
je 0x180091bf4
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 0x180091c1d
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 0x180091bb0
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 0x180193060
call sub.MSVCP140.dll_void___cdecl_std::_Xbad_function_call_void_
int3
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x18], r8
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
mov r14, r9
mov ebx, edx
mov r12, rcx
call fcn.180150e40
test rax, rax
je case.0x18019350d.519
call fcn.180151320
mov rsi, qword [rax + 0x90]
test rsi, rsi
je case.0x18019350d.519
call fcn.180151320
mov r15, rax
cmp ebx, 0x200
ja 0x1801934e3
je case.0x1801930f0.10
lea eax, [rbx - 7]
cmp eax, 0xfe
ja case.0x18019350d.519
lea rdx, [0x180000000]
movzx eax, byte [rdx + rax + 0x19371c]
mov ecx, dword [rdx + rax*4 + 0x193700]
add rcx, rdx
jmp rcx
lea eax, [rbx - 0x100]
mov esi, pe_nt_image_headers64
test eax, 0xfffffffb
sete bl
cmp qword [rbp + 0x40], rsi
jae case.0x18019350d.519
call fcn.180151320
mov ecx, 0x11
mov rdi, rax
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov edx, 0x1000
and al, 1
mov rcx, rdi
movzx r8d, al
call fcn.1801476a0
mov ecx, 0x10
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov edx, 0x2000
and al, 1
mov rcx, rdi
movzx r8d, al
call fcn.1801476a0
mov ecx, 0x12
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov edx, 0x4000
and al, 1
mov rcx, rdi
movzx r8d, al
call fcn.1801476a0
mov ecx, 0x5b
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x1801931a3
mov ecx, 0x5c
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x1801931a3
xor r8d, r8d
jmp 0x1801931a6
mov r8b, 1
mov edx, 0x8000
mov rcx, rdi
call fcn.1801476a0
mov rdi, qword [rbp + 0x40]
cmp rdi, 0xd
jne 0x1801931cf
mov rax, r14
shr rax, 0x10
test si, ax
mov eax, 0x10d
cmovne edi, eax
movsxd rcx, edi
call fcn.180192a80
shr r14, 0x10
mov r15d, eax
movzx esi, r14b
cmp eax, 0x262
jne 0x1801931fe
test bl, bl
jne 0x180193203
mov r9d, esi
mov r8d, edi
mov dl, 1
mov ecx, eax
call fcn.180191d70
jmp 0x180193203
test r15d, r15d
je 0x180193214
mov r9d, esi
mov r8d, edi
movzx edx, bl
mov ecx, r15d
call fcn.180191d70
cmp edi, 0x10
jne 0x180193276
mov ecx, 0xa0
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp al, bl
jne 0x180193243
mov r9d, esi
mov r8d, 0xa0
movzx edx, bl
mov ecx, 0x210
call fcn.180191d70
mov ecx, 0xa1
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp al, bl
jne case.0x18019350d.519
mov r9d, esi
mov r8d, 0xa1
movzx edx, bl
mov ecx, 0x214
call fcn.180191d70
jmp case.0x18019350d.519
cmp edi, 0x11
jne 0x1801932d8
mov ecx, 0xa2
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp al, bl
jne 0x1801932a5
mov r9d, esi
mov r8d, 0xa2
movzx edx, bl
mov ecx, 0x20f
call fcn.180191d70
mov ecx, 0xa3
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp al, bl
jne case.0x18019350d.519
mov r9d, esi
mov r8d, 0xa3
movzx edx, bl
mov ecx, 0x213
call fcn.180191d70
jmp case.0x18019350d.519
cmp edi, 0x12
jne case.0x18019350d.519
mov ecx, 0xa4
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp al, bl
jne 0x18019330b
mov r9d, esi
mov r8d, 0xa4
movzx edx, bl
mov ecx, 0x211
call fcn.180191d70
mov ecx, 0xa5
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp al, bl
jne case.0x18019350d.519
mov r9d, esi
mov r8d, 0xa5
movzx edx, bl
mov ecx, 0x215
call fcn.180191d70
jmp case.0x18019350d.519
cmp ebx, 7
mov rcx, r15
sete dl
call fcn.180147180
jmp case.0x18019350d.519
call fcn.1801928a0
jmp case.0x18019350d.519
mov rcx, r12
call qword [sym.imp.USER32.dll_IsWindowUnicode]
test eax, eax
je 0x180193389
mov rdx, qword [rbp + 0x40]
lea rax, [rdx - 1]
cmp rax, 0xfffe
ja case.0x18019350d.519
mov rcx, r15
call fcn.180147350
jmp case.0x18019350d.519
mov ecx, dword [rsi + 0x2c]
lea rax, [rbp - 0x40]
xor edx, edx
lea r8, [rbp + 0x40]
mov r14d, 1
mov word [rbp - 0x40], dx
mov edx, r14d
mov dword [rsp + 0x28], r14d
mov r9d, r14d
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
movzx edx, word [rbp - 0x40]
mov rcx, r15
call fcn.180147290
jmp case.0x18019350d.519
cmp r14w, 1
jne case.0x18019350d.519
call fcn.180192900
test al, al
je case.0x18019350d.519
mov eax, 1
jmp 0x1801936e0
call qword [sym.imp.USER32.dll_GetMessageExtraInfo]
mov ecx, 0xffffff80
xor edx, edx
and rax, rcx
mov edi, 2
mov ecx, 0xff515700
cmp rax, rcx
jne 0x18019340d
mov dword [rbp - 0x40], edi
jmp 0x180193420
mov r8d, edx
mov ecx, 0xff515780
cmp rax, rcx
sete r8b
mov dword [rbp - 0x40], r8d
mov eax, dword [rsi + 0x10]
cmp ebx, 0x200
mov r13d, edx
mov qword [rsi + 8], r12
setne r13b
inc r13d
cmp eax, r13d
je 0x18019348c
cmp ebx, 0x200
mov dword [rbp - 0x30], 0x18
mov ecx, 0x12
mov dword [rbp - 0x2c], 0x80000000
cmovne edi, ecx
mov qword [rbp - 0x28], r12
mov dword [rbp - 0x14], edi
mov dword [rbp - 0x20], edx
mov dword [rbp - 0x18], 0x18
mov qword [rbp - 0x10], r12
mov dword [rbp - 8], edx
test eax, eax
je 0x18019347e
lea rcx, [rbp - 0x30]
call qword [sym.imp.USER32.dll_TrackMouseEvent]
lea rcx, [rbp - 0x18]
call qword [sym.imp.USER32.dll_TrackMouseEvent]
mov dword [rsi + 0x10], r13d
movsx eax, r14w
shr r14, 0x10
mov dword [rbp - 0x38], eax
movsx eax, r14w
mov dword [rbp - 0x34], eax
cmp ebx, 0xa0
jne 0x1801934bb
lea rdx, [rbp - 0x38]
mov rcx, r12
call qword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je case.0x18019350d.519
mov edx, dword [rbp - 0x40]
mov rcx, r15
call fcn.180147a80
movd xmm2, dword [rbp - 0x34]
mov rcx, r15
movd xmm1, dword [rbp - 0x38]
cvtdq2ps xmm2, xmm2
cvtdq2ps xmm1, xmm1
call fcn.1801478e0
jmp case.0x18019350d.519
lea eax, [rbx - 0x201]
cmp eax, 0xa2
ja case.0x18019350d.519
lea rdx, [0x180000000]
movzx eax, byte [rdx + rax + 0x193838]
mov ecx, dword [rdx + rax*4 + 0x19381c]
add rcx, rdx
jmp rcx
xor edx, edx
cmp ebx, 0x2a3
mov eax, edx
setne al
inc eax
cmp dword [rsi + 0x10], eax
jne case.0x18019350d.519
cmp qword [rsi + 8], r12
jne 0x180193531
mov qword [rsi + 8], rdx
movss xmm1, dword [0x18022f43c]
mov rcx, r15
movaps xmm2, xmm1
mov dword [rsi + 0x10], edx
call fcn.1801478e0
jmp case.0x18019350d.519
call qword [sym.imp.USER32.dll_GetMessageExtraInfo]
mov ecx, 0xffffff80
xor edx, edx
and rax, rcx
mov edi, 2
mov ecx, 0xff515700
cmp rax, rcx
jne 0x180193570
mov r13d, edi
jmp 0x18019357f
mov ecx, 0xff515780
mov r13d, edx
cmp rax, rcx
sete r13b
cmp ebx, 0x204
je 0x180193592
mov r14d, edx
cmp ebx, 0x206
jne 0x180193598
mov r14d, 1
lea eax, [rbx - 0x207]
test eax, 0xfffffffd
lea eax, [rbx - 0x20b]
cmove r14d, edi
test eax, 0xfffffffd
jne 0x1801935c7
mov rax, qword [rbp + 0x40]
shr rax, 0x10
cmp ax, 1
setne dl
lea r14d, [rdx + 3]
cmp dword [rsi + 0x14], 0
jne 0x1801935e1
call qword [sym.imp.USER32.dll_GetCapture]
test rax, rax
jne 0x1801935e1
mov rcx, r12
call qword [sym.imp.USER32.dll_SetCapture]
mov eax, dword [rsi + 0x14]
mov edx, r13d
bts eax, r14d
mov rcx, r15
mov dword [rsi + 0x14], eax
call fcn.180147a80
mov r8b, 1
mov edx, r14d
mov rcx, r15
call fcn.1801476d0
jmp case.0x18019350d.519
call fcn.180191d30
xor edx, edx
mov r14d, eax
cmp ebx, 0x205
mov edi, edx
sete dil
cmp ebx, 0x208
jne 0x18019362e
mov edi, 2
jmp 0x18019364b
cmp ebx, 0x20c
jne 0x18019364b
mov rax, qword [rbp + 0x40]
mov edi, edx
shr rax, 0x10
cmp ax, 1
setne dil
add edi, 3
mov eax, dword [rsi + 0x14]
btr eax, edi
mov dword [rsi + 0x14], eax
test eax, eax
jne 0x180193669
call qword [sym.imp.USER32.dll_GetCapture]
cmp rax, r12
jne 0x180193669
call qword [sym.imp.USER32.dll_ReleaseCapture]
mov edx, r14d
mov rcx, r15
call fcn.180147a80
xor r8d, r8d
mov edx, edi
mov rcx, r15
call fcn.1801476d0
jmp case.0x18019350d.519
mov rax, qword [rbp + 0x40]
xorps xmm1, xmm1
shr rax, 0x10
mov rcx, r15
cwde
movd xmm2, eax
cvtdq2ps xmm2, xmm2
divss xmm2, dword [0x1802336b0]
call fcn.180147a90
jmp case.0x18019350d.519
mov rax, qword [rbp + 0x40]
xorps xmm2, xmm2
shr rax, 0x10
mov rcx, r15
cwde
movd xmm1, eax
cvtdq2ps xmm1, xmm1
xorps xmm1, xmmword [0x1801d81d0]
divss xmm1, dword [0x1802336b0]
call fcn.180147a90
jmp case.0x18019350d.519
cmp dword [rbp + 0x40], 7
jne case.0x18019350d.519
mov byte [rsi + 0x31], 1
xor eax, eax
lea r11, [rsp + 0x70]
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