Function at 0x180078ba0
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
push rsi
sub rsp, 0x28
mov rax, qword [rcx + 0x78]
mov rsi, rdx
mov rbx, rcx
cmp byte [rax], 0
jne 0x180078bd0
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x40], 0xfa
call fcn.180065060
add rsp, 0x28
pop rsi
pop rbx
ret
mov rax, qword gs:[0x58]
mov ecx, dword [0x180119d7c]
mov qword [rsp + 0x48], rbp
mov qword [rsp + 0x50], rdi
mov ebp, 4
mov rdi, qword [rax + rcx*8]
mov eax, dword [rdi + rbp]
cmp dword [0x18011ce00], eax
jle 0x180078c2a
lea rcx, [0x18011ce00]
call fcn.1800bc008
cmp dword [0x18011ce00], 0xffffffff
jne 0x180078c2a
lea rcx, [0x1800c57f0]
call fcn.1800bc624
lea rcx, [0x18011ce00]
call fcn.1800bbf9c
cmp byte [0x18011a160], 0
je 0x180078e21
cmp byte [0x18011a288], 0
mov qword [rsp + 0x20], r14
movabs r14, 0x431bde82d7b634db
je 0x180078db3
mov eax, dword [rdi + rbp]
cmp dword [0x18011ce04], eax
jle 0x180078c9e
lea rcx, [0x18011ce04]
call fcn.1800bc008
cmp dword [0x18011ce04], 0xffffffff
jne 0x180078c9e
lea rcx, [rsp + 0x40]
mov qword [0x18011ce08], 0
call fcn.180066f20
lea rcx, [0x18011ce04]
mov rdx, qword [rax]
mov qword [0x18011ce08], rdx
call fcn.1800bbf9c
mov rax, qword [0x18011a270]
mov rdx, qword [0x18011a278]
cmp rax, rdx
je 0x180078d6d
lea rcx, [rsp + 0x40]
call fcn.180066f20
xorps xmm0, xmm0
mov rcx, qword [rax]
mov rax, r14
sub rcx, qword [0x18011ce08]
imul rcx
sar rdx, 0x12
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cvtsi2ss xmm0, rdx
comiss xmm0, dword [0x1800ffe24]
jb 0x180078d5a
lea rcx, [rsp + 0x40]
call fcn.180066f20
mov rdx, qword [0x18011a278]
movss xmm1, dword [0x1801002d0]
movss xmm2, dword [0x1800ffc44]
mov rcx, qword [rax]
mov qword [0x18011ce08], rcx
mov r8, qword [rsi]
movss xmm0, dword [rdx - 0xc]
add r8, 0x24
subss xmm0, dword [r8]
andps xmm0, xmm1
comiss xmm2, xmm0
jbe 0x180078d74
movss xmm0, dword [rdx - 8]
subss xmm0, dword [r8 + 4]
andps xmm0, xmm1
comiss xmm2, xmm0
jbe 0x180078d74
movss xmm0, dword [rdx - 4]
subss xmm0, dword [r8 + 8]
andps xmm0, xmm1
comiss xmm2, xmm0
ja 0x180078d9c
jmp 0x180078d74
mov rdx, qword [0x18011a278]
mov rax, qword [0x18011a270]
cmp rax, rdx
jne 0x180078d9c
mov r8, qword [rsi]
add r8, 0x24
cmp rdx, qword [0x18011a280]
je 0x180078d97
movsd xmm0, qword [r8]
movsd qword [rdx], xmm0
mov eax, dword [r8 + 8]
mov dword [rdx + 8], eax
add qword [0x18011a278], 0xc
jmp 0x180078d9c
call fcn.180079550
movzx ecx, byte [rbx + 0x198]
test cl, cl
je 0x180078db3
lea rcx, [rbx + 0x1a0]
call fcn.180079240
lea rcx, [rsp + 0x40]
call fcn.180066f20
movss xmm0, dword [0x180117330]
xorps xmm1, xmm1
mulss xmm0, dword [0x1800ffe50]
mov rcx, qword [rax]
mov rax, r14
sub rcx, qword [rbx + 0x190]
mov r14, qword [rsp + 0x20]
imul rcx
sar rdx, 0x12
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cvtsi2ss xmm1, rdx
comiss xmm1, xmm0
jb 0x180078e96
cmp byte [0x18011a150], 0
mov byte [0x18011a160], 0
je 0x180078e18
mov byte [0x18011a150], 0
mov byte [rbx + 0x199], 0
jmp 0x180078e96
movzx eax, byte [rbx + 0x198]
test al, al
jne 0x180078e55
movzx eax, byte [rbx + 0x198]
test al, al
jne 0x180078e55
mov qword [rsp + 0x40], 1
lea rcx, [rsp + 0x40]
call fcn.180065060
movzx eax, byte [rbx + 0x198]
test al, al
je 0x180078e40
mov rax, qword [rbx + 0x1a0]
cmp rax, qword [rbx + 0x1a8]
je 0x180078e6c
mov qword [rbx + 0x1a8], rax
mov rax, qword [0x18011a270]
cmp rax, qword [0x18011a278]
je 0x180078e83
mov qword [0x18011a278], rax
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x40], 0xa
call fcn.180065060
movzx eax, byte [0x18011a0d5]
mov rdi, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x48]
test al, al
jne 0x180078f3c
mov ecx, dword [0x18011a28c]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x180078efd
cmp byte [rbx + 0x199], 0
je 0x180078efd
cmp byte [0x18011a289], 0
mov byte [0x18011a160], 1
je 0x180078ee0
mov byte [0x18011a150], 1
lea rcx, [rsp + 0x40]
call fcn.180066f20
mov rcx, qword [rax]
mov qword [rbx + 0x190], rcx
mov byte [rbx + 0x199], 0
jmp 0x180078f3c
mov ecx, dword [0x18011a28c]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jne 0x180078f3c
cmp byte [0x18011a150], al
mov byte [0x18011a160], al
je 0x180078f22
mov byte [0x18011a150], al
lea rcx, [rsp + 0x40]
mov byte [rbx + 0x199], 1
mov qword [rsp + 0x40], 0xa
call fcn.180065060
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x40], 1
call fcn.180065060
add rsp, 0x28
pop rsi
pop rbx
ret