Function at 0x180015bd0
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 [0x180062068]
cmp byte [rax + 0xf], 0
je 0x180015d77
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.180011760
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, 0x140ebadcb
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 0x180015ca7
mov rdi, qword [rdi - 8]
add rdx, 0x27
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180015ca7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rdi
call fcn.18004ae78
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.180011760
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, 0x140ebb35e
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 0x180015d5e
mov rdi, qword [rdi - 8]
add rdx, 0x27
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180015d5e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rdi
call fcn.18004ae78
movabs rax, 0x1404e912d
mov qword [0x180062950], rax
lea rdx, [0x1800154f0]
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 0x180015eb1
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 0x180015ea8
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [rsp + 0x3c], eax
jne 0x180015e92
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov r8d, dword [rsp + 0x38]
cmp r8d, eax
je 0x180015e92
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rbx, rax
test rax, rax
je 0x180015e92
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 [0x180062950]
lea rdx, [rsp + 0x50]
mov qword [rbp - 0x68], rax
mov rcx, rbx
mov rax, qword [0x180062940]
mov qword [rbp - 0x60], rax
mov rax, qword [0x180062948]
mov qword [rbp - 0x58], rax
mov rax, qword [0x180062958]
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 0x180015dd1
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