Function at 0x140001819
Capabilities:
Enumerate process modules
Terminate process

Disassembly:
push rbp
push rbx
mov eax, 0x1198
call fcn.140004200
sub rsp, rax
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x1130], rcx
lea rdx, [rbp + 0xdc]
lea rax, [rbp + 0xe0]
mov r8, rdx
mov edx, 0x1000
mov rcx, rax
call sym.EnumProcesses
test eax, eax
setne al
test al, al
je 0x140001a61
mov eax, dword [rbp + 0xdc]
shr eax, 2
mov dword [rbp + 0x1108], eax
mov dword [rbp + 0x110c], 0
jmp 0x140001a16
mov eax, dword [rbp + 0x110c]
mov eax, dword [rbp + rax*4 + 0xe0]
mov r8d, eax
mov edx, 0
mov ecx, 0x410
mov rax, qword [sym.imp.KERNEL32.dll_OpenProcess]
call rax
mov qword [rbp + 0x1100], rax
cmp qword [rbp + 0x1100], 0
je 0x140001a0f
lea rdx, [rbp - 0x40]
mov rax, qword [rbp + 0x1100]
mov r9d, 0x104
mov r8, rdx
mov edx, 0
mov rcx, rax
call sym.GetModuleBaseNameA
test eax, eax
setne al
test al, al
je 0x1400019fc
lea rax, [rbp + 0x10ef]
mov rcx, rax
call fcn.140002bf0
lea rcx, [rbp + 0x10ef]
lea rdx, [rbp - 0x40]
lea rax, [rbp - 0x60]
mov r8, rcx
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string_std.allocator_char____char_const__std::allocator_char__const_
lea rax, [rbp + 0x10ef]
mov rcx, rax
call sym.std::allocator_char_::allocator__
mov rax, qword [rbp + 0x1130]
mov qword [rbp + 0x10f8], rax
mov rax, qword [rbp + 0x10f8]
mov rcx, rax
call method.std::vector_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_____std::allocator_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_______.begin___const
mov qword [rbp + 0xd0], rax
mov rax, qword [rbp + 0x10f8]
mov rcx, rax
call method.std::vector_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_____std::allocator_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_______.end___const
mov qword [rbp + 0xc8], rax
jmp 0x1400019c8
lea rax, [rbp + 0xd0]
mov rcx, rax
call sym.__gnu_cxx::__normal_iterator_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____const__std::vector_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_____std::allocator_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_________::operator___const
mov qword [rbp + 0x10f0], rax
mov rdx, qword [rbp + 0x10f0]
lea rax, [rbp - 0x60]
mov rcx, rax
call sym._ZSteqIcEN9__gnu_cxx11__enable_ifIXsrSt9__is_charIT_E7__valueEbE6__typeERKNSt7__cxx1112basic_stringIS3_St11char_traitsIS3_ESaI
test al, al
je 0x1400019b9
mov rax, qword [rbp + 0x1100]
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_TerminateProcess]
call rax
mov rax, qword [rbp + 0x1100]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
mov ebx, 0
jmp 0x1400019eb
lea rax, [rbp + 0xd0]
mov rcx, rax
call sym.__gnu_cxx::__normal_iterator_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____const__std::vector_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_____std::allocator_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_________::operator__
lea rdx, [rbp + 0xc8]
lea rax, [rbp + 0xd0]
mov rcx, rax
call sym._ZN9__gnu_cxxneIPKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt6vectorIS6_SaIS6_EEEEbRKNS_17__normal_iteratorIT_T0_EE
test al, al
jne 0x14000195a
mov ebx, 1
lea rax, [rbp - 0x60]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
cmp ebx, 1
jne 0x140001a61
mov rax, qword [rbp + 0x1100]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
add dword [rbp + 0x110c], 1
mov eax, dword [rbp + 0x110c]
cmp eax, dword [rbp + 0x1108]
jb 0x140001880
jmp 0x140001a61
nop
add rsp, 0x1198
pop rbx
pop rbp
ret