Function at 0x140001fb0
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 [0x14000a010]
xor rax, rsp
mov qword [rbp], rax
mov rsi, rcx
mov qword [rsp + 0x28], r9
lea rcx, [0x140007680]
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 [0x14000ab68], ecx
jle 0x140002040
lea rcx, [0x14000ab68]
call fcn.140004c18
cmp dword [0x14000ab68], 0xffffffff
jne 0x140002040
lea rcx, [0x140005ce0]
call fcn.140004f9c
lea rcx, [0x14000ab68]
call fcn.140004bb8
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.NtQueryCompositionSurfaceStatistics
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
jne 0x1400020aa
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.____driver::send_instruction_get_NtQueryCompositionSurfaceStatistics_failed
call fcn.1400046e0
mov rcx, rax
lea rdx, [0x1400048b0]
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 0x1400020b0
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 [0x14000a0b0]
add r15, 0x5c
mov rbx, rax
mov qword [rsp + 0x30], rax
movups xmmword [rax], xmm0
movaps xmm1, xmmword [0x14000a0c0]
movups xmmword [rax + 0x10], xmm1
movaps xmm0, xmmword [0x14000a0d0]
movups xmmword [rax + 0x20], xmm0
movaps xmm1, xmmword [0x14000a0e0]
movups xmmword [rax + 0x30], xmm1
movaps xmm0, xmmword [str.D__H]
movups xmmword [rax + 0x40], xmm0
movsd xmm0, qword [0x14000a100]
movsd qword [rax + 0x50], xmm0
mov eax, dword [0x14000a108]
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 [0x14000ab68], eax
jle 0x14000217a
lea rcx, [0x14000ab68]
call fcn.140004c18
cmp dword [0x14000ab68], 0xffffffff
jne 0x14000217a
lea rcx, [0x140005ce0]
call fcn.140004f9c
lea rcx, [0x14000ab68]
call fcn.140004bb8
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.NtQueryCompositionSurfaceStatistics
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
jne 0x1400021ea
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.____driver::send_instruction_get_NtQueryCompositionSurfaceStatistics_failed
call fcn.1400046e0
mov rcx, rax
lea rdx, [0x1400048b0]
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 0x1400021f1
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 0x1400022ce
mov ecx, dword [rdi]
cmp dword [0x14000ab68], ecx
jle 0x14000224d
lea rcx, [0x14000ab68]
call fcn.140004c18
cmp dword [0x14000ab68], 0xffffffff
jne 0x14000224d
lea rcx, [0x140005ce0]
call fcn.140004f9c
lea rcx, [0x14000ab68]
call fcn.140004bb8
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.NtQueryCompositionSurfaceStatistics
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
jne 0x1400022b3
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.____driver::send_instruction_get_NtQueryCompositionSurfaceStatistics_failed
call fcn.1400046e0
mov rcx, rax
lea rdx, [0x1400048b0]
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 0x1400022ba
lea rcx, [rsp + 0x40]
call rax
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [rbx], 2
jne 0x140002216
mov rcx, r12
call qword [sym.imp.USER32.dll_UnhookWindowsHookEx]
mov eax, dword [rdi]
cmp dword [0x14000ab68], eax
jle 0x14000230e
lea rcx, [0x14000ab68]
call fcn.140004c18
cmp dword [0x14000ab68], 0xffffffff
jne 0x14000230e
lea rcx, [0x140005ce0]
call fcn.140004f9c
lea rcx, [0x14000ab68]
call fcn.140004bb8
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.NtQueryCompositionSurfaceStatistics
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
jne 0x14000236f
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.____driver::send_instruction_get_NtQueryCompositionSurfaceStatistics_failed
call fcn.1400046e0
mov rcx, rax
lea rdx, [0x1400048b0]
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 0x140002376
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.140004aa0
mov rbx, qword [rsp + 0x160]
add rsp, 0x110
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret