Function at 0x180015b40
Capabilities:
Allocate or change rwx memory
Enumerate threads
Hijack thread execution
Resume thread
Suspend thread

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x420]
sub rsp, 0x520
mov rax, qword [0x18006c068]
cmp byte [rax + 0xf], 0
je 0x180015cee
xorps xmm0, xmm0
mov word [rbp + 0x440], 0x39eb
mov edx, 2
mov qword [rsp + 0x40], 0
lea rcx, [rsp + 0x30]
movdqu xmmword [rsp + 0x30], xmm0
call fcn.1800115e0
mov rdi, qword [rsp + 0x30]
movzx eax, word [rbp + 0x440]
mov word [rdi], ax
lea rbx, [rdi + 2]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea rcx, [rbp + 0x448]
sub rbx, rdi
mov qword [rsp + 0x20], rcx
movabs rsi, 0x140dd33fb
mov rcx, rax
mov r9d, 0x40
mov r8, rbx
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov r8, rbx
mov rdx, rdi
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
mov rdx, qword [rsp + 0x40]
mov rax, rdi
sub rdx, rdi
cmp rdx, 0x1000
jb 0x180015c17
mov rdi, qword [rdi - 8]
add rdx, 0x27
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180015c17
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rdi
call fcn.180054b4c
xorps xmm0, xmm0
mov word [rbp + 0x440], 0xeeb
mov edx, 2
mov qword [rsp + 0x40], 0
lea rcx, [rsp + 0x30]
movdqu xmmword [rsp + 0x30], xmm0
call fcn.1800115e0
mov rdi, qword [rsp + 0x30]
movzx eax, word [rbp + 0x440]
mov word [rdi], ax
lea rbx, [rdi + 2]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea rcx, [rbp + 0x448]
sub rbx, rdi
mov qword [rsp + 0x20], rcx
movabs rsi, 0x140dd381e
mov rcx, rax
mov r9d, 0x40
mov r8, rbx
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov r8, rbx
mov rdx, rdi
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
mov rdx, qword [rsp + 0x40]
mov rax, rdi
sub rdx, rdi
cmp rdx, 0x1000
jb 0x180015cce
mov rdi, qword [rdi - 8]
add rdx, 0x27
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180015cce
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rdi
call fcn.180054b4c
movabs rax, 0x1404c994d
mov qword [0x18006c950], rax
mov rax, qword [0x18006c068]
cmp byte [rax + 9], 0
jne 0x180015cfa
cmp byte [rax + 0xb], 0
je 0x180015d0b
movabs rax, 0x1401fc1fa
mov qword [0x18006c940], rax
lea rdx, [0x1800154d0]
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_AddVectoredExceptionHandler]
xor edx, edx
lea ecx, [rdx + 4]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x180015e45
xorps xmm0, xmm0
mov qword [rsp + 0x44], 0
lea rdx, [rsp + 0x30]
mov dword [rsp + 0x30], 0x1c
mov rcx, rax
movdqu xmmword [rsp + 0x34], xmm0
call qword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x180015e3c
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [rsp + 0x3c], eax
jne 0x180015e26
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov r8d, dword [rsp + 0x38]
cmp r8d, eax
je 0x180015e26
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rbx, rax
test rax, rax
je 0x180015e26
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SuspendThread]
xor edx, edx
lea rcx, [rsp + 0x50]
mov r8d, 0x4d0
call sub.VCRUNTIME140.dll_memset
lea rdx, [rsp + 0x50]
mov dword [rbp - 0x80], 0x10001f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetThreadContext]
mov rax, qword [0x18006c950]
lea rdx, [rsp + 0x50]
mov qword [rbp - 0x68], rax
mov rcx, rbx
mov rax, qword [0x18006c940]
mov qword [rbp - 0x60], rax
mov rax, qword [0x18006c948]
mov qword [rbp - 0x58], rax
mov rax, qword [0x18006c960]
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x40], 0x455
call qword [sym.imp.KERNEL32.dll_SetThreadContext]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x180015d65
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rsp + 0x550]
add rsp, 0x520
pop rdi
pop rsi
pop rbp
ret