Function at 0x1400020c0
Capabilities:
Enumerate processes
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x2d0]
sub rsp, 0x3d0
mov rax, qword [0x14000c010]
xor rax, rsp
mov qword [rbp + 0x2c0], rax
xor edx, edx
mov r8d, 0x108
lea rcx, [rbp + 0x1b0]
call sub.VCRUNTIME140.dll_memset
mov r8d, 8
lea rdx, str.CheckInjectOutputCheckInject.txt
lea rcx, [rbp + 0x1b0]
call fcn.1400042e0
nop
lea rdx, str.Check_inject_PE_file
lea rcx, [rbp + 0x1b0]
call fcn.140005280
mov rcx, rax
lea rdx, [0x140008710]
call fcn.140005280
lea rdx, str.pid_address_size
lea rcx, [rbp + 0x1b0]
call fcn.140005280
mov rcx, rax
lea rdx, [0x140008710]
call fcn.140005280
lea rdx, str._____________________CHECK_INJECT_PE_FILE____________________
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140005280
mov rcx, rax
lea rdx, [0x140008710]
call fcn.140005280
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm0
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov r13, rax
xor edx, edx
mov r8d, 0x234
lea rcx, [rsp + 0x64]
call sub.VCRUNTIME140.dll_memset
mov dword [rsp + 0x60], 0x238
lea rdx, [rsp + 0x60]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
mov edi, 1
nop dword [rax]
mov r8d, dword [rsp + 0x68]
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
je 0x14000253c
mov r9d, 0x30
lea r8, [rsp + 0x30]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_VirtualQueryEx]
test rax, rax
je 0x14000253c
nop dword [rax]
mov r14, qword [rsp + 0x30]
mov r12, qword [rsp + 0x48]
add r12, r14
cmp dword [rsp + 0x50], 0x1000
jne 0x14000251c
cmp dword [rsp + 0x58], 0x20000
jne 0x14000251c
mov eax, dword [rsp + 0x54]
cmp eax, 0x40
je 0x14000225b
cmp eax, 0x10
jne 0x14000251c
mov qword [rsp + 0x20], 0
mov r9d, 2
lea r8, [rbp + 0x1a0]
mov rdx, r14
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
xor sil, sil
cmp byte [rbp + 0x1a0], 0x4d
jne 0x140002297
movzx esi, sil
cmp byte [rbp + 0x1a1], 0x5a
cmove esi, edi
mov ecx, 0x40
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
mov qword [rbp + 0x1a8], 0
lea rax, [rbp + 0x1a8]
mov qword [rsp + 0x20], rax
mov r9d, 0x40
mov r8, rdi
mov rdx, r14
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
jne 0x1400022e3
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140002517
mov edi, dword [rdi + 0x3c]
mov ecx, 0x108
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r15, rax
lea rdx, [r14 + rdi]
lea rax, [rbp + 0x1a8]
mov qword [rsp + 0x20], rax
mov r9d, 0x108
mov r8, r15
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
jne 0x140002323
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [r15], 0x4550
je 0x140002335
test sil, sil
je 0x140002517
lea rdx, str.Detect_inject_PE_file
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140005280
mov rcx, rax
lea rdx, [0x140008710]
call fcn.140005280
lea rdx, [rbp - 0x74]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.140005490
mov rcx, rax
lea rdx, [0x140008710]
call fcn.140005660
lea rdx, str.pid:__0x
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140005280
mov rcx, rax
lea rdx, [0x140001300]
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::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
mov rcx, rax
mov edx, dword [rsp + 0x68]
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___unsigned_long_int____ptr64]
mov rcx, rax
lea rdx, [0x140008710]
call fcn.140005280
lea rdx, str._taddress:_0x
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140005280
mov rcx, rax
lea rdx, [0x140001300]
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::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
mov rcx, rax
mov rdx, qword [rsp + 0x30]
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___void_const____ptr64____ptr64]
mov rcx, rax
lea rdx, str.___size:__0x
call fcn.140005280
mov rcx, rax
lea rdx, [0x140001300]
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::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
mov rcx, rax
mov rdx, qword [rsp + 0x48]
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___unsigned_long_long_unsigned___int64_____ptr64]
mov rcx, rax
lea rdx, str.__end:_0x
call fcn.140005280
mov rcx, rax
lea rdx, [0x140001300]
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::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
mov rcx, rax
mov rdx, r12
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___void_const____ptr64____ptr64]
mov rcx, rax
lea rdx, [0x140008710]
call fcn.140005280
lea rdx, [0x1400087c8]
lea rcx, [rbp + 0x1b0]
call fcn.140005280
mov rcx, rax
lea rdx, [0x140001300]
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::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
mov rcx, rax
mov edx, dword [rsp + 0x68]
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___unsigned_long_int____ptr64]
mov rcx, rax
lea rdx, [0x1400087cc]
call fcn.140005280
mov rcx, rax
lea rdx, [0x1400087c8]
call fcn.140005280
mov rcx, rax
lea rdx, [0x140001300]
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::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
mov rcx, rax
mov rdx, qword [rsp + 0x30]
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___void_const____ptr64____ptr64]
mov rcx, rax
lea rdx, [0x1400087cc]
call fcn.140005280
mov rcx, rax
lea rdx, [0x1400087c8]
call fcn.140005280
mov rcx, rax
lea rdx, [0x140001300]
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::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
mov rcx, rax
mov rdx, qword [rsp + 0x48]
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___unsigned_long_long_unsigned___int64_____ptr64]
mov rcx, rax
lea rdx, [0x140008710]
call fcn.140005280
mov r8d, dword [rsp + 0x48]
mov rdx, qword [rsp + 0x30]
mov ecx, dword [rsp + 0x68]
call fcn.140001320
mov edi, 1
mov r9d, 0x30
lea r8, [rsp + 0x30]
mov rdx, r12
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualQueryEx]
test rax, rax
jne 0x140002220
lea rdx, [rsp + 0x60]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x1400021e0
lea rcx, [rbp + 0x1b8]
call fcn.140004e60
test rax, rax
jne 0x140002586
mov rax, qword [rbp + 0x1b0]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x1b0]
add rcx, rax
xor r8d, r8d
lea edx, [r8 + 2]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
nop
mov rax, qword [rbp + 0x1b0]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x1b0], rax
mov rax, qword [rbp + 0x1b0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx + 0x1ac], edx
lea rax, vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov qword [rbp + 0x1b8], rax
cmp qword [rbp + 0x238], 0
je 0x140002609
mov rax, qword [rbp + 0x1d0]
lea rcx, [rbp + 0x228]
cmp qword [rax], rcx
jne 0x140002609
mov rdx, qword [rbp + 0x248]
mov rcx, qword [rbp + 0x240]
mov qword [rax], rcx
mov rax, qword [rbp + 0x1f0]
mov qword [rax], rcx
sub edx, ecx
mov rax, qword [rbp + 0x208]
mov dword [rax], edx
cmp byte [rbp + 0x234], 0
je 0x14000261e
lea rcx, [rbp + 0x1b8]
call fcn.140004e60
lea rcx, [rbp + 0x1b8]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
lea rcx, [rbp + 0x1c0]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x258]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
mov rcx, qword [rbp + 0x2c0]
xor rcx, rsp
call fcn.140005ec0
lea r11, [rsp + 0x3d0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret