Function at 0x140011190
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 - 0x17]
sub rsp, 0xe0
mov rax, qword [0x1400ca040]
xor rax, rsp
mov qword [rbp + 7], rax
mov rsi, r9
mov rbx, rdx
mov r12, qword [rbp + 0x77]
mov rax, qword [rbp + 0x7f]
mov qword [rbp - 0x51], rax
test edx, edx
jne 0x140011224
mov rax, rdx
shr rax, 0x20
test eax, eax
jne 0x140011224
mov rdx, qword [r9 + 0x18]
cmp rdx, 0xf
jbe 0x14001121a
inc rdx
mov rcx, qword [r9]
cmp rdx, 0x1000
jb 0x140011215
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400116fa
mov rcx, r8
call fcn.1400b9ed0
xor r14d, r14d
xor eax, eax
jmp 0x1400116c4
movsx eax, r8w
imul edi, eax, 0x1e
add edi, dword [rbp + 0x63]
mov dword [rbp - 0x79], edi
lea r9d, [rdi - 2]
mov dword [rbp - 0x59], r9d
lea r13d, [rdx + 0x1e]
mov edx, dword [0x1400cb098]
mov eax, dword [0x1400cb0a0]
xor r14d, r14d
cmp edx, eax
jl 0x14001129a
cmp edx, dword [0x1400cb0a8]
jg 0x14001129a
mov ecx, dword [0x1400cb09c]
mov r8d, dword [0x1400cb0a4]
cmp ecx, r8d
jl 0x14001129a
cmp ecx, dword [0x1400cb0ac]
jg 0x14001129a
sub edx, eax
cmp edx, r13d
jl 0x14001129a
lea eax, [r13 + 0x8c]
cmp edx, eax
jg 0x14001129a
sub ecx, r8d
cmp ecx, r9d
jl 0x14001129a
lea eax, [r9 + 0xc]
cmp ecx, eax
mov r15d, 1
jle 0x14001129d
mov r15d, r14d
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, qword [0x1400cb078]
jne 0x1400112f2
cmp dword [0x1400cb0b8], r14d
jne 0x1400112f2
test r15d, r15d
je 0x1400112f2
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x1400112f2
mov qword [rsp + 0x20], r14
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov ecx, 4
call qword [sym.imp.USER32.dll_mouse_event]
mov eax, r14d
cmp dword [r12], r14d
sete al
mov dword [r12], eax
mov qword [rbp - 0x69], r14
lea edx, [rdi - 1]
lea ecx, [rbx + 0x1d]
mov dword [rbp - 0xd], r14d
mov dword [rbp + 3], r14d
mov dword [rbp - 0x21], r14d
mov dword [rbp - 0x1d], 1
mov rax, r14
shr rax, 0x20
movzx r8d, al
shl r8d, 8
mov dword [rbp - 0x19], ecx
mov dword [rbp - 0x15], edx
lea eax, [rcx + 0xa]
mov dword [rbp - 9], eax
lea eax, [rdx + 0xa]
mov dword [rbp - 5], eax
movzx eax, r8b
shl ax, 8
mov word [rbp - 0x11], ax
mov word [rbp - 0xf], r8w
mov word [rbp - 1], ax
mov word [rbp + 1], r8w
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], 1
lea r9, [rbp - 0x21]
mov r8d, 2
lea rdx, [rbp - 0x19]
mov rcx, qword [0x1400cb090]
call qword [sym.imp.MSIMG32.dll_GradientFill]
movdqa xmm0, xmmword [0x1400c2cb0]
movdqa xmmword [rbp - 0x69], xmm0
lea rdx, [0x1400cb040]
lea rcx, [rbp - 0x19]
call fcn.14004c1d0
mov rdi, rax
mov rdx, rsi
lea rcx, [rbp - 0x41]
call fcn.14004c1d0
mov r9, rax
lea edx, [rbx + 0x35]
mov word [rsp + 0x38], 0x190
movzx ecx, word [0x1400cb060]
mov word [rsp + 0x30], cx
mov qword [rsp + 0x28], rdi
lea rax, [rbp - 0x69]
mov qword [rsp + 0x20], rax
mov r8d, dword [rbp - 0x59]
call fcn.14000d950
mov rax, qword [rbp - 0x51]
movaps xmm0, xmmword [rax]
movdqa xmmword [rbp - 0x69], xmm0
lea rdx, [0x1400cb040]
lea rcx, [rbp - 0x41]
call fcn.14004c1d0
mov rdi, rax
mov rdx, rsi
lea rcx, [rbp - 0x19]
call fcn.14004c1d0
mov r9, rax
mov r8d, dword [rbp - 0x79]
add r8d, 0xfffffffd
lea edx, [rbx + 0x34]
mov word [rsp + 0x38], 0x190
movzx ecx, word [0x1400cb060]
mov word [rsp + 0x30], cx
mov qword [rsp + 0x28], rdi
lea rax, [rbp - 0x69]
mov qword [rsp + 0x20], rax
call fcn.14000d950
mov word [rbp - 0xb], r14w
mov dword [rbp - 0x21], r14d
mov dword [rbp - 0x1d], 1
cmp dword [r12], r14d
je 0x14001152c
mov r8, qword [0x1400cb064]
mov eax, 0x66666667
imul r8d
mov r11d, edx
sar r11d, 1
mov eax, r11d
shr eax, 0x1f
add r11d, eax
mov dword [rbp - 0x69], r11d
mov eax, 0x66666667
imul dword [0x1400cb068]
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
mov dword [rbp - 0x65], edx
mov word [rbp + 5], r14w
mov rcx, r8
shr rcx, 0x20
movzx r10d, cl
shl r10d, 8
mov rdx, qword [0x1400cb06c]
movzx ecx, dl
shl ecx, 0x10
or r10d, ecx
movzx ecx, r8b
or r10d, ecx
mov eax, 0x66666667
imul edx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx r9d, dl
mov rax, qword [rbp - 0x69]
shr rax, 0x20
movzx ecx, al
shl ecx, 8
mov eax, r9d
shl eax, 0x10
or ecx, eax
movzx eax, r11b
or ecx, eax
mov edx, dword [rbp - 0x79]
mov dword [rbp - 0x15], edx
lea eax, [r13 + 8]
mov dword [rbp - 9], eax
lea eax, [rdx + 8]
mov dword [rbp - 5], eax
movzx eax, r10b
shl ax, 8
mov word [rbp - 0x11], ax
movzx eax, r10w
mov r11d, 0xff00
and ax, r11w
mov word [rbp - 0xf], ax
shr r10d, 0x10
shl r10w, 8
mov word [rbp - 0xd], r10w
shl r9w, 8
mov word [rbp + 3], r9w
jmp 0x140011646
mov dword [rbp - 0x51], 0x1e
mov dword [rbp - 0x4d], 0x1e
mov dword [rbp + 3], 0x1e00
test r15d, r15d
je 0x1400115a6
mov eax, 0x55555556
imul dword [0x1400cb064]
mov r9d, edx
shr r9d, 0x1f
add r9d, edx
mov dword [rbp - 0x69], r9d
mov eax, 0x55555556
imul dword [0x1400cb068]
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
mov dword [rbp - 0x65], edx
mov eax, 0x55555556
imul dword [0x1400cb06c]
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx r8d, dl
mov rax, qword [rbp - 0x69]
shr rax, 0x20
movzx edx, al
shl edx, 8
mov eax, r8d
shl eax, 0x10
or edx, eax
movzx eax, r9b
jmp 0x1400115f7
mov eax, dword [0x1400cb064]
cdq
and edx, 3
lea ecx, [rdx + rax]
sar ecx, 2
mov dword [rbp - 0x69], ecx
mov eax, dword [0x1400cb068]
cdq
and edx, 3
add eax, edx
sar eax, 2
mov dword [rbp - 0x65], eax
mov eax, dword [0x1400cb06c]
cdq
and edx, 3
add eax, edx
sar eax, 2
movzx r8d, al
mov rax, qword [rbp - 0x69]
shr rax, 0x20
movzx edx, al
shl edx, 8
mov eax, r8d
shl eax, 0x10
or edx, eax
movzx eax, cl
or edx, eax
mov rax, qword [rbp - 0x51]
shr rax, 0x20
movzx ecx, al
shl ecx, 8
lea eax, [r13 + 8]
mov dword [rbp - 9], eax
mov r9d, dword [rbp - 0x79]
lea eax, [r9 + 8]
mov dword [rbp - 5], eax
movzx eax, dl
mov r11d, 0xff00
or ecx, 0x1e001e
shl ax, 8
and dx, r11w
shl r8w, 8
mov word [rbp - 0xd], r8w
mov word [rbp - 0xf], dx
mov word [rbp - 0x11], ax
mov dword [rbp - 0x15], r9d
mov dword [rbp - 0x19], r13d
movzx eax, cl
and cx, r11w
mov dword [rsp + 0x28], 1
shl ax, 8
mov word [rbp + 1], cx
mov dword [rsp + 0x20], 1
mov word [rbp - 1], ax
lea r9, [rbp - 0x21]
mov r8d, 2
lea rdx, [rbp - 0x19]
mov rcx, qword [0x1400cb090]
call qword [sym.imp.MSIMG32.dll_GradientFill]
mov ebx, dword [r12]
mov rdx, qword [rsi + 0x18]
cmp rdx, 0xf
jbe 0x1400116c2
inc rdx
mov rcx, qword [rsi]
cmp rdx, 0x1000
jb 0x1400116bd
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400116fa
mov rcx, r8
call fcn.1400b9ed0
mov eax, ebx
mov byte [rsi], r14b
mov qword [rsi + 0x18], 0xf
mov qword [rsi + 0x10], r14
mov rcx, qword [rbp + 7]
xor rcx, rsp
call fcn.1400b9eb0
mov rbx, qword [rsp + 0x120]
add rsp, 0xe0
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