Function at 0x140004bb0
Capabilities:
Enumerate threads
Hijack thread execution
Resume thread
Suspend thread

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x490]
sub rsp, 0x590
mov rax, qword [0x140049040]
xor rax, rsp
mov qword [rbp + 0x480], rax
mov edi, r8d
mov dword [rsp + 0x30], r8d
mov rbx, rdx
mov qword [rsp + 0x58], rdx
lea rcx, [rsp + 0x38]
call fcn.1400024b0
mov rdx, rax
lea rcx, [rbp - 0x80]
call fcn.140002060
nop
mov r8d, edi
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov r15, rax
mov esi, dword [rbp - 0x70]
inc esi
mov r14d, esi
mov qword [rsp + 0x58], r14
mov dword [rsp + 0x20], 4
mov r9d, 0x1000
mov r8d, esi
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov r12, rax
test rax, rax
je 0x140004fb5
cmp r15, 0xffffffffffffffff
je 0x140004fb5
lea r8, [rbp - 0x80]
cmp qword [rbp - 0x68], 0xf
cmova r8, qword [rbp - 0x80]
lea r9d, [rsi - 1]
xor esi, esi
mov qword [rsp + 0x20], rsi
mov rdx, rax
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x140004d64
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rbp - 0x70]
inc rdx
mov r8d, 0x1000
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_VirtualFree]
nop
mov rdx, qword [rbp - 0x68]
cmp rdx, 0xf
jbe 0x140004ce1
inc rdx
mov rcx, qword [rbp - 0x80]
cmp rdx, 0x1000
mov rax, rcx
jb 0x140004cdc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005003
call fcn.14000e100
mov qword [rbp - 0x70], rsi
mov qword [rbp - 0x68], 0xf
mov byte [rbp - 0x80], 0
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x140004d2b
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x140004d26
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000500f
mov rcx, r8
call fcn.14000e100
mov byte [rbx], 0
mov qword [rbx + 0x18], 0xf
mov qword [rbx + 0x10], rsi
mov rcx, qword [rbp + 0x480]
xor rcx, rsp
call fcn.14000e0e0
mov rbx, qword [rsp + 0x5d0]
add rsp, 0x590
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea rax, [rbp - 0x80]
cmp qword [rbp - 0x68], 0xf
cmova rax, qword [rbp - 0x80]
mov qword [rbp - 0x70], rsi
mov byte [rax], sil
mov dword [rsp + 0x60], 0x1c
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x64], xmm0
mov qword [rsp + 0x74], rax
xor edx, edx
lea ecx, [rax + 4]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov r13, rax
lea rcx, [rax - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x140004f92
xor edx, edx
mov r8d, 0x4d0
lea rcx, [rbp - 0x50]
call fcn.140035500
mov dword [rbp - 0x20], 0x100001
lea rdx, [rsp + 0x60]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x140004ead
lea rdx, [rsp + 0x60]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
je 0x140004ead
cmp dword [rsp + 0x6c], edi
jne 0x140004e97
mov r8d, dword [rsp + 0x68]
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rdi, rax
lea rcx, [rax - 1]
mov rdx, r12
cmp rcx, 0xfffffffffffffffd
mov rcx, r15
ja 0x140004ee7
lea r8, [r14 + 1]
lea rax, [rbp - 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 0x10
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
je 0x140004e8a
lea rdx, [rbp - 0x50]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
je 0x140004e8a
mov qword [rbp + 0xa8], r12
lea rdx, [rbp - 0x50]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetThreadContext]
mov r14d, eax
test eax, eax
je 0x140004e85
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ResumeThread]
cmp r14d, 0xffffffff
jne 0x140004edc
mov r14, qword [rsp + 0x58]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [rsp + 0x30]
lea rdx, [rsp + 0x60]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x140004df0
mov r9d, 0x1000
mov r8d, 0x300
mov rdx, r12
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140004ca6
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140004ead
mov r9d, 0x1000
mov r8d, 0x300
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rdx, qword [rbp - 0x68]
cmp rdx, 0xf
jbe 0x140004f47
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004f42
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005015
call fcn.14000e100
mov qword [rbp - 0x70], rsi
mov qword [rbp - 0x68], 0xf
mov byte [rbp - 0x80], 0
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x140004d2b
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x140004d26
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140005009
jmp 0x140004d23
mov r9d, 0x1000
mov r8, r14
mov rdx, r12
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140004ca6
mov rdx, qword [rbp - 0x68]
cmp rdx, 0xf
jbe 0x140004fec
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004fe7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005003
call fcn.14000e100
xor esi, esi
mov qword [rbp - 0x70], rsi
mov qword [rbp - 0x68], 0xf
mov byte [rbp - 0x80], sil
jmp 0x140004cf1
call fcn.140014fe0
nop
call fcn.140014fe0
int3
call fcn.140014fe0
nop
call fcn.140014fe0
int3