Function at 0x140011780
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, 0xd0
mov rax, qword [0x1400be010]
xor rax, rsp
mov qword [rbp + 7], rax
mov rsi, r9
movsx edi, r8w
mov rbx, rdx
mov r15, qword [rbp + 0x77]
test edx, edx
jne 0x140011810
mov rax, rdx
shr rax, 0x20
test eax, eax
jne 0x140011810
mov rdx, qword [r9 + 0x18]
cmp rdx, 0x10
jb 0x140011806
inc rdx
mov rcx, qword [r9]
cmp rdx, 0x1000
jb 0x140011801
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140011d45
mov rcx, r8
call fcn.1400b0950
xor r14d, r14d
xor eax, eax
jmp 0x140011d0f
cmp dword [r15], 0
je 0x140011821
mov ecx, 0x1e
call qword [sym.imp.KERNEL32.dll_Sleep]
imul r12d, edi, 0x1e
add r12d, dword [rbp + 0x63]
lea r13d, [r12 - 8]
lea r9d, [rbx + 0x37]
mov dword [rbp - 0x69], r9d
mov edx, dword [0x1400bf0e8]
mov eax, dword [0x1400bf0f0]
xor r14d, r14d
cmp edx, eax
jl 0x140011891
cmp edx, dword [0x1400bf0f8]
jg 0x140011891
mov ecx, dword [0x1400bf0ec]
mov r8d, dword [0x1400bf0f4]
cmp ecx, r8d
jl 0x140011891
cmp ecx, dword [0x1400bf0fc]
jg 0x140011891
sub edx, eax
cmp edx, r9d
jl 0x140011891
lea eax, [r9 + 0xe6]
cmp edx, eax
jg 0x140011891
sub ecx, r8d
cmp ecx, r13d
jl 0x140011891
lea eax, [r13 + 0x19]
cmp ecx, eax
lea edi, [r14 + 1]
jle 0x140011894
mov edi, r14d
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, qword [0x1400bf0c8]
jne 0x1400118ea
cmp dword [0x1400bf108], r14d
jne 0x1400118ea
cmp dword [r15], r14d
jne 0x1400118e4
test edi, edi
je 0x1400118e4
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x1400118e4
mov qword [rsp + 0x20], r14
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 0x1400118e7
mov eax, r14d
mov dword [r15], eax
mov qword [rbp - 0x61], r14
lea edx, [r12 - 0xa]
lea ecx, [rbx + 0x35]
mov word [rbp - 0x2b], r14w
mov word [rbp - 0x1b], r14w
mov dword [rbp - 0x41], r14d
mov dword [rbp - 0x3d], 1
mov rax, r14
shr rax, 0x20
movzx r8d, al
shl r8d, 8
mov dword [rbp - 0x39], ecx
mov dword [rbp - 0x35], edx
lea eax, [rcx + 0xea]
mov dword [rbp - 0x29], eax
lea eax, [rdx + 0x1d]
mov dword [rbp - 0x25], eax
movzx ecx, r8b
shl cx, 8
mov word [rbp - 0x31], cx
mov word [rbp - 0x2f], r8w
mov eax, r8d
shr eax, 0x10
shl ax, 8
mov word [rbp - 0x2d], ax
mov word [rbp - 0x21], cx
mov word [rbp - 0x1f], r8w
mov word [rbp - 0x1d], ax
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], 1
lea r9, [rbp - 0x41]
mov r8d, 2
lea rdx, [rbp - 0x39]
mov rcx, qword [0x1400bf0e0]
call qword [sym.imp.MSIMG32.dll_GradientFill]
mov dword [rbp - 0x61], 0x3c
mov dword [rbp - 0x5d], 0x3c
lea edx, [r12 - 9]
lea ecx, [rbx + 0x36]
mov word [rbp - 0x2b], r14w
mov word [rbp - 0x1b], r14w
mov dword [rbp - 0x41], r14d
mov dword [rbp - 0x3d], 1
mov rax, qword [rbp - 0x61]
shr rax, 0x20
movzx r8d, al
shl r8d, 8
or r8d, 0x3c003c
mov dword [rbp - 0x39], ecx
mov dword [rbp - 0x35], edx
lea eax, [rcx + 0xe8]
mov dword [rbp - 0x29], eax
lea eax, [rdx + 0x1b]
mov dword [rbp - 0x25], eax
movzx ecx, r8b
shl cx, 8
mov word [rbp - 0x31], cx
mov edx, 0xff00
movzx eax, r8w
and ax, dx
mov word [rbp - 0x2f], ax
shr r8d, 0x10
shl r8w, 8
mov word [rbp - 0x2d], r8w
mov word [rbp - 0x21], cx
mov word [rbp - 0x1f], ax
mov word [rbp - 0x1d], r8w
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], 1
lea r9, [rbp - 0x41]
mov r8d, 2
lea rdx, [rbp - 0x39]
mov rcx, qword [0x1400bf0e0]
call qword [sym.imp.MSIMG32.dll_GradientFill]
test edi, edi
je 0x140011ad0
cmp dword [r15], r14d
jne 0x140011ad0
mov dword [rbp - 0x39], 0x14
mov dword [rbp - 0x35], 0x14
mov eax, 0x66666667
imul dword [0x1400bf0b4]
mov r9d, edx
sar r9d, 1
mov eax, r9d
shr eax, 0x1f
add r9d, eax
mov dword [rbp - 0x61], r9d
mov eax, 0x66666667
imul dword [0x1400bf0b8]
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
mov dword [rbp - 0x5d], edx
mov rcx, qword [rbp - 0x61]
shr rcx, 0x20
movzx r8d, cl
shl r8d, 8
mov eax, 0x66666667
imul dword [0x1400bf0bc]
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 - 0x39]
jmp 0x140011b5d
mov dword [rbp - 0x61], 0x14
mov dword [rbp - 0x5d], 0x14
mov ecx, dword [0x1400bf0b4]
mov eax, 0x92492493
imul ecx
lea r9d, [rcx + rdx]
sar r9d, 2
mov eax, r9d
shr eax, 0x1f
add r9d, eax
mov dword [rbp - 0x39], r9d
mov eax, 0x92492493
imul dword [0x1400bf0b8]
add edx, dword [0x1400bf0b8]
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
mov dword [rbp - 0x35], edx
mov rcx, qword [rbp - 0x39]
shr rcx, 0x20
movzx r8d, cl
shl r8d, 8
mov eax, 0x92492493
imul dword [0x1400bf0bc]
add edx, dword [0x1400bf0bc]
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 - 0x61]
shr rax, 0x20
movzx ecx, al
mov eax, dword [rbp - 0x69]
shl ecx, 8
mov dword [rbp - 0x15], r13d
mov dword [rbp - 0x19], eax
or ecx, 0x140014
mov dword [rbp - 0x3d], 1
mov dword [rbp - 0x41], r14d
mov word [rbp + 5], r14w
mov word [rbp - 0xb], r14w
add eax, 0xe6
mov dword [rbp - 9], eax
lea eax, [r13 + 0x19]
mov dword [rbp - 5], eax
movzx eax, r8b
shl ax, 8
mov word [rbp - 0x11], ax
mov edx, 0xff00
movzx eax, r8w
and ax, dx
mov word [rbp - 0xf], ax
movzx eax, cl
shl ax, 8
mov word [rbp - 1], 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 - 0xd], r8w
mov word [rbp + 3], cx
mov dword [rsp + 0x20], 1
mov word [rbp + 1], ax
lea r9, [rbp - 0x41]
mov r8d, 2
lea rdx, [rbp - 0x19]
mov rcx, qword [0x1400bf0e0]
call qword [sym.imp.MSIMG32.dll_GradientFill]
movdqa xmm0, xmmword [0x1400b72d0]
movdqa xmmword [rbp - 0x39], xmm0
movsx edi, word [rbp + 0x7f]
add edi, ebx
mov r13d, 0x190
lea rdx, [0x1400bf090]
lea rcx, [rbp - 0x19]
call fcn.140040330
mov rbx, rax
mov rdx, rsi
lea rcx, [rbp - 0x61]
call fcn.140040330
mov r9, rax
lea r8d, [r12 - 1]
lea edx, [rdi + 0x38]
mov word [rsp + 0x38], r13w
movzx ecx, word [0x1400bf0b0]
mov word [rsp + 0x30], cx
mov qword [rsp + 0x28], rbx
lea rax, [rbp - 0x39]
mov qword [rsp + 0x20], rax
call fcn.14000d9b0
movdqa xmm0, xmmword [0x1400b7380]
movdqa xmmword [rbp - 0x39], xmm0
lea rdx, [0x1400bf090]
lea rcx, [rbp - 0x19]
call fcn.140040330
mov rbx, rax
mov rdx, rsi
lea rcx, [rbp - 0x61]
call fcn.140040330
mov r9, rax
lea r8d, [r12 - 2]
lea edx, [rdi + 0x37]
mov word [rsp + 0x38], r13w
movzx ecx, word [0x1400bf0b0]
mov word [rsp + 0x30], cx
mov qword [rsp + 0x28], rbx
lea rax, [rbp - 0x39]
mov qword [rsp + 0x20], rax
call fcn.14000d9b0
mov ebx, dword [r15]
mov rdx, qword [rsi + 0x18]
cmp rdx, 0x10
jb 0x140011d0d
inc rdx
mov rcx, qword [rsi]
cmp rdx, 0x1000
jb 0x140011d08
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140011d45
mov rcx, r8
call fcn.1400b0950
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.1400b0930
mov rbx, qword [rsp + 0x110]
add rsp, 0xd0
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