Function at 0x180014b10
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 [0x18006b0d8]
cmp byte [rax + 7], 0
je 0x180014cc8
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.180012170
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, 0x140dc39c9
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
test rdi, rdi
je 0x180014bf4
mov rdx, qword [rsp + 0x40]
mov rax, rdi
sub rdx, rdi
cmp rdx, 0x1000
jb 0x180014bec
mov rdi, qword [rdi - 8]
add rdx, 0x27
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180014bec
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rdi
call fcn.180055444
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.180012170
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, 0x140dc3dee
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
test rdi, rdi
je 0x180014cb0
mov rdx, qword [rsp + 0x40]
mov rax, rdi
sub rdx, rdi
cmp rdx, 0x1000
jb 0x180014ca8
mov rdi, qword [rdi - 8]
add rdx, 0x27
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180014ca8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rdi
call fcn.180055444
movabs rax, 0x14044ca9d
mov qword [0x18006b940], rax
mov rax, qword [0x18006b0d8]
cmp byte [rax + 1], 0
jne 0x180014cd4
cmp byte [rax + 3], 0
je 0x180014ce5
movabs rax, 0x140205c1a
mov qword [0x18006b930], rax
lea rdx, [0x1800144d0]
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 0x180014e20
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 0x180014e17
nop
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [rsp + 0x3c], eax
jne 0x180014e01
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov r8d, dword [rsp + 0x38]
cmp r8d, eax
je 0x180014e01
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rbx, rax
test rax, rax
je 0x180014e01
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 [0x18006b940]
lea rdx, [rsp + 0x50]
mov qword [rbp - 0x68], rax
mov rcx, rbx
mov rax, qword [0x18006b930]
mov qword [rbp - 0x60], rax
mov rax, qword [0x18006b938]
mov qword [rbp - 0x58], rax
mov rax, qword [0x18006b948]
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 0x180014d40
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