Function at 0x140016370
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 0x1400163be
mov r14, qword [rdx]
mov rsi, r14
add r14, qword [rdx + 0x10]
jmp 0x1400163c8
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 0x1400163f9
mov qword [rbp + 0x380], r15
mov qword [rbp + 0x388], 7
mov word [rbp + 0x370], r15w
jmp 0x140016538
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 0x140016bdf
cmp rax, rbx
jbe 0x1400164e0
mov rbx, rax
or rbx, 7
cmp rbx, rcx
jbe 0x140016450
mov rbx, rcx
movabs rax, 0x7fffffffffffffff
lea rcx, [rax + rax]
jmp 0x14001647f
mov eax, 0xa
cmp rbx, rax
cmovb rbx, rax
lea rcx, [rbx + 1]
movabs rax, 0x7fffffffffffffff
cmp rcx, rax
ja 0x140016bd9
add rcx, rcx
cmp rcx, 0x1000
jb 0x1400164b5
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140016bd9
mov rcx, rax
call fcn.1400cde50
mov rcx, rax
test rax, rax
je 0x1400166db
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
mov rdx, qword [rbp + 0x380]
jmp 0x1400164cb
test rcx, rcx
je 0x1400164c8
call fcn.1400cde50
mov rdx, qword [rbp + 0x380]
jmp 0x1400164cb
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 0x14001651c
mov rbx, qword [rbp + 0x388]
jmp 0x1400164e0
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 0x140016629
mov rdx, qword [rbp + 0x388]
cmp rdx, 7
jbe 0x14001659a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x370]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140016595
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400166db
call fcn.1400cde8c
mov qword [rbp + 0x380], r15
mov qword [rbp + 0x388], 7
mov word [rbp + 0x370], r15w
mov rdx, qword [rdi + 0x18]
cmp rdx, 0xf
jbe 0x1400165ee
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x1400165e9
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140016bd2
mov rcx, r8
call fcn.1400cde8c
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.1400cde30
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 0x140016688
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 0x1400166e2
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Module32NextW]
test eax, eax
jne 0x140016650
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rdx, qword [rbp + 0x388]
cmp rdx, 7
jbe 0x14001659a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x370]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140016595
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140016595
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 0x140016714
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x390]
call fcn.14001def0
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 0x1400167aa
mov r8, rdx
lea rcx, [0x1400e4278]
test rdx, rdx
je 0x140016784
sub r9, rcx
nop dword [rax]
movzx eax, word [r9 + rcx]
cmp ax, word [rcx]
jne 0x1400167aa
add rcx, 2
sub r8, 1
jne 0x140016770
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.14001d770
jmp 0x140016ad7
lea r9, [rbp + 0x390]
cmp r14, 7
cmova r9, rsi
cmp rdx, 0x1a
jne 0x14001680b
mov r8, rdx
lea rcx, [0x1400e42d0]
test rdx, rdx
je 0x1400167e5
sub r9, rcx
movzx eax, word [r9 + rcx]
cmp ax, word [rcx]
jne 0x14001680b
add rcx, 2
sub r8, 1
jne 0x1400167d1
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.14001d770
jmp 0x140016ad7
lea r9, [rbp + 0x390]
cmp r14, 7
cmova r9, rsi
cmp rdx, 0x1a
jne 0x14001686c
mov r8, rdx
lea rcx, [0x1400e4328]
test rdx, rdx
je 0x140016846
sub r9, rcx
movzx eax, word [r9 + rcx]
cmp ax, word [rcx]
jne 0x14001686c
add rcx, 2
sub r8, 1
jne 0x140016832
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.14001d770
jmp 0x140016ad7
lea r9, [rbp + 0x390]
cmp r14, 7
cmova r9, rsi
cmp rdx, 0x1a
jne 0x1400168cd
mov r8, rdx
lea rcx, [0x1400e4020]
test rdx, rdx
je 0x1400168a7
sub r9, rcx
movzx eax, word [r9 + rcx]
cmp ax, word [rcx]
jne 0x1400168cd
add rcx, 2
sub r8, 1
jne 0x140016893
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.14001d770
jmp 0x140016ad7
lea r9, [rbp + 0x390]
cmp r14, 7
cmova r9, rsi
cmp rdx, 0x1a
jne 0x14001692e
mov r8, rdx
lea rcx, [0x1400e4078]
test rdx, rdx
je 0x140016908
sub r9, rcx
movzx eax, word [r9 + rcx]
cmp ax, word [rcx]
jne 0x14001692e
add rcx, 2
sub r8, 1
jne 0x1400168f4
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.14001d770
jmp 0x140016ad7
lea r9, [rbp + 0x390]
cmp r14, 7
cmova r9, rsi
cmp rdx, 0x1a
jne 0x14001698f
mov r8, rdx
lea rcx, [0x1400e4118]
test rdx, rdx
je 0x140016969
sub r9, rcx
movzx eax, word [r9 + rcx]
cmp ax, word [rcx]
jne 0x14001698f
add rcx, 2
sub r8, 1
jne 0x140016955
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.14001d770
jmp 0x140016ad7
lea r9, [rbp + 0x390]
cmp r14, 7
cmova r9, rsi
cmp rdx, 0x1a
jne 0x1400169f0
mov r8, rdx
lea rcx, [0x1400e4170]
test rdx, rdx
je 0x1400169ca
sub r9, rcx
movzx eax, word [r9 + rcx]
cmp ax, word [rcx]
jne 0x1400169f0
add rcx, 2
sub r8, 1
jne 0x1400169b6
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.14001d770
jmp 0x140016ad7
lea r9, [rbp + 0x390]
cmp r14, 7
cmova r9, rsi
cmp rdx, 0x1a
jne 0x140016a5a
mov r8, rdx
lea rcx, [0x1400e41c8]
test rdx, rdx
je 0x140016a34
sub r9, rcx
nop word [rax + rax]
movzx eax, word [r9 + rcx]
cmp ax, word [rcx]
jne 0x140016a5a
add rcx, 2
sub r8, 1
jne 0x140016a20
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.14001d770
jmp 0x140016ad7
lea r8, [rbp + 0x390]
cmp r14, 7
cmova r8, rsi
cmp rdx, 0x1a
jne 0x140016ab7
lea rcx, [0x1400e4220]
test rdx, rdx
je 0x140016a94
sub r8, rcx
nop
movzx eax, word [r8 + rcx]
cmp ax, word [rcx]
jne 0x140016ab7
add rcx, 2
sub rdx, 1
jne 0x140016a80
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.14001d770
jmp 0x140016ad7
lea rdx, [0x1400e3a1f]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.14001d770
mov rcx, rax
lea rdx, [rsp + 0x60]
call fcn.14001d9d0
lea rdx, [0x14001dba0]
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 0x140016b34
lea rdx, [r14*2 + 2]
mov rax, rsi
cmp rdx, 0x1000
jb 0x140016b2b
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140016b2b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rsi
call fcn.1400cde8c
nop
mov rdx, qword [rbp + 0x388]
cmp rdx, 7
jbe 0x140016b7a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x370]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140016b75
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400166db
call fcn.1400cde8c
mov qword [rbp + 0x380], r15
mov qword [rbp + 0x388], 7
mov word [rbp + 0x370], r15w
mov rdx, qword [rdi + 0x18]
cmp rdx, 0xf
jbe 0x140016bca
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x140016bc5
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140016bd2
mov rcx, r8
call fcn.1400cde8c
mov rax, rbx
jmp 0x1400165f0
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