Function at 0x140001470
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 [0x140006040]
xor rax, rsp
mov qword [rbp], rax
mov rsi, rcx
mov qword [rsp + 0x28], r9
lea rcx, [0x140004440]
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 [0x140006778], ecx
jle 0x140001500
lea rcx, [0x140006778]
call fcn.14000279c
cmp dword [0x140006778], 0xffffffff
jne 0x140001500
lea rcx, [0x1400035c0]
call fcn.140002a3c
lea rcx, [0x140006778]
call fcn.140002730
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 0x14000156a
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.140002480
mov rcx, rax
lea rdx, [0x140002650]
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 0x140001570
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 [0x140006120]
add r15, 0x5c
mov rbx, rax
mov qword [rsp + 0x30], rax
movups xmmword [rax], xmm0
movaps xmm1, xmmword [0x140006130]
movups xmmword [rax + 0x10], xmm1
movaps xmm0, xmmword [0x140006140]
movups xmmword [rax + 0x20], xmm0
movaps xmm1, xmmword [0x140006150]
movups xmmword [rax + 0x30], xmm1
movaps xmm0, xmmword [str.D__H]
movups xmmword [rax + 0x40], xmm0
movsd xmm0, qword [0x140006170]
movsd qword [rax + 0x50], xmm0
mov eax, dword [0x140006178]
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 [0x140006778], eax
jle 0x14000163a
lea rcx, [0x140006778]
call fcn.14000279c
cmp dword [0x140006778], 0xffffffff
jne 0x14000163a
lea rcx, [0x1400035c0]
call fcn.140002a3c
lea rcx, [0x140006778]
call fcn.140002730
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 0x1400016aa
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.140002480
mov rcx, rax
lea rdx, [0x140002650]
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 0x1400016b1
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 0x14000178e
mov ecx, dword [rdi]
cmp dword [0x140006778], ecx
jle 0x14000170d
lea rcx, [0x140006778]
call fcn.14000279c
cmp dword [0x140006778], 0xffffffff
jne 0x14000170d
lea rcx, [0x1400035c0]
call fcn.140002a3c
lea rcx, [0x140006778]
call fcn.140002730
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 0x140001773
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.140002480
mov rcx, rax
lea rdx, [0x140002650]
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 0x14000177a
lea rcx, [rsp + 0x40]
call rax
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [rbx], 2
jne 0x1400016d6
mov rcx, r12
call qword [sym.imp.USER32.dll_UnhookWindowsHookEx]
mov eax, dword [rdi]
cmp dword [0x140006778], eax
jle 0x1400017ce
lea rcx, [0x140006778]
call fcn.14000279c
cmp dword [0x140006778], 0xffffffff
jne 0x1400017ce
lea rcx, [0x1400035c0]
call fcn.140002a3c
lea rcx, [0x140006778]
call fcn.140002730
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 0x14000182f
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.140002480
mov rcx, rax
lea rdx, [0x140002650]
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 0x140001836
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.140002710
mov rbx, qword [rsp + 0x160]
add rsp, 0x110
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret