Function at 0x180079870
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x90
mov rbx, rcx
mov ebp, 0x10
mov ecx, ebp
mov rsi, rdx
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
mov r8, qword [rbx + 0x78]
movzx edi, ax
cmp byte [r8], 0
jne 0x18007991a
test ax, ax
je 0x1800798f5
cmp byte [rbx + 0x1a9], 0
mov byte [rbx + 0x1a8], 0
je 0x1800798f5
xor eax, eax
mov dword [0x1801172e8], ebp
mov r8d, 0x28
mov qword [0x1801172f8], rax
lea rdx, [0x1801172e0]
mov qword [0x1801172ec], 2
mov ecx, 1
call qword [sym.imp.USER32.dll_SendInput]
mov byte [rbx + 0x1a9], 0
lea rcx, [rsp + 0xa0]
mov byte [rbx + 0x1aa], 0
mov qword [rsp + 0xa0], 0x64
call fcn.180065060
jmp 0x180079cd5
mov rcx, qword [rsi]
add rcx, 0x68
cmp qword [rcx + 0x18], 0xf
mov rdx, qword [rcx + 0x10]
jbe 0x18007992f
mov rcx, qword [rcx]
lea r9, str.tile
mov qword [rsp + 0x20], 4
call fcn.180065480
cmp rax, 0xffffffffffffffff
jne 0x1800799bd
test di, di
je 0x180079998
cmp byte [rbx + 0x1a9], 0
mov byte [rbx + 0x1a8], 0
je 0x180079998
xor eax, eax
mov dword [0x1801172e8], ebp
mov r8d, 0x28
mov qword [0x1801172f8], rax
lea rdx, [0x1801172e0]
mov qword [0x1801172ec], 2
mov ecx, 1
call qword [sym.imp.USER32.dll_SendInput]
mov byte [rbx + 0x1a9], 0
lea rcx, [rsp + 0xa0]
mov byte [rbx + 0x1aa], 0
mov qword [rsp + 0xa0], 0x32
call fcn.180065060
jmp 0x180079cd5
movzx eax, byte [0x18011a292]
test al, al
je 0x1800799e4
cmp byte [rbx + 0x1aa], 0
jne 0x1800799e4
test di, di
je 0x1800799e4
mov byte [rbx + 0x1aa], 1
movzx eax, byte [0x18011a292]
mov rcx, qword [rsi]
movss xmm0, dword [0x180117338]
comiss xmm0, dword [rcx + 0x44]
jbe 0x180079a68
test di, di
je 0x180079a43
cmp byte [rbx + 0x1a9], 0
mov byte [rbx + 0x1a8], 0
je 0x180079a43
xor eax, eax
mov dword [0x1801172e8], ebp
mov r8d, 0x28
mov qword [0x1801172f8], rax
lea rdx, [0x1801172e0]
mov qword [0x1801172ec], 2
mov ecx, 1
call qword [sym.imp.USER32.dll_SendInput]
mov byte [rbx + 0x1a9], 0
mov byte [rbx + 0x1aa], 0
lea rcx, [rsp + 0xa0]
mov qword [rsp + 0xa0], 1
call fcn.180065060
jmp 0x180079cd5
test al, al
je 0x180079a75
cmp byte [rbx + 0x1aa], 0
je 0x180079a4a
movsd xmm0, qword [rcx + 0x24]
lea r9, [rsp + 0x60]
movsd qword [rbx + 0x190], xmm0
lea r8, [rsp + 0x40]
mov eax, dword [rcx + 0x2c]
lea rdx, [rsp + 0x50]
mov rcx, qword [rbx + 0x180]
mov dword [rbx + 0x198], eax
movss xmm0, dword [rbx + 0x194]
addss xmm0, dword [0x1800ffcfc]
mov eax, dword [rbx + 0x1a4]
movaps xmmword [rsp + 0x80], xmm7
mov dword [rsp + 0x48], eax
movaps xmmword [rsp + 0x70], xmm8
xorps xmm8, xmm8
movss dword [rbx + 0x194], xmm0
movsd xmm0, qword [rbx + 0x19c]
mov eax, dword [rbx + 0x198]
movsd qword [rsp + 0x40], xmm0
movsd xmm0, qword [rbx + 0x190]
movsd qword [rsp + 0x50], xmm0
mov dword [rsp + 0x64], 0
mov dword [rsp + 0x58], eax
call fcn.180072ef0
mov rcx, qword [rsi]
mov edi, eax
movss xmm7, dword [rcx + 0x28]
subss xmm7, dword [rsp + 0x64]
subss xmm7, dword [0x1800ffcfc]
ucomiss xmm7, xmm8
jp 0x180079b28
je 0x180079b49
movd xmm0, dword [0x180117334]
cvtdq2ps xmm0, xmm0
comiss xmm0, xmm7
jb 0x180079b49
mov qword [rsp + 0xa0], 1
jmp 0x180079cba
movzx eax, byte [rbx + 0x1a8]
mov ecx, 0x20
mov byte [rbx + 0x1a9], al
mov byte [rbx + 0x1a8], 0
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x180079b76
mov byte [0x18011a291], 1
jmp 0x180079b7f
cmp byte [0x18011a291], 0
je 0x180079bf5
cmp byte [rbx + 0x1a9], 0
mov byte [rbx + 0x1a8], 0
je 0x180079bc8
xor eax, eax
mov dword [0x1801172e8], ebp
mov r8d, 0x28
mov qword [0x1801172f8], rax
lea rdx, [0x1801172e0]
mov qword [0x1801172ec], 2
mov ecx, 1
call qword [sym.imp.USER32.dll_SendInput]
mov byte [rbx + 0x1a9], 0
mov rax, qword [rsi]
movss xmm0, dword [0x1800ffe84]
comiss xmm0, dword [rax + 0x5c]
ja 0x180079be9
ucomiss xmm7, xmm8
jp 0x180079cc7
jne 0x180079cc7
mov byte [0x18011a291], 0
jmp 0x180079cc7
mov rax, qword [rsi]
movss xmm0, dword [rax + 0x5c]
andps xmm0, xmmword [0x1801002d0]
comiss xmm0, dword [0x1800ffcb4]
ja 0x180079c65
cvttss2si eax, xmm7
test eax, eax
jne 0x180079c1a
cmp edi, 2
jne 0x180079c65
cmp byte [rbx + 0x1a9], 0
mov byte [rbx + 0x1a8], 1
jne 0x180079cae
xor eax, eax
mov qword [0x1801172e8], rbp
mov r8d, 0x28
mov dword [0x1801172f0], eax
lea rdx, [0x1801172e0]
mov qword [0x1801172f8], rax
mov ecx, 1
call qword [sym.imp.USER32.dll_SendInput]
mov byte [rbx + 0x1a9], 1
jmp 0x180079cae
cmp byte [rbx + 0x1a9], 0
mov byte [rbx + 0x1a8], 0
je 0x180079cae
xor eax, eax
mov dword [0x1801172e8], ebp
mov r8d, 0x28
mov qword [0x1801172f8], rax
lea rdx, [0x1801172e0]
mov qword [0x1801172ec], 2
mov ecx, 1
call qword [sym.imp.USER32.dll_SendInput]
mov byte [rbx + 0x1a9], 0
mov qword [rsp + 0xa0], 0x14
lea rcx, [rsp + 0xa0]
call fcn.180065060
movaps xmm7, xmmword [rsp + 0x80]
movaps xmm8, xmmword [rsp + 0x70]
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret