Function at 0x1400022b0
Capabilities:
Enumerate process modules

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x12a0]
mov eax, 0x13a0
call fcn.140004a90
sub rsp, rax
mov rax, qword [0x140008040]
xor rax, rsp
mov qword [rbp + 0x1290], rax
mov rbx, rcx
mov qword [rsp + 0x38], rcx
xor r12d, r12d
lea r8, [rsp + 0x40]
mov edx, 0x1000
lea rcx, [rbp + 0x80]
call qword [sym.imp.KERNEL32.dll_K32EnumProcesses]
test eax, eax
jne 0x140002344
mov rcx, rbx
call fcn.1400030f0
mov rax, rbx
mov rcx, qword [rbp + 0x1290]
xor rcx, rsp
call fcn.140003cc0
lea r11, [rsp + 0x13a0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
mov r15d, dword [rsp + 0x40]
shr r15d, 2
mov r14d, r12d
test r15d, r15d
je 0x140002319
lea rsi, [rbp + 0x80]
nop dword [rax]
mov r8d, dword [rsi]
test r8d, r8d
je 0x14000253d
xor edx, edx
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rdi, rax
test rax, rax
je 0x14000253d
movups xmm0, xmmword [str._unknown_]
movaps xmmword [rbp + 0x1080], xmm0
mov ecx, dword [0x1400054e8]
mov dword [rbp + 0x1090], ecx
xor edx, edx
mov r8d, 0x1f4
lea rcx, [rbp + 0x1094]
call sub.VCRUNTIME140.dll_memset
lea r9, [rsp + 0x44]
mov r8d, 8
lea rdx, [rsp + 0x38]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_K32EnumProcessModules]
test eax, eax
je 0x1400023eb
mov r9d, 0x104
lea r8, [rbp + 0x1080]
mov rdx, qword [rsp + 0x38]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_K32GetModuleBaseNameW]
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x70], 7
mov word [rsp + 0x58], r12w
mov eax, dword [rsi]
mov dword [rsp + 0x50], eax
lea rax, [rbp + 0x1080]
mov rdx, 0xffffffffffffffff
nop dword [rax + rax]
inc rdx
cmp word [rax + rdx*2], 0
jne 0x140002420
lea rcx, [rsp + 0x58]
cmp rdx, 7
ja 0x140002455
mov qword [rsp + 0x68], rdx
lea rbx, [rdx + rdx]
mov r8, rbx
lea rdx, [rbp + 0x1080]
call sub.VCRUNTIME140.dll_memmove
mov word [rsp + rbx + 0x58], r12w
jmp 0x140002461
lea r9, [rbp + 0x1080]
call fcn.140003580
lea r9, [rsp + 0x58]
cmp qword [rsp + 0x70], 7
cmova r9, qword [rsp + 0x58]
mov qword [rsp + 0x20], 0xff
mov r8d, 0xff
lea rdx, [rsp + 0x78]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_wcstombs_s]
mov rax, qword [0x140008768]
cmp rax, qword [0x140008770]
je 0x1400024b8
lea rdx, [rsp + 0x50]
mov rcx, rax
call fcn.1400028b0
add qword [0x140008768], 0x128
jmp 0x1400024c5
lea r8, [rsp + 0x50]
mov rdx, rax
call fcn.1400038c0
lea rdx, str.Process_name:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001890
mov rcx, rax
lea rdx, [rsp + 0x78]
call fcn.140001890
mov rcx, rax
lea rdx, [0x140001a60]
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, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rdx, qword [rsp + 0x70]
cmp rdx, 7
jbe 0x14000253d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002538
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002552
call fcn.140003d1c
inc r14d
add rsi, 4
cmp r14d, r15d
jb 0x140002360
jmp 0x140002319
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3