Function at 0x1400010a4
Capabilities:
Enumerate threads
Suspend thread

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x458]
sub rsp, 0x530
mov rax, qword [0x14023fa70]
xor rax, rsp
mov qword [rbp + 0x420], rax
movsxd r15, edx
xor r13d, r13d
xor edx, edx
mov rbx, rcx
mov qword [rsp + 0x28], rcx
mov qword [rcx], r13
mov qword [rcx + 8], r13
lea ecx, [rdx + 4]
mov dword [rsp + 0x20], r8d
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x1400011d8
lea esi, [r13 + 0x1c]
lea rdx, [rsp + 0x30]
mov rcx, rax
mov dword [rsp + 0x30], esi
call sub.KERNEL32.dll_Thread32First
jmp 0x1400011c7
cmp dword [rsp + 0x30], 0x10
jb 0x1400011b6
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [rsp + 0x3c], eax
jne 0x1400011b6
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [rsp + 0x38], eax
je 0x1400011b6
mov r8, qword [rbx]
test r8, r8
jne 0x140001177
mov rcx, qword [0x14024ced0]
xor edx, edx
mov r8d, 0x200
mov dword [rbx + 8], 0x80
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rbx], rax
test rax, rax
je 0x1400011cf
jmp 0x1400011a6
mov eax, dword [rbx + 8]
cmp dword [rbx + 0xc], eax
jb 0x1400011a6
mov rcx, qword [0x14024ced0]
lea r9d, [rax + rax]
xor edx, edx
shl r9, 2
call qword [sym.imp.KERNEL32.dll_HeapReAlloc]
test rax, rax
je 0x1400011cf
mov ecx, dword [rbx + 8]
mov qword [rbx], rax
add ecx, ecx
mov dword [rbx + 8], ecx
mov edx, dword [rbx + 0xc]
mov rcx, qword [rbx]
mov eax, dword [rsp + 0x38]
mov dword [rcx + rdx*4], eax
inc dword [rbx + 0xc]
lea rdx, [rsp + 0x30]
mov rcx, rdi
mov dword [rsp + 0x30], esi
call sub.KERNEL32.dll_Thread32Next
test eax, eax
jne 0x140001126
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp qword [rbx], r13
je 0x140001323
mov r12d, r13d
mov rsi, r15
cmp dword [rbx + 0xc], r13d
jbe 0x140001323
mov r14, r13
mov rax, qword [rbx]
xor edx, edx
mov r8d, dword [r14 + rax]
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov r13, rax
test rax, rax
je 0x140001312
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SuspendThread]
lea rdx, [rsp + 0x50]
mov rcx, r13
mov edi, r15d
mov dword [rbp - 0x80], 0x100001
call qword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
je 0x140001306
cmp r15d, 0xffffffff
jne 0x14000124d
mov eax, dword [0x14024e14c]
xor edi, edi
xor esi, esi
jmp 0x140001251
lea eax, [r15 + 1]
cmp edi, eax
jae 0x140001306
mov r10, qword [rbp + 0x48]
mov ebx, dword [rsp + 0x20]
imul rsi, rsi, 0x38
sub eax, edi
mov edi, eax
mov rax, qword [0x14024e140]
lea rdx, [rsi + rax]
mov eax, ebx
test ebx, ebx
je 0x140001291
dec eax
je 0x14000128a
movzx ecx, byte [rdx + 0x20]
shr ecx, 2
and ecx, 1
jmp 0x140001293
mov ecx, 1
jmp 0x140001293
xor ecx, ecx
movzx r8d, byte [rdx + 0x20]
mov eax, r8d
shr eax, 1
and eax, 1
cmp eax, ecx
je 0x1400012f4
test ecx, ecx
je 0x140001361
mov r8d, dword [rdx + 0x24]
xor r9d, r9d
xor ecx, ecx
and r8d, 0xf
jbe 0x1400012d7
movzx eax, byte [rdx + rcx + 0x28]
add rax, qword [rdx]
cmp r10, rax
je 0x140001353
inc r9d
inc rcx
cmp r9d, r8d
jb 0x1400012bb
xor ecx, ecx
test rcx, rcx
je 0x1400012f4
mov qword [rbp + 0x48], rcx
lea rdx, [rsp + 0x50]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_SetThreadContext]
mov r10, qword [rbp + 0x48]
add rsi, 0x38
dec rdi
jne 0x140001269
mov rbx, qword [rsp + 0x28]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rsi, r15
inc r12d
add r14, 4
cmp r12d, dword [rbx + 0xc]
jb 0x1400011f4
mov rcx, qword [rbp + 0x420]
xor rcx, rsp
call fcn.1401435e0
lea r11, [rsp + 0x530]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
movzx ecx, byte [rcx + rdx + 0x30]
add rcx, qword [rdx + 0x10]
jmp 0x1400012d9
test r8b, 1
je 0x140001377
mov rcx, qword [rdx]
lea rax, [rcx - 5]
cmp r10, rax
je 0x1400012d9
mov r8d, dword [rdx + 0x24]
xor r9d, r9d
xor ecx, ecx
and r8d, 0xf
jbe 0x14000139f
movzx eax, byte [rdx + rcx + 0x30]
add rax, qword [rdx + 0x10]
cmp r10, rax
je 0x1400013b1
inc r9d
inc rcx
cmp r9d, r8d
jb 0x140001386
cmp r10, qword [rdx + 8]
jne 0x1400012d7
mov rcx, qword [rdx]
jmp 0x1400012d9
movzx ecx, byte [rcx + rdx + 0x28]
add rcx, qword [rdx]
jmp 0x1400012d9