Function at 0x140030690
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x170]
sub rsp, 0x270
mov rax, qword [0x140117340]
xor rax, rsp
mov qword [rbp + 0x160], rax
mov qword [rsp + 0x40], rcx
cmp byte [0x1401cc7be], 0
je 0x1400310b0
lea rdx, [rcx + 0xb0]
lea rcx, [rbp + 0xe8]
call fcn.140008640
lea rdx, [rbp + 0xe8]
mov r13, qword [rbp + 0xe8]
mov rbx, qword [rbp + 0x100]
cmp rbx, 0xf
cmova rdx, r13
lea rcx, [0x1401584d8]
cmp qword [0x1401584f0], 0xf
cmova rcx, qword [0x1401584d8]
mov r8, qword [0x1401584e8]
mov r12, qword [rbp + 0xf8]
cmp r8, r12
jne 0x14003073d
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x140030769
mov byte [0x1401cc7ec], 0
lea rdx, [rbp + 0xe8]
cmp rbx, 0xf
cmova rdx, r13
mov r8, r12
lea rcx, [0x1401584d8]
call fcn.140029b90
mov r13, qword [rbp + 0xe8]
vpxor xmm0, xmm0, xmm0
xor eax, eax
vmovups xmmword [rbp + 0x110], xmm0
mov qword [rbp + 0x120], rax
mov byte [rbp + 0xd0], 0x61
mov al, 0x12
mov cl, 0xc
mov dl, 0xe
mov r8b, 0xa
mov r9b, 4
mov r10b, 6
mov r11b, 0x13
movzx ebx, r9b
mov dil, 0xf
xor sil, sil
mov r14b, 5
movzx r15d, r9b
xor r12d, r12d
xor al, 0x61
mov byte [rbp + 0xd1], al
xor cl, 0x61
mov byte [rbp + 0xd2], cl
xor dl, 0x61
mov byte [rbp + 0xd3], dl
xor r8b, 0x61
mov byte [rbp + 0xd4], r8b
xor r9b, 0x61
mov byte [rbp + 0xd5], r9b
xor r10b, 0x61
mov byte [rbp + 0xd6], r10b
xor r11b, 0x61
mov byte [rbp + 0xd7], r11b
xor bl, 0x61
mov byte [rbp + 0xd8], bl
xor dil, 0x61
mov byte [rbp + 0xd9], dil
xor sil, 0x61
mov byte [rbp + 0xda], sil
xor r14b, 0x61
mov byte [rbp + 0xdb], r14b
xor r15b, 0x61
mov byte [rbp + 0xdc], r15b
mov byte [rbp + 0xdd], r12b
vmovups xmmword [rsp + 0x50], xmm0
vpxor xmm1, xmm1, xmm1
vmovdqu xmmword [rsp + 0x60], xmm1
lea rax, [rbp + 0xd1]
mov r14, 0xffffffffffffffff
mov r8, r14
mov r12, qword [rbp + 0xf8]
inc r8
cmp byte [rax + r8], 0
jne 0x140030855
lea rdx, [rbp + 0xd1]
lea rcx, [rsp + 0x50]
call fcn.140007080
mov byte [rbp + 0xd0], 0x46
mov al, 0x20
mov cl, 0x2a
mov dl, 0x27
mov r8b, 0x35
mov r9b, 0x2e
mov r10b, 0x24
movzx r11d, dl
mov bl, 0x28
mov dil, 0x21
xor esi, esi
xor al, 0x46
mov byte [rbp + 0xd1], al
xor cl, 0x46
mov byte [rbp + 0xd2], cl
xor dl, 0x46
mov byte [rbp + 0xd3], dl
xor r8b, 0x46
mov byte [rbp + 0xd4], r8b
xor r9b, 0x46
mov byte [rbp + 0xd5], r9b
xor r10b, 0x46
mov byte [rbp + 0xd6], r10b
xor r11b, 0x46
mov byte [rbp + 0xd7], r11b
xor bl, 0x46
mov byte [rbp + 0xd8], bl
xor dil, 0x46
mov byte [rbp + 0xd9], dil
mov byte [rbp + 0xda], sil
vpxor xmm0, xmm0, xmm0
vmovups xmmword [rsp + 0x70], xmm0
vpxor xmm1, xmm1, xmm1
vmovdqu xmmword [rbp - 0x80], xmm1
lea rax, [rbp + 0xd1]
mov r8, r14
nop
inc r8
cmp byte [rax + r8], sil
jne 0x140030910
lea rdx, [rbp + 0xd1]
lea rcx, [rsp + 0x70]
call fcn.140007080
mov byte [rbp + 0xd0], 0x40
mov al, 0x28
mov cl, 0x25
mov dl, 0x27
mov r8b, 0x32
movzx r9d, cl
mov r10b, 0x2e
mov r11b, 0x21
mov bl, 0x24
movzx edi, cl
xor al, 0x40
mov byte [rbp + 0xd1], al
xor cl, 0x40
mov byte [rbp + 0xd2], cl
xor dl, 0x40
mov byte [rbp + 0xd3], dl
xor r8b, 0x40
mov byte [rbp + 0xd4], r8b
xor r9b, 0x40
mov byte [rbp + 0xd5], r9b
xor r10b, 0x40
mov byte [rbp + 0xd6], r10b
xor r11b, 0x40
mov byte [rbp + 0xd7], r11b
xor bl, 0x40
mov byte [rbp + 0xd8], bl
xor dil, 0x40
mov byte [rbp + 0xd9], dil
mov byte [rbp + 0xda], sil
vpxor xmm0, xmm0, xmm0
vmovups xmmword [rbp - 0x70], xmm0
vpxor xmm1, xmm1, xmm1
vmovdqu xmmword [rbp - 0x60], xmm1
lea rax, [rbp + 0xd1]
mov r8, r14
inc r8
cmp byte [rax + r8], sil
jne 0x1400309c6
lea rdx, [rbp + 0xd1]
lea rcx, [rbp - 0x70]
call fcn.140007080
mov byte [rbp + 0xd0], 0x16
mov al, 0x7b
mov cl, 0x79
mov dl, 0x7a
movzx r8d, cl
mov r9b, 0x62
movzx r10d, cl
mov r11b, 0x60
xor ebx, ebx
xor al, 0x16
mov byte [rbp + 0xd1], al
xor cl, 0x16
mov byte [rbp + 0xd2], cl
xor dl, 0x16
mov byte [rbp + 0xd3], dl
xor r8b, 0x16
mov byte [rbp + 0xd4], r8b
xor r9b, 0x16
mov byte [rbp + 0xd5], r9b
xor r10b, 0x16
mov byte [rbp + 0xd6], r10b
xor r11b, 0x16
mov byte [rbp + 0xd7], r11b
mov byte [rbp + 0xd8], bl
vpxor xmm0, xmm0, xmm0
vmovups xmmword [rbp - 0x50], xmm0
vpxor xmm1, xmm1, xmm1
vmovdqu xmmword [rbp - 0x40], xmm1
lea rax, [rbp + 0xd1]
mov r8, r14
inc r8
cmp byte [rax + r8], bl
jne 0x140030a64
lea rdx, [rbp + 0xd1]
lea rcx, [rbp - 0x50]
call fcn.140007080
mov byte [rbp + 0xd0], 0x3c
mov al, 0x58
mov cl, 0x59
mov dl, 0x5f
mov r8b, 0x53
mov r9b, 0x45
xor al, 0x3c
mov byte [rbp + 0xd1], al
xor cl, 0x3c
mov byte [rbp + 0xd2], cl
xor dl, 0x3c
mov byte [rbp + 0xd3], dl
xor r8b, 0x3c
mov byte [rbp + 0xd4], r8b
xor r9b, 0x3c
mov byte [rbp + 0xd5], r9b
mov byte [rbp + 0xd6], bl
vpxor xmm0, xmm0, xmm0
vmovups xmmword [rbp - 0x30], xmm0
vpxor xmm1, xmm1, xmm1
vmovdqu xmmword [rbp - 0x20], xmm1
lea rax, [rbp + 0xd1]
mov r8, r14
inc r8
cmp byte [rax + r8], bl
jne 0x140030ae2
lea rdx, [rbp + 0xd1]
lea rcx, [rbp - 0x30]
call fcn.140007080
mov byte [rbp + 0xd0], 0x21
mov al, 0x48
mov cl, 0x4f
mov dl, 0x42
mov r8b, 0x46
mov r9b, 0x53
mov r10b, 0x44
movzx r11d, cl
mov bl, 0x40
mov dil, 0x45
movzx esi, r10b
xor r15d, r15d
xor al, 0x21
mov byte [rbp + 0xd1], al
xor cl, 0x21
mov byte [rbp + 0xd2], cl
xor dl, 0x21
mov byte [rbp + 0xd3], dl
xor r8b, 0x21
mov byte [rbp + 0xd4], r8b
xor r9b, 0x21
mov byte [rbp + 0xd5], r9b
xor r10b, 0x21
mov byte [rbp + 0xd6], r10b
xor r11b, 0x21
mov byte [rbp + 0xd7], r11b
xor bl, 0x21
mov byte [rbp + 0xd8], bl
xor dil, 0x21
mov byte [rbp + 0xd9], dil
xor sil, 0x21
mov byte [rbp + 0xda], sil
mov byte [rbp + 0xdb], r15b
vpxor xmm0, xmm0, xmm0
vmovups xmmword [rbp - 0x10], xmm0
vpxor xmm1, xmm1, xmm1
vmovdqu xmmword [rbp], xmm1
lea rax, [rbp + 0xd1]
mov r8, r14
nop dword [rax]
inc r8
cmp byte [rax + r8], r15b
jne 0x140030bb0
lea rdx, [rbp + 0xd1]
lea rcx, [rbp - 0x10]
call fcn.140007080
mov byte [rbp + 0xd0], 0x66
mov al, 7
mov cl, 0x11
mov dl, 0x16
xor r8d, r8d
xor al, 0x66
mov byte [rbp + 0xd1], al
xor cl, 0x66
mov byte [rbp + 0xd2], cl
xor dl, 0x66
mov byte [rbp + 0xd3], dl
mov byte [rbp + 0xd4], r8b
vpxor xmm0, xmm0, xmm0
vmovups xmmword [rbp + 0x10], xmm0
vpxor xmm1, xmm1, xmm1
vmovdqu xmmword [rbp + 0x20], xmm1
lea rax, [rbp + 0xd1]
mov r8, r14
inc r8
cmp byte [rax + r8], r15b
jne 0x140030c16
lea rdx, [rbp + 0xd1]
lea rcx, [rbp + 0x10]
call fcn.140007080
mov byte [rbp + 0xd0], 0x75
mov al, 6
movzx ecx, al
mov dl, 0x12
mov r8b, 0x45
mov r9b, 0x4d
xor r10d, r10d
xor al, 0x75
mov byte [rbp + 0xd1], al
xor cl, 0x75
mov byte [rbp + 0xd2], cl
xor dl, 0x75
mov byte [rbp + 0xd3], dl
xor r8b, 0x75
mov byte [rbp + 0xd4], r8b
xor r9b, 0x75
mov byte [rbp + 0xd5], r9b
mov byte [rbp + 0xd6], r10b
vpxor xmm0, xmm0, xmm0
vmovups xmmword [rbp + 0x30], xmm0
vpxor xmm1, xmm1, xmm1
vmovdqu xmmword [rbp + 0x40], xmm1
lea rax, [rbp + 0xd1]
mov r8, r14
nop dword [rax]
inc r8
cmp byte [rax + r8], r10b
jne 0x140030ca0
lea rdx, [rbp + 0xd1]
lea rcx, [rbp + 0x30]
call fcn.140007080
mov byte [rbp + 0xd0], 0x1d
mov al, 0x7c
mov cl, 0x68
mov dl, 0x7a
xor r8d, r8d
xor al, 0x1d
mov byte [rbp + 0xd1], al
xor cl, 0x1d
mov byte [rbp + 0xd2], cl
xor dl, 0x1d
mov byte [rbp + 0xd3], dl
mov byte [rbp + 0xd4], r8b
vpxor xmm0, xmm0, xmm0
vmovups xmmword [rbp + 0x50], xmm0
vpxor xmm1, xmm1, xmm1
vmovdqu xmmword [rbp + 0x60], xmm1
lea rax, [rbp + 0xd1]
mov r8, r14
inc r8
cmp byte [rax + r8], r15b
jne 0x140030d06
lea rdx, [rbp + 0xd1]
lea rcx, [rbp + 0x50]
call fcn.140007080
mov byte [rbp + 0xd0], 0x7c
mov al, 0xf
mov cl, 0x1b
mov dl, 0x49
movzx r8d, dl
mov r9b, 0x4a
xor r10d, r10d
xor al, 0x7c
mov byte [rbp + 0xd1], al
xor cl, 0x7c
mov byte [rbp + 0xd2], cl
xor dl, 0x7c
mov byte [rbp + 0xd3], dl
xor r8b, 0x7c
mov byte [rbp + 0xd4], r8b
xor r9b, 0x7c
mov byte [rbp + 0xd5], r9b
mov byte [rbp + 0xd6], r10b
vpxor xmm0, xmm0, xmm0
vmovups xmmword [rbp + 0x70], xmm0
vpxor xmm1, xmm1, xmm1
vmovdqu xmmword [rbp + 0x80], xmm1
lea rax, [rbp + 0xd1]
mov r8, r14
nop dword [rax]
inc r8
cmp byte [rax + r8], r10b
jne 0x140030d90
lea rdx, [rbp + 0xd1]
lea rcx, [rbp + 0x70]
call fcn.140007080
mov byte [rbp + 0xd0], 0x4b
mov al, 0x20
mov cl, 0x25
mov dl, 0x22
mov r8b, 0x2d
mov r9b, 0x2e
xor r10d, r10d
xor al, 0x4b
mov byte [rbp + 0xd1], al
xor cl, 0x4b
mov byte [rbp + 0xd2], cl
xor dl, 0x4b
mov byte [rbp + 0xd3], dl
xor r8b, 0x4b
mov byte [rbp + 0xd4], r8b
xor r9b, 0x4b
mov byte [rbp + 0xd5], r9b
mov byte [rbp + 0xd6], r10b
vpxor xmm0, xmm0, xmm0
vmovups xmmword [rbp + 0x90], xmm0
vpxor xmm1, xmm1, xmm1
vmovdqu xmmword [rbp + 0xa0], xmm1
lea rax, [rbp + 0xd1]
mov r8, r14
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], r10b
jne 0x140030e20
lea rdx, [rbp + 0xd1]
lea rcx, [rbp + 0x90]
call fcn.140007080
mov byte [rbp + 0xd0], 0x73
mov al, 0x10
mov cl, 0x47
xor edx, edx
xor al, 0x73
mov byte [rbp + 0xd1], al
xor cl, 0x73
mov byte [rbp + 0xd2], cl
mov byte [rbp + 0xd3], dl
vpxor xmm0, xmm0, xmm0
vmovups xmmword [rbp + 0xb0], xmm0
vpxor xmm1, xmm1, xmm1
vmovdqu xmmword [rbp + 0xc0], xmm1
lea rax, [rbp + 0xd1]
nop
inc r14
cmp byte [rax + r14], dl
jne 0x140030e80
mov r8, r14
lea rdx, [rbp + 0xd1]
lea rcx, [rbp + 0xb0]
call fcn.140007080
lea rax, [rsp + 0x50]
mov qword [rbp + 0xd0], rax
lea rax, [rbp + 0xd0]
mov qword [rbp + 0xd8], rax
vmovups xmm0, xmmword [rbp + 0xd0]
vmovdqa xmmword [rbp + 0xd0], xmm0
lea rdx, [rbp + 0xd0]
lea rcx, [rbp + 0x110]
call fcn.140008500
lea r9, [fcn.140006280]
mov edx, 0x20
mov r8d, 0xc
lea rcx, [rsp + 0x50]
call fcn.1400d7aac
mov rbx, qword [rbp + 0x110]
mov rdi, qword [rbp + 0x118]
cmp rbx, rdi
je 0x140030f60
mov rsi, qword [rbp + 0x100]
nop dword [rax]
nop word [rax + rax]
lea rdx, [rbp + 0xe8]
cmp rsi, 0xf
cmova rdx, r13
mov r8, qword [rbx + 0x10]
mov rcx, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x140030f40
mov rcx, qword [rbx]
cmp r8, r12
jne 0x140030f4e
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x140030f57
add rbx, 0x20
cmp rbx, rdi
jne 0x140030f20
cmp rbx, rdi
jne 0x140031097
mov edx, dword [0x140158424]
mov rdi, qword [rsp + 0x40]
add rdx, qword [rdi + 0x58]
mov r9d, 8
lea r8, [rbp + 0x108]
call fcn.140005960
mov edx, dword [0x1401584b8]
add rdx, qword [rbp + 0x108]
mov r9d, 1
lea r8, [rbp + 0xe0]
call fcn.140005960
cmp byte [rbp + 0xe0], r15b
je 0x140030fb0
mov byte [0x1401cc7ec], r15b
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, eax
cmp byte [0x140117400], r15b
jne 0x140030ff9
mov ecx, 2
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x140030ff9
mov ecx, ebx
sub ecx, dword [0x1401cc7f0]
cmp ecx, 0x1f4
jb 0x140030ff9
cmp byte [0x1401cc7ec], r15b
sete al
mov byte [0x1401cc7ec], al
mov dword [0x1401cc7f0], ebx
jmp 0x140031000
movzx eax, byte [0x1401cc7ec]
test al, al
je 0x140031097
mov dword [rbp + 0xd0], 0x2d
mov eax, dword [0x1401cbff8]
test eax, eax
je 0x140031097
mov dword [rbp + 0x128], eax
mov eax, dword [0x14015847c]
add rax, qword [rdi]
mov qword [rbp + 0x130], rax
lea rax, [rbp + 0xd0]
mov qword [rbp + 0x138], rax
mov qword [rbp + 0x140], 4
mov eax, 0x80000003
mov qword [rbp + 0x148], rax
vpxor xmm0, xmm0, xmm0
vmovups xmmword [rbp + 0x150], xmm0
xor eax, eax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rax
mov r9d, 0x38
lea r8, [rbp + 0x128]
mov edx, 0x221dd4
mov rcx, qword [0x1401cbff0]
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
lea rcx, [rbp + 0x110]
call fcn.140028980
lea rcx, [rbp + 0xe8]
call fcn.140006470
nop
mov rcx, qword [rbp + 0x160]
xor rcx, rsp
call fcn.1400d7930
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret