Function at 0x180012cd0
Capabilities:
Resume thread

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x80
mov rax, qword [0x18003b020]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov r8, qword [0x1800558c8]
mov edx, 0xfffffffc
mov rcx, qword [0x1800558c0]
call qword [sym.imp.USER32.dll_SetWindowLongPtrW]
lea rcx, str._Debug__Removed_input_hook
call fcn.180013690
lea rcx, str.Cleaning_up_hooks
call fcn.180006fd0
mov rdi, qword [0x1800589e8]
xor r14d, r14d
mov rbp, qword [0x1800589f0]
mov esi, r14d
sub rbp, rdi
add rbp, 7
shr rbp, 3
cmp rdi, qword [0x1800589f0]
cmova rbp, r14
test rbp, rbp
je 0x180012d97
nop dword [rax]
mov rbx, qword [rdi]
xor edx, edx
mov rcx, rbx
call fcn.180026510
test eax, eax
jne 0x180012d72
mov rdx, rbx
lea rcx, str.Successfully_disabled_hook__p
call fcn.180006fd0
jmp 0x180012d8b
mov ecx, eax
call fcn.1800265f0
mov r8, rax
lea rcx, str.Failed_to_disable_hook__p___s_
mov rdx, rbx
call fcn.180006fd0
add rdi, 8
inc rsi
cmp rsi, rbp
jne 0x180012d50
call qword [sym.imp.MSVCP140.dll__Xtime_get_ticks]
mov qword [rsp + 0x50], rax
add rax, 0x4c4b40
imul rcx, rax, 0x64
movabs rax, 0x112e0be826d694b3
imul rcx
sar rdx, 0x1a
mov rax, rdx
shr rax, 0x3f
add rdx, rax
imul eax, edx, 0x3b9aca00
mov qword [rsp + 0x30], rdx
sub ecx, eax
mov dword [rsp + 0x38], ecx
lea rcx, [rsp + 0x60]
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x60], xmm0
call qword [sym.imp.MSVCP140.dll__Thrd_sleep]
mov rsi, qword [0x1800589f0]
mov ebp, 1
mov rdi, qword [0x1800589e8]
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x20], rdi
cmp rdi, rsi
je 0x180013074
mov qword [rsp + 0xb0], r12
mov qword [rsp + 0xb8], r13
mov qword [rsp + 0xc0], r15
nop dword [rax]
mov r13, qword [rdi]
mov r12d, r14d
mov rbx, r14
xor eax, eax
lock cmpxchg dword [0x18005884c], ebp
je 0x180012e66
cmp rbx, 0x20
jae 0x180012e4f
xor ecx, ecx
jmp 0x180012e51
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_Sleep]
inc rbx
xor eax, eax
lock cmpxchg dword [0x18005884c], ebp
jne 0x180012e45
cmp qword [0x180058850], 0
je 0x18001300b
mov ecx, dword [0x180058d7c]
mov ebx, r14d
test ecx, ecx
je 0x180012e9f
mov rdx, qword [0x180058d70]
mov rax, rdx
nop dword [rax + rax]
cmp r13, qword [rax]
je 0x180012eaa
inc ebx
add rax, 0x38
cmp ebx, ecx
jb 0x180012e90
mov r12d, 4
jmp 0x180013011
cmp ebx, 0xffffffff
je 0x180012e9f
mov eax, ebx
imul r15, rax, 0x38
test byte [r15 + rdx + 0x20], 2
je 0x180012f66
xor r8d, r8d
lea rcx, [rsp + 0x40]
mov edx, ebx
call fcn.180025db8
xor edx, edx
mov ecx, ebx
call fcn.180026128
mov r14, qword [rsp + 0x40]
mov r12d, eax
test r14, r14
je 0x180012f53
mov ecx, dword [rsp + 0x4c]
test ecx, ecx
je 0x180012f41
mov rsi, r14
mov ebp, ecx
nop dword [rax]
nop word [rax + rax]
mov r8d, dword [rsi]
xor edx, edx
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rdi, rax
test rax, rax
je 0x180012f28
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rsi, 4
sub rbp, 1
jne 0x180012f00
mov rdi, qword [rsp + 0x20]
mov ebp, 1
mov rsi, qword [rsp + 0x30]
mov rcx, qword [0x180058850]
mov r8, r14
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
xor r14d, r14d
test r12d, r12d
jne 0x180013011
mov rdx, qword [0x180058d70]
mov rcx, qword [r15 + rdx + 0x10]
call fcn.180026c74
mov eax, dword [0x180058d7c]
lea ecx, [rax - 1]
cmp ebx, ecx
jae 0x180012fbc
mov eax, ecx
imul rcx, rax, 0x38
mov rax, qword [0x180058d70]
movups xmm0, xmmword [rcx + rax]
movups xmmword [r15 + rax], xmm0
movups xmm1, xmmword [rcx + rax + 0x10]
movups xmmword [r15 + rax + 0x10], xmm1
movups xmm0, xmmword [rcx + rax + 0x20]
movups xmmword [r15 + rax + 0x20], xmm0
movsd xmm1, qword [rcx + rax + 0x30]
movsd qword [r15 + rax + 0x30], xmm1
mov eax, dword [0x180058d7c]
mov edx, dword [0x180058d78]
lea ecx, [rax - 1]
mov eax, edx
mov dword [0x180058d7c], ecx
shr eax, 1
cmp eax, 0x20
jb 0x180013011
cmp eax, ecx
jb 0x180013011
mov r8, qword [0x180058d70]
mov eax, edx
mov rcx, qword [0x180058850]
xor edx, edx
shr rax, 1
imul r9, rax, 0x38
call qword [sym.imp.KERNEL32.dll_HeapReAlloc]
test rax, rax
je 0x180013011
shr dword [0x180058d78], 1
mov qword [0x180058d70], rax
jmp 0x180013011
mov r12d, 2
mov eax, r14d
xchg dword [0x18005884c], eax
test r12d, r12d
jne 0x180013030
mov rdx, r13
lea rcx, str.Successfully_removed_hook__p
call fcn.180006fd0
jmp 0x18001304a
mov ecx, r12d
call fcn.1800265f0
mov r8, rax
lea rcx, str.Failed_to_remove_hook__p___s_
mov rdx, r13
call fcn.180006fd0
add rdi, 8
mov qword [rsp + 0x20], rdi
cmp rdi, rsi
jne 0x180012e30
mov r15, qword [rsp + 0xc0]
mov r13, qword [rsp + 0xb8]
mov r12, qword [rsp + 0xb0]
mov ecx, ebp
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
call qword [sym.imp.KERNEL32.dll_FreeConsole]
mov rcx, qword [0x180055870]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_FreeLibraryAndExitThread]