Function at 0x14001159b
Capabilities:
Log keystrokes

Disassembly:
jmp 0x14001be00
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x2e8
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x7e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x308]
mov rax, qword [0x14002e040]
xor rax, rbp
mov qword [rbp + 0x2a8], rax
lea rcx, [0x1400350fd]
call fcn.1400119c4
mov edx, 0x110
lea rcx, [rbp + 0x10]
call fcn.1400116d1
mov rax, qword [rbp + 0x2d0]
mov dword [rsp + 0x20], 1
mov r9d, 0x40
mov r8d, 1
mov rdx, rax
lea rcx, [rbp + 0x10]
call fcn.1400117bc
nop
lea rcx, [rbp + 0x10]
call fcn.140011046
movzx eax, al
test eax, eax
jne 0x14001bec1
lea rdx, str.Failed_to_open_file_for_playback.
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140011122
lea rdx, [0x140011064]
mov rcx, rax
call qword [sym.imp.MSVCP140D.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]
nop
lea rcx, [rbp + 0x10]
call fcn.140011190
jmp 0x14001bfe7
lea rdx, str.Playing_back_keyboard_inputs.
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140011122
lea rdx, [0x140011064]
mov rcx, rax
call qword [sym.imp.MSVCP140D.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 qword [rbp + 0x138], 0
lea rdx, [rbp + 0x154]
lea rcx, [rbp + 0x10]
call fcn.1400119e7
lea rdx, [rbp + 0x178]
mov rcx, rax
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_istream_char__struct_std::char_traits_char__::operator___long_long___int64_____ptr64____ptr64]
mov qword [rbp + 0x278], rax
mov rax, qword [rbp + 0x278]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rbp + 0x278]
add rcx, rax
mov rax, rcx
mov rcx, rax
call qword [sym.imp.MSVCP140D.dll_public:_bool___cdecl_std::ios_base::operator_bool_void_const___ptr64]
movzx eax, al
test eax, eax
je 0x14001bfb1
mov rax, qword [rbp + 0x138]
mov rcx, qword [rbp + 0x178]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x198], rax
lea rdx, [rbp + 0x198]
lea rcx, [rbp + 0x298]
call fcn.14001183e
mov rcx, rax
call fcn.140011820
movzx eax, byte [rbp + 0x154]
xor edx, edx
mov ecx, eax
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
xor r9d, r9d
xor r8d, r8d
movzx edx, al
movzx ecx, byte [rbp + 0x154]
call qword [sym.imp.USER32.dll_keybd_event]
mov rax, qword [rbp + 0x178]
mov qword [rbp + 0x138], rax
jmp 0x14001beef
lea rcx, [rbp + 0x10]
call fcn.140011582
lea rdx, str.Playback_finished.
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140011122
lea rdx, [0x140011064]
mov rcx, rax
call qword [sym.imp.MSVCP140D.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]
nop
lea rcx, [rbp + 0x10]
call fcn.140011190
lea rcx, [rbp - 0x30]
lea rdx, [0x1400281a0]
call fcn.140011839
mov rcx, qword [rbp + 0x2a8]
xor rcx, rbp
call fcn.1400114bf
lea rsp, [rbp + 0x2b8]
pop rdi
pop rbp
ret