Function at 0x14000f970
Capabilities:
Enumerate process modules

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x3a0]
sub rsp, 0x4a0
mov rax, qword [0x1400f9080]
xor rax, rsp
mov qword [rbp + 0x390], rax
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x20], rdx
cmp qword [rdx + 0x18], 0xf
jbe 0x14000f9b6
mov r8, qword [rdx]
mov rdx, r8
add r8, qword [rbx + 0x10]
jmp 0x14000f9bd
mov r8, qword [rdx + 0x10]
add r8, rbx
lea rcx, [rbp + 0x370]
call fcn.140009a90
nop
mov edx, dword [rdi + 8]
mov ecx, 8
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x14000fab3
mov rdx, qword [rbp + 0x388]
cmp rdx, 7
jbe 0x14000fa2b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x370]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000fa26
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000fb5b
call fcn.1400c9ce4
xor edi, edi
mov qword [rbp + 0x380], rdi
mov qword [rbp + 0x388], 7
mov word [rbp + 0x370], di
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x14000fa80
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x14000fa7b
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000fc34
mov rcx, r8
call fcn.1400c9ce4
xor eax, eax
mov byte [rbx], 0
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov qword [rbx + 0x10], rdi
mov rcx, qword [rbp + 0x390]
xor rcx, rsp
call fcn.1400c9c80
mov rbx, qword [rsp + 0x4d0]
add rsp, 0x4a0
pop rdi
pop rsi
pop rbp
ret
mov dword [rsp + 0x30], 0x438
lea rdx, [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Module32FirstW]
test eax, eax
je 0x14000fb08
nop dword [rax]
lea rdx, [rbp + 0x370]
cmp qword [rbp + 0x388], 7
cmova rdx, qword [rbp + 0x370]
lea rcx, [rsp + 0x60]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x14000fb62
lea rdx, [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Module32NextW]
test eax, eax
jne 0x14000fad0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rdx, qword [rbp + 0x388]
cmp rdx, 7
jbe 0x14000fa2b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x370]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000fa26
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000fa26
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.140016390
mov rcx, rax
lea rdx, [rsp + 0x60]
call fcn.140016600
lea rdx, [0x1400167e0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rsi, qword [rsp + 0x48]
mov rdx, qword [rbp + 0x388]
cmp rdx, 7
jbe 0x14000fbdb
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x370]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000fbd6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000fb5b
call fcn.1400c9ce4
xor edi, edi
mov qword [rbp + 0x380], rdi
mov qword [rbp + 0x388], 7
mov word [rbp + 0x370], di
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x14000fc2c
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x14000fc27
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000fc34
mov rcx, r8
call fcn.1400c9ce4
mov rax, rsi
jmp 0x14000fa82
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3