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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x460]
sub rsp, 0x560
mov rax, qword [0x1800b83c0]
xor rax, rsp
mov qword [rbp + 0x450], rax
lea rdx, [0x180006710]
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
test rax, rax
je 0x1800069a0
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x1c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x180006997
mov qword [rsp + 0x570], rsi
xor esi, esi
nop dword [rax]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [rsp + 0x2c], eax
jne 0x180006979
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov r8d, dword [rsp + 0x28]
cmp r8d, eax
je 0x180006979
xor edx, edx
lea ecx, [rdx + 0x1a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rbx, rax
test rax, rax
je 0x180006979
mov rcx, rax
mov dword [rbp - 0x50], 0x100010
call qword [sym.imp.KERNEL32.dll_SuspendThread]
lea rdx, [rbp - 0x80]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
je 0x180006967
xor ecx, ecx
mov qword [rbp - 0x38], rsi
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, [rbp - 0x80]
mov qword [rbp - 0x28], rsi
add rax, 0x3000
mov qword [rbp - 0x20], rsi
mov rcx, rbx
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x10], 0x300055
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 + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x1800068e0
mov rsi, qword [rsp + 0x570]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.180003620
mov rax, qword [0x18010b358]
lea r9, [rsp + 0x70]
mov edx, 0x10
mov rcx, qword [rax]
add rcx, 0x30
lea r8d, [rdx + 0x30]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov r8, qword [0x18010b358]
lea r9, [rsp + 0x70]
mov edx, 0x10
mov rcx, qword [r8]
mov rax, qword [rcx + 0x30]
mov qword [0x18010b2b8], rax
mov rax, qword [rcx + 0x38]
mov qword [0x18010b2b0], rax
lea rax, [0x1800029a0]
mov qword [rcx + 0x30], rax
lea rcx, [0x180002b10]
mov rax, qword [r8]
mov qword [rax + 0x38], rcx
mov rcx, qword [r8]
mov r8d, dword [rsp + 0x70]
add rcx, 0x30
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov rax, qword [0x18010b380]
lea r9, [rsp + 0x74]
mov edx, 8
mov rcx, qword [rax + 0x10bbcbd0]
lea r8d, [rdx + 0x38]
mov rbx, qword [rcx]
mov rax, qword [rbx + 0x10]
lea rcx, [rbx + 0x10]
mov qword [0x18010b2a8], rax
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
lea rax, [0x180002df0]
mov edx, 8
mov qword [rbx + 0x10], rax
lea r9, [rsp + 0x74]
mov r8d, dword [rsp + 0x74]
lea rcx, [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov rax, qword [0x18010b370]
lea rdx, [rsp + 0x40]
mov r8d, 0x30
mov rdi, qword [rax]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
mov rdx, qword [rsp + 0x58]
lea r9, [rsp + 0x64]
mov rcx, qword [rsp + 0x40]
mov r8d, 4
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov rbx, qword [rdi]
lea rax, [0x180002d90]
mov qword [rdi], rax
lea r9, [rsp + 0x64]
mov r8d, dword [rsp + 0x64]
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov qword [0x18010b268], rbx
mov rcx, qword [rbp + 0x450]
xor rcx, rsp
call fcn.180065b10
lea r11, [rsp + 0x560]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret