Function at 0x140001360
Capabilities:
Log keystrokes via application hook

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xb0
mov rax, qword [0x140006040]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov rdi, rcx
mov qword [rsp + 0x30], r8
lea rcx, [0x140004440]
mov r12d, edx
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rcx, qword gs:[0x58]
mov r13, rax
mov esi, 4
add rsi, qword [rcx]
mov ecx, dword [rsi]
cmp dword [0x140006778], ecx
jle 0x1400013ec
lea rcx, [0x140006778]
call fcn.14000276c
cmp dword [0x140006778], 0xffffffff
jne 0x1400013ec
lea rcx, [0x1400036b0]
call fcn.140002a0c
lea rcx, [0x140006778]
call fcn.140002700
xor eax, eax
mov dword [rsp + 0x40], 4
lea rcx, str.win32u.dll
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x60], edi
mov qword [rsp + 0x58], 0x1000
mov dword [rsp + 0x80], 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 0x14000145f
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.140002440
mov rcx, rax
lea rdx, [0x140002620]
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 0x140001466
lea rcx, [rsp + 0x40]
call rax
mov r15, qword [rsp + 0x78]
mov edx, 0xc8
xor ecx, ecx
mov r9d, 4
mov r8d, 0x3000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
movaps xmm0, xmmword [0x1400060c0]
lea rbp, [r15 + 0x60]
mov r8, qword [rsp + 0x30]
mov r14, rax
mov edx, 0x50
movups xmmword [rax], xmm0
movaps xmm1, xmmword [0x1400060d0]
lea rcx, [r14 + 0x78]
movups xmmword [rax + 0x10], xmm1
movaps xmm0, xmmword [0x1400060e0]
movups xmmword [rax + 0x20], xmm0
movaps xmm1, xmmword [0x1400060f0]
movups xmmword [rax + 0x30], xmm1
movaps xmm0, xmmword [0x140006100]
movups xmmword [rax + 0x40], xmm0
movaps xmm1, xmmword [0x140006110]
movups xmmword [rax + 0x50], xmm1
mov qword [rax + 6], rbp
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [r14 + 0x68], rax
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
mov eax, dword [rsi]
cmp dword [0x140006778], eax
jle 0x140001526
lea rcx, [0x140006778]
call fcn.14000276c
cmp dword [0x140006778], 0xffffffff
jne 0x140001526
lea rcx, [0x1400036b0]
call fcn.140002a0c
lea rcx, [0x140006778]
call fcn.140002700
mov r9, r14
mov dword [rsp + 0x20], 0xc8
mov r8, r15
mov rdx, rdi
call fcn.140001130
mov r9d, r12d
mov r8, r13
mov rdx, r15
mov ecx, 7
call qword [sym.imp.USER32.dll_SetWindowsHookExW]
cmp dword [r14 + 0x60], 2
mov r12, rax
je 0x1400015c0
nop word [rax + rax]
mov ecx, dword [rsi]
cmp dword [0x140006778], ecx
jle 0x140001597
lea rcx, [0x140006778]
call fcn.14000276c
cmp dword [0x140006778], 0xffffffff
jne 0x140001597
lea rcx, [0x1400036b0]
call fcn.140002a0c
lea rcx, [0x140006778]
call fcn.140002700
lea r9, [r14 + 0x60]
mov dword [rsp + 0x20], 0x68
mov r8, rbp
mov rdx, rdi
call fcn.140001070
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [r14 + 0x60], 2
jne 0x140001560
mov rbx, qword [r14 + 0x70]
mov rcx, r12
call qword [sym.imp.USER32.dll_UnhookWindowsHookEx]
mov eax, dword [rsi]
cmp dword [0x140006778], eax
jle 0x140001604
lea rcx, [0x140006778]
call fcn.14000276c
cmp dword [0x140006778], 0xffffffff
jne 0x140001604
lea rcx, [0x1400036b0]
call fcn.140002a0c
lea rcx, [0x140006778]
call fcn.140002700
mov r8, r15
mov rdx, rdi
call fcn.1400012a0
xor edx, edx
mov r8d, 0x8000
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rax, rbx
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.1400026e0
mov rbx, qword [rsp + 0x108]
add rsp, 0xb0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret