Function at 0x180015b90
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 + 7], 0
je 0x180015d3e
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.180011630
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, 0x140dbf55b
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 0x180015c67
mov rdi, qword [rdi - 8]
add rdx, 0x27
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180015c67
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rdi
call fcn.180054abc
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.180011630
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, 0x140dbf97e
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 0x180015d1e
mov rdi, qword [rdi - 8]
add rdx, 0x27
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180015d1e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rdi
call fcn.180054abc
movabs rax, 0x1404d479d
mov qword [0x18006c950], rax
mov rax, qword [0x18006c068]
cmp byte [rax + 1], 0
jne 0x180015d4a
cmp byte [rax + 3], 0
je 0x180015d5b
movabs rax, 0x1401f868a
mov qword [0x18006c940], rax
lea rdx, [0x180015520]
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 0x180015e95
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 0x180015e8c
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [rsp + 0x3c], eax
jne 0x180015e76
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov r8d, dword [rsp + 0x38]
cmp r8d, eax
je 0x180015e76
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rbx, rax
test rax, rax
je 0x180015e76
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 [0x18006c958]
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 0x180015db5
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