Function at 0x1400454c0
Capabilities:
Enumerate process modules

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1190]
mov eax, 0x1290
call fcn.14004b0e0
sub rsp, rax
mov rax, qword [0x14005d010]
xor rax, rsp
mov qword [rbp + 0x1180], rax
mov r12, rcx
lea r8, [rsp + 0x40]
mov edx, 0x1000
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_K32EnumProcesses]
test eax, eax
jne 0x140045542
lea rdx, str.EnumProcesses_failed
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140048900
lea rdx, [0x140048ad0]
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 0x1400457c5
mov edi, dword [rsp + 0x40]
shr edi, 2
mov dword [rsp + 0x24], edi
xor esi, esi
mov ebx, esi
mov dword [rsp + 0x20], ebx
test edi, edi
je 0x140045786
nop dword [rax]
mov eax, ebx
mov eax, dword [rsp + rax*4 + 0x70]
mov dword [rsp + 0x28], eax
test eax, eax
je 0x140045778
mov r8d, eax
xor edx, edx
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov r15, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x140045778
movups xmm0, xmmword [str._unknown_]
movaps xmmword [rbp + 0xf70], xmm0
mov ecx, dword [0x140053760]
mov dword [rbp + 0xf80], ecx
xor edx, edx
mov r8d, 0x1f4
lea rcx, [rbp + 0xf84]
call sub.VCRUNTIME140.dll_memset
lea r9, [rsp + 0x68]
mov r8d, 8
lea rdx, [rsp + 0x38]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_K32EnumProcessModules]
test eax, eax
je 0x14004576f
mov r9d, 0x104
lea r8, [rbp + 0xf70]
mov rdx, qword [rsp + 0x38]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_K32GetModuleFileNameExW]
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x60], 7
mov word [rsp + 0x48], si
lea rax, [rbp + 0xf70]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x140045623
lea rdx, [rbp + 0xf70]
lea rcx, [rsp + 0x48]
call fcn.140048490
nop
mov rdi, qword [r12 + 0x10]
mov rbx, r12
cmp qword [r12 + 0x18], 8
jb 0x140045654
mov rbx, qword [r12]
lea r14, [rsp + 0x48]
mov rsi, qword [rsp + 0x48]
mov r13, qword [rsp + 0x60]
cmp r13, 8
cmovae r14, rsi
mov rax, qword [rsp + 0x58]
cmp rdi, rax
ja 0x14004572a
test rdi, rdi
je 0x1400457fc
sub rax, rdi
inc rax
lea r15, [r14 + rax*2]
mov rax, r14
movzx r11d, word [rbx]
nop dword [rax]
nop word [rax + rax]
mov rcx, r15
sub rcx, rax
sar rcx, 1
mov edx, 0
je 0x1400456cc
cmp word [rax], r11w
je 0x1400456c9
cmp rcx, 1
je 0x1400456cc
dec rcx
add rax, 2
cmp word [rax], r11w
jne 0x1400456b6
mov rdx, rax
mov rax, rdx
test rdx, rdx
je 0x140045725
mov r9, rdi
mov rcx, rbx
movzx edx, word [rdx]
movzx r8d, r11w
cmp dx, r11w
jb 0x14004570f
mov r10, rax
sub r10, rbx
cmp dx, r11w
ja 0x14004570f
cmp r9, 1
je 0x140045715
dec r9
add rcx, 2
movzx edx, word [r10 + rcx]
movzx r8d, word [rcx]
cmp dx, r8w
jae 0x1400456f1
add rax, 2
jmp 0x1400456a0
sub rax, r14
sar rax, 1
cmp rax, 0xffffffffffffffff
jne 0x1400457f7
mov r15, qword [rsp + 0x30]
cmp r13, 8
jb 0x140045765
lea rdx, [r13*2 + 2]
mov rax, rsi
cmp rdx, 0x1000
jb 0x14004575d
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400458b7
mov rcx, rsi
call fcn.14004a33c
xor esi, esi
mov edi, dword [rsp + 0x24]
mov ebx, dword [rsp + 0x20]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc ebx
mov dword [rsp + 0x20], ebx
cmp ebx, edi
jb 0x140045560
lea rdx, str.Process_not_found:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.140048b10
mov r8, qword [r12 + 0x10]
cmp qword [r12 + 0x18], 8
jb 0x1400457aa
mov r12, qword [r12]
mov rdx, r12
mov rcx, rax
call fcn.140049170
lea rdx, [0x140048cf0]
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]
xor al, al
mov rcx, qword [rbp + 0x1180]
xor rcx, rsp
call fcn.14004a1a0
lea r11, [rsp + 0x1290]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov r15, qword [rsp + 0x30]
lea rdx, str.Found_process:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.140048b10
lea rdx, [rsp + 0x48]
cmp qword [rsp + 0x60], 8
cmovae rdx, qword [rsp + 0x48]
mov r8, qword [rsp + 0x58]
mov rcx, rax
call fcn.140049170
lea rdx, [0x140053768]
mov rcx, rax
call fcn.140048b10
mov edx, dword [rsp + 0x28]
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___unsigned_long_int____ptr64]
mov rcx, rax
lea rdx, [0x140053764]
call fcn.140048b10
lea rdx, [0x140048cf0]
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, r15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 8
jb 0x1400458b0
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400458ab
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400458b7
call fcn.14004a33c
mov al, 1
jmp 0x1400457c7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3