Function at 0x1800014e0
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 [section..data]
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 qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x180001617
lea esi, [r13 + 0x1c]
lea rdx, [rsp + 0x30]
mov rcx, rax
mov dword [rsp + 0x30], esi
call qword [sym.imp.KERNEL32.dll_Thread32First]
jmp 0x180001606
cmp dword [rsp + 0x30], 0x10
jb 0x1800015f4
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [rsp + 0x3c], eax
jne 0x1800015f4
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [rsp + 0x38], eax
je 0x1800015f4
mov r8, qword [rbx]
test r8, r8
jne 0x1800015b5
mov rcx, qword [0x1800047f0]
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 0x18000160e
jmp 0x1800015e4
mov eax, dword [rbx + 8]
cmp dword [rbx + 0xc], eax
jb 0x1800015e4
mov rcx, qword [0x1800047f0]
lea r9d, [rax + rax]
xor edx, edx
shl r9, 2
call qword [sym.imp.KERNEL32.dll_HeapReAlloc]
test rax, rax
je 0x18000160e
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 qword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x180001564
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp qword [rbx], r13
je 0x180001762
mov r12d, r13d
mov rsi, r15
cmp dword [rbx + 0xc], r13d
jbe 0x180001762
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 0x180001751
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 0x180001745
cmp r15d, 0xffffffff
jne 0x18000168c
mov eax, dword [0x18000681c]
xor edi, edi
xor esi, esi
jmp 0x180001690
lea eax, [r15 + 1]
cmp edi, eax
jae 0x180001745
mov r10, qword [rbp + 0x48]
mov ebx, dword [rsp + 0x20]
imul rsi, rsi, 0x38
sub eax, edi
mov edi, eax
mov rax, qword [0x180006810]
lea rdx, [rsi + rax]
mov eax, ebx
test ebx, ebx
je 0x1800016d0
dec eax
je 0x1800016c9
movzx ecx, byte [rdx + 0x20]
shr ecx, 2
and ecx, 1
jmp 0x1800016d2
mov ecx, 1
jmp 0x1800016d2
xor ecx, ecx
movzx r8d, byte [rdx + 0x20]
mov eax, r8d
shr eax, 1
and eax, 1
cmp eax, ecx
je 0x180001733
test ecx, ecx
je 0x1800017a0
mov r8d, dword [rdx + 0x24]
xor r9d, r9d
xor ecx, ecx
and r8d, 0xf
jbe 0x180001716
movzx eax, byte [rdx + rcx + 0x28]
add rax, qword [rdx]
cmp r10, rax
je 0x180001792
inc r9d
inc rcx
cmp r9d, r8d
jb 0x1800016fa
xor ecx, ecx
test rcx, rcx
je 0x180001733
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 0x1800016a8
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 0x180001633
mov rcx, qword [rbp + 0x420]
xor rcx, rsp
call fcn.1800029a0
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 0x180001718
test r8b, 1
je 0x1800017b6
mov rcx, qword [rdx]
lea rax, [rcx - 5]
cmp r10, rax
je 0x180001718
mov r8d, dword [rdx + 0x24]
xor r9d, r9d
xor ecx, ecx
and r8d, 0xf
jbe 0x1800017de
movzx eax, byte [rdx + rcx + 0x30]
add rax, qword [rdx + 0x10]
cmp r10, rax
je 0x1800017f0
inc r9d
inc rcx
cmp r9d, r8d
jb 0x1800017c5
cmp r10, qword [rdx + 8]
jne 0x180001716
mov rcx, qword [rdx]
jmp 0x180001718
movzx ecx, byte [rcx + rdx + 0x28]
add rcx, qword [rdx]
jmp 0x180001718