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

Disassembly:
mov rax, rsp
mov byte [rax + 0x20], r9b
mov word [rax + 0x10], dx
push rbx
push rbp
push rdi
push r12
sub rsp, 0x88
mov qword [rax + 8], rsi
mov qword [rax - 0x28], r13
mov qword [rax - 0x30], r14
movzx esi, cl
mov qword [rax - 0x38], r15
movzx r14d, r8b
lea eax, [rsi - 1]
or r14b, r9b
movzx edi, r9b
movzx ebx, dx
cmp al, 5
ja 0x14001fa74
cmp cl, 3
jne 0x14001fa7b
lea eax, [rsi + 0x66]
cmp al, 5
ja 0x14001fa80
mov r13b, 1
jmp 0x14001fa83
xor r13b, r13b
mov eax, dword [rsp + 0xd0]
mov rbp, qword [rsp + 0xe8]
movzx r15d, byte [rsp + 0xe0]
mov r12d, 0x8000
test eax, eax
jle 0x14001fd37
mov r12d, eax
xor edi, edi
nop
cmp dword [0x1401405f0], 0
jne 0x14001fb18
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov rcx, qword [0x14013b0f8]
sub eax, dword [0x140143d4c]
cmp eax, dword [rcx + 0x118]
jbe 0x14001fb1f
lea rcx, [rsp + 0x40]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov dword [rsp + 0x20], edi
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x14001fb0c
mov edx, 1
or ecx, 0xffffffff
mov dword [0x14013b0c8], edi
call fcn.140001b80
mov dword [0x14013b0c8], 1
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x140143d4c], eax
mov rcx, qword [0x14013b0f8]
test r15b, r15b
jne 0x14001fca8
movzx eax, byte [rcx + 0x136]
test al, al
je 0x14001fb3f
movzx eax, al
mov edi, 0xffc3d44d
sub edi, eax
jmp 0x14001fb44
mov edi, 0xffc3d44f
cmp dword [0x1401405f0], 0
je 0x14001fb59
movzx ebx, byte [0x14013e4ab]
jmp 0x14001fc7c
cmp qword [0x14013f848], 0
je 0x14001fb6f
movzx ebx, byte [0x14013f65f]
jmp 0x14001fc7c
mov ecx, 0xa0
xor bl, bl
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0x8000
movzx ebx, bl
test cx, ax
mov eax, reloc.WSOCK32.dll_recv
mov ecx, 0xa1
cmovne ebx, eax
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0x8000
test cx, ax
je 0x14001fba7
or bl, 0x20
mov ecx, 0xa2
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0x8000
test cx, ax
je 0x14001fbbf
or bl, 1
mov ecx, 0xa3
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0x8000
test cx, ax
je 0x14001fbd7
or bl, 2
mov ecx, 0xa4
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0x8000
test cx, ax
je 0x14001fbef
or bl, 4
mov ecx, 0xa5
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0x8000
test cx, ax
je 0x14001fc07
or bl, 8
mov ecx, 0x5b
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0x8000
test cx, ax
je 0x14001fc1f
or bl, 0x40
mov ecx, 0x5c
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0x8000
test cx, ax
je 0x14001fc37
or bl, 0x80
cmp qword [0x14013f848], 0
je 0x14001fc7c
movzx ecx, byte [0x14013f65f]
movzx eax, bl
not al
and al, cl
je 0x14001fc7c
movzx edx, byte [0x14013f6f3]
not al
and byte [0x14013f6f2], al
and cl, al
and dl, al
mov byte [0x14013f65f], cl
lea rcx, [0x14013f740]
mov byte [0x14013f6f3], dl
call fcn.1400232d0
xor r9d, r9d
mov r8, rbp
movzx edx, bl
movzx ecx, r14b
mov dword [rsp + 0x28], edi
mov byte [rsp + 0x20], 1
call fcn.140022950
mov rcx, qword [0x14013b0f8]
movzx ebx, word [rsp + 0xb8]
xor edi, edi
test r13b, r13b
je 0x14001fcf2
test rbp, rbp
jne 0x14001fcf2
movzx eax, byte [rcx + 0x12f]
movzx ecx, byte [rsp + 0x100]
mov r8d, dword [rsp + 0xf8]
mov edx, dword [rsp + 0xf0]
mov byte [rsp + 0x30], cl
mov ecx, dword [rsp + 0xd8]
mov dword [rsp + 0x28], ecx
lea r9d, [rbp + 1]
movzx ecx, sil
mov dword [rsp + 0x20], eax
call fcn.1400217b0
jmp 0x14001fd20
movzx eax, byte [rcx + 0x136]
mov ecx, 0xffc3d44d
mov r9, rbp
sub ecx, eax
movzx r8d, bx
movzx edx, sil
mov dword [rsp + 0x28], ecx
mov ecx, dword [rsp + 0xd8]
mov byte [rsp + 0x20], 1
call fcn.140020440
dec r12
jne 0x14001fab0
movzx edi, byte [rsp + 0xc8]
mov r12d, 0x8000
mov r14, qword [rsp + 0x78]
mov r13, qword [rsp + 0x80]
mov rsi, qword [rsp + 0xb0]
test r15b, r15b
mov r15, qword [rsp + 0x70]
jne 0x14001fea2
cmp dword [0x1401405f0], 0
je 0x14001fd6f
movzx ebx, byte [0x14013e4ab]
jmp 0x14001fe76
cmp qword [0x14013f848], 0
je 0x14001fd85
movzx ebx, byte [0x14013f65f]
jmp 0x14001fe76
mov ecx, 0xa0
xor bl, bl
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
movzx ebx, bl
mov ecx, 0xa1
test r12w, ax
mov eax, reloc.WSOCK32.dll_recv
cmovne ebx, eax
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test r12w, ax
je 0x14001fdb5
or bl, 0x20
mov ecx, 0xa2
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test r12w, ax
je 0x14001fdc9
or bl, 1
mov ecx, 0xa3
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test r12w, ax
je 0x14001fddd
or bl, 2
mov ecx, 0xa4
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test r12w, ax
je 0x14001fdf1
or bl, 4
mov ecx, 0xa5
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test r12w, ax
je 0x14001fe05
or bl, 8
mov ecx, 0x5b
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test r12w, ax
je 0x14001fe19
or bl, 0x40
mov ecx, 0x5c
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test r12w, ax
je 0x14001fe2d
or bl, 0x80
cmp qword [0x14013f848], 0
je 0x14001fe76
movzx r8d, byte [0x14013f65f]
movzx eax, bl
not al
and al, r8b
je 0x14001fe76
movzx edx, byte [0x14013f6f3]
not al
lea rcx, [0x14013f740]
and byte [0x14013f6f2], al
and r8b, al
and dl, al
mov byte [0x14013f6f3], dl
mov byte [0x14013f65f], r8b
call fcn.1400232d0
movzx ecx, bl
xor cl, dil
and cl, bl
and cl, 0xcc
je 0x14001fea2
not cl
mov r9b, 1
mov r8, rbp
movzx edx, bl
and cl, bl
mov dword [rsp + 0x28], 0xffc3d44d
mov byte [rsp + 0x20], 0
call fcn.140022950
add rsp, 0x88
pop r12
pop rdi
pop rbp
pop rbx
ret