Function at 0x140025490
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 [0x1400a8040]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov ebx, dword [0x1400c4458]
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 0x1400256d0
lea rdx, [rbp - 0x30]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x14002564e
cmp ebx, dword [rbp - 0x24]
je 0x14002550e
lea rdx, [rbp - 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
je 0x1400256c5
jmp 0x1400254f2
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 0x1400255d2
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SuspendThread]
test eax, eax
je 0x14002553b
mov sil, 1
jmp 0x1400255b2
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.1400040d0
nop
xor edx, edx
lea rcx, [rbp - 0x50]
call fcn.140019e90
nop
mov rdx, qword [rbp - 0x38]
cmp rdx, 8
jb 0x1400255b2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400255ad
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140025775
call fcn.140051220
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 0x140025743
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.1400040d0
nop
xor edx, edx
lea rcx, [rbp - 0x50]
call fcn.140019e90
nop
mov rdx, qword [rbp - 0x38]
cmp rdx, 8
jb 0x1400256c5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400256c0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002576f
jmp 0x1400256c0
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.1400040d0
nop
xor edx, edx
lea rcx, [rbp - 0x50]
call fcn.140019e90
nop
mov rdx, qword [rbp - 0x38]
cmp rdx, 8
jb 0x1400256c5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400256c0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002577b
call fcn.140051220
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140025743
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.1400040d0
nop
xor edx, edx
lea rcx, [rbp - 0x50]
call fcn.140019e90
nop
mov rdx, qword [rbp - 0x38]
cmp rdx, 8
jb 0x140025743
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002573e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140025769
call fcn.140051220
movzx eax, sil
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140051200
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.1400578f0
int3
call fcn.1400578f0
int3
call fcn.1400578f0
int3
call fcn.1400578f0
int3