Function at 0x14007d1c0
Capabilities:
Log keystrokes via polling

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xb8
mov ebp, r9d
mov r14d, r8d
mov r12d, edx
mov rbx, rcx
mov r13d, dword [rsp + 0x120]
mov rax, qword [0x14031d040]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov eax, dword [0x14032fa74]
mov ecx, dword [0x14032bc90]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14007d3d8
lea eax, [r12 - 0x20b]
mov ecx, r13d
and ecx, 0xffff0000
mov edx, dword [0x14033150c]
sub edx, dword [0x140331500]
xor r8d, r8d
cmp ecx, 0x20000
cmovne edx, r8d
cmp eax, 3
cmovae edx, r8d
lea rsi, [0x1402e04b8]
lea r15, [rsp + 0x20]
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetDim
mov rdi, r15
rep movsq qword [rdi], qword [rsi]
lea eax, [r12 + rdx - 0x200]
lea rcx, [0x14032fa30]
mov edx, dword [rcx + rax*4]
mov rcx, r15
call fcn.1400c7360
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rsi, [rsp + 0xa0]
mov qword [rsi], rax
mov rax, qword [rbx]
mov rax, qword [rax + 0xf0]
mov rcx, rbx
mov rdx, rsi
call qword [0x14030c820]
mov eax, r14d
sub eax, dword [rsi]
mov ecx, ebp
sub ecx, dword [rsi + 4]
mov dword [r15 + 0x54], eax
mov dword [r15 + 0x58], ecx
mov ecx, r13d
shr cl, 1
and cl, 2
mov dl, byte [r15 + 0x50]
mov al, byte [r15 + 0x51]
and dl, 0xfc
mov r8d, r13d
shr r8b, 3
mov r9d, r8d
and r9b, 1
or r9b, cl
or r9b, dl
mov byte [r15 + 0x50], r9b
mov ecx, r13d
and cl, 1
and al, 0xe0
and r8b, 2
or r8b, cl
lea ecx, [r13*2]
and cl, 4
or cl, r8b
shr r13b, 2
and r13b, 0x18
or r13b, cl
or r13b, al
mov byte [r15 + 0x51], r13b
mov ecx, SafeArrayUnlock
call qword [sym.imp.USER32.dll_GetKeyState]
mov cl, byte [r15 + 0x50]
shr eax, 0xd
and al, 4
and cl, 0xfb
or cl, al
mov byte [r15 + 0x50], cl
call qword [sym.imp.USER32.dll_GetMessageTime]
mov dword [r15 + 0x1c], eax
mov qword [r15 + 0x10], rbx
mov eax, dword [rbx + 0x78]
mov dword [r15 + 0x20], eax
lea rsi, [rsp + 0xac]
mov dword [rsi], r14d
lea rdi, [rsp + 0xa8]
mov dword [rdi], ebp
mov rax, qword [rbx]
mov rax, qword [rax + 0x4d0]
mov rcx, rbx
mov rdx, rsi
mov r8, rdi
call qword [0x14030c820]
mov eax, dword [rsi]
mov ecx, dword [rdi]
shl rcx, 0x20
or rcx, rax
mov qword [0x14032f858], rcx
mov eax, dword [r15 + 0x18]
mov dword [0x14032f860], eax
mov rcx, rbx
mov rdx, r15
call fcn.14009f1b0
mov ebx, eax
lea rax, [0x140285cb0]
mov qword [r15], rax
mov rcx, r15
call fcn.1400b9c50
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.1401f08b0
mov eax, ebx
add rsp, 0xb8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, [0x14032fa74]
call fcn.1401ef46c
cmp dword [0x14032fa74], 0xffffffff
jne 0x14007d21e
mov eax, dword [0x1403314d8]
mov dword [0x14032fa30], eax
mov eax, dword [0x1403314c0]
mov dword [0x14032fa34], eax
mov eax, dword [0x1403314c4]
mov dword [0x14032fa38], eax
mov eax, dword [0x1403314e4]
mov dword [0x14032fa3c], eax
mov eax, dword [0x1403314d0]
mov dword [0x14032fa40], eax
mov eax, dword [0x1403314d4]
mov dword [0x14032fa44], eax
mov eax, dword [0x1403314ec]
mov dword [0x14032fa48], eax
mov eax, dword [0x1403314c8]
mov dword [0x14032fa4c], eax
mov eax, dword [0x1403314cc]
mov dword [0x14032fa50], eax
mov eax, dword [0x1403314e8]
mov dword [0x14032fa54], eax
mov dword [0x14032fa58], 0
mov eax, dword [0x140331500]
mov dword [0x14032fa5c], eax
mov eax, dword [0x140331504]
mov dword [0x14032fa60], eax
mov eax, dword [0x140331508]
mov dword [0x14032fa64], eax
mov eax, dword [0x14033150c]
mov dword [0x14032fa68], eax
mov eax, dword [0x140331510]
mov dword [0x14032fa6c], eax
mov eax, dword [0x140331514]
mov dword [0x14032fa70], eax
lea rcx, [0x14032fa74]
call fcn.1401ef520
jmp 0x14007d21e