Function at 0x140016530
Capabilities:
Enumerate process modules

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x3c0]
sub rsp, 0x4c0
mov rax, qword [0x140100080]
xor rax, rsp
mov qword [rbp + 0x3b0], rax
mov rdi, rdx
mov r13, rcx
mov qword [rsp + 0x20], rdx
cmp qword [rdx + 0x18], 0xf
jbe 0x14001657e
mov r14, qword [rdx]
mov rsi, r14
add r14, qword [rdx + 0x10]
jmp 0x140016588
mov rsi, rdi
mov r14, qword [rdx + 0x10]
add r14, rdi
xorps xmm0, xmm0
movups xmmword [rbp + 0x370], xmm0
xor r15d, r15d
cmp rsi, r14
jne 0x1400165b9
mov qword [rbp + 0x380], r15
mov qword [rbp + 0x388], 7
mov word [rbp + 0x370], r15w
jmp 0x1400166f8
mov rax, r14
sub rax, rsi
mov rdx, r15
mov qword [rbp + 0x380], rdx
mov ebx, 7
mov qword [rbp + 0x388], rbx
movabs rcx, 0x7ffffffffffffffe
cmp rax, rcx
ja 0x140016d9f
cmp rax, rbx
jbe 0x1400166a0
mov rbx, rax
or rbx, 7
cmp rbx, rcx
jbe 0x140016610
mov rbx, rcx
movabs rax, 0x7fffffffffffffff
lea rcx, [rax + rax]
jmp 0x14001663f
mov eax, 0xa
cmp rbx, rax
cmovb rbx, rax
lea rcx, [rbx + 1]
movabs rax, 0x7fffffffffffffff
cmp rcx, rax
ja 0x140016d99
add rcx, rcx
cmp rcx, 0x1000
jb 0x140016675
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140016d99
mov rcx, rax
call fcn.1400cd8d0
mov rcx, rax
test rax, rax
je 0x14001689b
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
mov rdx, qword [rbp + 0x380]
jmp 0x14001668b
test rcx, rcx
je 0x140016688
call fcn.1400cd8d0
mov rdx, qword [rbp + 0x380]
jmp 0x14001668b
mov rax, r15
mov qword [rbp + 0x370], rax
mov qword [rbp + 0x388], rbx
nop dword [rax]
lea rcx, [rbp + 0x370]
cmp rbx, 7
cmova rcx, qword [rbp + 0x370]
movsx eax, byte [rsi]
mov word [rcx + rdx*2], ax
mov rdx, qword [rbp + 0x380]
inc rdx
mov qword [rbp + 0x380], rdx
inc rsi
cmp rsi, r14
je 0x1400166dc
mov rbx, qword [rbp + 0x388]
jmp 0x1400166a0
lea rax, [rbp + 0x370]
cmp qword [rbp + 0x388], 7
cmova rax, qword [rbp + 0x370]
mov word [rax + rdx*2], r15w
mov edx, dword [r13 + 8]
mov ecx, 8
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x1400167e9
mov rdx, qword [rbp + 0x388]
cmp rdx, 7
jbe 0x14001675a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x370]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140016755
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001689b
call fcn.1400cd90c
mov qword [rbp + 0x380], r15
mov qword [rbp + 0x388], 7
mov word [rbp + 0x370], r15w
mov rdx, qword [rdi + 0x18]
cmp rdx, 0xf
jbe 0x1400167ae
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x1400167a9
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140016d92
mov rcx, r8
call fcn.1400cd90c
xor eax, eax
mov byte [rdi], 0
mov qword [rdi + 0x18], reloc.WS2_32.dll_ntohs
mov qword [rdi + 0x10], r15
mov rcx, qword [rbp + 0x3b0]
xor rcx, rsp
call fcn.1400cd8b0
mov rbx, qword [rsp + 0x510]
add rsp, 0x4c0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov dword [rsp + 0x30], 0x438
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Module32FirstW]
test eax, eax
je 0x140016848
nop dword [rax]
nop word [rax + 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 0x1400168a2
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Module32NextW]
test eax, eax
jne 0x140016810
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rdx, qword [rbp + 0x388]
cmp rdx, 7
jbe 0x14001675a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x370]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140016755
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140016755
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov r12, rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x390], xmm0
mov qword [rbp + 0x3a0], r15
mov qword [rbp + 0x3a8], r15
lea rax, [rsp + 0x60]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x1400168d4
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x390]
call fcn.14001e0a0
nop
lea r9, [rbp + 0x390]
mov rsi, qword [rbp + 0x390]
mov r14, qword [rbp + 0x3a8]
cmp r14, 7
cmova r9, rsi
mov rdx, qword [rbp + 0x3a0]
cmp rdx, 0x1a
jne 0x14001696a
mov r8, rdx
lea rcx, [0x1400e4278]
test rdx, rdx
je 0x140016944
sub r9, rcx
nop dword [rax]
movzx eax, word [r9 + rcx]
cmp ax, word [rcx]
jne 0x14001696a
add rcx, 2
sub r8, 1
jne 0x140016930
mov edx, 4
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
lea rdx, str._n_____Unsupported_Build__b2802_
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.14001d920
jmp 0x140016c97
lea r9, [rbp + 0x390]
cmp r14, 7
cmova r9, rsi
cmp rdx, 0x1a
jne 0x1400169cb
mov r8, rdx
lea rcx, [0x1400e42d0]
test rdx, rdx
je 0x1400169a5
sub r9, rcx
movzx eax, word [r9 + rcx]
cmp ax, word [rcx]
jne 0x1400169cb
add rcx, 2
sub r8, 1
jne 0x140016991
mov edx, 4
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
lea rdx, str._n_____Unsupported_Build__b2944_
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.14001d920
jmp 0x140016c97
lea r9, [rbp + 0x390]
cmp r14, 7
cmova r9, rsi
cmp rdx, 0x1a
jne 0x140016a2c
mov r8, rdx
lea rcx, [0x1400e4328]
test rdx, rdx
je 0x140016a06
sub r9, rcx
movzx eax, word [r9 + rcx]
cmp ax, word [rcx]
jne 0x140016a2c
add rcx, 2
sub r8, 1
jne 0x1400169f2
mov edx, 4
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
lea rdx, str._n_____Unsupported_Build__b3095_
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.14001d920
jmp 0x140016c97
lea r9, [rbp + 0x390]
cmp r14, 7
cmova r9, rsi
cmp rdx, 0x1a
jne 0x140016a8d
mov r8, rdx
lea rcx, [0x1400e4020]
test rdx, rdx
je 0x140016a67
sub r9, rcx
movzx eax, word [r9 + rcx]
cmp ax, word [rcx]
jne 0x140016a8d
add rcx, 2
sub r8, 1
jne 0x140016a53
mov edx, 2
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
lea rdx, str._n____Supported_Build__b2545_
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.14001d920
jmp 0x140016c97
lea r9, [rbp + 0x390]
cmp r14, 7
cmova r9, rsi
cmp rdx, 0x1a
jne 0x140016aee
mov r8, rdx
lea rcx, [0x1400e4078]
test rdx, rdx
je 0x140016ac8
sub r9, rcx
movzx eax, word [r9 + rcx]
cmp ax, word [rcx]
jne 0x140016aee
add rcx, 2
sub r8, 1
jne 0x140016ab4
mov edx, 2
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
lea rdx, str._n____Supported_Build__b2699_
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.14001d920
jmp 0x140016c97
lea r9, [rbp + 0x390]
cmp r14, 7
cmova r9, rsi
cmp rdx, 0x1a
jne 0x140016b4f
mov r8, rdx
lea rcx, [0x1400e4118]
test rdx, rdx
je 0x140016b29
sub r9, rcx
movzx eax, word [r9 + rcx]
cmp ax, word [rcx]
jne 0x140016b4f
add rcx, 2
sub r8, 1
jne 0x140016b15
mov edx, 2
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
lea rdx, str._n____Supported_Build__b2060_
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.14001d920
jmp 0x140016c97
lea r9, [rbp + 0x390]
cmp r14, 7
cmova r9, rsi
cmp rdx, 0x1a
jne 0x140016bb0
mov r8, rdx
lea rcx, [0x1400e4170]
test rdx, rdx
je 0x140016b8a
sub r9, rcx
movzx eax, word [r9 + rcx]
cmp ax, word [rcx]
jne 0x140016bb0
add rcx, 2
sub r8, 1
jne 0x140016b76
mov edx, 2
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
lea rdx, str._n____Supported_Build__b2372_
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.14001d920
jmp 0x140016c97
lea r9, [rbp + 0x390]
cmp r14, 7
cmova r9, rsi
cmp rdx, 0x1a
jne 0x140016c1a
mov r8, rdx
lea rcx, [0x1400e41c8]
test rdx, rdx
je 0x140016bf4
sub r9, rcx
nop word [rax + rax]
movzx eax, word [r9 + rcx]
cmp ax, word [rcx]
jne 0x140016c1a
add rcx, 2
sub r8, 1
jne 0x140016be0
mov edx, 2
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
lea rdx, str._n____Supported_Build__b2612_
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.14001d920
jmp 0x140016c97
lea r8, [rbp + 0x390]
cmp r14, 7
cmova r8, rsi
cmp rdx, 0x1a
jne 0x140016c77
lea rcx, [0x1400e4220]
test rdx, rdx
je 0x140016c54
sub r8, rcx
nop
movzx eax, word [r8 + rcx]
cmp ax, word [rcx]
jne 0x140016c77
add rcx, 2
sub rdx, 1
jne 0x140016c40
mov edx, 2
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
lea rdx, str._n____Supported_Build__b2189_
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.14001d920
jmp 0x140016c97
lea rdx, [0x1400e3a2f]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.14001d920
mov rcx, rax
lea rdx, [rsp + 0x60]
call fcn.14001db80
lea rdx, [0x14001dd50]
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, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rsp + 0x48]
cmp r14, 7
jbe 0x140016cf4
lea rdx, [r14*2 + 2]
mov rax, rsi
cmp rdx, 0x1000
jb 0x140016ceb
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140016ceb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rsi
call fcn.1400cd90c
nop
mov rdx, qword [rbp + 0x388]
cmp rdx, 7
jbe 0x140016d3a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x370]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140016d35
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001689b
call fcn.1400cd90c
mov qword [rbp + 0x380], r15
mov qword [rbp + 0x388], 7
mov word [rbp + 0x370], r15w
mov rdx, qword [rdi + 0x18]
cmp rdx, 0xf
jbe 0x140016d8a
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x140016d85
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140016d92
mov rcx, r8
call fcn.1400cd90c
mov rax, rbx
jmp 0x1400167b0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.1400012a0
int3
call fcn.140001340
int3