Function at 0x1400450a0
Capabilities:
Log keystrokes via polling

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0xc8
vmovaps xmmword [rsp + 0xb0], xmm11
vmovaps xmmword [rsp + 0xa0], xmm10
vmovaps xmmword [rsp + 0x90], xmm9
vmovaps xmmword [rsp + 0x80], xmm8
vmovaps xmmword [rsp + 0x70], xmm7
vmovaps xmmword [rsp + 0x60], xmm6
mov rax, qword [0x1400c1548]
xor rax, rsp
mov qword [rsp + 0x58], rax
call fcn.140017480
mov r14, rax
call fcn.14000f1b0
test rax, rax
je 0x14004510b
call fcn.140017480
mov rbx, qword [rax + 0x88]
jmp 0x14004510d
xor ebx, ebx
vxorps xmm0, xmm0, xmm0
vmovaps xmmword [rsp + 0x30], xmm0
mov rcx, qword [rbx]
lea rdx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_GetClientRect]
vmovq xmm0, qword [rsp + 0x38]
vmovq xmm1, qword [rsp + 0x30]
vpsubd xmm0, xmm0, xmm1
vcvtdq2ps xmm0, xmm0
vmovlps qword [r14 + 8], xmm0
mov qword [rsp + 0x28], 0
lea rcx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rsp + 0x28]
mov rcx, rax
sub rcx, qword [rbx + 0x18]
vcvtsi2ss xmm0, xmm2, rcx
vcvtsi2ss xmm1, xmm2, qword [rbx + 0x20]
vdivss xmm0, xmm0, xmm1
vmovss dword [r14 + 0x10], xmm0
mov qword [rbx + 0x18], rax
call fcn.14000f1b0
test rax, rax
je 0x140045190
call fcn.140017480
mov rsi, qword [rax + 0x88]
jmp 0x140045192
xor esi, esi
call fcn.140017480
mov rdi, rax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, qword [rsi]
je 0x140045323
mov ecx, 0x210
call fcn.1400288b0
test al, al
je 0x140045200
mov ecx, 0xa0
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
js 0x140045200
call fcn.140017480
mov rdi, rax
mov rcx, rax
mov edx, 0x210
xor r8d, r8d
call fcn.14000cd20
mov dword [rsp + 0x20], 0xffffffff
mov rcx, rdi
mov edx, 0x210
mov r8d, 0xa0
mov r9d, 0xffffffff
call fcn.14000cd50
mov ecx, 0x214
call fcn.1400288b0
test al, al
je 0x140045257
mov ecx, 0xa1
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
js 0x140045257
call fcn.140017480
mov rdi, rax
mov rcx, rax
mov edx, 0x214
xor r8d, r8d
call fcn.14000cd20
mov dword [rsp + 0x20], 0xffffffff
mov rcx, rdi
mov edx, 0x214
mov r8d, 0xa1
mov r9d, 0xffffffff
call fcn.14000cd50
mov ecx, 0x212
call fcn.1400288b0
test al, al
je 0x1400452ae
mov ecx, 0x5b
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
js 0x1400452ae
call fcn.140017480
mov rdi, rax
mov rcx, rax
mov edx, 0x212
xor r8d, r8d
call fcn.14000cd20
mov dword [rsp + 0x20], 0xffffffff
mov rcx, rdi
mov edx, 0x212
mov r8d, 0x5b
mov r9d, 0xffffffff
call fcn.14000cd50
mov ecx, 0x216
call fcn.1400288b0
test al, al
je 0x140045305
mov ecx, 0x5c
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
js 0x140045305
call fcn.140017480
mov rdi, rax
mov rcx, rax
mov edx, 0x216
xor r8d, r8d
call fcn.14000cd20
mov dword [rsp + 0x20], 0xffffffff
mov rcx, rdi
mov edx, 0x216
mov r8d, 0x5c
mov r9d, 0xffffffff
call fcn.14000cd50
mov eax, 0xffffffff
cmp byte [r14 + 0x50], 0
je 0x1400453b7
cmp dword [rbx + 0x28], eax
jne 0x1400453c5
jmp 0x14004544c
cmp byte [rdi + 0xc5], 0
je 0x14004536b
vmovsd xmm0, qword [rdi + 0xe38]
vcvttps2dq xmm0, xmm0
vmovlps qword [rsp + 0x40], xmm0
mov rcx, qword [rsi]
lea rdx, [rsp + 0x40]
call qword [sym.imp.USER32.dll_ClientToScreen]
test eax, eax
je 0x14004535e
mov ecx, dword [rsp + 0x40]
mov edx, dword [rsp + 0x44]
call qword [sym.imp.USER32.dll_SetCursorPos]
cmp byte [rdi + 0xc5], 0
jne 0x1400451a9
cmp byte [rsi + 0x10], 0
jne 0x1400451a9
lea rcx, [rsp + 0x40]
call qword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x1400451a9
mov rcx, qword [rsi]
lea rdx, [rsp + 0x40]
call qword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x1400451a9
vcvtsi2ss xmm2, xmm2, dword [rsp + 0x44]
vcvtsi2ss xmm1, xmm3, dword [rsp + 0x40]
mov rcx, rdi
call fcn.14000cd80
jmp 0x1400451a9
call fcn.140029060
cmp dword [rbx + 0x28], eax
je 0x14004544c
mov dword [rbx + 0x28], eax
call fcn.140017480
test byte [rax], 0x20
jne 0x14004544c
mov rsi, rax
call fcn.140029060
xor ecx, ecx
cmp eax, 0xffffffff
je 0x140045446
cmp byte [rsi + 0x50], 0
jne 0x140045446
dec eax
cmp eax, 7
ja case.default.0x1400453fc
lea rcx, [0x14004589c]
movsxd rax, dword [rcx + rax*4]
add rax, rcx
jmp rax
mov edx, 0x7f01
jmp 0x14004543b
mov edx, 0x7f00
jmp 0x14004543b
mov edx, 0x7f86
jmp 0x14004543b
mov edx, 0x7f85
jmp 0x14004543b
mov edx, 0x7f84
jmp 0x14004543b
mov edx, 0x7f83
jmp 0x14004543b
mov edx, 0x7f82
jmp 0x14004543b
mov edx, 0x7f89
jmp 0x14004543b
mov edx, 0x7f88
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorW]
mov rcx, rax
call qword [sym.imp.USER32.dll_SetCursor]
call fcn.140017480
mov rsi, rax
call fcn.14000f1b0
test rax, rax
je 0x140045474
call fcn.140017480
mov rdi, qword [rax + 0x88]
test byte [rsi], 2
jne 0x14004547f
jmp 0x140045852
xor edi, edi
test byte [rsi], 2
je 0x140045852
cmp byte [rdi + 0x2d], 0
je 0x1400454be
vxorps xmm0, xmm0, xmm0
vmovaps xmmword [rsp + 0x40], xmm0
mov dword [rsp + 0x50], 0
mov rbx, qword [rdi + 0x38]
test rbx, rbx
je 0x1400454b5
lea r8, [rsp + 0x40]
xor ecx, ecx
mov edx, 1
call rbx
test eax, eax
sete al
jmp 0x1400454b7
xor eax, eax
mov byte [rdi + 0x2c], al
mov byte [rdi + 0x2d], 0
and byte [rsi + 4], 0xfe
cmp byte [rdi + 0x2c], 0
je 0x140045852
mov rax, qword [rdi + 0x40]
test rax, rax
je 0x140045852
lea rdx, [rsp + 0x40]
xor ecx, ecx
call rax
test eax, eax
jne 0x140045852
or byte [rsi + 4], 1
movzx r8d, word [rsp + 0x44]
and r8d, 0x10
shr r8d, 4
mov rcx, rsi
mov edx, 0x277
call fcn.14000cd20
movzx r8d, word [rsp + 0x44]
and r8d, 0x20
shr r8d, 5
mov rcx, rsi
mov edx, 0x278
call fcn.14000cd20
mov r8d, dword [rsp + 0x44]
shr r8d, 0xe
and r8d, 1
mov rcx, rsi
mov edx, 0x279
call fcn.14000cd20
mov r8d, dword [rsp + 0x44]
shr r8d, 0xd
and r8d, 1
mov rcx, rsi
mov edx, 0x27a
call fcn.14000cd20
movzx r8d, word [rsp + 0x44]
shr r8d, 0xf
mov rcx, rsi
mov edx, 0x27b
call fcn.14000cd20
mov r8d, dword [rsp + 0x44]
shr r8d, 0xc
and r8d, 1
mov rcx, rsi
mov edx, 0x27c
call fcn.14000cd20
movzx r8d, word [rsp + 0x44]
and r8d, 4
shr r8d, 2
mov rcx, rsi
mov edx, 0x27d
call fcn.14000cd20
movzx r8d, word [rsp + 0x44]
and r8d, 8
shr r8d, 3
mov rcx, rsi
mov edx, 0x27e
call fcn.14000cd20
movzx r8d, byte [rsp + 0x44]
and r8b, 1
mov rcx, rsi
mov edx, 0x27f
call fcn.14000cd20
movzx r8d, word [rsp + 0x44]
and r8d, 2
shr r8d, 1
mov rcx, rsi
mov edx, 0x280
call fcn.14000cd20
movzx r8d, byte [rsp + 0x45]
and r8d, 1
mov rcx, rsi
mov edx, 0x281
call fcn.14000cd20
mov r8d, dword [rsp + 0x44]
shr r8d, 9
and r8d, 1
mov rcx, rsi
mov edx, 0x282
call fcn.14000cd20
movzx eax, byte [rsp + 0x46]
add eax, 0xffffffe2
vcvtsi2ss xmm0, xmm1, eax
vmovss xmm7, dword [0x140072640]
vmulss xmm0, xmm0, xmm7
vmovss xmm8, dword [0x140069798]
vminss xmm1, xmm8, xmm0
vxorps xmm11, xmm11, xmm11
vmaxss xmm3, xmm11, xmm1
vmovss xmm6, dword [0x14006abe0]
vucomiss xmm0, xmm6
seta r8b
mov rcx, rsi
mov edx, 0x283
call fcn.14000cab0
movzx eax, byte [rsp + 0x47]
add eax, 0xffffffe2
vcvtsi2ss xmm0, xmm2, eax
vmulss xmm0, xmm0, xmm7
vminss xmm1, xmm8, xmm0
vmaxss xmm3, xmm11, xmm1
vucomiss xmm0, xmm6
seta r8b
mov rcx, rsi
mov edx, 0x284
call fcn.14000cab0
movzx r8d, word [rsp + 0x44]
and r8d, 0x40
shr r8d, 6
mov rcx, rsi
mov edx, 0x285
call fcn.14000cd20
movzx r8d, byte [rsp + 0x44]
shr r8d, 7
mov rcx, rsi
mov edx, 0x286
call fcn.14000cd20
movsx eax, word [rsp + 0x48]
add eax, 0x1ea9
vcvtsi2ss xmm0, xmm2, eax
vmovss xmm9, dword [0x140072644]
vmulss xmm0, xmm9, xmm0
vminss xmm1, xmm8, xmm0
vmaxss xmm3, xmm11, xmm1
vucomiss xmm0, xmm6
seta r8b
mov rcx, rsi
mov edx, 0x287
call fcn.14000cab0
movsx eax, word [rsp + 0x48]
add eax, 0xffffe157
vcvtsi2ss xmm0, xmm2, eax
vmovss xmm10, dword [0x140072648]
vmulss xmm0, xmm10, xmm0
vminss xmm1, xmm8, xmm0
vmaxss xmm3, xmm11, xmm1
vucomiss xmm0, xmm6
seta r8b
mov rcx, rsi
mov edx, 0x288
call fcn.14000cab0
movsx eax, word [rsp + 0x4a]
add eax, 0xffffe157
vcvtsi2ss xmm0, xmm2, eax
vmulss xmm0, xmm10, xmm0
vminss xmm1, xmm8, xmm0
vmaxss xmm3, xmm11, xmm1
vucomiss xmm0, xmm6
seta r8b
mov rcx, rsi
mov edx, 0x289
call fcn.14000cab0
movsx eax, word [rsp + 0x4a]
add eax, 0x1ea9
vcvtsi2ss xmm0, xmm2, eax
vmulss xmm0, xmm9, xmm0
vminss xmm1, xmm8, xmm0
vmaxss xmm3, xmm11, xmm1
vucomiss xmm0, xmm6
seta r8b
mov rcx, rsi
mov edx, 0x28a
call fcn.14000cab0
movsx eax, word [rsp + 0x4c]
add eax, 0x1ea9
vcvtsi2ss xmm0, xmm2, eax
vmulss xmm0, xmm9, xmm0
vminss xmm1, xmm8, xmm0
vmaxss xmm3, xmm11, xmm1
vucomiss xmm0, xmm6
seta r8b
mov rcx, rsi
mov edx, 0x28b
call fcn.14000cab0
movsx eax, word [rsp + 0x4c]
add eax, 0xffffe157
vcvtsi2ss xmm0, xmm2, eax
vmulss xmm0, xmm10, xmm0
vminss xmm1, xmm8, xmm0
vmaxss xmm3, xmm11, xmm1
vucomiss xmm0, xmm6
seta r8b
mov rcx, rsi
mov edx, 0x28c
call fcn.14000cab0
movsx eax, word [rsp + 0x4e]
add eax, 0xffffe157
vcvtsi2ss xmm0, xmm2, eax
vmulss xmm0, xmm10, xmm0
vminss xmm1, xmm8, xmm0
vmaxss xmm3, xmm11, xmm1
vucomiss xmm0, xmm6
seta r8b
mov rcx, rsi
mov edx, 0x28d
call fcn.14000cab0
movsx eax, word [rsp + 0x4e]
add eax, 0x1ea9
vcvtsi2ss xmm0, xmm2, eax
vmulss xmm0, xmm9, xmm0
vminss xmm1, xmm8, xmm0
vmaxss xmm3, xmm11, xmm1
vucomiss xmm0, xmm6
seta r8b
mov rcx, rsi
mov edx, 0x28e
call fcn.14000cab0
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140067310
vmovaps xmm6, xmmword [rsp + 0x60]
vmovaps xmm7, xmmword [rsp + 0x70]
vmovaps xmm8, xmmword [rsp + 0x80]
vmovaps xmm9, xmmword [rsp + 0x90]
vmovaps xmm10, xmmword [rsp + 0xa0]
vmovaps xmm11, xmmword [rsp + 0xb0]
add rsp, 0xc8
pop rbx
pop rdi
pop rsi
pop r14
ret