Function at 0x140001460
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 [0x140006010]
xor rax, rsp
mov qword [rbp], rax
mov rsi, rcx
mov qword [rsp + 0x28], r9
lea rcx, [0x140004460]
mov r15, 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 [0x140006708], ecx
jle 0x1400014f0
lea rcx, [0x140006708]
call fcn.14000256c
cmp dword [0x140006708], 0xffffffff
jne 0x1400014f0
lea rcx, [0x1400033a0]
call fcn.14000281c
lea rcx, [0x140006708]
call fcn.140002500
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.NtUserGetDisplayAutoRotationPreferencesByProcessId
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
jne 0x140001553
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140002270
mov rcx, rax
lea rdx, [0x140002420]
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 0x140001559
lea rcx, [rbp - 0x60]
call rax
mov r14, qword [rbp - 0x28]
mov edx, 0x74
xor ecx, ecx
mov qword [rsp + 0x20], r14
mov r8d, 0x3000
lea r9d, [rdx - 0x70]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
movaps xmm0, xmmword [0x1400060b0]
add r14, 0x5c
mov rbx, rax
mov qword [rsp + 0x30], rax
movups xmmword [rax], xmm0
movaps xmm1, xmmword [0x1400060c0]
movups xmmword [rax + 0x10], xmm1
movaps xmm0, xmmword [0x1400060d0]
movups xmmword [rax + 0x20], xmm0
movaps xmm1, xmmword [0x1400060e0]
movups xmmword [rax + 0x30], xmm1
movaps xmm0, xmmword [str.D__H]
movups xmmword [rax + 0x40], xmm0
movsd xmm0, qword [0x140006100]
movsd qword [rax + 0x50], xmm0
mov eax, dword [0x140006108]
mov dword [rbx + 0x58], eax
mov rax, qword [rsp + 0x28]
mov qword [rbx + 6], r14
add rbx, 0x5c
mov qword [rbx + 0x10], r15
mov eax, dword [rax + 0x28]
add rax, r15
mov qword [rbx + 8], rax
mov eax, dword [rdi]
cmp dword [0x140006708], eax
jle 0x140001623
lea rcx, [0x140006708]
call fcn.14000256c
cmp dword [0x140006708], 0xffffffff
jne 0x140001623
lea rcx, [0x1400033a0]
call fcn.14000281c
lea rcx, [0x140006708]
call fcn.140002500
mov rax, qword [rsp + 0x20]
lea rcx, str.win32u.dll
mov r15, qword [rsp + 0x30]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], r15
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.NtUserGetDisplayAutoRotationPreferencesByProcessId
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
jne 0x14000168c
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140002270
mov rcx, rax
lea rdx, [0x140002420]
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 0x140001693
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 0x140001771
nop dword [rax + rax]
mov ecx, dword [rdi]
cmp dword [0x140006708], ecx
jle 0x1400016f7
lea rcx, [0x140006708]
call fcn.14000256c
cmp dword [0x140006708], 0xffffffff
jne 0x1400016f7
lea rcx, [0x1400033a0]
call fcn.14000281c
lea rcx, [0x140006708]
call fcn.140002500
lea rcx, str.win32u.dll
mov dword [rsp + 0x40], 3
mov dword [rsp + 0x60], esi
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x58], 0x18
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rcx, rax
lea rdx, str.NtUserGetDisplayAutoRotationPreferencesByProcessId
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
jne 0x140001756
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140002270
mov rcx, rax
lea rdx, [0x140002420]
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 0x14000175d
lea rcx, [rsp + 0x40]
call rax
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [rbx], 2
jne 0x1400016c0
mov rcx, r12
call qword [sym.imp.USER32.dll_UnhookWindowsHookEx]
mov eax, dword [rdi]
cmp dword [0x140006708], eax
jle 0x1400017b1
lea rcx, [0x140006708]
call fcn.14000256c
cmp dword [0x140006708], 0xffffffff
jne 0x1400017b1
lea rcx, [0x1400033a0]
call fcn.14000281c
lea rcx, [0x140006708]
call fcn.140002500
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.NtUserGetDisplayAutoRotationPreferencesByProcessId
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
jne 0x14000180b
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140002270
mov rcx, rax
lea rdx, [0x140002420]
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 0x140001812
lea rcx, [rsp + 0x40]
call rax
xor edx, edx
mov r8d, 0x8000
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rcx, qword [rbp]
xor rcx, rsp
call fcn.1400024e0
mov rbx, qword [rsp + 0x160]
add rsp, 0x110
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret