Function at 0x1400843e0
Capabilities:
Log keystrokes via polling

Disassembly:
mov rax, rsp
push rsi
push rdi
push r14
sub rsp, 0x70
mov qword [rax - 0x48], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
movaps xmmword [rax - 0x28], xmm6
movzx ebx, r8b
mov rsi, rcx
movq xmm6, rdx
movsd qword [rax - 0x58], xmm6
mov ebp, dword [0x14047d2c0]
cmp qword [0x14047d7e8], 0
je 0x14008443c
call qword [sym.imp.USER32.dll_GetMessageExtraInfo]
mov ecx, 0xffffff80
and rax, rcx
mov ecx, 0xff515780
cmp rax, rcx
je 0x140084622
call fcn.140084360
test al, al
jne 0x140084622
xor r14d, r14d
cmp byte [rsi + 0xaa], r14b
jne 0x140084511
mov byte [rsi + 0xaa], 1
test bl, bl
je 0x1400844c7
cmp qword [0x14047d358], r14
je 0x1400844c7
call fcn.140081e90
lea ecx, [r14 + 1]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
movzx ebx, ax
shr ebx, 0xf
and ebx, 1
shl ebx, 4
lea ecx, [r14 + 2]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
shr eax, 0xf
mov edi, ebx
or edi, 0x20
and al, 1
cmove edi, ebx
lea ecx, [r14 + 4]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
shr eax, 0xf
mov ecx, edi
or ecx, 0x40
and al, 1
cmove ecx, edi
mov eax, dword [0x14047d2c0]
and eax, 0xffffff8f
or eax, ecx
mov dword [0x14047d2c0], eax
call fcn.140081e90
mov dword [rsp + 0x48], reloc.OLEAUT32.dll_SafeArrayGetElement
mov dword [rsp + 0x4c], 2
mov rax, qword [rsi + 0x80]
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x58], r14d
lea rcx, [rsp + 0x48]
call qword [sym.imp.USER32.dll_TrackMouseEvent]
call fcn.14023c010
mov rax, qword [rax + 0x30]
mov rax, qword [rax + 0x18]
mov dl, 1
mov rcx, qword [rax]
call fcn.140059270
jmp 0x140084587
cmp byte [rsi + 0xa9], r14b
jne 0x140084587
mov rax, qword [rsi]
mov r9, qword [rax + 0x90]
movss xmm0, dword [rsp + 0x34]
cvtps2pd xmm0, xmm0
addsd xmm0, qword [0x1403a8d30]
movsd qword [rsp + 0x38], xmm0
movss xmm0, dword [rsp + 0x30]
cvtps2pd xmm0, xmm0
addsd xmm0, qword [0x1403a8d30]
movsd qword [rsp + 0xa8], xmm0
mov eax, dword [rsp + 0xa8]
mov dword [rsp + 0xa8], eax
mov eax, dword [rsp + 0x38]
mov dword [rsp + 0xac], eax
xor r8d, r8d
mov rdx, qword [rsp + 0xa8]
mov rcx, rsi
call r9
test al, al
je 0x140084622
mov edx, 4
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x14047eac4], eax
jg 0x14008463c
call fcn.140145f60
mov ebx, eax
mov rax, qword [0x14047d100]
test rax, rax
jne 0x1400845dc
mov ecx, 0x128
call fcn.14010a334
mov qword [rsp + 0xa8], rax
mov rcx, rax
call fcn.14023c250
nop
mov qword [0x14047d100], rax
mov rax, qword [rax + 0x30]
mov rax, qword [rax + 0x18]
mov rax, qword [rax]
mov ecx, dword [rax + 0x28]
mov edx, ebp
and edx, 0xffffff8f
and cl, 0x70
cmovne edx, ebp
mov ecx, dword [0x14047ea94]
add ecx, dword [0x14047db50]
cmp ebx, ecx
jb 0x140084622
mov dword [0x14047db50], ebx
mov dword [rsp + 0x20], edx
xorps xmm3, xmm3
xorps xmm2, xmm2
movq rdx, xmm6
mov rcx, rsi
call fcn.1400841d0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x30]
movaps xmm6, xmmword [rsp + 0x60]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
lea rcx, [0x14047eac4]
call fcn.14010a5c4
cmp dword [0x14047eac4], 0xffffffff
jne 0x1400845a7
call fcn.140134e00
mov edx, reloc.OLEAUT32.dll_SafeArrayGetDim
cmp eax, 0x203
cmovge edx, r14d
mov dword [0x14047ea94], edx
lea rcx, [0x14047eac4]
call fcn.14010a564
jmp 0x1400845a7