Function at 0x7ff7010c1980
Capabilities:
Enumerate threads
Resume thread

Disassembly:
mov qword [rsp + 0x18], rbp
push rdi
sub rsp, 0x50
mov rax, qword [0x7ff7010cc040]
xor rax, rsp
mov qword [rsp + 0x40], rax
xor edx, edx
mov ebp, ecx
lea ecx, [rdx + 4]
call qword [sym.imp.kernel32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x7ff7010c19d9
mov rcx, qword [sym.imp.msvcp140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
lea rdx, [0x7ff7010c7710]
call fcn.7ff7010c4320
lea rdx, [0x7ff7010c44f0]
mov rcx, rax
call qword [sym.imp.msvcp140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_istream_char__struct_std::char_traits_char__::operator___class_std::basic_istream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_istream_char__struct_std::char_traits_char______ptr64_____ptr64]
xor al, al
jmp 0x7ff7010c1aef
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x1c
mov rcx, rdi
call qword [sym.imp.kernel32.dll_Thread32First]
test eax, eax
jne 0x7ff7010c1a26
mov rcx, qword [sym.imp.msvcp140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
lea rdx, [0x7ff7010c7738]
call fcn.7ff7010c4320
lea rdx, [0x7ff7010c44f0]
mov rcx, rax
call qword [sym.imp.msvcp140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_istream_char__struct_std::char_traits_char__::operator___class_std::basic_istream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_istream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rcx, rdi
call qword [sym.imp.kernel32.dll_CloseHandle]
xor al, al
jmp 0x7ff7010c1aef
mov qword [rsp + 0x68], rsi
xor sil, sil
mov qword [rsp + 0x60], rbx
cmp dword [rsp + 0x2c], ebp
jne 0x7ff7010c1ac2
mov r8d, dword [rsp + 0x28]
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.kernel32.dll_OpenThread]
mov rbx, rax
test rax, rax
je 0x7ff7010c1a9f
mov rcx, rax
call qword [sym.imp.kernel32.dll_ResumeThread]
cmp eax, 0xffffffff
je 0x7ff7010c1a71
mov rcx, rbx
mov sil, 1
call qword [sym.imp.kernel32.dll_CloseHandle]
jmp 0x7ff7010c1ac2
mov rcx, qword [sym.imp.msvcp140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
lea rdx, [0x7ff7010c7798]
call fcn.7ff7010c4320
lea rdx, [0x7ff7010c44f0]
mov rcx, rax
call qword [sym.imp.msvcp140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_istream_char__struct_std::char_traits_char__::operator___class_std::basic_istream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_istream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rcx, rbx
call qword [sym.imp.kernel32.dll_CloseHandle]
jmp 0x7ff7010c1ac2
mov rcx, qword [sym.imp.msvcp140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
lea rdx, [0x7ff7010c7780]
call fcn.7ff7010c4320
lea rdx, [0x7ff7010c44f0]
mov rcx, rax
call qword [sym.imp.msvcp140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_istream_char__struct_std::char_traits_char__::operator___class_std::basic_istream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_istream_char__struct_std::char_traits_char______ptr64_____ptr64]
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.kernel32.dll_Thread32Next]
test eax, eax
jne 0x7ff7010c1a33
mov rbx, qword [rsp + 0x60]
mov rcx, rdi
call qword [sym.imp.kernel32.dll_CloseHandle]
movzx eax, sil
mov rsi, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.7ff7010c4fa0
mov rbp, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret