Function at 0x1400031a0
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 - 0x2200]
mov eax, 0x2300
call fcn.14000c850
sub rsp, rax
mov rax, qword [0x140014040]
xor rax, rsp
mov qword [rbp + 0x21f0], rax
mov r8d, ecx
xor edx, edx
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rsi, rax
test rax, rax
jne 0x14000322c
lea rdx, str.Error:_Could_not_open_process_for_modules._Code:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140007fc0
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov rcx, rbx
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___unsigned_long_int____ptr64]
lea rdx, [0x1400081a0]
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]
jmp 0x140003453
lea r9, [rbp - 0x50]
mov r8d, 0x2000
lea rdx, [rbp - 0x20]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_K32EnumProcessModules]
test eax, eax
je 0x140003413
xor r14d, r14d
mov edi, r14d
mov eax, dword [rbp - 0x50]
test rax, 0xfffffffffffffff8
jbe 0x14000344a
mov r9d, 0x104
lea r8, [rbp + 0x1fe0]
mov rdx, qword [rbp + rdi*8 - 0x20]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_K32GetModuleFileNameExW]
test eax, eax
je 0x1400033f7
xorps xmm0, xmm0
movups xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x38], r14
mov qword [rbp - 0x30], r14
lea rax, [rbp + 0x1fe0]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x1400032a0
lea rdx, [rbp + 0x1fe0]
lea rcx, [rbp - 0x48]
call fcn.140009050
nop
mov qword [rbp - 0x80], 0x20
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x70], xmm0
lea rax, [rbp + 0x1fe0]
mov qword [rbp - 0x78], rax
mov dword [rbp - 0x60], 0xaac56b
mov dword [rbp - 0x5c], 0x11d0cd44
mov dword [rbp - 0x58], 0xc000c28c
mov dword [rbp - 0x54], 0xee95c24f
xor eax, eax
movups xmmword [rsp + 0x20], xmm0
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x20], 0x58
mov qword [rsp + 0x38], 2
mov dword [rsp + 0x40], 1
lea rax, [rbp - 0x80]
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x50], 1
lea r8, [rsp + 0x20]
lea rdx, [rbp - 0x60]
xor ecx, ecx
call qword [sym.imp.WINTRUST.dll_WinVerifyTrust]
mov ebx, eax
mov dword [rsp + 0x50], 2
lea r8, [rsp + 0x20]
lea rdx, [rbp - 0x60]
xor ecx, ecx
call qword [sym.imp.WINTRUST.dll_WinVerifyTrust]
test ebx, ebx
je 0x1400033bb
lea rcx, [rbp + 0x1fe0]
call fcn.140003000
test al, al
jne 0x1400033bb
lea rdx, str.____Unsigned_and_no_copyright:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.140008240
lea rdx, [rbp - 0x48]
cmp qword [rbp - 0x30], 7
cmova rdx, qword [rbp - 0x48]
mov r8, qword [rbp - 0x38]
mov rcx, rax
call fcn.140009b50
lea rdx, [0x140008420]
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]
nop
mov rdx, qword [rbp - 0x30]
cmp rdx, 7
jbe 0x1400033f7
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400033f2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000340c
call fcn.14000bb8c
inc rdi
mov eax, dword [rbp - 0x50]
shr rax, 3
cmp rdi, rax
jb 0x140003260
jmp 0x14000344a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
lea rdx, str.Error:_Could_not_enumerate_modules._Code:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140007fc0
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov rcx, rbx
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___unsigned_long_int____ptr64]
lea rdx, [0x1400081a0]
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]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp + 0x21f0]
xor rcx, rsp
call fcn.14000b700
lea r11, [rsp + 0x2300]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret