Function at 0x1400251c0
Capabilities:
Enumerate threads
Resume thread
Suspend thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x1400a7040]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov ebx, dword [0x1400c3458]
xor sil, sil
mov dword [rbp - 0x30], 0x1c
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x140025400
lea rdx, [rbp - 0x30]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x14002537e
cmp ebx, dword [rbp - 0x24]
je 0x14002523e
lea rdx, [rbp - 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
je 0x1400253f5
jmp 0x140025222
mov r8d, dword [rbp - 0x28]
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rbx, rax
test rax, rax
je 0x140025302
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SuspendThread]
test eax, eax
je 0x14002526b
mov sil, 1
jmp 0x1400252e2
xor eax, eax
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], 7
mov word [rbp - 0x50], ax
lea r8d, [rax + 0x2e]
lea rdx, str._v__Error__Check_SuspendThread_detect_problem_
lea rcx, [rbp - 0x50]
call fcn.1400040e0
nop
xor edx, edx
lea rcx, [rbp - 0x50]
call fcn.140019bd0
nop
mov rdx, qword [rbp - 0x38]
cmp rdx, 8
jb 0x1400252e2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400252dd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400254a5
call fcn.140050f70
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140025473
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], 7
mov word [rbp - 0x50], ax
mov r8d, 0x32
lea rdx, str._v__Error__Check_SuspendThread_OpenThread_problem_
lea rcx, [rbp - 0x50]
call fcn.1400040e0
nop
xor edx, edx
lea rcx, [rbp - 0x50]
call fcn.140019bd0
nop
mov rdx, qword [rbp - 0x38]
cmp rdx, 8
jb 0x1400253f5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400253f0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002549f
jmp 0x1400253f0
xor eax, eax
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], 7
mov word [rbp - 0x50], ax
lea r8d, [rax + 0x33]
lea rdx, str._v__Error__Check_SuspendedProcess_in_Thread32First_
lea rcx, [rbp - 0x50]
call fcn.1400040e0
nop
xor edx, edx
lea rcx, [rbp - 0x50]
call fcn.140019bd0
nop
mov rdx, qword [rbp - 0x38]
cmp rdx, 8
jb 0x1400253f5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400253f0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400254ab
call fcn.140050f70
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140025473
xor eax, eax
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], 7
mov word [rbp - 0x50], ax
lea r8d, [rax + 0x37]
lea rdx, str._v__Error__Check_SuspendedProcess_INVALID_HANDLE_VALUE_
lea rcx, [rbp - 0x50]
call fcn.1400040e0
nop
xor edx, edx
lea rcx, [rbp - 0x50]
call fcn.140019bd0
nop
mov rdx, qword [rbp - 0x38]
cmp rdx, 8
jb 0x140025473
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002546e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140025499
call fcn.140050f70
movzx eax, sil
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140050f50
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
call fcn.140057640
int3
call fcn.140057640
int3
call fcn.140057640
int3
call fcn.140057640
int3