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

Disassembly:
mov r11, rsp
push rbp
lea rbp, [r11 - 0x78]
sub rsp, 0x170
mov rax, qword [0x1801007a0]
xor rax, rsp
mov qword [rbp - 0x40], rax
cmp byte [0x180174e30], 0
je 0x180019fcb
mov qword [r11 + 8], rbx
movabs rax, 0x4f8644af03d0e0d6
mov qword [r11 + 0x18], rdi
mov qword [r11 - 0x18], r15
xor r15d, r15d
mov dword [0x18011a818], r15d
mov dword [0x18011a828], r15d
mov qword [0x180177578], rax
call fcn.18002d330
mov ebx, dword [rax]
movabs rax, 0xd80958fc74e988a6
mov qword [0x180177578], rax
mov dword [0x18011a818], r15d
mov dword [0x18011a828], r15d
call fcn.18002d330
lea ecx, [r15 + 0x6b]
mov edi, dword [rax]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x180019fb3
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [0x180174e7c]
add ecx, 0x96
cmp ecx, eax
jae 0x180019fb3
movabs rax, 0x49c32d60007afa47
mov qword [rsp + 0x70], r15
mov qword [0x180177578], rax
mov dword [rsp + 0x70], ebx
mov rax, qword [rsp + 0x70]
mov qword [0x18011a8f0], rax
mov dword [0x18011a828], r15d
mov dword [0x18011a818], 1
call fcn.18002d330
cmp dword [rax], r15d
je 0x180019fb3
movabs rax, 0x997abd671d25ca0b
mov qword [rsp + 0x70], r15
mov qword [0x180177578], rax
mov dword [rsp + 0x70], edi
mov rax, qword [rsp + 0x70]
mov qword [0x18011a8f0], rax
mov dword [0x18011a828], r15d
mov qword [0x18011a8f8], r15
mov dword [0x18011a818], 2
call fcn.18002d330
cmp dword [rax], r15d
je 0x180019fb3
mov qword [rsp + 0x188], rsi
movabs rax, 0x6094ad011a2ea87d
mov qword [rsp + 0x168], r14
movaps xmmword [rsp + 0x150], xmm6
movaps xmmword [rsp + 0x140], xmm7
movaps xmmword [rsp + 0x130], xmm8
movaps xmmword [rsp + 0x120], xmm9
movaps xmmword [rsp + 0x110], xmm10
movaps xmmword [rsp + 0x100], xmm11
mov qword [rsp + 0x70], r15
mov qword [0x180177578], rax
movaps xmmword [rsp + 0xf0], xmm12
mov dword [rsp + 0x70], edi
mov rax, qword [rsp + 0x70]
movaps xmmword [rsp + 0xe0], xmm13
movaps xmmword [rsp + 0xd0], xmm14
mov dword [0x18011a828], r15d
mov qword [0x18011a8f0], rax
mov dword [0x18011a818], 1
call fcn.18002d330
mov qword [rsp + 0x70], r15
mov esi, dword [rax]
movabs rax, 0x9f47b058362c84b5
mov qword [0x180177578], rax
mov dword [rsp + 0x70], esi
mov rax, qword [rsp + 0x70]
mov qword [0x18011a8f0], rax
mov dword [0x18011a828], r15d
mov dword [0x18011a818], 1
call fcn.18002d330
mov qword [rsp + 0x70], r15
mov ecx, dword [rax]
movabs rax, 0x3e8d3d5f549087a
mov qword [0x180177578], rax
mov dword [rsp + 0x70], ecx
mov rax, qword [rsp + 0x70]
mov qword [0x18011a8f0], rax
lea rax, [rbp - 0x58]
mov qword [0x18011a8f8], rax
lea rax, [rbp - 0x70]
mov qword [0x18011a900], rax
mov dword [0x18011a828], r15d
mov dword [0x18011a818], 3
call fcn.18002d330
movabs rax, 0xd24d37cc275948cc
mov dword [0x18011a828], r15d
mov qword [0x180177578], rax
lea rax, [0x1800b7eb8]
mov qword [0x18011a8f0], rax
mov dword [0x18011a818], 1
call fcn.18002d330
mov qword [rsp + 0x70], r15
movabs r14, 0x36e353271f0e90ee
mov qword [0x180177578], r14
mov ebx, dword [rax]
mov dword [rsp + 0x70], ebx
mov rax, qword [rsp + 0x70]
mov qword [0x18011a8f0], rax
mov dword [0x18011a828], r15d
mov dword [0x18011a818], 1
call fcn.18002d330
cmp dword [rax], r15d
jne 0x180019c20
mov qword [rsp + 0x70], r15
movabs rax, 0x5443438f033e29c3
mov qword [0x180177578], rax
mov dword [rsp + 0x70], ebx
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x70], r15
mov qword [0x18011a8f0], rax
mov dword [rsp + 0x70], 0x1f
mov rax, qword [rsp + 0x70]
mov qword [0x18011a8f8], rax
mov dword [0x18011a828], r15d
mov qword [0x18011a900], r15
mov dword [0x18011a818], 3
call fcn.18002d330
mov qword [rsp + 0x70], r15
mov dword [rsp + 0x70], ebx
mov rax, qword [rsp + 0x70]
mov qword [0x18011a8f0], rax
mov dword [0x18011a828], r15d
mov qword [0x180177578], r14
mov dword [0x18011a818], 1
call fcn.18002d330
cmp dword [rax], r15d
jne 0x180019c20
nop
call qword [sym.imp.WINMM.dll_timeGetTime]
mov rcx, qword [0x180174f80]
mov dword [0x180174f14], eax
call qword [sym.imp.KERNEL32.dll_SwitchToFiber]
mov qword [rsp + 0x70], r15
mov dword [rsp + 0x70], ebx
mov rax, qword [rsp + 0x70]
mov qword [0x18011a8f0], rax
mov dword [0x18011a828], r15d
mov qword [0x180177578], r14
mov dword [0x18011a818], 1
call fcn.18002d330
cmp dword [rax], r15d
je 0x180019bd0
movss xmm0, dword [rbp - 0x70]
movabs r14, 0x1899f328b0e12848
addss xmm0, dword [0x1800d6e44]
mov qword [rsp + 0x70], r15
mov dword [rsp + 0x70], esi
mov rax, qword [rsp + 0x70]
mov qword [0x18011a8f0], rax
xorps xmm0, xmmword [0x1800db140]
mov qword [rsp + 0x70], r15
movss dword [rsp + 0x70], xmm0
mov rax, qword [rsp + 0x70]
movss xmm0, dword [rbp - 0x68]
addss xmm0, dword [0x1800d6ee8]
mov qword [rsp + 0x70], r15
mov qword [0x18011a8f8], rax
mov dword [0x18011a828], r15d
mov qword [0x180177578], r14
movss dword [rsp + 0x70], xmm0
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x70], r15
mov qword [0x18011a900], rax
mov dword [rsp + 0x70], 0x3dcccccd
mov rax, qword [rsp + 0x70]
mov qword [0x18011a908], rax
mov dword [0x18011a818], 4
call fcn.18002d330
movss xmm0, dword [rbp - 0x70]
addss xmm0, dword [0x1800d6e44]
mov qword [rsp + 0x70], r15
movups xmm14, xmmword [rax]
mov dword [rsp + 0x70], esi
movsd xmm12, qword [rax + 0x10]
mov rax, qword [rsp + 0x70]
mov qword [0x18011a8f0], rax
mov qword [rsp + 0x70], r15
movss dword [rsp + 0x70], xmm0
mov rax, qword [rsp + 0x70]
movss xmm0, dword [rbp - 0x68]
addss xmm0, dword [0x1800d6ee8]
mov qword [rsp + 0x70], r15
mov qword [0x18011a8f8], rax
mov dword [0x18011a828], r15d
mov qword [0x180177578], r14
movss dword [rsp + 0x70], xmm0
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x70], r15
mov qword [0x18011a900], rax
mov dword [rsp + 0x70], 0x3dcccccd
mov rax, qword [rsp + 0x70]
mov qword [0x18011a908], rax
mov dword [0x18011a818], 4
call fcn.18002d330
movss xmm0, dword [rbp - 0x70]
xorps xmm0, xmmword [0x1800db140]
mov qword [rsp + 0x70], r15
movups xmm13, xmmword [rax]
mov dword [rsp + 0x70], esi
movsd xmm11, qword [rax + 0x10]
mov rax, qword [rsp + 0x70]
mov qword [0x18011a8f0], rax
mov qword [rsp + 0x70], r15
movss dword [rsp + 0x70], xmm0
mov rax, qword [rsp + 0x70]
movss xmm0, dword [rbp - 0x68]
addss xmm0, dword [0x1800d7b5c]
mov qword [rsp + 0x70], r15
mov qword [0x18011a8f8], rax
mov dword [0x18011a828], r15d
mov qword [0x180177578], r14
movss dword [rsp + 0x70], xmm0
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x70], r15
mov qword [0x18011a900], rax
mov dword [rsp + 0x70], 0x3dcccccd
mov rax, qword [rsp + 0x70]
mov qword [0x18011a908], rax
mov dword [0x18011a818], 4
call fcn.18002d330
movups xmm10, xmmword [rax]
movsd xmm8, qword [rax + 0x10]
mov dword [0x18011a828], r15d
movss xmm0, dword [rbp - 0x70]
mov qword [rsp + 0x70], r15
mov dword [rsp + 0x70], esi
mov rax, qword [rsp + 0x70]
mov qword [0x18011a8f0], rax
mov qword [rsp + 0x70], r15
movss dword [rsp + 0x70], xmm0
mov rax, qword [rsp + 0x70]
movss xmm0, dword [rbp - 0x68]
addss xmm0, dword [0x1800d7b5c]
mov qword [rsp + 0x70], r15
mov qword [0x18011a8f8], rax
mov qword [0x180177578], r14
mov dword [0x18011a818], 4
movss dword [rsp + 0x70], xmm0
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x70], r15
mov qword [0x18011a900], rax
mov dword [rsp + 0x70], 0x3dcccccd
mov rax, qword [rsp + 0x70]
mov qword [0x18011a908], rax
call fcn.18002d330
movss xmm6, dword [0x1800d8b90]
movaps xmm1, xmm10
movss dword [rsp + 0x60], xmm6
movaps xmm3, xmm10
mov dword [rsp + 0x58], r15d
movaps xmm2, xmm12
movups xmm9, xmmword [rax]
mov dword [rsp + 0x48], edi
movsd xmm7, qword [rax + 0x10]
movaps xmm0, xmm14
mov dword [rsp + 0x40], ebx
shufps xmm1, xmm10, 0xaa
mov dword [rsp + 0x38], 1
mov dword [rsp + 0x30], 0xfa
movss dword [rsp + 0x28], xmm8
movss dword [rsp + 0x20], xmm1
movaps xmm1, xmm14
shufps xmm1, xmm14, 0xaa
call fcn.1800205f0
movss dword [rsp + 0x60], xmm6
movaps xmm1, xmm9
mov dword [rsp + 0x58], r15d
movaps xmm3, xmm9
mov dword [rsp + 0x48], edi
movaps xmm2, xmm11
mov dword [rsp + 0x40], ebx
movaps xmm0, xmm13
shufps xmm1, xmm9, 0xaa
mov dword [rsp + 0x38], 1
mov dword [rsp + 0x30], 0xfa
movss dword [rsp + 0x28], xmm7
movss dword [rsp + 0x20], xmm1
movaps xmm1, xmm13
shufps xmm1, xmm13, 0xaa
call fcn.1800205f0
call qword [sym.imp.KERNEL32.dll_GetTickCount]
movaps xmm14, xmmword [rsp + 0xd0]
movaps xmm13, xmmword [rsp + 0xe0]
movaps xmm12, xmmword [rsp + 0xf0]
movaps xmm11, xmmword [rsp + 0x100]
movaps xmm10, xmmword [rsp + 0x110]
movaps xmm9, xmmword [rsp + 0x120]
movaps xmm8, xmmword [rsp + 0x130]
movaps xmm7, xmmword [rsp + 0x140]
movaps xmm6, xmmword [rsp + 0x150]
mov r14, qword [rsp + 0x168]
mov rsi, qword [rsp + 0x188]
mov dword [0x180174e7c], eax
mov rdi, qword [rsp + 0x190]
mov rbx, qword [rsp + 0x180]
mov r15, qword [rsp + 0x160]
mov rcx, qword [rbp - 0x40]
xor rcx, rsp
call fcn.1800a8bf0
add rsp, 0x170
pop rbp
ret