Function at 0x14000ba10
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1f]
sub rsp, 0xa0
mov rax, qword [0x140107040]
xor rax, rsp
mov qword [rbp + 0xf], rax
mov r14, r9
movsx edi, r8w
mov rbx, rdx
mov rsi, qword [rbp + 0x7f]
test edx, edx
jne 0x14000ba9f
mov rax, rdx
shr rax, 0x20
test eax, eax
jne 0x14000ba9f
mov rdx, qword [rsi + 0x18]
cmp rdx, 0xf
jbe 0x14000ba96
inc rdx
mov rcx, qword [rsi]
cmp rdx, 0x1000
jb 0x14000ba91
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000bf10
mov rcx, r8
call fcn.1400f71f0
xor edi, edi
xor eax, eax
jmp 0x14000beda
cmp dword [r9], 0
je 0x14000bab0
mov ecx, 0x1e
call qword [sym.imp.KERNEL32.dll_Sleep]
imul r12d, edi, 0x1e
add r12d, dword [rbp + 0x6b]
lea r13d, [r12 - 5]
lea r9d, [rbx + 0xa]
mov dword [rbp - 0x51], r9d
mov edx, dword [0x140108168]
mov eax, dword [0x140108170]
xor edi, edi
cmp edx, eax
jl 0x14000bb1c
cmp edx, dword [0x140108178]
jg 0x14000bb1c
mov ecx, dword [0x14010816c]
mov r8d, dword [0x140108174]
cmp ecx, r8d
jl 0x14000bb1c
cmp ecx, dword [0x14010817c]
jg 0x14000bb1c
sub edx, eax
cmp edx, r9d
jl 0x14000bb1c
lea eax, [r9 + 0xd]
cmp edx, eax
jg 0x14000bb1c
sub ecx, r8d
cmp ecx, r13d
jl 0x14000bb1c
lea eax, [r13 + 0x12]
cmp ecx, eax
lea r15d, [rdi + 1]
jle 0x14000bb1f
mov r15d, edi
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, qword [0x140108148]
jne 0x14000bb7c
cmp dword [0x140108188], edi
jne 0x14000bb7c
cmp dword [0x14010818c], edi
jne 0x14000bb7c
cmp dword [r14], edi
jne 0x14000bb77
test r15d, r15d
je 0x14000bb77
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x14000bb77
mov qword [rsp + 0x20], rdi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea ecx, [rdx + 4]
call qword [sym.imp.USER32.dll_mouse_event]
mov eax, 1
jmp 0x14000bb79
mov eax, edi
mov dword [r14], eax
mov qword [rbp - 0x49], rdi
lea edx, [r12 - 7]
lea ecx, [rbx + 8]
mov dword [rbp - 0x25], edi
mov dword [rbp - 0x15], edi
mov dword [rbp - 0x39], edi
mov dword [rbp - 0x35], 1
mov rax, rdi
shr rax, 0x20
movzx r8d, al
shl r8d, 8
mov dword [rbp - 0x31], ecx
mov dword [rbp - 0x2d], edx
lea eax, [rcx + 0x11]
mov dword [rbp - 0x21], eax
lea eax, [rdx + 0x16]
mov dword [rbp - 0x1d], eax
movzx eax, r8b
shl ax, 8
mov word [rbp - 0x29], ax
mov word [rbp - 0x27], r8w
mov word [rbp - 0x19], ax
mov word [rbp - 0x17], r8w
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], 1
lea r9, [rbp - 0x39]
mov r8d, 2
lea rdx, [rbp - 0x31]
mov rcx, qword [0x140108160]
call qword [sym.imp.MSIMG32.dll_GradientFill]
mov dword [rbp - 0x49], 0x3c
mov dword [rbp - 0x45], 0x3c
lea edx, [r12 - 6]
lea ecx, [rbx + 9]
mov dword [rbp - 0x25], 0x3c00
mov dword [rbp - 0x15], 0x3c00
mov dword [rbp - 0x39], edi
mov dword [rbp - 0x35], 1
mov rax, qword [rbp - 0x49]
shr rax, 0x20
movzx r8d, al
shl r8d, 8
or r8d, 0x3c003c
mov dword [rbp - 0x31], ecx
mov dword [rbp - 0x2d], edx
lea eax, [rcx + 0xf]
mov dword [rbp - 0x21], eax
lea eax, [rdx + 0x14]
mov dword [rbp - 0x1d], eax
movzx eax, r8b
shl ax, 8
mov word [rbp - 0x29], ax
mov ecx, 0xff00
and r8w, cx
mov word [rbp - 0x27], r8w
mov word [rbp - 0x19], ax
mov word [rbp - 0x17], r8w
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], 1
lea r9, [rbp - 0x39]
mov r8d, 2
lea rdx, [rbp - 0x31]
mov rcx, qword [0x140108160]
call qword [sym.imp.MSIMG32.dll_GradientFill]
test r15d, r15d
je 0x14000bd43
cmp dword [r14], edi
jne 0x14000bd43
mov dword [rbp - 0x31], 0x14
mov dword [rbp - 0x2d], 0x14
mov eax, 0x66666667
imul dword [0x140108134]
mov r8d, edx
sar r8d, 1
mov eax, r8d
shr eax, 0x1f
add r8d, eax
mov dword [rbp - 0x49], r8d
mov eax, 0x66666667
imul dword [0x140108138]
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
mov dword [rbp - 0x45], edx
mov eax, 0x66666667
imul dword [0x14010813c]
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx r9d, dl
mov rax, qword [rbp - 0x49]
shr rax, 0x20
movzx edx, al
shl edx, 8
mov eax, r9d
shl eax, 0x10
or edx, eax
movzx eax, r8b
or edx, eax
mov rax, qword [rbp - 0x31]
shr rax, 0x20
shl r9w, 8
mov word [rbp - 5], r9w
jmp 0x14000bdde
mov dword [rbp - 0x49], 0x14
mov dword [rbp - 0x45], 0x14
mov ecx, dword [0x140108134]
mov eax, 0x92492493
imul ecx
lea r9d, [rcx + rdx]
sar r9d, 2
mov eax, r9d
shr eax, 0x1f
add r9d, eax
mov dword [rbp - 0x31], r9d
mov eax, 0x92492493
imul dword [0x140108138]
add edx, dword [0x140108138]
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
mov dword [rbp - 0x2d], edx
mov eax, 0x92492493
imul dword [0x14010813c]
add edx, dword [0x14010813c]
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx r8d, dl
mov rax, qword [rbp - 0x31]
shr rax, 0x20
movzx edx, al
shl edx, 8
mov eax, r8d
shl eax, 0x10
or edx, eax
movzx eax, r9b
or edx, eax
mov rax, qword [rbp - 0x49]
shr rax, 0x20
shl r8w, 8
mov word [rbp - 5], r8w
mov dword [rbp - 0x35], 1
mov dword [rbp - 0x39], edi
mov dword [rbp + 0xb], 0x1400
mov word [rbp - 3], di
movzx ecx, al
mov eax, dword [rbp - 0x51]
mov dword [rbp - 0x11], eax
add eax, 0xd
mov dword [rbp - 1], eax
lea eax, [r13 + 0x12]
mov dword [rbp + 3], eax
movzx eax, dl
shl ax, 8
shl ecx, 8
mov word [rbp - 9], ax
or ecx, 0x140014
mov r10d, 0xff00
movzx eax, cl
and dx, r10w
and cx, r10w
mov dword [rsp + 0x28], 1
shl ax, 8
mov word [rbp - 7], dx
mov word [rbp + 9], cx
mov dword [rsp + 0x20], 1
mov dword [rbp - 0xd], r13d
mov word [rbp + 7], ax
lea r9, [rbp - 0x39]
mov r8d, 2
lea rdx, [rbp - 0x11]
mov rcx, qword [0x140108160]
call qword [sym.imp.MSIMG32.dll_GradientFill]
movdqa xmm0, xmmword [0x1400ff770]
movdqa xmmword [rbp - 0x31], xmm0
mov rdx, rsi
lea rcx, [rbp - 0x11]
call fcn.140049d30
mov r9, rax
lea r8d, [r12 - 1]
lea edx, [rbx + 0xc]
lea rax, [rbp - 0x31]
mov qword [rsp + 0x20], rax
call fcn.140008260
mov ebx, dword [r14]
mov rdx, qword [rsi + 0x18]
cmp rdx, 0xf
jbe 0x14000bed8
inc rdx
mov rcx, qword [rsi]
cmp rdx, 0x1000
jb 0x14000bed3
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000bf10
mov rcx, r8
call fcn.1400f71f0
mov eax, ebx
mov byte [rsi], dil
mov qword [rsi + 0x18], 0xf
mov qword [rsi + 0x10], rdi
mov rcx, qword [rbp + 0xf]
xor rcx, rsp
call fcn.1400f71d0
mov rbx, qword [rsp + 0xe0]
add rsp, 0xa0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3