Function at 0x140001580
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 [0x140008040]
xor rax, rsp
mov qword [rbp], rax
mov rsi, rcx
mov qword [rsp + 0x28], r9
lea rcx, [0x140005580]
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 [0x140008870], ecx
jle 0x140001610
lea rcx, [0x140008870]
call fcn.140003368
cmp dword [0x140008870], 0xffffffff
jne 0x140001610
lea rcx, [0x140004290]
call fcn.140003644
lea rcx, [0x140008870]
call fcn.1400032fc
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 0x14000167a
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.140002dc0
mov rcx, rax
lea rdx, [0x140002f90]
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 0x140001680
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 [0x140008120]
add r15, 0x5c
mov rbx, rax
mov qword [rsp + 0x30], rax
movups xmmword [rax], xmm0
movaps xmm1, xmmword [0x140008130]
movups xmmword [rax + 0x10], xmm1
movaps xmm0, xmmword [0x140008140]
movups xmmword [rax + 0x20], xmm0
movaps xmm1, xmmword [0x140008150]
movups xmmword [rax + 0x30], xmm1
movaps xmm0, xmmword [str.D__H]
movups xmmword [rax + 0x40], xmm0
movsd xmm0, qword [0x140008170]
movsd qword [rax + 0x50], xmm0
mov eax, dword [0x140008178]
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 [0x140008870], eax
jle 0x14000174a
lea rcx, [0x140008870]
call fcn.140003368
cmp dword [0x140008870], 0xffffffff
jne 0x14000174a
lea rcx, [0x140004290]
call fcn.140003644
lea rcx, [0x140008870]
call fcn.1400032fc
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 0x1400017ba
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.140002dc0
mov rcx, rax
lea rdx, [0x140002f90]
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 0x1400017c1
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 0x14000189e
mov ecx, dword [rdi]
cmp dword [0x140008870], ecx
jle 0x14000181d
lea rcx, [0x140008870]
call fcn.140003368
cmp dword [0x140008870], 0xffffffff
jne 0x14000181d
lea rcx, [0x140004290]
call fcn.140003644
lea rcx, [0x140008870]
call fcn.1400032fc
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 0x140001883
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.140002dc0
mov rcx, rax
lea rdx, [0x140002f90]
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 0x14000188a
lea rcx, [rsp + 0x40]
call rax
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [rbx], 2
jne 0x1400017e6
mov rcx, r12
call qword [sym.imp.USER32.dll_UnhookWindowsHookEx]
mov eax, dword [rdi]
cmp dword [0x140008870], eax
jle 0x1400018de
lea rcx, [0x140008870]
call fcn.140003368
cmp dword [0x140008870], 0xffffffff
jne 0x1400018de
lea rcx, [0x140004290]
call fcn.140003644
lea rcx, [0x140008870]
call fcn.1400032fc
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 0x14000193f
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.140002dc0
mov rcx, rax
lea rdx, [0x140002f90]
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 0x140001946
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.1400032a0
mov rbx, qword [rsp + 0x160]
add rsp, 0x110
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret