Function at 0x140008d20
Capabilities:
Inspect section memory permissions

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x98
mov rax, qword [0x140038018]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov dword [rsp + 0x40], 0
jmp 0x140008d5c
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0xa8]
movzx eax, word [rax + 6]
cmp dword [rsp + 0x40], eax
jae 0x140009125
mov dword [rsp + 0x48], 0
mov dword [rsp + 0x44], 0
mov dword [rsp + 0x70], 0
mov eax, dword [rsp + 0x40]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0xb0]
mov eax, dword [rcx + rax + 0xc]
mov rcx, qword [rsp + 0xa0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x68], rax
mov eax, dword [rsp + 0x40]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0xb0]
mov eax, dword [rcx + rax + 0x10]
mov qword [rsp + 0x78], rax
mov eax, dword [rsp + 0x40]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0xb0]
cmp dword [rcx + rax + 0x10], 0
je 0x140008df8
mov eax, dword [rsp + 0x40]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0xb0]
cmp dword [rcx + rax + 0xc], 0
jne 0x140008dfd
jmp 0x140008d52
mov eax, dword [rsp + 0x40]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0xb0]
mov eax, dword [rcx + rax + 0x24]
and eax, 0x80000000
test eax, eax
je 0x140008e22
mov dword [rsp + 0x44], 8
mov eax, dword [rsp + 0x40]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0xb0]
mov eax, dword [rcx + rax + 0x24]
and eax, 0x40000000
test eax, eax
je 0x140008e47
mov dword [rsp + 0x44], 2
mov eax, dword [rsp + 0x40]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0xb0]
mov eax, dword [rcx + rax + 0x24]
and eax, 0x80000000
test eax, eax
je 0x140008e89
mov eax, dword [rsp + 0x40]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0xb0]
mov eax, dword [rcx + rax + 0x24]
and eax, 0x40000000
test eax, eax
je 0x140008e89
mov dword [rsp + 0x44], 4
mov eax, dword [rsp + 0x40]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0xb0]
mov eax, dword [rcx + rax + 0x24]
and eax, 0x20000000
test eax, eax
je 0x140008eae
mov dword [rsp + 0x44], 0x10
mov eax, dword [rsp + 0x40]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0xb0]
mov eax, dword [rcx + rax + 0x24]
and eax, 0x20000000
test eax, eax
je 0x140008ef0
mov eax, dword [rsp + 0x40]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0xb0]
mov eax, dword [rcx + rax + 0x24]
and eax, 0x80000000
test eax, eax
je 0x140008ef0
mov dword [rsp + 0x44], 0x80
mov eax, dword [rsp + 0x40]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0xb0]
mov eax, dword [rcx + rax + 0x24]
and eax, 0x20000000
test eax, eax
je 0x140008f8a
mov eax, dword [rsp + 0x40]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0xb0]
mov eax, dword [rcx + rax + 0x24]
and eax, 0x40000000
test eax, eax
je 0x140008f8a
cmp qword [0x14003f430], 0
jne 0x140008f5d
mov eax, dword [rsp + 0x40]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0xb0]
mov eax, dword [rcx + rax + 0xc]
mov rcx, qword [rsp + 0xa0]
add rcx, rax
mov rax, rcx
mov qword [0x14003f430], rax
cmp qword [0x14003f438], 0
jne 0x140008f82
mov eax, dword [rsp + 0x40]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0xb0]
mov eax, dword [rcx + rax + 0x10]
mov qword [0x14003f438], rax
mov dword [rsp + 0x44], 0x20
mov eax, dword [rsp + 0x40]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0xb0]
mov eax, dword [rcx + rax + 0x24]
and eax, 0x20000000
test eax, eax
je 0x140008fe9
mov eax, dword [rsp + 0x40]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0xb0]
mov eax, dword [rcx + rax + 0x24]
and eax, 0x80000000
test eax, eax
je 0x140008fe9
mov eax, dword [rsp + 0x40]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0xb0]
mov eax, dword [rcx + rax + 0x24]
and eax, 0x40000000
test eax, eax
je 0x140008fe9
mov dword [rsp + 0x44], 0x40
mov rdx, qword [0x14003f5c8]
mov ecx, dword [0x14003f5c0]
call fcn.14000e550
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x44]
lea r8, [rsp + 0x78]
lea rdx, [rsp + 0x68]
mov rcx, 0xffffffffffffffff
call fcn.14000e57c
mov dword [rsp + 0x48], eax
cmp dword [rsp + 0x48], 0
jge 0x140009120
xor eax, eax
cmp eax, 1
je 0x14000911c
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8d, 0x208
mov edx, 8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x14000911c
mov edx, 0x5c
lea rcx, [0x14003ccf8]
call fcn.140005960
test rax, rax
je 0x140009096
mov edx, 0x5c
lea rcx, [0x14003ccc0]
call fcn.140005960
inc rax
mov qword [rsp + 0x60], rax
jmp 0x1400090a2
lea rax, [0x14003cc88]
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x30], 0x104
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0x20], eax
mov r9, qword [rsp + 0x68]
mov r8d, dword [rsp + 0x40]
lea rdx, str.____NtProtectVirtualMemory__d__Failed_At_Address___0x_p___With_Error:_0x_0.8X____s._d__n
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.USER32.dll_wsprintfA]
mov dword [rsp + 0x58], eax
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, dword [rsp + 0x58]
mov rdx, qword [rsp + 0x50]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WriteConsoleA]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, qword [rsp + 0x50]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
xor eax, eax
jmp 0x14000912a
jmp 0x140008d52
mov eax, 1
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.14000e5c0
add rsp, 0x98
ret