Function at 0x1400017f0
Capabilities:
Log keystrokes via application hook

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x10]
sub rsp, 0x110
mov rax, qword [0x1400ba010]
xor rax, rsp
mov qword [rbp], rax
mov rsi, rcx
mov qword [rsp + 0x28], r9
lea rcx, [0x1400b74c0]
mov r14, r8
mov r12d, edx
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rdx, qword gs:[0x58]
mov r13, rax
mov edi, 4
add rdi, qword [rdx]
mov ecx, dword [rdi]
cmp dword [0x1400ba7b0], ecx
jle 0x140001880
lea rcx, [0x1400ba7b0]
call fcn.1400b5a4c
cmp dword [0x1400ba7b0], 0xffffffff
jne 0x140001880
lea rcx, [0x1400b6a60]
call fcn.1400b5d38
lea rcx, [0x1400ba7b0]
call fcn.1400b59e0
xor eax, eax
mov dword [rbp - 0x60], 4
lea rcx, str.win32u.dll
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x58], rax
mov dword [rbp - 0x40], esi
mov qword [rbp - 0x48], 0x1000
mov dword [rbp - 0x20], 0x40
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rcx, rax
lea rdx, str.NtDxgkVailPromoteCompositionSurface
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
jne 0x1400018ea
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.____Driver_Error_0x01
call fcn.1400b5780
mov rcx, rax
lea rdx, [0x1400b5950]
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]
jmp 0x1400018f0
lea rcx, [rbp - 0x60]
call rax
mov r15, qword [rbp - 0x28]
mov edx, 0x74
xor ecx, ecx
mov qword [rsp + 0x20], r15
mov r8d, 0x3000
lea r9d, [rdx - 0x70]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
movaps xmm0, xmmword [0x1400ba0b0]
add r15, 0x5c
mov rbx, rax
mov qword [rsp + 0x30], rax
movups xmmword [rax], xmm0
movaps xmm1, xmmword [0x1400ba0c0]
movups xmmword [rax + 0x10], xmm1
movaps xmm0, xmmword [0x1400ba0d0]
movups xmmword [rax + 0x20], xmm0
movaps xmm1, xmmword [0x1400ba0e0]
movups xmmword [rax + 0x30], xmm1
movaps xmm0, xmmword [str.D__H]
movups xmmword [rax + 0x40], xmm0
movsd xmm0, qword [0x1400ba100]
movsd qword [rax + 0x50], xmm0
mov eax, dword [0x1400ba108]
mov dword [rbx + 0x58], eax
mov rax, qword [rsp + 0x28]
mov qword [rbx + 6], r15
add rbx, 0x5c
mov qword [rbx + 0x10], r14
mov eax, dword [rax + 0x28]
add rax, r14
mov qword [rbx + 8], rax
mov eax, dword [rdi]
cmp dword [0x1400ba7b0], eax
jle 0x1400019ba
lea rcx, [0x1400ba7b0]
call fcn.1400b5a4c
cmp dword [0x1400ba7b0], 0xffffffff
jne 0x1400019ba
lea rcx, [0x1400b6a60]
call fcn.1400b5d38
lea rcx, [0x1400ba7b0]
call fcn.1400b59e0
mov rax, qword [rsp + 0x20]
lea rcx, str.win32u.dll
mov r14, qword [rsp + 0x30]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], r14
mov dword [rsp + 0x40], 1
mov dword [rsp + 0x60], esi
mov qword [rsp + 0x58], 0x74
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rcx, rax
lea rdx, str.NtDxgkVailPromoteCompositionSurface
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
jne 0x140001a2a
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.____Driver_Error_0x01
call fcn.1400b5780
mov rcx, rax
lea rdx, [0x1400b5950]
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]
jmp 0x140001a31
lea rcx, [rsp + 0x40]
call rax
mov r8, r13
mov r9d, r12d
mov r13, qword [rsp + 0x20]
mov ecx, 7
mov rdx, r13
call qword [sym.imp.USER32.dll_SetWindowsHookExW]
cmp dword [rbx], 2
mov r12, rax
je 0x140001b0e
mov ecx, dword [rdi]
cmp dword [0x1400ba7b0], ecx
jle 0x140001a8d
lea rcx, [0x1400ba7b0]
call fcn.1400b5a4c
cmp dword [0x1400ba7b0], 0xffffffff
jne 0x140001a8d
lea rcx, [0x1400b6a60]
call fcn.1400b5d38
lea rcx, [0x1400ba7b0]
call fcn.1400b59e0
lea rcx, str.win32u.dll
mov dword [rsp + 0x40], 3
mov dword [rsp + 0x60], esi
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x58], 0x18
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rcx, rax
lea rdx, str.NtDxgkVailPromoteCompositionSurface
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
jne 0x140001af3
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.____Driver_Error_0x01
call fcn.1400b5780
mov rcx, rax
lea rdx, [0x1400b5950]
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]
jmp 0x140001afa
lea rcx, [rsp + 0x40]
call rax
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [rbx], 2
jne 0x140001a56
mov rcx, r12
call qword [sym.imp.USER32.dll_UnhookWindowsHookEx]
mov eax, dword [rdi]
cmp dword [0x1400ba7b0], eax
jle 0x140001b4e
lea rcx, [0x1400ba7b0]
call fcn.1400b5a4c
cmp dword [0x1400ba7b0], 0xffffffff
jne 0x140001b4e
lea rcx, [0x1400b6a60]
call fcn.1400b5d38
lea rcx, [0x1400ba7b0]
call fcn.1400b59e0
lea rcx, str.win32u.dll
mov dword [rsp + 0x40], 5
mov dword [rsp + 0x60], esi
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x48], 0
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rcx, rax
lea rdx, str.NtDxgkVailPromoteCompositionSurface
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
jne 0x140001baf
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.____Driver_Error_0x01
call fcn.1400b5780
mov rcx, rax
lea rdx, [0x1400b5950]
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]
jmp 0x140001bb6
lea rcx, [rsp + 0x40]
call rax
xor edx, edx
mov r8d, 0x8000
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rcx, qword [rbp]
xor rcx, rsp
call fcn.1400b59c0
mov rbx, qword [rsp + 0x160]
add rsp, 0x110
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret