Function at 0x1400017c0
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag
Enumerate threads
Get memory capacity
Get system information on windows
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push rbp
push r14
push r15
lea rbp, [rsp - 0x47]
sub rsp, 0xe0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x37], rax
mov r15d, 1
mov dword [rbp - 0x79], r15d
mov rax, qword gs:[0x60]
cmp byte [rax + 2], r15b
je 0x140001aa7
lea rcx, [rbp - 0x39]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp dword [rbp - 0x19], 2
jbe 0x140001aa7
lea rcx, [rbp - 9]
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov eax, 0x80000000
cmp qword [rbp - 1], rax
jbe 0x140001aa7
nop dword [rax]
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
cmp rax, 0x2bf20
jne 0x140001840
call fcn.1400011c0
mov r12, rax
test rax, rax
jne 0x140001883
lea rdx, str.failed_to_create_process
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001bd0
mov rcx, rax
lea rdx, [0x140001da0]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
jmp 0x140001aba
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_GetProcessId]
mov r14d, eax
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x51], xmm1
xor esi, esi
mov qword [rbp - 0x41], rsi
mov dword [rbp - 0x79], r15d
mov dword [rbp - 0x39], 0x1c
xor edx, edx
lea ecx, [rsi + 4]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x1400018c2
mov rdi, qword [rbp - 0x49]
jmp 0x14000193c
lea rdx, [rbp - 0x39]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Thread32First]
mov rdi, qword [rbp - 0x49]
test eax, eax
je 0x140001932
cmp dword [rbp - 0x2d], r14d
jne 0x140001921
mov r8d, dword [rbp - 0x31]
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov qword [rbp - 0x71], rax
test rax, rax
je 0x140001921
cmp rdi, rsi
je 0x140001909
mov qword [rdi], rax
add rdi, 8
mov qword [rbp - 0x49], rdi
jmp 0x140001921
lea r8, [rbp - 0x71]
mov rdx, rdi
lea rcx, [rbp - 0x51]
call fcn.140001e00
mov rsi, qword [rbp - 0x41]
mov rdi, qword [rbp - 0x49]
lea rdx, [rbp - 0x39]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x1400018d7
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov r14, qword [rbp - 0x51]
cmp r14, rdi
jne 0x140001976
lea rdx, str.no_threads_found_for_process
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001bd0
mov rcx, rax
lea rdx, [0x140001da0]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140001a66
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x69], xmm0
mov qword [rbp - 0x59], 0
sub rdi, r14
mov rbx, rdi
sar rbx, 3
test rbx, rbx
je 0x140001a1e
movabs rax, 0x1fffffffffffffff
cmp rbx, rax
ja 0x140001af0
lea rbx, [rbx*8]
cmp rbx, 0x1000
jb 0x1400019ec
lea rcx, [rbx + 0x27]
cmp rcx, rbx
jbe 0x140001aea
call fcn.140001fc0
mov rcx, rax
test rax, rax
je 0x1400019e5
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x1400019fd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test rbx, rbx
je 0x1400019fb
mov rcx, rbx
call fcn.140001fc0
jmp 0x1400019fd
xor eax, eax
mov qword [rbp - 0x69], rax
mov qword [rbp - 0x61], rax
add rbx, rax
mov qword [rbp - 0x59], rbx
mov r8, rdi
mov rdx, r14
mov rcx, rax
call sub.VCRUNTIME140.dll_memmove
mov qword [rbp - 0x61], rbx
lea rdx, [rbp - 0x69]
mov rcx, r12
call fcn.140001540
test eax, eax
je 0x140001a53
lea rdx, str.failed_to_hijack_thread
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001bd0
mov rcx, rax
lea rdx, [0x140001da0]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
jmp 0x140001a66
call fcn.1400011c0
mov rcx, rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
xor r15d, r15d
test r14, r14
je 0x140001aba
sub rsi, r14
and rsi, 0xfffffffffffffff8
mov rax, r14
cmp rsi, 0x1000
jb 0x140001a9a
add rsi, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001a9a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rdx, rsi
mov rcx, r14
call fcn.140001ffc
jmp 0x140001aba
lea rdx, str.hello_world
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001bd0
mov eax, r15d
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.140001fa0
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.140001100
nop
call fcn.140001de0
int3