Function at 0x1400109a0
Capabilities:
Enumerate threads
Resume thread
Suspend thread

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push r12
push r13
push r15
lea rbp, [rsp - 0x7e8]
sub rsp, 0x8e8
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov r12d, eax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edx, r12d
mov ecx, 4
mov r13d, eax
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov r15, rax
cmp rax, 0xffffffffffffffff
je 0x140010de2
mov rcx, qword [0x14021d648]
lea r8, str.Threads_____:
mov qword [rsp + 0x928], rbx
mov r9, 0xffffffffffffffff
mov qword [rsp + 0x8e0], rsi
mov edx, 0x100000
mov qword [rsp + 0x8d0], r14
call fcn.14003e54c
xorps xmm0, xmm0
mov dword [rsp + 0x50], 0x1c
xor ebx, ebx
lea rdx, [rsp + 0x50]
mov rcx, r15
mov qword [rsp + 0x64], rbx
movdqu xmmword [rsp + 0x54], xmm0
mov sil, 1
mov r14d, ebx
call qword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x140010dc1
mov qword [rsp + 0x8d8], rdi
cmp dword [rsp + 0x5c], r12d
jne 0x140010d84
xor edx, edx
mov word [rbp], bx
mov r8d, 0xfe
lea rcx, [rbp + 2]
call fcn.14014e180
mov ebx, dword [rsp + 0x58]
test ebx, ebx
jne 0x140010a95
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ebx, eax
lea rcx, [0x140229250]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov r8, qword [0x140229278]
test r8, r8
je 0x140010ad9
nop
cmp dword [r8], ebx
je 0x140010ac3
mov r8, qword [r8 + 0x118]
test r8, r8
jne 0x140010ab0
jmp 0x140010ad9
mov edx, 0x7f
lea rcx, [rbp]
add r8, 4
lea r9, [rdx - 0x80]
call fcn.14003c5c8
lea rcx, [0x140229250]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov edi, dword [rsp + 0x58]
cmp edi, r13d
je 0x140010c51
xor edx, edx
lea rcx, [rbp + 0x300]
mov r8d, 0x4d0
call fcn.14014e180
xor edx, edx
mov r8d, edi
lea ecx, [rdx + 0x48]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rbx, rax
test rax, rax
je 0x140010b52
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SuspendThread]
lea rdx, [rbp + 0x300]
mov dword [rbp + 0x330], 0x10000b
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetThreadContext]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test sil, sil
jne 0x140010b78
mov rcx, qword [0x14021d648]
lea r8, str.____________:
mov r9, 0xffffffffffffffff
mov edx, 0x100000
call fcn.14003e54c
jmp 0x140010b7b
xor sil, sil
mov rax, qword [0x140229388]
lea r9, str.__.3d__.16I64X_EIP:__.16I64X_ESP:__.16I64X__s_r_n
mov ecx, dword [rsp + 0x58]
mov edx, 0xfe
mov qword [rbp + 0x810], rax
mov r8, 0xffffffffffffffff
lea rax, [rbp]
mov qword [rsp + 0x40], rax
mov rax, qword [rbp + 0x398]
mov qword [rsp + 0x38], rax
mov rax, qword [rbp + 0x3f8]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rcx
lea rcx, [rbp + 0x100]
mov dword [rsp + 0x20], r14d
call fcn.140003dd0
mov rcx, qword [0x14021d648]
lea r8, [rbp + 0x100]
mov r9, 0xffffffffffffffff
mov edx, 0x100000
call fcn.14003e54c
mov r8d, dword [rsp + 0x58]
lea r9, [rbp + 0x300]
xorps xmm0, xmm0
lea rdx, [rsp + 0x70]
xor eax, eax
movups xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x10], rax
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
call fcn.140010580
xor r9d, r9d
lea r8, [rbp + 0x810]
lea rdx, [rsp + 0x70]
call fcn.140010760
xor ebx, ebx
jmp 0x140010d81
test sil, sil
jne 0x140010c7b
mov rcx, qword [0x14021d648]
lea r8, str.______crash_:
mov r9, 0xffffffffffffffff
mov edx, 0x100000
call fcn.14003e54c
mov edi, dword [rsp + 0x58]
jmp 0x140010c7e
xor sil, sil
mov rbx, qword [0x140229388]
lea rax, [rbp]
mov qword [rsp + 0x40], rax
lea r9, str.__.3d__.16I64X_EIP:__.16I64X_ESP:__.16I64X__s_r_n
mov rax, qword [0x140229328]
mov edx, 0xfe
mov qword [rsp + 0x38], rax
mov r8, 0xffffffffffffffff
mov ecx, edi
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], rcx
lea rcx, [rbp + 0x100]
mov qword [rbp + 0x810], rbx
mov dword [rsp + 0x20], r14d
call fcn.140003dd0
mov rcx, qword [0x14021d648]
lea r8, [rbp + 0x100]
mov r9, 0xffffffffffffffff
mov edx, 0x100000
call fcn.14003e54c
mov r9, qword [rbp + 0x820]
lea r8, [rbp + 0x810]
mov rdx, qword [rbp + 0x818]
call fcn.140010760
mov rcx, qword [rbp + 0x810]
mov rax, rbx
sub rax, rcx
mov qword [rbp - 0x78], rbx
cmp rax, 0x1000
mov qword [rbp - 0x68], 0x100000
mov rax, rbx
mov qword [rbp - 0x40], 0xffffffffffffffff
cmova rcx, rbx
xor ebx, ebx
sub rax, rcx
mov qword [rsp + 0x70], rcx
add rax, 0x40
mov qword [rbp - 0x80], rcx
mov qword [rsp + 0x78], rax
lea rcx, [rsp + 0x70]
mov rax, qword [0x14021d648]
mov qword [rbp - 0x70], rax
mov rax, qword [0x140229240]
mov qword [rbp - 0x60], rax
mov eax, dword [0x140229248]
mov qword [rbp - 0x58], rax
mov qword [rbp - 0x50], rbx
mov qword [rbp - 0x48], rbx
call fcn.140025988
inc r14d
lea rdx, [rsp + 0x50]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x140010a65
mov rcx, qword [0x14021d648]
lea r8, str.____________:_end_of_list_r_n
mov rdi, qword [rsp + 0x8d8]
mov r9, 0xffffffffffffffff
mov edx, 0x100000
call fcn.14003e54c
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r14, qword [rsp + 0x8d0]
mov rsi, qword [rsp + 0x8e0]
mov rbx, qword [rsp + 0x928]
add rsp, 0x8e8
pop r15
pop r13
pop r12
pop rbp
ret