Function at 0x140001650
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
sub rsp, 0xb0
mov rax, qword [0x140006040]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov rdi, rcx
mov qword [rsp + 0x38], r9
lea rcx, [0x140004440]
mov qword [rsp + 0x30], r8
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 0x1400016e1
lea rcx, [0x140006778]
call fcn.14000276c
cmp dword [0x140006778], 0xffffffff
jne 0x1400016e1
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 0x140001754
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 0x14000175b
lea rcx, [rsp + 0x40]
call rax
mov r15, qword [rsp + 0x78]
mov edx, 0x74
xor ecx, ecx
mov r9d, 4
mov r8d, 0x3000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
movaps xmm0, xmmword [0x140006120]
lea rbp, [r15 + 0x5c]
mov rcx, qword [rsp + 0x30]
mov r14, 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 [r14 + 0x58], eax
mov rax, qword [rsp + 0x38]
mov qword [r14 + 6], rbp
mov qword [r14 + 0x6c], rcx
mov eax, dword [rax + 0x28]
add rax, rcx
mov qword [r14 + 0x64], rax
mov eax, dword [rsi]
cmp dword [0x140006778], eax
jle 0x140001820
lea rcx, [0x140006778]
call fcn.14000276c
cmp dword [0x140006778], 0xffffffff
jne 0x140001820
lea rcx, [0x1400036b0]
call fcn.140002a0c
lea rcx, [0x140006778]
call fcn.140002700
mov r9, r14
mov dword [rsp + 0x20], 0x74
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 + 0x5c], 2
mov r12, rax
je 0x1400018b4
mov ecx, dword [rsi]
cmp dword [0x140006778], ecx
jle 0x14000188b
lea rcx, [0x140006778]
call fcn.14000276c
cmp dword [0x140006778], 0xffffffff
jne 0x14000188b
lea rcx, [0x1400036b0]
call fcn.140002a0c
lea rcx, [0x140006778]
call fcn.140002700
lea r9, [r14 + 0x5c]
mov dword [rsp + 0x20], 0x18
mov r8, rbp
mov rdx, rdi
call fcn.140001070
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [r14 + 0x5c], 2
jne 0x140001854
mov rcx, r12
call qword [sym.imp.USER32.dll_UnhookWindowsHookEx]
mov eax, dword [rsi]
cmp dword [0x140006778], eax
jle 0x1400018f4
lea rcx, [0x140006778]
call fcn.14000276c
cmp dword [0x140006778], 0xffffffff
jne 0x1400018f4
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 rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.1400026e0
mov rbx, qword [rsp + 0x100]
add rsp, 0xb0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret