Function at 0x140007f20
Capabilities:
Enumerate threads
Suspend thread

Disassembly:
mov byte [rsp + 0x20], r9b
mov dword [rsp + 0x18], r8d
push rbx
push rsi
push rdi
push r12
sub rsp, 0x78
mov rbx, rcx
mov dword [rcx + 8], 0x46
xor esi, esi
mov edi, r8d
mov qword [rcx], rsi
mov r12d, edx
mov qword [rcx + 0x10], rsi
mov qword [rcx + 0x18], rsi
lea rcx, [0x1400570c0]
mov qword [rbx + 0x20], rcx
mov qword [rbx + 0x28], rsi
mov dword [rbx + 0x34], esi
mov dword [rbx + 0x38], 0x47
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edx, r12d
lea ecx, [rsi + 4]
cmp r12d, eax
cmove edx, esi
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
movzx ecx, byte [rsp + 0xc0]
mov byte [rbx + 0x4d], cl
mov qword [rbx + 0x40], rax
mov dword [rbx + 0x48], r12d
mov byte [rbx + 0x4c], sil
cmp rax, 0xffffffffffffffff
je 0x1400081b6
mov qword [rsp + 0x70], r13
test r12d, r12d
je 0x140007fbb
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp r12d, eax
je 0x140007fbb
xor r13b, r13b
jmp 0x140007fbe
mov r13b, 1
mov rcx, qword [rbx + 0x40]
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x40], 0x1c
call sub.KERNEL32.dll_Thread32First
test eax, eax
je 0x14000815d
mov qword [rsp + 0xa0], rbp
movabs rsi, 0x7fffffffffffffff
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x60], r15
nop dword [rax + rax]
cmp dword [rsp + 0x40], 0x10
jb 0x14000812d
cmp dword [rsp + 0x4c], r12d
jne 0x14000812d
mov r8d, dword [rsp + 0x48]
mov ecx, edi
or ecx, 2
xor edx, edx
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rbp, rax
test rax, rax
je 0x14000812d
test r13b, r13b
je 0x140008049
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [rsp + 0x48], eax
je 0x14000812d
mov r14, qword [rbx + 0x10]
mov rcx, qword [rbx + 0x18]
mov rax, rcx
and rax, rsi
lea r15, [r14 + 1]
cmp r15, rax
jbe 0x140008111
lea rsi, [rax + rax]
mov edx, 1
cmp rsi, 1
cmovb rsi, rdx
cmp rax, rsi
jae 0x140008107
test rcx, rcx
lea rax, [rsi*8]
lea rcx, str.C:_buildslaveunity_buildRuntime_Utilities_dynamic_array.h
js 0x1400080c3
mov r9d, dword [rbx + 8]
lea r8d, [rdx + 7]
mov dword [rsp + 0x30], 0x227
mov rdx, rax
mov qword [rsp + 0x28], rcx
mov rcx, qword [rbx]
mov qword [rbx + 0x18], rsi
mov dword [rsp + 0x20], 0
call fcn.140001ed0
mov qword [rbx], rax
jmp 0x140008107
mov r8d, dword [rbx + 8]
xor r9d, r9d
mov dword [rsp + 0x28], 0x219
mov qword [rsp + 0x20], rcx
mov rcx, rax
lea edx, [r9 + 8]
call fcn.140001ec0
mov r8, qword [rbx + 0x10]
mov rcx, rax
mov rdx, qword [rbx]
mov rdi, rax
shl r8, 3
call fcn.140037930
mov qword [rbx], rdi
mov edi, dword [rsp + 0xb0]
mov qword [rbx + 0x18], rsi
movabs rsi, 0x7fffffffffffffff
mov rax, qword [rbx]
lea rdx, [rsp + 0x48]
mov qword [rbx + 0x10], r15
lea rcx, [rbx + 0x20]
mov qword [rax + r14*8], rbp
call fcn.140008410
mov qword [rax], rbp
mov rcx, qword [rbx + 0x40]
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x40], 0x1c
call sub.KERNEL32.dll_Thread32Next
test eax, eax
jne 0x140008000
mov r15, qword [rsp + 0x60]
mov r14, qword [rsp + 0x68]
mov rbp, qword [rsp + 0xa0]
cmp byte [rsp + 0xb8], 0
mov r13, qword [rsp + 0x70]
je 0x1400081b6
cmp qword [rbx + 0x40], 0xffffffffffffffff
je 0x1400081b6
cmp byte [rbx + 0x4c], 0
jne 0x1400081b6
mov rdi, qword [rbx]
mov rax, qword [rbx + 0x10]
lea rcx, [rdi + rax*8]
cmp rdi, rcx
je 0x1400081b6
nop dword [rax]
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
setne al
add rdi, 8
or byte [rbx + 0x4c], al
mov rcx, qword [rbx + 0x10]
mov rax, qword [rbx]
lea rcx, [rax + rcx*8]
cmp rdi, rcx
jne 0x140008190
mov rax, rbx
add rsp, 0x78
pop r12
pop rdi
pop rsi
pop rbx
ret