Function at 0x180004060
Capabilities:
Check for time delay via gettickcount
Log keystrokes via polling

Disassembly:
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xa0
mov qword [rbp + 0x17], 0xfffffffffffffffe
mov qword [rsp + 0xe8], rbx
mov rax, qword [0x180022028]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov rsi, r8
mov r14, rcx
mov qword [rbp - 0x39], rdx
mov rcx, qword [0x180024d28]
mov rax, qword [rcx + 8]
mov rbx, rcx
cmp byte [rax + 0x19], 0
jne 0x1800040c8
cmp qword [rax + 0x20], rdx
jae 0x1800040bc
mov rax, qword [rax + 0x10]
jmp 0x1800040c2
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x1800040b0
cmp rbx, rcx
je 0x1800040d3
cmp rdx, qword [rbx + 0x20]
jae 0x180004108
lea rax, [rbp - 0x39]
mov qword [rbp - 1], rax
lea r8, [rbp - 1]
call fcn.1800057b0
lea r9, [rax + 0x20]
mov qword [rsp + 0x20], rax
mov r8, rbx
lea rdx, [rbp - 0x11]
call fcn.1800057f0
mov rbx, qword [rbp - 0x11]
mov rdx, qword [rbp - 0x39]
mov rcx, qword [0x180024d28]
mov rdi, qword [rbx + 0x28]
xor r15d, r15d
test rdi, rdi
jne 0x1800041c3
mov ecx, 0x120
call fcn.180006b84
mov qword [rbp - 0x19], rax
test rax, rax
je 0x180004142
mov r9, rsi
mov r8, r14
mov rdx, qword [rbp - 0x39]
mov rcx, rax
call fcn.180002490
mov rdi, rax
jmp 0x180004145
mov rdi, r15
mov rdx, qword [0x180024d28]
mov rax, qword [rdx + 8]
mov rbx, rdx
mov rcx, qword [rbp - 0x39]
cmp byte [rax + 0x19], 0
jne 0x180004178
nop dword [rax]
cmp qword [rax + 0x20], rcx
jae 0x18000416c
mov rax, qword [rax + 0x10]
jmp 0x180004172
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x180004160
cmp rbx, rdx
je 0x180004183
cmp rcx, qword [rbx + 0x20]
jae 0x1800041ad
lea rax, [rbp - 0x39]
mov qword [rbp + 0xf], rax
lea r8, [rbp + 0xf]
call fcn.1800057b0
lea r9, [rax + 0x20]
mov qword [rsp + 0x20], rax
mov r8, rbx
lea rdx, [rbp + 7]
call fcn.1800057f0
mov rbx, qword [rbp + 7]
mov qword [rbx + 0x28], rdi
mov qword [0x180024d18], rsi
mov rdx, qword [rbp - 0x39]
mov rcx, qword [0x180024d28]
mov dword [0x180024d14], 1
mov rax, qword [rcx + 8]
mov rbx, rcx
cmp byte [rax + 0x19], 0
jne 0x1800041f8
nop word [rax + rax]
cmp qword [rax + 0x20], rdx
jae 0x1800041ec
mov rax, qword [rax + 0x10]
jmp 0x1800041f2
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x1800041e0
cmp rbx, rcx
je 0x180004203
cmp rdx, qword [rbx + 0x20]
jae 0x18000422d
lea rax, [rbp - 0x39]
mov qword [rbp - 9], rax
lea r8, [rbp - 9]
call fcn.1800057b0
lea r9, [rax + 0x20]
mov qword [rsp + 0x20], rax
mov r8, rbx
lea rdx, [rbp - 0x19]
call fcn.1800057f0
mov rbx, qword [rbp - 0x19]
mov rcx, qword [rbx + 0x28]
call fcn.180002d40
mov dword [0x180024d14], r15d
mov qword [0x180024d20], rdi
cmp dword [rdi + 0xcc], 0
je 0x18000427b
mov eax, dword [rdi + 0xc4]
mov rcx, qword [0x180024d18]
mov dword [rcx + 0x468], eax
mov dword [rcx + 0x478], r15d
mov rcx, qword [rcx + 0x45c]
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov dword [rdi + 0xcc], r15d
mov rax, qword [0x180024d18]
mov ecx, dword [rax + 0x478]
test ecx, ecx
je 0x1800044ab
mov rax, qword [0x180024d18]
mov ecx, dword [rax + 0x454]
mov ebx, 0x8000
test ecx, ecx
je 0x1800042fd
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [rdi + 0xc8]
add ecx, 0xfa
cmp eax, ecx
jbe 0x1800042fd
mov rax, qword [0x180024d18]
mov ecx, dword [rax + 0x454]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
jne 0x1800042db
test bx, ax
mov eax, r15d
je 0x1800042e0
mov eax, 1
mov dword [rdi + 0xcc], eax
mov dword [rdi + 0xd0], r15d
test eax, eax
je 0x1800042fd
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rdi + 0xc8], eax
cmp dword [rdi + 0xcc], 0
jne 0x180004439
mov rax, qword [0x180024d18]
mov ecx, dword [rax + 0x458]
test ecx, ecx
je 0x180004430
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [rdi + 0xc8]
add ecx, 0xfa
cmp eax, ecx
jbe 0x180004430
mov rax, qword [0x180024d18]
mov ecx, dword [rax + 0x428]
test ecx, ecx
je 0x180004430
mov rax, qword [0x180024d18]
mov ecx, dword [rax + 0x458]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
jne 0x18000436d
test bx, ax
mov eax, r15d
je 0x180004372
mov eax, 1
mov dword [rdi + 0xcc], eax
test eax, eax
je 0x180004430
mov dword [rdi + 0xd0], 1
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rdi + 0xc8], eax
lea rcx, [rbp - 0x29]
call qword [sym.imp.USER32.dll_GetCursorPos]
mov rax, qword [0x180024d18]
mov ecx, dword [rax + 0x428]
lea rdx, [rbp - 0x29]
call qword [sym.imp.USER32.dll_ScreenToClient]
mov rax, qword [rbp - 0x29]
mov qword [rdi + 0xd4], rax
mov rax, qword [0x180024d18]
mov ecx, dword [rax + 0x428]
lea rdx, [rdi + 0xe4]
call qword [sym.imp.USER32.dll_GetClientRect]
movd xmm1, dword [rdi + 0xd4]
cvtdq2ps xmm1, xmm1
mov eax, dword [rdi + 0xec]
sub eax, dword [rdi + 0xe4]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
movss dword [rdi + 0xdc], xmm1
movd xmm2, dword [rdi + 0xd8]
cvtdq2ps xmm2, xmm2
mov eax, dword [rdi + 0xf0]
sub eax, dword [rdi + 0xe8]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm2, xmm0
movss dword [rdi + 0xe0], xmm2
cmp dword [rdi + 0xcc], 0
je 0x1800044ab
mov qword [rbp - 0x31], r15
mov rcx, qword [rbp - 0x39]
mov rax, qword [rcx]
lea rdx, [rbp - 0x21]
call qword [rax + 0x140]
mov dword [0x180024d10], 1
mov rcx, qword [rbp - 0x21]
mov rax, qword [rcx]
xor r9d, r9d
lea r8, [rbp - 0x31]
lea edx, [r9 + 1]
call qword [rax + 0x2c8]
cmp qword [rbp - 0x31], 0
je 0x1800044a4
movaps xmm0, xmmword [0x18001e840]
movups xmmword [rbp + 0x1f], xmm0
mov rcx, qword [rbp - 0x21]
mov rax, qword [rcx]
lea r8, [rbp + 0x1f]
mov rdx, qword [rdi + 0x118]
call qword [rax + 0x190]
mov rcx, qword [rbp - 0x31]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov dword [rdi + 0xc4], r15d
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.180006780
mov rbx, qword [rsp + 0xe8]
add rsp, 0xa0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret