Function at 0x14007fdd0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x2b0
mov rax, qword [0x1400e6210]
xor rax, rsp
mov qword [rsp + 0x2a0], rax
mov rdi, qword [0x1400e6b50]
lea rax, str.1_32_568_4_pe32
mov qword [rsp + 0x20], 0x41b58ab3
lea rbx, [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov edx, 0x47
lea rax, [fcn.14007fdd0]
shr rbx, 3
add rbx, rdi
mov qword [rsp + 0x30], rax
lea rcx, [rbx + 4]
mov dword [rbx], 0xf1f1f1f1
call sub.clang_rt.asan_dynamic_x86_64.dll___asan_set_shadow_00
xor edx, edx
mov byte [rbx + 0x4b], 0xf2
mov dword [rbx + 0x4c], 0xf3f3f3f3
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x14007fe83
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
lea rdx, str.Error_creating_process_snapshot.
call fcn.140071ad0
lea rdx, [0x140071dc0]
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___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 0x14007ff9d
xor edx, edx
lea rcx, [rsp + 0x40]
mov r8d, 0x238
lea r9d, [rdx + 4]
call sub.clang_rt.asan_dynamic_x86_64.dll___asan_memset
lea rcx, [rsp + 0x40]
mov rax, rcx
shr rax, 3
movzx edx, byte [rax + rdi]
test dl, dl
je 0x14007febd
movzx eax, cl
and al, 7
add al, 3
cmp al, dl
jl 0x14007febd
call sub.clang_rt.asan_dynamic_x86_64.dll___asan_report_store4
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x40], 0x238
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x14007ff71
nop dword [rax + rax]
lea rdx, [0x14008b500]
lea rcx, [rsp + 0x6c]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
jne 0x14007ff5b
lea rcx, [rsp + 0x48]
mov rax, rcx
shr rax, 3
movzx edx, byte [rax + rdi]
test dl, dl
je 0x14007ff1a
movzx eax, cl
and al, 7
add al, 3
cmp al, dl
jl 0x14007ff1a
call sub.clang_rt.asan_dynamic_x86_64.dll___asan_report_load4
mov r8d, dword [rsp + 0x48]
xor edx, edx
mov ecx, 0x1010
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
jne 0x14007ffe3
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
lea rdx, str.Error_opening_process.
call fcn.140071ad0
lea rdx, [0x140071dc0]
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___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
lea rdx, [rsp + 0x40]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x14007fee0
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
lea rdx, str.Process_not_found.
call fcn.140071ad0
lea rdx, [0x140071dc0]
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___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, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x20], 0x45e0360e
shr rcx, 3
mov edx, 0x50
add rcx, rdi
call sub.clang_rt.asan_dynamic_x86_64.dll___asan_set_shadow_00
xor eax, eax
mov rcx, qword [rsp + 0x2a0]
xor rcx, rsp
call fcn.140084bc0
lea r11, [rsp + 0x2b0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
lea rcx, [rsp + 0x48]
mov rax, rcx
shr rax, 3
movzx edx, byte [rax + rdi]
test dl, dl
je 0x140080007
movzx eax, cl
and al, 7
add al, 3
cmp al, dl
jl 0x140080007
call sub.clang_rt.asan_dynamic_x86_64.dll___asan_report_load4
mov edx, dword [rsp + 0x48]
call fcn.14007f260
test eax, eax
jne 0x140080045
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
lea rdx, str.Error_printing_modules.
call fcn.140071ad0
lea rdx, [0x140071dc0]
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___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, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14007ff94
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x20], 0x45e0360e
shr rcx, 3
mov edx, 0x50
add rcx, rdi
call sub.clang_rt.asan_dynamic_x86_64.dll___asan_set_shadow_00
mov rax, rbx
jmp 0x14007ffbe