Function at 0x180019d70
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rdi
push r15
sub rsp, 0x60
movss xmm0, dword [0x18033a84c]
mov ebp, dword [0x18033a014]
movaps xmmword [rsp + 0x30], xmm8
xorps xmm8, xmm8
ucomiss xmm0, xmm8
mov r15d, 4
mov qword [rsp + 0x88], rsi
mov ebx, r15d
jne 0x180019e27
mov rax, qword [0x18033a700]
add rax, 0x6da470
call rax
mov rdi, rax
test rax, rax
jne 0x180019dc8
xorps xmm0, xmm0
jmp 0x180019e1f
mov rax, qword gs:[0x58]
mov rcx, qword [rax + rbp*8]
mov eax, dword [r15 + rcx]
cmp dword [0x180370850], eax
jle 0x180019e13
lea rcx, [0x180370850]
call fcn.180080fa8
cmp dword [0x180370850], 0xffffffff
jne 0x180019e13
mov ecx, 0xc566d10
call fcn.18000e680
lea rcx, [0x180370850]
mov qword [0x180370718], rax
call fcn.180080f3c
mov rax, qword [0x180370718]
movss xmm0, dword [rax + rdi]
movss dword [0x18033a84c], xmm0
mov rax, qword [0x18033a700]
add rax, 0x6da470
call rax
mov rcx, rax
call fcn.180014490
cmp byte [0x18033a7d3], 0
mov rdi, rax
je 0x18001a0e0
mov qword [rsp + 0x90], r14
test rax, rax
je 0x180019f1e
mov rcx, qword gs:[0x58]
mov rdx, qword [rcx + rbp*8]
mov ecx, dword [r15 + rdx]
cmp dword [0x180370780], ecx
jle 0x180019eaa
lea rcx, [0x180370780]
call fcn.180080fa8
cmp dword [0x180370780], 0xffffffff
jne 0x180019eaa
mov ecx, 0x754c7fa7
call fcn.18000e680
lea rcx, [0x180370780]
mov qword [0x180370da8], rax
call fcn.180080f3c
mov rax, qword [0x180370da8]
mov rsi, qword [rax + rdi]
test rsi, rsi
je 0x180019f1e
mov rax, qword gs:[0x58]
mov rcx, qword [rax + rbp*8]
mov eax, dword [r15 + rcx]
cmp dword [0x180370a64], eax
jle 0x180019f05
lea rcx, [0x180370a64]
call fcn.180080fa8
cmp dword [0x180370a64], 0xffffffff
jne 0x180019f05
mov ecx, 0xcf6c2c0b
call fcn.18000e680
lea rcx, [0x180370a64]
mov qword [0x180370a18], rax
call fcn.180080f3c
mov rax, qword [0x180370a18]
mov r14, rbx
cmp dword [rsi + rax], 0x40547fde
je 0x180019fe8
jmp 0x180019f21
mov r14, rbx
test rdi, rdi
je 0x18001a0d8
mov rax, qword gs:[0x58]
mov rcx, qword [rax + rbp*8]
mov eax, dword [r15 + rcx]
cmp dword [0x180370780], eax
jle 0x180019f75
lea rcx, [0x180370780]
call fcn.180080fa8
cmp dword [0x180370780], 0xffffffff
jne 0x180019f75
mov ecx, 0x754c7fa7
call fcn.18000e680
lea rcx, [0x180370780]
mov qword [0x180370da8], rax
call fcn.180080f3c
mov rax, qword [0x180370da8]
mov rdi, qword [rax + rdi]
test rdi, rdi
je 0x18001a0d8
mov rax, qword gs:[0x58]
mov rcx, qword [rax + rbp*8]
mov eax, dword [r15 + rcx]
cmp dword [0x180370a64], eax
jle 0x180019fd4
lea rcx, [0x180370a64]
call fcn.180080fa8
cmp dword [0x180370a64], 0xffffffff
jne 0x180019fd4
mov ecx, 0xcf6c2c0b
call fcn.18000e680
lea rcx, [0x180370a64]
mov qword [0x180370a18], rax
call fcn.180080f3c
mov rax, qword [0x180370a18]
cmp dword [rdi + rax], 0x847b9bf0
jne 0x18001a0d8
mov rax, qword [0x18033a700]
add rax, 0x6da470
call rax
mov rbx, rax
test rax, rax
je 0x18001a05f
mov rcx, qword gs:[0x58]
mov rdx, qword [rcx + rbp*8]
mov ecx, dword [r14 + rdx]
cmp dword [0x180370d9c], ecx
jle 0x18001a04a
lea rcx, [0x180370d9c]
call fcn.180080fa8
cmp dword [0x180370d9c], 0xffffffff
jne 0x18001a04a
mov ecx, 0x43f29029
call fcn.18000e680
lea rcx, [0x180370d9c]
mov qword [0x180370b78], rax
call fcn.180080f3c
mov rax, qword [0x180370b78]
movss xmm0, dword [rbx + rax]
comiss xmm0, dword [0x18027267c]
jae 0x18001a0d8
mov rax, qword [0x18033a700]
add rax, 0x6da470
call rax
mov rcx, rax
call fcn.180041b20
mov rcx, qword [0x18033a700]
mov rbx, rax
add rcx, 0x6da470
call rcx
mov rcx, rax
call fcn.180013dc0
movss xmm0, dword [0x18033a84c]
addss xmm0, dword [0x1802721e8]
comiss xmm0, dword [rax]
jae 0x18001a0d8
lea rdx, str.UseSelf
mov rcx, rbx
call fcn.1800128c0
mov rax, qword [0x18033a700]
add rax, 0x6da470
call rax
mov rcx, rax
call fcn.180013dc0
movss xmm0, dword [rax]
movss dword [0x18033a84c], xmm0
mov r14, qword [rsp + 0x90]
mov rcx, qword [0x18033a700]
xor esi, esi
add rcx, 0x31b2358
movabs rdi, 0x7fffffff0000
cmp rcx, 0x40000
jbe 0x18001a12d
lea rax, [rcx + 8]
cmp rax, rdi
jae 0x18001a12d
mov rbx, qword [rcx]
add rbx, 0xb8
cmp rbx, 0x40000
jbe 0x18001a12d
lea rax, [rbx + 8]
cmp rax, rdi
jae 0x18001a12d
mov rbx, qword [rbx]
jmp 0x18001a130
mov rbx, rsi
cmp byte [0x18033a782], sil
je 0x18001a168
mov ecx, dword [0x18033a810]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x18001a168
lea rcx, [rbx + 0x18]
cmp rcx, 0x40000
jbe 0x18001a18a
lea rax, [rcx + 4]
cmp rax, rdi
jae 0x18001a18a
mov dword [rcx], 0x41200000
jmp 0x18001a18a
lea rcx, [rbx + 0x18]
cmp rcx, 0x40000
jbe 0x18001a18a
lea rax, [rcx + 4]
cmp rax, rdi
jae 0x18001a18a
movss xmm0, dword [0x1802863cc]
movss dword [rcx], xmm0
cmp byte [0x18033a7e0], sil
je 0x18001a198
call fcn.1800137e0
cmp byte [0x18033a7de], sil
je 0x18001a204
mov rax, qword [0x18033a700]
add rax, 0x6da470
call rax
add rax, 0x4e8
cmp rax, 0x40000
jbe 0x18001a204
lea rcx, [rax + 8]
cmp rcx, rdi
jae 0x18001a204
mov rcx, qword [rax]
mov rdx, rcx
lea r8, [rcx + 0xc4]
cmp r8, 0x40000
jbe 0x18001a1e9
lea rax, [r8 + 4]
cmp rax, rdi
jae 0x18001a1e9
mov dword [r8], esi
lea rcx, [rdx + 0xc8]
cmp rcx, 0x40000
jbe 0x18001a204
lea rax, [rcx + 4]
cmp rax, rdi
jae 0x18001a204
mov dword [rcx], esi
cmp byte [0x18033a7e1], 0
mov rsi, qword [rsp + 0x88]
je 0x18001a25d
mov rax, qword [0x18033a700]
add rax, 0x6da470
call rax
lea rcx, [rax + 0x678]
cmp rcx, 0x40000
jbe 0x18001a25d
lea rax, [rcx + 4]
cmp rax, rdi
jae 0x18001a244
mov edx, dword [rcx]
or edx, 4
jmp 0x18001a25b
cmp rcx, 0x40000
jbe 0x18001a25d
lea rax, [rcx + 4]
mov edx, 4
cmp rax, rdi
jae 0x18001a25d
mov dword [rcx], edx
cmp byte [0x18033a7d2], 0
je 0x18001a2d2
mov rax, qword [0x18033a700]
add rax, 0x6da470
call rax
mov rcx, qword [0x18033a700]
add rcx, 0x31adef8
cmp rcx, 0x40000
jbe 0x18001a2d2
lea rax, [rcx + 8]
cmp rax, rdi
jae 0x18001a2d2
mov rcx, qword [rcx]
add rcx, 0xb8
cmp rcx, 0x40000
jbe 0x18001a2d2
lea rax, [rcx + 8]
cmp rax, rdi
jae 0x18001a2d2
mov rcx, qword [rcx]
cmp rcx, 0x40000
jbe 0x18001a2d2
lea rax, [rcx + 4]
cmp rax, rdi
jae 0x18001a2d2
movss xmm0, dword [0x1802863c8]
movss dword [rcx], xmm0
cmp byte [0x18033a7d1], 0
je 0x18001a2e0
call fcn.1800137e0
cmp byte [0x18033a7ee], 0
je 0x18001a4b4
mov ecx, dword [0x18033a820]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x18001a4b4
mov rax, qword [0x18033a700]
movaps xmmword [rsp + 0x50], xmm6
add rax, 0x6da470
movaps xmmword [rsp + 0x40], xmm7
call rax
mov edx, dword [0x180370df8]
mov rdi, rax
test edx, edx
je 0x18001a33d
sub edx, 1
je 0x18001a33d
cmp edx, 1
je 0x18001a33d
movss xmm6, dword [rsp + 0x80]
jmp 0x18001a346
call qword [0x180370df0]
movaps xmm6, xmm0
test rdi, rdi
jne 0x18001a350
xorps xmm0, xmm0
jmp 0x18001a3a7
mov rax, qword gs:[0x58]
mov rdx, qword [rax + rbp*8]
mov eax, dword [r15 + rdx]
cmp dword [0x180370850], eax
jle 0x18001a39b
lea rcx, [0x180370850]
call fcn.180080fa8
cmp dword [0x180370850], 0xffffffff
jne 0x18001a39b
mov ecx, 0xc566d10
call fcn.18000e680
lea rcx, [0x180370850]
mov qword [0x180370718], rax
call fcn.180080f3c
mov rax, qword [0x180370718]
movss xmm0, dword [rdi + rax]
subss xmm6, xmm0
mov rcx, rdi
subss xmm6, dword [0x1802720e0]
call fcn.180014280
mulss xmm6, dword [0x180272438]
movaps xmm7, xmm0
addss xmm6, dword [0x180272128]
mulss xmm7, xmm6
movaps xmm6, xmmword [rsp + 0x50]
addss xmm7, dword [0x1802720b8]
test rdi, rdi
je 0x18001a49a
mov rax, qword gs:[0x58]
mov rcx, qword [rax + rbp*8]
mov eax, dword [r15 + rcx]
cmp dword [0x180370944], eax
jle 0x18001a433
lea rcx, [0x180370944]
call fcn.180080fa8
cmp dword [0x180370944], 0xffffffff
jne 0x18001a433
mov ecx, 0x6d5c7dd2
call fcn.18000e680
lea rcx, [0x180370944]
mov qword [0x180370d30], rax
call fcn.180080f3c
mov rax, qword [0x180370d30]
mov rdi, qword [rdi + rax]
test rdi, rdi
je 0x18001a49a
mov rax, qword gs:[0x58]
mov rcx, qword [rax + rbp*8]
mov eax, dword [r15 + rcx]
cmp dword [0x180370890], eax
jle 0x18001a48e
lea rcx, [0x180370890]
call fcn.180080fa8
cmp dword [0x180370890], 0xffffffff
jne 0x18001a48e
mov ecx, 0x7cd71351
call fcn.18000e680
lea rcx, [0x180370890]
mov qword [0x1803708d0], rax
call fcn.180080f3c
mov rcx, qword [0x1803708d0]
add rcx, rdi
jmp 0x18001a49f
lea rcx, [rsp + 0x20]
xorps xmm0, xmm0
unpcklps xmm0, xmm7
movaps xmm7, xmmword [rsp + 0x40]
movsd qword [rcx], xmm0
movss dword [rcx + 8], xmm8
mov rbx, qword [rsp + 0x98]
movaps xmm8, xmmword [rsp + 0x30]
add rsp, 0x60
pop r15
pop rdi
pop rbp
ret