Function at 0x1400f1860
Capabilities:
Log keystrokes via application hook

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
sub rsp, 0x80
mov rax, qword [0x140137040]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov rax, qword [rcx + 0x50]
lea rdx, [0x1400f12f0]
mov rbx, rcx
mov qword [0x1401a9c18], rax
mov ecx, reloc.WS2_32.dll_listen
xor r9d, r9d
xor r8d, r8d
call qword [sym.imp.USER32.dll_SetWindowsHookExW]
mov qword [0x1401a9c10], rax
test rax, rax
jne 0x1400f18d1
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
lea rdx, str.Failed_to_install_keyboard_hook_
call fcn.14001b810
lea rdx, [0x14001b9f0]
mov rcx, rax
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 r9d, 2
xor r8d, r8d
mov ecx, r9d
xor edx, edx
call qword [sym.imp.USER32.dll_SystemParametersInfoW]
xor ebp, ebp
cmp byte [rbx + 0x48], bpl
jne 0x1400f1a61
xor r9d, r9d
mov dword [rsp + 0x20], 1
xor r8d, r8d
lea rcx, [rsp + 0x30]
xor edx, edx
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x1400f1950
lea rcx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_DispatchMessageW]
cmp dword [rsp + 0x38], 0x12
je 0x1400f1a61
xor r9d, r9d
mov dword [rsp + 0x20], 1
xor r8d, r8d
lea rcx, [rsp + 0x30]
xor edx, edx
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x1400f1910
cmp dword [rbx + 0x1b0], 1
jne 0x1400f1969
mov rcx, rbx
call fcn.1400f20d0
test al, al
je 0x1400f1a61
cmp byte [0x1401a9898], bpl
mov rcx, qword [rbx + 0x50]
je 0x1400f197d
mov edx, send
jmp 0x1400f197f
xor edx, edx
call qword [sym.imp.USER32.dll_SetWindowDisplayAffinity]
mov rax, qword [0x1401a9bf8]
test rax, rax
je 0x1400f199a
mov rcx, qword [rax + 0xa0]
jmp 0x1400f199d
mov rcx, rbp
cmp qword [rcx + 0x48], rbp
jne 0x1400f19a8
call fcn.1400c4a40
call fcn.1400c58e0
call fcn.140099750
mov rcx, qword [rbx + 0x40]
test rcx, rcx
je 0x1400f1a9d
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
call fcn.14009b870
movups xmm0, xmmword [rbx + 0xf0]
mov rcx, qword [0x1401ac058]
lea r8, [0x1401ac068]
xor r9d, r9d
mov edx, 1
movups xmmword [rsp + 0x60], xmm0
mov rax, qword [rcx]
call qword [rax + 0x108]
mov rcx, qword [0x1401ac058]
lea r8, [rsp + 0x60]
mov rdx, qword [0x1401ac068]
mov rax, qword [rcx]
call qword [rax + 0x190]
mov rax, qword [0x1401a9bf8]
mov rcx, qword [rax + 0x48d0]
mov rax, qword [rcx]
mov rcx, rbp
add rax, 0x48
cmp byte [rax], bpl
cmovne rcx, rax
call fcn.1400c3dc0
mov rcx, qword [0x1401ac060]
xor r8d, r8d
cmp byte [0x1401abfd1], bpl
mov rax, qword [rcx]
je 0x1400f1a52
mov edx, 1
jmp 0x1400f1a54
xor edx, edx
call qword [rax + 0x40]
cmp byte [rbx + 0x48], bpl
je 0x1400f18f1
mov r9d, 2
mov qword [rsp + 0x98], rsi
mov ecx, r9d
mov qword [rsp + 0xa0], rdi
xor r8d, r8d
mov edx, 1
call qword [sym.imp.USER32.dll_SystemParametersInfoW]
mov rdi, qword [0x1401a9bf8]
test rdi, rdi
je 0x1400f1aa4
mov rsi, qword [rdi + 0xa0]
jmp 0x1400f1aa7
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xbad_function_call_void_]
int3
mov rsi, rbp
call fcn.1400c4e40
mov rcx, qword [rsi + 0x10]
test rcx, rcx
je 0x1400f1abb
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rsi]
test rcx, rcx
je 0x1400f1ac9
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rsi + 8]
test rcx, rcx
je 0x1400f1ad8
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
and dword [rdi + 0xc], 0xfffffff7
mov rax, qword [0x1401a9bf8]
mov qword [rdi + 0x90], rbp
mov qword [rdi + 0xa0], rbp
test rax, rax
je 0x1400f1afc
dec dword [rax + 0xf4]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, qword [0x1401a9bf8]
test rax, rax
je 0x1400f1b1a
mov rsi, qword [rax + 0x98]
jmp 0x1400f1b1d
mov rsi, rbp
mov rcx, qword [rsi + 0x30]
lea rdi, [rax + 8]
test rcx, rcx
je 0x1400f1b37
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rax, qword [0x1401a9bf8]
and dword [rdi + 4], 0xfffffff8
mov qword [rdi + 0x80], rbp
mov qword [rdi + 0x90], rbp
test rax, rax
je 0x1400f1b54
dec dword [rax + 0xf4]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rdi, qword [0x1401a9bf8]
mov qword [0x1401a9bf8], rdi
call fcn.140097780
mov rsi, qword [rsp + 0x98]
mov qword [0x1401a9bf8], rbp
test rdi, rdi
je 0x1400f1ba7
mov rcx, rdi
call fcn.1400ae5a0
mov rax, qword [0x1401a9bf8]
test rax, rax
je 0x1400f1b9e
dec dword [rax + 0xf4]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
call fcn.1400f1200
mov rcx, qword [rbx + 0x50]
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rdi, qword [rsp + 0xa0]
lea rcx, [rbx + 0xa0]
cmp qword [rcx + 0x18], 0xf
jbe 0x1400f1bcf
mov rcx, qword [rcx]
mov rdx, qword [rbx + 0x58]
call qword [sym.imp.USER32.dll_UnregisterClassA]
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1400f3ce0
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rbp
ret