Function at 0x140190d60
Capabilities:
Log keystrokes via application hook

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x78
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov r8, qword [0x1403c72c8]
mov dword [0x1403c73d8], eax
test r8, r8
je 0x140190f78
mov rbx, qword [sym.imp.USER32.dll_SetWindowsHookExA]
xor r9d, r9d
mov ecx, 0xd
lea rdx, [dbg.keyboard_hook_event_proc]
call rbx
xor r9d, r9d
mov r8, qword [0x1403c72c8]
lea rdx, [dbg.mouse_hook_event_proc]
mov ecx, 0xe
mov qword [0x1403c73d0], rax
call rbx
xor r8d, r8d
mov edx, 0x800c
mov dword [rsp + 0x30], 2
mov qword [0x1403c73c8], rax
lea r9, [sym.win_hook_event_proc]
mov ecx, 0x800c
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
call qword [sym.imp.USER32.dll_SetWinEventHook]
cmp qword [0x1403c73d0], 0
mov rbx, qword [dbg.default_logger]
mov qword [0x1403c73c0], rax
je 0x140191018
cmp qword [0x1403c73c8], 0
je 0x140191018
test rax, rax
je 0x140191080
mov r9d, 0x2b3
lea r8, global___func__.11
lea rdx, str._s___u_:_SetWindowsHookEx___successful._n
mov ecx, 1
call rbx
lea r12, [0x1403c7380]
call dbg.initialize_modifiers
mov r13, qword [sym.imp.USER32.dll_GetMessageTime]
call r13
cmp qword [0x1403c7368], 0
mov dword [0x1403c7380], 1
mov dword [0x1403c7390], 0
cdqe
mov qword [0x1403c7388], rax
mov rax, qword [dbg.default_logger]
je 0x140191058
mov ecx, 1
mov dword [rsp + 0x20], 1
mov r9d, 0x36
lea r8, str.dispatch_event
lea rdx, str._s___u_:_Dispatching_event_type__u._n
call rax
mov rcx, r12
call qword [0x1403c7368]
mov rsi, qword [sym.imp.USER32.dll_GetMessageA]
mov rbp, qword [sym.imp.USER32.dll_TranslateMessage]
lea rbx, [rsp + 0x40]
mov rdi, qword [sym.imp.USER32.dll_DispatchMessageA]
jmp 0x140190eea
mov rcx, rbx
call rbp
mov rcx, rbx
call rdi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call rsi
test eax, eax
jg 0x140190ee0
xor ebx, ebx
call dbg.unregister_running_hooks
call r13
cmp qword [0x1403c7368], 0
mov dword [0x1403c7380], 2
mov dword [0x1403c7390], 0
cdqe
mov qword [0x1403c7388], rax
mov rax, qword [dbg.default_logger]
je 0x140190fe8
mov r9d, 0x36
lea r8, str.dispatch_event
lea rdx, str._s___u_:_Dispatching_event_type__u._n
mov dword [rsp + 0x20], 2
mov ecx, 1
call rax
mov rcx, r12
call qword [0x1403c7368]
mov eax, ebx
add rsp, 0x78
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
mov r9d, 0x291
lea r8, global___func__.11
mov ecx, 2
lea rdx, str._s___u_:_hInst_was_not_set_by_DllMain__._n
call qword [dbg.default_logger]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [0x1403c72c8], rax
test rax, rax
je 0x1401910b0
call dbg.refresh_locale_list
mov r9d, 0x31e
mov ecx, 2
lea r8, str.load_input_helper
mov dword [rsp + 0x20], eax
lea rdx, str._s___u_:_refresh_locale_list___found__i_locale_s_._n
call qword [dbg.default_logger]
mov r8, qword [0x1403c72c8]
jmp 0x140190d88
mov r9d, 0x3b
lea r8, str.dispatch_event
mov ecx, 3
lea rdx, str._s___u_:_No_dispatch_callback_set__n
call rax
mov eax, ebx
add rsp, 0x78
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, 0x2c7
lea r8, global___func__.11
lea rdx, str._s___u_:_SetWindowsHookEx___failed____lX__n
mov dword [rsp + 0x20], eax
mov ecx, 4
lea r12, [0x1403c7380]
call rbx
mov r13, qword [sym.imp.USER32.dll_GetMessageTime]
mov ebx, 0x30
jmp 0x140190efd
mov r9d, 0x3b
lea r8, str.dispatch_event
mov ecx, 3
lea rdx, str._s___u_:_No_dispatch_callback_set__n
call rax
jmp 0x140190eba
mov r9d, 0x2af
lea r8, global___func__.11
mov ecx, 3
lea rdx, str._s___u_:_SetWinEventHook___failed__n
call rbx
mov rbx, qword [dbg.default_logger]
jmp 0x140190e2b
mov rbx, qword [dbg.default_logger]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, 0x299
mov ecx, 4
lea r8, global___func__.11
mov dword [rsp + 0x20], eax
lea rdx, str._s___u_:_Could_not_determine_hInst_for_SetWindowsHookEx______lX__n
call rbx
mov r8, qword [0x1403c72c8]
jmp 0x140190d88