Function at 0x1400064f0
Capabilities:
Log keystrokes via polling

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1f]
sub rsp, 0x88
mov rax, qword [0x1400ed140]
xor rax, rsp
mov qword [rbp + 0xf], rax
mov r14, r9
mov qword [rbp - 1], r8
mov edi, edx
mov r12, rcx
call fcn.140034020
test rax, rax
je case.0x140006a5e.527
call fcn.140034050
mov r15, rax
call fcn.140034020
xor ebx, ebx
test rax, rax
je 0x140006553
call fcn.140034050
mov rsi, qword [rax + 0x88]
jmp 0x140006556
mov rsi, rbx
cmp edi, 0x200
ja 0x140006a34
je case.0x14000658f.160
lea eax, [rdi - 7]
cmp eax, 0xfe
ja case.0x140006a5e.527
lea rdx, sym.MZ___:_.qHJm:Qwkp6__KDs_ngF_.8kts_Xq:45_HYK
movzx eax, byte [rdx + rax + 0x6c98]
mov ecx, dword [rdx + rax*4 + 0x6c80]
add rcx, rdx
jmp rcx
lea eax, [rdi - 0x100]
mov r15d, 0x100
test eax, 0xfffffffb
sete dil
cmp qword [rbp - 1], r15
jae case.0x140006a5e.527
call fcn.140034050
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.1400457a0
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.1400457a0
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.1400457a0
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.1400457a0
mov rsi, qword [rbp - 1]
cmp rsi, 0xd
jne 0x140006659
mov rax, r14
shr rax, 0x10
test r15w, ax
mov eax, 0x10d
cmovne esi, eax
movsxd rcx, esi
call fcn.140005fa0
shr r14, 0x10
mov r15d, eax
movzx r14d, r14b
test eax, eax
je 0x1400066a0
call fcn.140034050
movzx r8d, dil
mov edx, r15d
mov rcx, rax
mov rbx, rax
call fcn.1400457a0
mov r9d, r14d
mov dword [rsp + 0x20], 0xffffffff
mov r8d, esi
mov edx, r15d
mov rcx, rbx
call fcn.140046430
cmp esi, 0x10
jne 0x14000674a
mov ecx, 0xa0
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp al, dil
jne 0x1400066f5
call fcn.140034050
movzx r8d, dil
mov edx, 0x210
mov rcx, rax
mov rbx, rax
call fcn.1400457a0
mov r9d, r14d
mov dword [rsp + 0x20], 0xffffffff
mov edx, 0x210
mov r8d, 0xa0
mov rcx, rbx
call fcn.140046430
mov ecx, 0xa1
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp al, dil
jne case.0x140006a5e.527
call fcn.140034050
movzx r8d, dil
mov edx, 0x214
mov rcx, rax
mov rbx, rax
call fcn.1400457a0
mov r9d, r14d
mov dword [rsp + 0x20], 0xffffffff
mov edx, 0x214
mov r8d, 0xa1
mov rcx, rbx
call fcn.140046430
jmp case.0x140006a5e.527
cmp esi, 0x11
jne 0x1400067f4
mov ecx, 0xa2
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp al, dil
jne 0x14000679f
call fcn.140034050
movzx r8d, dil
mov edx, 0x20f
mov rcx, rax
mov rbx, rax
call fcn.1400457a0
mov r9d, r14d
mov dword [rsp + 0x20], 0xffffffff
mov edx, 0x20f
mov r8d, 0xa2
mov rcx, rbx
call fcn.140046430
mov ecx, 0xa3
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp al, dil
jne case.0x140006a5e.527
call fcn.140034050
movzx r8d, dil
mov edx, 0x213
mov rcx, rax
mov rbx, rax
call fcn.1400457a0
mov r9d, r14d
mov dword [rsp + 0x20], 0xffffffff
mov edx, 0x213
mov r8d, 0xa3
mov rcx, rbx
call fcn.140046430
jmp case.0x140006a5e.527
cmp esi, 0x12
jne case.0x140006a5e.527
mov ecx, 0xa4
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp al, dil
jne 0x140006849
call fcn.140034050
movzx r8d, dil
mov edx, 0x211
mov rcx, rax
mov rbx, rax
call fcn.1400457a0
mov r9d, r14d
mov dword [rsp + 0x20], 0xffffffff
mov edx, 0x211
mov r8d, 0xa4
mov rcx, rbx
call fcn.140046430
mov ecx, 0xa5
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp al, dil
jne case.0x140006a5e.527
call fcn.140034050
movzx r8d, dil
mov edx, 0x215
mov rcx, rax
mov rbx, rax
call fcn.1400457a0
mov r9d, r14d
mov dword [rsp + 0x20], 0xffffffff
mov edx, 0x215
mov r8d, 0xa5
mov rcx, rbx
call fcn.140046430
jmp case.0x140006a5e.527
cmp edi, 7
mov rcx, r15
sete dl
call fcn.1400460b0
jmp case.0x140006a5e.527
mov rcx, r12
call qword [sym.imp.USER32.dll_IsWindowUnicode]
test eax, eax
je 0x1400068df
mov rdx, qword [rbp - 1]
lea rax, [rdx - 1]
cmp rax, 0xfffe
ja case.0x140006a5e.527
mov rcx, r15
call fcn.1400462c0
jmp case.0x140006a5e.527
mov r14d, 1
mov word [rbp - 9], bx
lea rax, [rbp - 9]
mov dword [rsp + 0x28], r14d
mov r9d, r14d
mov qword [rsp + 0x20], rax
mov edx, r14d
lea r8, [rbp - 1]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
movzx edx, word [rbp - 9]
mov rcx, r15
call fcn.1400461f0
jmp case.0x140006a5e.527
cmp r14w, 1
jne case.0x140006a5e.527
call fcn.140005610
test al, al
je case.0x140006a5e.527
mov eax, 1
jmp 0x140006c5d
call qword [sym.imp.USER32.dll_GetMessageExtraInfo]
mov ecx, 0xffffff80
mov edx, 0xff515700
mov r8, rax
and r8, rcx
mov ecx, 2
cmp r8, rdx
jne 0x140006961
mov dword [rbp - 9], ecx
jmp 0x140006971
mov edx, ebx
mov eax, 0xff515780
cmp r8, rax
sete dl
mov dword [rbp - 9], edx
mov eax, dword [rsi + 0x10]
cmp edi, 0x200
mov r13d, ebx
mov qword [rsi + 8], r12
setne r13b
inc r13d
cmp eax, r13d
je 0x1400069dd
cmp edi, 0x200
mov dword [rbp - 0x39], 0x18
mov edx, 0x12
mov dword [rbp - 0x35], 0x80000000
cmovne ecx, edx
mov qword [rbp - 0x31], r12
mov dword [rbp - 0x1d], ecx
mov dword [rbp - 0x29], ebx
mov dword [rbp - 0x21], 0x18
mov qword [rbp - 0x19], r12
mov dword [rbp - 0x11], ebx
test eax, eax
je 0x1400069cf
lea rcx, [rbp - 0x39]
call qword [sym.imp.USER32.dll_TrackMouseEvent]
lea rcx, [rbp - 0x21]
call qword [sym.imp.USER32.dll_TrackMouseEvent]
mov dword [rsi + 0x10], r13d
movsx eax, r14w
shr r14, 0x10
mov dword [rbp + 7], eax
movsx eax, r14w
mov dword [rbp + 0xb], eax
cmp edi, 0xa0
jne 0x140006a0c
lea rdx, [rbp + 7]
mov rcx, r12
call qword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je case.0x140006a5e.527
mov edx, dword [rbp - 9]
mov rcx, r15
call fcn.140046040
movd xmm2, dword [rbp + 0xb]
mov rcx, r15
movd xmm1, dword [rbp + 7]
cvtdq2ps xmm2, xmm2
cvtdq2ps xmm1, xmm1
call fcn.140045b70
jmp case.0x140006a5e.527
lea eax, [rdi - 0x201]
cmp eax, 0xa2
ja case.0x140006a5e.527
lea rdx, sym.MZ___:_.qHJm:Qwkp6__KDs_ngF_.8kts_Xq:45_HYK
movzx eax, byte [rdx + rax + 0x6db4]
mov ecx, dword [rdx + rax*4 + 0x6d98]
add rcx, rdx
jmp rcx
cmp edi, 0x2a3
mov eax, ebx
setne al
inc eax
cmp dword [rsi + 0x10], eax
jne case.0x140006a5e.527
cmp qword [rsi + 8], r12
jne 0x140006a80
mov qword [rsi + 8], rbx
movss xmm1, dword [0x1400e6c3c]
mov rcx, r15
movaps xmm2, xmm1
mov dword [rsi + 0x10], ebx
call fcn.140045b70
jmp case.0x140006a5e.527
call qword [sym.imp.USER32.dll_GetMessageExtraInfo]
mov ecx, 0xffffff80
mov edx, 0xff515700
mov r8, rax
and r8, rcx
mov ecx, 2
cmp r8, rdx
jne 0x140006ac0
mov r13d, ecx
jmp 0x140006acf
mov eax, 0xff515780
mov r13d, ebx
cmp r8, rax
sete r13b
cmp edi, 0x204
je 0x140006ae2
mov r14d, ebx
cmp edi, 0x206
jne 0x140006ae8
mov r14d, 1
lea eax, [rdi - 0x207]
test eax, 0xfffffffd
lea eax, [rdi - 0x20b]
cmove r14d, ecx
test eax, 0xfffffffd
jne 0x140006b17
mov rax, qword [rbp - 1]
shr rax, 0x10
cmp ax, 1
setne bl
lea r14d, [rbx + 3]
cmp dword [rsi + 0x14], 0
jne 0x140006b31
call qword [sym.imp.USER32.dll_GetCapture]
test rax, rax
jne 0x140006b31
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.140046040
mov r8b, 1
mov edx, r14d
mov rcx, r15
call fcn.140045da0
jmp case.0x140006a5e.527
call qword [sym.imp.USER32.dll_GetMessageExtraInfo]
mov ecx, 0xffffff80
mov edx, 0xff515700
mov r8, rax
and r8, rcx
mov ecx, 2
cmp r8, rdx
jne 0x140006b7e
mov r13d, ecx
jmp 0x140006b8d
mov eax, 0xff515780
mov r13d, ebx
cmp r8, rax
sete r13b
cmp edi, 0x205
mov r14d, ebx
sete r14b
cmp edi, 0x208
jne 0x140006ba7
mov r14d, ecx
jmp 0x140006bc6
cmp edi, 0x20c
jne 0x140006bc6
mov rax, qword [rbp - 1]
mov r14d, ebx
shr rax, 0x10
cmp ax, 1
setne r14b
add r14d, 3
mov eax, dword [rsi + 0x14]
btr eax, r14d
mov dword [rsi + 0x14], eax
test eax, eax
jne 0x140006be5
call qword [sym.imp.USER32.dll_GetCapture]
cmp rax, r12
jne 0x140006be5
call qword [sym.imp.USER32.dll_ReleaseCapture]
mov edx, r13d
mov rcx, r15
call fcn.140046040
xor r8d, r8d
mov edx, r14d
mov rcx, r15
call fcn.140045da0
jmp case.0x140006a5e.527
mov rax, qword [rbp - 1]
xorps xmm1, xmm1
shr rax, 0x10
mov rcx, r15
cwde
movd xmm2, eax
cvtdq2ps xmm2, xmm2
divss xmm2, dword [0x1400e6c24]
call fcn.140045f20
jmp case.0x140006a5e.527
mov rax, qword [rbp - 1]
xorps xmm2, xmm2
shr rax, 0x10
mov rcx, r15
cwde
movd xmm1, eax
cvtdq2ps xmm1, xmm1
xorps xmm1, xmmword [0x1400e6df0]
divss xmm1, dword [0x1400e6c24]
call fcn.140045f20
jmp case.0x140006a5e.527
cmp dword [rbp - 1], 7
jne case.0x140006a5e.527
mov byte [rsi + 0x2d], 1
xor eax, eax
mov rcx, qword [rbp + 0xf]
xor rcx, rsp
call fcn.1400c27c0
add rsp, 0x88
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret