Function at 0x140001660
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x70]
sub rsp, 0x170
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x60], rax
mov rbx, rcx
mov rdi, rdx
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, [0x140004460]
mov rsi, rax
call fcn.140002070
mov edx, 0xe
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.DEBUG
call fcn.140002070
mov edx, 7
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, [0x14000446c]
call fcn.140002070
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str._injecting_into_browser
call fcn.140002070
mov rcx, rax
lea rdx, [0x140002250]
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::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rcx, rax
xor edx, edx
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
xor edx, edx
mov rcx, rbx
mov r14d, eax
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov r8d, 1
mov ecx, r14d
mov edx, eax
mov r15d, eax
call qword [sym.imp.USER32.dll_AttachThreadInput]
mov rcx, rbx
call qword [sym.imp.USER32.dll_SetForegroundWindow]
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
xor edx, edx
lea rcx, [rsp + 0x70]
mov r8d, 0xf0
call sub.VCRUNTIME140.dll_memset
mov ecx, 0x10
mov dword [rsp + 0x70], 1
mov edx, 0x11
mov word [rbp - 0x60], cx
mov eax, 0x4a
mov word [rsp + 0x78], dx
mov word [rbp + 0x18], cx
mov r8d, 0x28
mov word [rbp + 0x40], dx
mov ecx, 6
lea rdx, [rsp + 0x70]
mov dword [rbp - 0x68], 1
mov dword [rbp - 0x40], 1
mov word [rbp - 0x38], ax
mov dword [rbp - 0x18], 1
mov word [rbp - 0x10], ax
mov dword [rbp - 0xc], 2
mov dword [rbp + 0x10], 1
mov dword [rbp + 0x1c], 2
mov dword [rbp + 0x38], 1
mov dword [rbp + 0x44], 2
call qword [sym.imp.USER32.dll_SendInput]
mov ecx, 0x7d0
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp qword [rdi + 0x18], 0xf
mov rcx, rdi
jbe 0x140001806
mov rcx, qword [rdi]
mov rdx, rcx
jmp 0x140001809
mov rdx, rdi
mov rdi, qword [rdi + 0x10]
mov rbx, rcx
add rdi, rdx
cmp rcx, rdi
je 0x140001844
nop dword [rax + rax]
movsx ecx, byte [rbx]
call qword [sym.imp.USER32.dll_VkKeyScanW]
movsx rdx, ax
shr rdx, 8
and edx, 1
movzx ecx, al
call fcn.140001540
inc rbx
cmp rbx, rdi
jne 0x140001820
xor eax, eax
lea rdx, [rsp + 0x20]
xorps xmm0, xmm0
mov qword [rsp + 0x40], rax
movups xmmword [rsp + 0x20], xmm0
mov eax, 0xd
mov dword [rsp + 0x20], 1
mov r8d, 0x28
mov word [rsp + 0x28], ax
mov ecx, 1
movups xmmword [rsp + 0x30], xmm0
call qword [sym.imp.USER32.dll_SendInput]
movups xmm0, xmmword [rsp + 0x20]
mov r8d, 0x28
lea rdx, [rsp + 0x48]
movups xmm1, xmmword [rsp + 0x30]
mov ecx, 1
movups xmmword [rsp + 0x48], xmm0
mov dword [rsp + 0x54], 2
movsd xmm0, qword [rsp + 0x40]
movsd qword [rsp + 0x68], xmm0
movups xmmword [rsp + 0x58], xmm1
call qword [sym.imp.USER32.dll_SendInput]
mov ecx, 0x7d0
call qword [sym.imp.KERNEL32.dll_Sleep]
xor r8d, r8d
mov edx, r15d
mov ecx, r14d
call qword [sym.imp.USER32.dll_AttachThreadInput]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, [0x140004460]
call fcn.140002070
mov edx, 0xa
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.DEBUG
call fcn.140002070
mov edx, 7
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, [0x14000446c]
call fcn.140002070
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str._succesfully_injected_into_browser_
call fcn.140002070
mov rcx, rax
lea rdx, [0x140002250]
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::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rcx, qword [rbp + 0x60]
xor rcx, rsp
call fcn.140002b60
mov rbx, qword [rsp + 0x1b0]
add rsp, 0x170
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret