Function at 0x140010a20
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 [0x140082010]
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 0x140010ab4
mov rax, rdx
shr rax, 0x20
test eax, eax
jne 0x140010ab4
mov rdx, qword [r9 + 0x18]
cmp rdx, 0x10
jb 0x140010aaa
inc rdx
mov rcx, qword [r9]
cmp rdx, 0x1000
jb 0x140010aa5
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140010fbb
mov rcx, r8
call fcn.140076120
xor r14d, r14d
xor eax, eax
jmp 0x140010f85
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 [0x140082fb8]
mov eax, dword [0x140082fc0]
xor r14d, r14d
cmp edx, eax
jl 0x140010b28
cmp edx, dword [0x140082fc8]
jg 0x140010b28
mov ecx, dword [0x140082fbc]
mov r8d, dword [0x140082fc4]
cmp ecx, r8d
jl 0x140010b28
cmp ecx, dword [0x140082fcc]
jg 0x140010b28
sub edx, eax
cmp edx, r13d
jl 0x140010b28
lea eax, [r13 + 0x8c]
cmp edx, eax
jg 0x140010b28
sub ecx, r8d
cmp ecx, r9d
jl 0x140010b28
lea eax, [r9 + 0xc]
cmp ecx, eax
lea r15d, [r14 + 1]
jle 0x140010b2b
mov r15d, r14d
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, qword [0x140082f98]
jne 0x140010b7e
cmp dword [0x140082fd8], r14d
jne 0x140010b7e
test r15d, r15d
je 0x140010b7e
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x140010b7e
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, 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 word [rbp - 0xb], r14w
mov word [rbp + 5], r14w
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 ecx, r8b
shl cx, 8
mov word [rbp - 0x11], cx
mov word [rbp - 0xf], r8w
mov eax, r8d
shr eax, 0x10
shl ax, 8
mov word [rbp - 0xd], ax
mov word [rbp - 1], cx
mov word [rbp + 1], r8w
mov word [rbp + 3], ax
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], 1
lea r9, [rbp - 0x21]
mov r8d, 2
lea rdx, [rbp - 0x19]
mov rcx, qword [0x140082fb0]
call qword [sym.imp.MSIMG32.dll_GradientFill]
movdqa xmm0, xmmword [0x14007ba20]
movdqa xmmword [rbp - 0x69], xmm0
lea rdx, [0x140082f60]
lea rcx, [rbp - 0x19]
call fcn.140039e20
mov rdi, rax
mov rdx, rsi
lea rcx, [rbp - 0x41]
call fcn.140039e20
mov r9, rax
lea edx, [rbx + 0x35]
mov eax, 0x190
mov word [rsp + 0x38], ax
movzx ecx, word [0x140082f80]
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.14000d2f0
mov rax, qword [rbp - 0x51]
movaps xmm0, xmmword [rax]
movdqa xmmword [rbp - 0x69], xmm0
lea rdx, [0x140082f60]
lea rcx, [rbp - 0x41]
call fcn.140039e20
mov rdi, rax
mov rdx, rsi
lea rcx, [rbp - 0x19]
call fcn.140039e20
mov r9, rax
mov r8d, dword [rbp - 0x79]
add r8d, 0xfffffffd
lea edx, [rbx + 0x34]
mov eax, 0x190
mov word [rsp + 0x38], ax
movzx ecx, word [0x140082f80]
mov word [rsp + 0x30], cx
mov qword [rsp + 0x28], rdi
lea rax, [rbp - 0x69]
mov qword [rsp + 0x20], rax
call fcn.14000d2f0
mov word [rbp - 0xb], r14w
mov word [rbp + 5], r14w
mov dword [rbp - 0x21], r14d
mov dword [rbp - 0x1d], 1
cmp dword [r12], r14d
je 0x140010de4
mov r8, qword [0x140082f84]
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 [0x140082f88]
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
mov dword [rbp - 0x65], edx
mov rax, r8
shr rax, 0x20
movzx r10d, al
shl r10d, 8
mov rdx, qword [0x140082f8c]
movzx ecx, dl
shl ecx, 0x10
or r10d, ecx
movzx ecx, r8b
or r10d, ecx
mov rcx, qword [rbp - 0x69]
shr rcx, 0x20
movzx r9d, cl
shl r9d, 8
mov eax, 0x66666667
imul edx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dl
shl eax, 0x10
or r9d, eax
movzx eax, r11b
or r9d, eax
mov ecx, dword [rbp - 0x79]
mov dword [rbp - 0x15], ecx
lea eax, [r13 + 8]
mov dword [rbp - 9], eax
lea eax, [rcx + 8]
mov dword [rbp - 5], eax
movzx eax, r10b
shl ax, 8
mov word [rbp - 0x11], ax
movzx eax, r10w
mov edx, 0xff00
and ax, dx
mov word [rbp - 0xf], ax
shr r10d, 0x10
shl r10w, 8
mov word [rbp - 0xd], r10w
movzx eax, r9b
shl ax, 8
mov word [rbp - 1], ax
movzx eax, r9w
shr r9d, 0x10
shl r9w, 8
mov word [rbp + 3], r9w
jmp 0x140010f13
mov dword [rbp - 0x51], 0x1e
mov dword [rbp - 0x4d], 0x1e
test r15d, r15d
je 0x140010e52
mov eax, 0x55555556
imul dword [0x140082f84]
mov r8d, edx
shr r8d, 0x1f
add r8d, edx
mov dword [rbp - 0x69], r8d
mov eax, 0x55555556
imul dword [0x140082f88]
mov eax, edx
shr eax, 0x1f
add edx, eax
mov dword [rbp - 0x65], edx
mov rcx, qword [rbp - 0x69]
shr rcx, 0x20
movzx r9d, cl
shl r9d, 8
mov eax, 0x55555556
imul dword [0x140082f8c]
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dl
shl eax, 0x10
or r9d, eax
jmp 0x140010ea2
mov eax, dword [0x140082f84]
cdq
and edx, 3
lea r8d, [rdx + rax]
sar r8d, 2
mov dword [rbp - 0x69], r8d
mov eax, dword [0x140082f88]
cdq
and edx, 3
add eax, edx
sar eax, 2
mov dword [rbp - 0x65], eax
mov rax, qword [rbp - 0x69]
shr rax, 0x20
movzx r9d, al
shl r9d, 8
mov eax, dword [0x140082f8c]
cdq
and edx, 3
add eax, edx
sar eax, 2
movzx ecx, al
shl ecx, 0x10
or r9d, ecx
movzx eax, r8b
or r9d, eax
mov rax, qword [rbp - 0x51]
shr rax, 0x20
movzx ecx, al
lea eax, [r13 + 8]
mov dword [rbp - 9], eax
mov edx, dword [rbp - 0x79]
lea eax, [rdx + 8]
mov dword [rbp - 5], eax
movzx eax, r9b
shl ax, 8
mov dword [rbp - 0x15], edx
mov word [rbp - 0x11], ax
mov edx, 0xff00
movzx eax, r9w
and ax, dx
shl ecx, 8
mov word [rbp - 0xf], ax
or ecx, 0x1e001e
movzx eax, cl
shl ax, 8
mov word [rbp - 1], ax
shr r9d, 0x10
movzx eax, cx
shl r9w, 8
shr ecx, 0x10
shl cx, 8
mov word [rbp + 3], cx
mov word [rbp - 0xd], r9w
mov dword [rbp - 0x19], r13d
mov dword [rsp + 0x28], 1
and ax, dx
mov dword [rsp + 0x20], 1
mov word [rbp + 1], ax
lea r9, [rbp - 0x21]
mov r8d, 2
lea rdx, [rbp - 0x19]
mov rcx, qword [0x140082fb0]
call qword [sym.imp.MSIMG32.dll_GradientFill]
mov ebx, dword [r12]
mov rdx, qword [rsi + 0x18]
cmp rdx, 0x10
jb 0x140010f83
inc rdx
mov rcx, qword [rsi]
cmp rdx, 0x1000
jb 0x140010f7e
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140010fbb
mov rcx, r8
call fcn.140076120
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.140076100
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