Function at 0x14007e490
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 - 0x100]
sub rsp, 0x200
mov rax, qword [0x1400de040]
xor rax, rsp
mov qword [rbp + 0xf0], rax
mov r15, r9
mov rbx, rdx
mov r12, qword [rbp + 0x170]
mov r14, qword [rbp + 0x178]
mov rax, qword [rbp + 0x180]
mov qword [rsp + 0x78], rax
xor edi, edi
test edx, edx
jne 0x14007e58f
mov rax, rdx
shr rax, 0x20
test eax, eax
jne 0x14007e58f
mov rdx, qword [r9 + 0x18]
cmp rdx, 0xf
jbe 0x14007e538
inc rdx
mov rcx, qword [r9]
cmp rdx, 0x1000
jb 0x14007e533
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14007efaf
mov rcx, r8
call fcn.1400d22b0
mov qword [r15 + 0x10], rdi
mov qword [r15 + 0x18], 0xf
mov byte [r15], dil
mov rdx, qword [r14 + 0x18]
cmp rdx, 0xf
jbe 0x14007e581
inc rdx
mov rcx, qword [r14]
cmp rdx, 0x1000
jb 0x14007e57c
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14007efaf
mov rcx, r8
call fcn.1400d22b0
mov qword [r14 + 0x10], rdi
mov byte [r14], dil
xor eax, eax
jmp 0x14007ef7d
mov eax, dword [rbp + 0x14c]
add eax, 0x14a
mov dword [rsp + 0x50], eax
lea r8d, [rax + 6]
lea eax, [rdx + 0x37]
mov dword [rsp + 0x58], eax
mov edx, dword [0x1400df078]
mov r10d, dword [0x1400df080]
cmp edx, r10d
jl 0x14007e603
cmp edx, dword [0x1400df088]
jg 0x14007e603
mov ecx, dword [0x1400df07c]
mov r9d, dword [0x1400df084]
cmp ecx, r9d
jl 0x14007e603
cmp ecx, dword [0x1400df08c]
jg 0x14007e603
sub edx, r10d
cmp edx, eax
jl 0x14007e603
add eax, 0xe6
cmp edx, eax
jg 0x14007e603
sub ecx, r9d
cmp ecx, r8d
jl 0x14007e603
lea eax, [r8 + 5]
cmp ecx, eax
mov r13d, 1
jle 0x14007e606
mov r13d, edi
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, qword [0x1400df058]
jne 0x14007e70a
test r13d, r13d
je 0x14007e66e
mov ecx, 0x25
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x14007e647
xor r9d, r9d
xor edx, edx
lea r8d, [r9 + 2]
mov cl, 0x25
call qword [sym.imp.USER32.dll_keybd_event]
dec dword [r12]
jmp 0x14007e66e
mov ecx, 0x27
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x14007e66e
xor r9d, r9d
xor edx, edx
lea r8d, [r9 + 2]
mov cl, 0x27
call qword [sym.imp.USER32.dll_keybd_event]
inc dword [r12]
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x14007e697
test r13d, r13d
je 0x14007e697
cmp dword [0x1400df2fc], edi
jne 0x14007e69f
mov dword [0x1400df2fc], 1
jmp 0x14007e69f
cmp dword [0x1400df2fc], edi
je 0x14007e6ee
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x14007e6ee
mov ecx, dword [0x1400df078]
sub ecx, dword [0x1400df080]
sub ecx, ebx
sub ecx, 0x36
shl ecx, 6
mov eax, 0x473c1ab7
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
mov dword [r12], edx
mov dword [0x1400df094], 1
mov dword [0x1400df098], 1
jmp 0x14007e70a
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
js 0x14007e70a
mov dword [0x1400df2fc], edi
mov dword [0x1400df098], edi
mov ecx, dword [r12]
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x1400d78e4]
mulss xmm0, dword [0x1400d7a70]
cvttss2si edx, xmm0
mov eax, 0xe6
mov dword [rsp + 0x54], eax
cmp edx, eax
jge 0x14007e741
mov eax, edx
test edx, edx
cmovle eax, edi
mov dword [rsp + 0x54], eax
test ecx, ecx
jg 0x14007e74b
mov dword [r12], edi
jmp 0x14007e758
cmp ecx, 0x40
jl 0x14007e758
mov dword [r12], 0x40
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp - 0x50]
call sub.VCRUNTIME140.dll_memset
lea rax, [0x1400d78c0]
mov qword [rbp - 0x50], rax
lea rax, [0x1400d77e8]
mov qword [rbp - 0x40], rax
lea rcx, [rbp + 0x48]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
xor r8d, r8d
lea rdx, [rbp - 0x38]
lea rcx, [rbp - 0x50]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_iostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char______ptr64____ptr64]
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + rcx - 0x50], rax
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx - 0x54], edx
lea rcx, [rbp - 0x38]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
lea rax, vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp - 0x38], rax
mov qword [rbp + 0x30], rdi
mov dword [rbp + 0x38], edi
mov edx, 4
lea rcx, [rbp + 0xd0]
call qword [sym.imp.MSVCP140.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setprecision_long_long___int64__]
mov rsi, rax
lea rdx, [0x140007690]
lea rcx, [rbp - 0x40]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
mov rdi, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov rdx, qword [rsi + 8]
call qword [rsi]
mov edx, dword [r12]
mov rcx, rdi
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___int____ptr64]
mov rdx, r12
lea rcx, [rbp - 0x50]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_istream_char__struct_std::char_traits_char__::operator___int____ptr64____ptr64]
xor edi, edi
mov qword [rsp + 0x60], rdi
mov edx, dword [rsp + 0x50]
add edx, 5
lea ecx, [rbx + 0x36]
mov dword [rbp + 0xdc], edi
mov dword [rbp + 0xec], edi
mov dword [rbp - 0x60], edi
mov dword [rbp - 0x5c], 1
mov eax, edi
shr rax, 0x20
movzx r8d, al
shl r8d, 8
mov dword [rbp + 0xd0], ecx
mov dword [rbp + 0xd4], edx
lea eax, [rcx + 0xe8]
mov dword [rbp + 0xe0], eax
lea eax, [rdx + 7]
mov dword [rbp + 0xe4], eax
movzx eax, r8b
shl ax, 8
mov word [rbp + 0xd8], ax
mov word [rbp + 0xda], r8w
mov word [rbp + 0xe8], ax
mov word [rbp + 0xea], r8w
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], 1
lea r9, [rbp - 0x60]
lea r8d, [rdi + 2]
lea rdx, [rbp + 0xd0]
mov rcx, qword [0x1400df070]
call qword [sym.imp.MSIMG32.dll_GradientFill]
test r13d, r13d
jne 0x14007e9e9
cmp dword [0x1400df2fc], edi
jne 0x14007e9e9
mov eax, 0x66666667
imul dword [0x1400df044]
mov r10d, edx
sar r10d, 1
mov eax, r10d
shr eax, 0x1f
add r10d, eax
mov dword [rbp + 0xd0], r10d
mov eax, 0x66666667
imul dword [0x1400df048]
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
mov dword [rbp + 0xd4], edx
mov dword [rsp + 0x60], 0x14
mov dword [rsp + 0x64], 0x14
mov dword [rbp + 0xbc], 0x1400
mov word [rbp + 0xce], di
mov dword [rbp - 0x60], edi
mov dword [rbp - 0x5c], 1
mov rax, qword [rsp + 0x60]
shr rax, 0x20
movzx r9d, al
shl r9d, 8
or r9d, 0x140014
mov eax, 0x66666667
imul dword [0x1400df04c]
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx r8d, dl
mov rax, qword [rbp + 0xd0]
shr rax, 0x20
movzx ecx, al
shl ecx, 8
mov eax, r8d
shl eax, 0x10
or ecx, eax
movzx eax, r10b
or ecx, eax
mov esi, dword [rsp + 0x58]
mov edi, dword [rsp + 0x50]
add edi, 6
lea eax, [rsi + 0xe6]
mov dword [rbp + 0xc0], eax
lea eax, [rdi + 5]
mov dword [rbp + 0xc4], eax
movzx eax, r9b
mov r13d, 0xff00
and r9w, r13w
mov word [rbp + 0xba], r9w
shl r8w, 8
mov word [rbp + 0xcc], r8w
jmp 0x14007eacb
mov eax, dword [0x1400df044]
cdq
and edx, 3
lea r9d, [rdx + rax]
sar r9d, 2
mov dword [rsp + 0x60], r9d
mov eax, dword [0x1400df048]
cdq
and edx, 3
add eax, edx
sar eax, 2
mov dword [rsp + 0x64], eax
mov dword [rbp + 0xd0], 0x1e
mov dword [rbp + 0xd4], 0x1e
mov dword [rbp + 0xbc], 0x1e00
mov word [rbp + 0xce], di
mov dword [rbp - 0x60], edi
mov dword [rbp - 0x5c], 1
mov rax, qword [rbp + 0xd0]
shr rax, 0x20
movzx r8d, al
shl r8d, 8
or r8d, 0x1e001e
mov eax, dword [0x1400df04c]
cdq
and edx, 3
add eax, edx
sar eax, 2
movzx edx, al
mov rax, qword [rsp + 0x60]
shr rax, 0x20
movzx ecx, al
shl ecx, 8
mov eax, edx
shl eax, 0x10
or ecx, eax
movzx eax, r9b
or ecx, eax
mov esi, dword [rsp + 0x58]
mov edi, dword [rsp + 0x50]
add edi, 6
lea eax, [rsi + 0xe6]
mov dword [rbp + 0xc0], eax
lea eax, [rdi + 5]
mov dword [rbp + 0xc4], eax
movzx eax, r8b
mov r13d, 0xff00
and r8w, r13w
mov word [rbp + 0xba], r8w
shl dx, 8
mov word [rbp + 0xcc], dx
shl ax, 8
mov word [rbp + 0xb8], ax
movzx eax, cl
and cx, r13w
mov dword [rsp + 0x28], 1
shl ax, 8
mov word [rbp + 0xca], cx
mov dword [rsp + 0x20], 1
mov dword [rbp + 0xb0], esi
mov dword [rbp + 0xb4], edi
mov word [rbp + 0xc8], ax
lea r9, [rbp - 0x60]
mov r8d, 2
lea rdx, [rbp + 0xb0]
mov rcx, qword [0x1400df070]
call qword [sym.imp.MSIMG32.dll_GradientFill]
mov eax, 0x66666667
imul dword [0x1400df044]
mov r8d, edx
sar r8d, 1
mov eax, r8d
shr eax, 0x1f
add r8d, eax
mov dword [rbp + 0xd0], r8d
mov eax, 0x66666667
imul dword [0x1400df048]
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
mov dword [rbp + 0xd4], edx
xor eax, eax
mov word [rbp + 0xbe], ax
mov word [rbp + 0xce], ax
mov dword [rbp - 0x60], eax
mov dword [rbp - 0x5c], 1
mov rdx, qword [0x1400df044]
mov rcx, rdx
shr rcx, 0x20
movzx r10d, cl
shl r10d, 8
movzx ecx, byte [0x1400df04c]
shl ecx, 0x10
or r10d, ecx
movzx ecx, dl
or r10d, ecx
mov eax, 0x66666667
imul dword [0x1400df04c]
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx r9d, dl
mov rax, qword [rbp + 0xd0]
shr rax, 0x20
movzx ecx, al
shl ecx, 8
mov eax, r9d
shl eax, 0x10
or ecx, eax
movzx eax, r8b
or ecx, eax
mov dword [rbp + 0xb0], esi
mov dword [rbp + 0xb4], edi
mov eax, dword [rsp + 0x54]
add eax, esi
mov dword [rbp + 0xc0], eax
lea eax, [rdi + 5]
mov dword [rbp + 0xc4], eax
movzx eax, r10b
shl ax, 8
mov word [rbp + 0xb8], ax
movzx eax, r10w
and ax, r13w
mov word [rbp + 0xba], ax
shr r10d, 0x10
shl r10w, 8
mov word [rbp + 0xbc], r10w
movzx eax, cl
shl ax, 8
mov word [rbp + 0xc8], ax
and cx, r13w
mov word [rbp + 0xca], cx
shl r9w, 8
mov word [rbp + 0xcc], r9w
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], 1
lea r9, [rbp - 0x60]
mov r8d, 2
lea rdx, [rbp + 0xb0]
mov rcx, qword [0x1400df070]
call qword [sym.imp.MSIMG32.dll_GradientFill]
movdqa xmm0, xmmword [0x1400d7b70]
movdqa xmmword [rbp + 0xd0], xmm0
lea rdx, [0x1400df020]
lea rcx, [rbp - 0x80]
call fcn.1400403f0
mov rdi, rax
mov rdx, r15
lea rcx, [rbp + 0xb0]
call fcn.1400403f0
mov r9, rax
mov r13d, dword [rsp + 0x50]
lea r8d, [r13 - 9]
lea edx, [rbx + 0x38]
mov word [rsp + 0x38], 0x190
movzx ecx, word [0x1400df040]
mov word [rsp + 0x30], cx
mov qword [rsp + 0x28], rdi
lea rax, [rbp + 0xd0]
mov qword [rsp + 0x20], rax
call fcn.14000d900
mov rax, qword [rsp + 0x78]
movaps xmm0, xmmword [rax]
movdqa xmmword [rbp + 0xd0], xmm0
lea rdx, [0x1400df020]
lea rcx, [rbp - 0x80]
call fcn.1400403f0
mov rdi, rax
mov rdx, r15
lea rcx, [rbp + 0xb0]
call fcn.1400403f0
mov r9, rax
lea r8d, [r13 - 0xa]
mov word [rsp + 0x38], 0x190
movzx ecx, word [0x1400df040]
mov word [rsp + 0x30], cx
mov qword [rsp + 0x28], rdi
lea rax, [rbp + 0xd0]
mov qword [rsp + 0x20], rax
mov edx, esi
call fcn.14000d900
movdqa xmm0, xmmword [0x1400d7c00]
movdqa xmmword [rbp + 0xd0], xmm0
xorps xmm0, xmm0
movups xmmword [rbp + 0xb0], xmm0
xor esi, esi
mov qword [rbp + 0xc0], rsi
mov qword [rbp + 0xc8], 0xf
mov byte [rbp + 0xb0], sil
mov ecx, dword [rbp + 0x38]
mov eax, ecx
and al, 0x22
cmp al, 2
je 0x14007edb1
mov rax, qword [rbp + 8]
mov rdi, qword [rax]
test rdi, rdi
je 0x14007edb1
mov rax, qword [rbp - 0x18]
mov r9, qword [rax]
cmp rdi, qword [rbp + 0x30]
cmovb rdi, qword [rbp + 0x30]
sub rdi, r9
jmp 0x14007edd6
test cl, 4
jne 0x14007ee0f
mov rax, qword [rbp]
mov rcx, qword [rax]
test rcx, rcx
je 0x14007ee0f
mov rax, qword [rbp - 0x20]
mov r9, qword [rax]
mov rax, qword [rbp + 0x18]
movsxd rdi, dword [rax]
sub rdi, r9
add rdi, rcx
mov rax, r9
test rax, rax
je 0x14007ee0f
lea rcx, [rbp + 0xb0]
cmp rdi, 0xf
ja 0x14007ee07
mov qword [rbp + 0xc0], rdi
mov r8, rdi
mov rdx, r9
call sub.VCRUNTIME140.dll_memmove
mov byte [rbp + rdi + 0xb0], sil
jmp 0x14007ee0f
mov rdx, rdi
call fcn.1400d1150
mov rdx, r14
lea rcx, [rbp + 0xb0]
call fcn.1400401b0
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x70], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x80], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x70], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 0xf
mov byte [rax], sil
lea r8d, [r13 + 2]
lea edx, [rbx + 0x127]
lea rax, [rbp + 0xd0]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x80]
call fcn.14000dc90
mov rdx, qword [rbp + 0xc8]
cmp rdx, 0xf
jbe 0x14007eeae
inc rdx
mov rcx, qword [rbp + 0xb0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14007eea9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14007eea9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400d22b0
mov ebx, dword [r12]
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + rcx - 0x50], rax
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx - 0x54], edx
lea rcx, [rbp - 0x38]
call fcn.14003ffe0
lea rcx, [rbp - 0x30]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_iostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x48]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
mov rdx, qword [r15 + 0x18]
cmp rdx, 0xf
jbe 0x14007ef2f
inc rdx
mov rcx, qword [r15]
cmp rdx, 0x1000
jb 0x14007ef2a
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14007efaf
mov rcx, r8
call fcn.1400d22b0
mov qword [r15 + 0x10], rsi
mov qword [r15 + 0x18], 0xf
mov byte [r15], sil
mov rdx, qword [r14 + 0x18]
cmp rdx, 0xf
jbe 0x14007ef74
inc rdx
mov rcx, qword [r14]
cmp rdx, 0x1000
jb 0x14007ef6f
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14007efaf
mov rcx, r8
call fcn.1400d22b0
mov qword [r14 + 0x10], rsi
mov byte [r14], sil
mov eax, ebx
mov qword [r14 + 0x18], 0xf
mov rcx, qword [rbp + 0xf0]
xor rcx, rsp
call fcn.1400d2290
mov rbx, qword [rsp + 0x240]
add rsp, 0x200
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