Function at 0x140011bf0
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 [0x1400d3010]
xor rax, rsp
mov qword [rbp + 0xf], rax
mov r14, r9
movsx esi, r8w
mov rbx, rdx
mov rdi, qword [rbp + 0x7f]
test edx, edx
jne 0x140011c7f
mov rax, rdx
shr rax, 0x20
test eax, eax
jne 0x140011c7f
mov rdx, qword [rdi + 0x18]
cmp rdx, 0x10
jb 0x140011c76
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x140011c71
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140012118
mov rcx, r8
call fcn.1400c2080
xor esi, esi
xor eax, eax
jmp 0x1400120e2
cmp dword [r9], 0
je 0x140011c90
mov ecx, 0x1e
call qword [sym.imp.KERNEL32.dll_Sleep]
imul ecx, esi, 0x1e
mov eax, dword [rbp + 0x6b]
add eax, ecx
mov dword [rbp - 0x51], eax
lea r13d, [rax - 5]
lea r12d, [rbx + 0xa]
mov edx, dword [0x1400d4068]
mov eax, dword [0x1400d4070]
xor esi, esi
cmp edx, eax
jl 0x140011cfb
cmp edx, dword [0x1400d4078]
jg 0x140011cfb
mov ecx, dword [0x1400d406c]
mov r8d, dword [0x1400d4074]
cmp ecx, r8d
jl 0x140011cfb
cmp ecx, dword [0x1400d407c]
jg 0x140011cfb
sub edx, eax
cmp edx, r12d
jl 0x140011cfb
lea eax, [r12 + 0xd]
cmp edx, eax
jg 0x140011cfb
sub ecx, r8d
cmp ecx, r13d
jl 0x140011cfb
lea eax, [r13 + 0x12]
cmp ecx, eax
lea r15d, [rsi + 1]
jle 0x140011cfe
mov r15d, esi
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, qword [0x1400d4048]
jne 0x140011d5b
cmp dword [0x1400d4088], esi
jne 0x140011d5b
cmp dword [0x1400d408c], esi
jne 0x140011d5b
cmp dword [r14], esi
jne 0x140011d56
test r15d, r15d
je 0x140011d56
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x140011d56
mov qword [rsp + 0x20], rsi
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 0x140011d58
mov eax, esi
mov dword [r14], eax
mov qword [rbp - 0x49], rsi
mov edx, dword [rbp - 0x51]
add edx, 0xfffffff9
lea ecx, [rbx + 8]
mov word [rbp - 0x23], si
mov word [rbp - 0x13], si
mov dword [rbp - 0x39], esi
mov dword [rbp - 0x35], 1
mov rax, rsi
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 ecx, r8b
shl cx, 8
mov word [rbp - 0x29], cx
mov word [rbp - 0x27], r8w
mov eax, r8d
shr eax, 0x10
shl ax, 8
mov word [rbp - 0x25], ax
mov word [rbp - 0x19], cx
mov word [rbp - 0x17], r8w
mov word [rbp - 0x15], ax
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], 1
lea r9, [rbp - 0x39]
mov r8d, 2
lea rdx, [rbp - 0x31]
mov rcx, qword [0x1400d4060]
call qword [sym.imp.MSIMG32.dll_GradientFill]
mov dword [rbp - 0x49], 0x3c
mov dword [rbp - 0x45], 0x3c
mov edx, dword [rbp - 0x51]
add edx, 0xfffffffa
lea ecx, [rbx + 9]
mov word [rbp - 0x23], si
mov word [rbp - 0x13], si
mov dword [rbp - 0x39], esi
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 ecx, r8b
shl cx, 8
mov word [rbp - 0x29], cx
mov edx, 0xff00
movzx eax, r8w
and ax, dx
mov word [rbp - 0x27], ax
shr r8d, 0x10
shl r8w, 8
mov word [rbp - 0x25], r8w
mov word [rbp - 0x19], cx
mov word [rbp - 0x17], ax
mov word [rbp - 0x15], 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 [0x1400d4060]
call qword [sym.imp.MSIMG32.dll_GradientFill]
test r15d, r15d
je 0x140011f38
cmp dword [r14], esi
jne 0x140011f38
mov dword [rbp - 0x31], 0x14
mov dword [rbp - 0x2d], 0x14
mov eax, 0x66666667
imul dword [0x1400d4034]
mov r9d, edx
sar r9d, 1
mov eax, r9d
shr eax, 0x1f
add r9d, eax
mov dword [rbp - 0x49], r9d
mov eax, 0x66666667
imul dword [0x1400d4038]
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
mov dword [rbp - 0x45], edx
mov rcx, qword [rbp - 0x49]
shr rcx, 0x20
movzx r8d, cl
shl r8d, 8
mov eax, 0x66666667
imul dword [0x1400d403c]
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dl
shl eax, 0x10
or r8d, eax
movzx eax, r9b
or r8d, eax
mov rax, qword [rbp - 0x31]
jmp 0x140011fc5
mov dword [rbp - 0x49], 0x14
mov dword [rbp - 0x45], 0x14
mov ecx, dword [0x1400d4034]
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 [0x1400d4038]
add edx, dword [0x1400d4038]
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
mov dword [rbp - 0x2d], edx
mov rcx, qword [rbp - 0x31]
shr rcx, 0x20
movzx r8d, cl
shl r8d, 8
mov eax, 0x92492493
imul dword [0x1400d403c]
add edx, dword [0x1400d403c]
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dl
shl eax, 0x10
or r8d, eax
movzx eax, r9b
or r8d, eax
mov rax, qword [rbp - 0x49]
shr rax, 0x20
movzx ecx, al
shl ecx, 8
mov dword [rbp - 0xd], r13d
mov dword [rbp - 0x11], r12d
or ecx, 0x140014
mov dword [rbp - 0x35], 1
mov dword [rbp - 0x39], esi
mov word [rbp + 0xd], si
mov word [rbp - 3], si
lea eax, [r12 + 0xd]
mov dword [rbp - 1], eax
lea eax, [r13 + 0x12]
mov dword [rbp + 3], eax
movzx eax, r8b
shl ax, 8
mov word [rbp - 9], ax
mov edx, 0xff00
movzx eax, r8w
and ax, dx
mov word [rbp - 7], ax
movzx eax, cl
shl ax, 8
mov word [rbp + 7], ax
movzx eax, cx
shr r8d, 0x10
shr ecx, 0x10
shl r8w, 8
shl cx, 8
mov dword [rsp + 0x28], 1
and ax, dx
mov word [rbp - 5], r8w
mov word [rbp + 0xb], cx
mov dword [rsp + 0x20], 1
mov word [rbp + 9], ax
lea r9, [rbp - 0x39]
mov r8d, 2
lea rdx, [rbp - 0x11]
mov rcx, qword [0x1400d4060]
call qword [sym.imp.MSIMG32.dll_GradientFill]
movdqa xmm0, xmmword [0x1400cb4f0]
movdqa xmmword [rbp - 0x31], xmm0
mov rdx, rdi
lea rcx, [rbp - 0x11]
call fcn.14004c200
mov r9, rax
mov r8d, dword [rbp - 0x51]
dec r8d
lea edx, [rbx + 0xc]
lea rax, [rbp - 0x31]
mov qword [rsp + 0x20], rax
call fcn.14000dbd0
mov ebx, dword [r14]
mov rdx, qword [rdi + 0x18]
cmp rdx, 0x10
jb 0x1400120e0
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x1400120db
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140012118
mov rcx, r8
call fcn.1400c2080
mov eax, ebx
mov byte [rdi], sil
mov qword [rdi + 0x18], 0xf
mov qword [rdi + 0x10], rsi
mov rcx, qword [rbp + 0xf]
xor rcx, rsp
call fcn.1400c2060
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