Function at 0x1400015b0
Capabilities:
Enumerate process modules

Disassembly:
push r13
push r15
mov eax, 0x3288
call fcn.1400099b0
sub rsp, rax
mov rax, qword [0x140010040]
xor rax, rsp
mov qword [rsp + 0x3250], rax
mov qword [rsp + 0x28], r8
mov r13, rdx
mov r15, rcx
lea r8, [rsp + 0x20]
mov edx, 0x1000
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_K32EnumProcesses]
test eax, eax
jne 0x140001621
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
lea rdx, str.Failed_to_enumerate_processes.
call fcn.140007750
lea rdx, [0x140007920]
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]
xor al, al
jmp 0x1400017b0
mov qword [rsp + 0x32b8], rbx
mov qword [rsp + 0x3280], rbp
mov qword [rsp + 0x3278], rsi
mov qword [rsp + 0x3270], rdi
mov qword [rsp + 0x3268], r12
mov r12d, dword [rsp + 0x20]
shr r12, 2
mov qword [rsp + 0x3260], r14
test r12, r12
je 0x14000175b
xor r14d, r14d
nop word [rax + rax]
mov r8d, dword [rsp + r14*4 + 0x30]
xor edx, edx
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbp, rax
test rax, rax
je 0x14000174f
mov r9d, 0x104
lea r8, [rsp + 0x3030]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_K32GetModuleBaseNameA]
test eax, eax
je 0x140001746
mov rdx, r13
lea rcx, [rsp + 0x3030]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
jne 0x140001746
lea r9, [rsp + 0x24]
mov r8d, 0x2000
lea rdx, [rsp + 0x1030]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_K32EnumProcessModules]
test eax, eax
je 0x140001746
mov esi, dword [rsp + 0x24]
xor edi, edi
shr rsi, 3
xor ebx, ebx
test rsi, rsi
je 0x140001746
nop dword [rax]
mov rdx, qword [rsp + rbx*8 + 0x1030]
lea r8, [rsp + 0x3140]
mov r9d, 0x104
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_K32GetModuleBaseNameA]
test eax, eax
je 0x14000173c
mov rdx, r15
lea rcx, [rsp + 0x3140]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
je 0x1400017cc
inc edi
inc rbx
cmp rbx, rsi
jl 0x140001700
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc r14
cmp r14, r12
jl 0x140001670
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
lea rdx, str.DLL_or_process_not_found.
call fcn.140007750
lea rdx, [0x140007920]
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]
xor al, al
mov r12, qword [rsp + 0x3268]
mov rdi, qword [rsp + 0x3270]
mov rsi, qword [rsp + 0x3278]
mov rbp, qword [rsp + 0x3280]
mov rbx, qword [rsp + 0x32b8]
mov r14, qword [rsp + 0x3260]
mov rcx, qword [rsp + 0x3250]
xor rcx, rsp
call fcn.140008b60
add rsp, 0x3288
pop r15
pop r13
ret
mov rcx, qword [rsp + 0x28]
lea rbx, [rsp + 0x1030]
movsxd rax, edi
lea rdx, str.DLL_Handle:
lea rbx, [rbx + rax*8]
mov rax, qword [rbx]
mov qword [rcx], rax
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140007750
mov rdx, qword [rbx]
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___void_const____ptr64____ptr64]
mov rcx, rax
lea rdx, [0x14000b708]
call fcn.140007750
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
jmp 0x140001780