Function at 0x18017bd00
Capabilities:
Enumerate pe sections
Inspect section memory permissions

Disassembly:
jmp 0x18017bd00
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x1a0
lea rdi, [rsp + 0x30]
mov ecx, 0x5c
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x1b0]
lea rdx, [rsp + 0x48]
mov rcx, qword [rsp + 0x1b0]
call fcn.180006880
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jge 0x18017bd4c
mov eax, dword [rsp + 0x30]
jmp 0x18017c2c6
mov qword [rsp + 0x28], 0
lea rax, [rsp + 0x88]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x68]
mov r8d, 5
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x1b0]
call fcn.180008cf0
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jge 0x18017bd93
mov eax, dword [rsp + 0x30]
jmp 0x18017c2c6
mov rax, qword [rsp + 0x68]
cmp dword [rax + 4], 0
jne 0x18017bda5
xor eax, eax
jmp 0x18017c2c6
mov rax, qword [rsp + 0x48]
movzx eax, word [rax + 0x16]
and eax, 1
test eax, eax
je 0x18017bdbc
xor eax, eax
jmp 0x18017c2c6
mov dword [rsp + 0xa8], 0
jmp 0x18017bdd9
mov eax, dword [rsp + 0xa8]
inc eax
mov dword [rsp + 0xa8], eax
mov rax, qword [rsp + 0x48]
movzx eax, word [rax + 6]
cmp dword [rsp + 0xa8], eax
jae 0x18017be99
mov dword [rsp + 0x104], 0
mov rax, qword [rsp + 0x48]
movzx eax, word [rax + 0x14]
mov rcx, qword [rsp + 0x48]
lea rax, [rcx + rax + 0x18]
mov ecx, dword [rsp + 0xa8]
imul rcx, rcx, 0x28
add rax, rcx
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0xb0]
mov eax, dword [rax + 0xc]
mov rcx, qword [rsp + 0x1b0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0xb0]
mov eax, dword [rax + 0x10]
mov qword [rsp + 0xe8], rax
lea rax, [rsp + 0x104]
mov qword [rsp + 0x20], rax
mov r9d, 4
lea r8, [rsp + 0xe8]
lea rdx, [rsp + 0xc8]
mov rcx, 0xffffffffffffffff
call qword [sym.imp.ntdll.dll_NtProtectVirtualMemory]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jge 0x18017be94
jmp 0x18017be99
jmp 0x18017bdc9
cmp dword [rsp + 0x30], 0
jge 0x18017bea9
mov eax, dword [rsp + 0x30]
jmp 0x18017c2c6
mov rax, qword [rsp + 0x68]
mov eax, dword [rax + 4]
mov rcx, qword [rsp + 0x88]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x48]
mov rax, qword [rax + 0x30]
mov rcx, qword [rsp + 0x1b0]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0x98]
cmp qword [rsp + 0x88], rax
jae 0x18017c115
mov rax, qword [rsp + 0x88]
mov eax, dword [rax + 4]
sub rax, 8
xor edx, edx
mov ecx, 2
div rcx
mov dword [rsp + 0x114], eax
mov rax, qword [rsp + 0x88]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x1b0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x118], rax
mov rax, qword [rsp + 0x88]
add rax, 8
mov qword [rsp + 0x120], rax
mov dword [rsp + 0x128], 0
jmp 0x18017bf6d
mov eax, dword [rsp + 0x128]
inc eax
mov dword [rsp + 0x128], eax
mov eax, dword [rsp + 0x114]
cmp dword [rsp + 0x128], eax
jae 0x18017c0ef
mov eax, dword [rsp + 0x128]
mov rcx, qword [rsp + 0x120]
movzx eax, word [rcx + rax*2]
shr ax, 0xc
and ax, 0xf
movzx eax, ax
mov dword [rsp + 0x194], eax
cmp dword [rsp + 0x194], 2
je 0x18017bfcd
cmp dword [rsp + 0x194], 3
je 0x18017c031
cmp dword [rsp + 0x194], 0xa
je 0x18017c08d
jmp 0x18017c0ea
mov eax, dword [rsp + 0x128]
mov ecx, 0xfff
mov rdx, qword [rsp + 0x120]
movzx eax, word [rdx + rax*2]
and ax, cx
movzx eax, ax
movzx ecx, word [rsp + 0xa0]
mov rdx, qword [rsp + 0x118]
movzx eax, word [rdx + rax]
add eax, ecx
mov ecx, dword [rsp + 0x128]
mov edx, 0xfff
mov r8, qword [rsp + 0x120]
movzx ecx, word [r8 + rcx*2]
and cx, dx
movzx ecx, cx
mov rdx, qword [rsp + 0x118]
mov word [rdx + rcx], ax
jmp 0x18017c0ea
mov eax, dword [rsp + 0x128]
mov ecx, 0xfff
mov rdx, qword [rsp + 0x120]
movzx eax, word [rdx + rax*2]
and ax, cx
movzx eax, ax
mov rcx, qword [rsp + 0x118]
mov eax, dword [rcx + rax]
add eax, dword [rsp + 0xa0]
mov ecx, dword [rsp + 0x128]
mov edx, 0xfff
mov r8, qword [rsp + 0x120]
movzx ecx, word [r8 + rcx*2]
and cx, dx
movzx ecx, cx
mov rdx, qword [rsp + 0x118]
mov dword [rdx + rcx], eax
jmp 0x18017c0ea
mov eax, dword [rsp + 0x128]
mov ecx, 0xfff
mov rdx, qword [rsp + 0x120]
movzx eax, word [rdx + rax*2]
and ax, cx
movzx eax, ax
mov rcx, qword [rsp + 0x118]
mov rax, qword [rcx + rax]
add rax, qword [rsp + 0xa0]
mov ecx, dword [rsp + 0x128]
mov edx, 0xfff
mov r8, qword [rsp + 0x120]
movzx ecx, word [r8 + rcx*2]
and cx, dx
movzx ecx, cx
mov rdx, qword [rsp + 0x118]
mov qword [rdx + rcx], rax
jmp 0x18017bf5d
mov rax, qword [rsp + 0x88]
mov eax, dword [rax + 4]
mov rcx, qword [rsp + 0x88]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x88], rax
jmp 0x18017bee6
mov dword [rsp + 0x12c], 0
jmp 0x18017c132
mov eax, dword [rsp + 0x12c]
inc eax
mov dword [rsp + 0x12c], eax
mov rax, qword [rsp + 0x48]
movzx eax, word [rax + 6]
cmp dword [rsp + 0x12c], eax
jae 0x18017c2c2
mov dword [rsp + 0x174], 0
mov dword [rsp + 0x184], 0
mov rax, qword [rsp + 0x48]
movzx eax, word [rax + 0x14]
mov rcx, qword [rsp + 0x48]
lea rax, [rcx + rax + 0x18]
mov ecx, dword [rsp + 0x12c]
imul rcx, rcx, 0x28
add rax, rcx
mov qword [rsp + 0x130], rax
mov rax, qword [rsp + 0x130]
mov eax, dword [rax + 0xc]
mov rcx, qword [rsp + 0x1b0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x148], rax
mov rax, qword [rsp + 0x130]
mov eax, dword [rax + 0x10]
mov qword [rsp + 0x168], rax
mov rax, qword [rsp + 0x130]
mov eax, dword [rax + 0x24]
and eax, 0x40000000
test eax, eax
je 0x18017c1da
mov dword [rsp + 0x174], 2
mov rax, qword [rsp + 0x130]
mov eax, dword [rax + 0x24]
and eax, 0x80000000
test eax, eax
je 0x18017c1f9
mov dword [rsp + 0x174], 8
mov rax, qword [rsp + 0x130]
mov eax, dword [rax + 0x24]
and eax, 0x20000000
test eax, eax
je 0x18017c218
mov dword [rsp + 0x174], 0x10
mov rax, qword [rsp + 0x130]
mov eax, dword [rax + 0x24]
and eax, 0x40000000
test eax, eax
je 0x18017c24b
mov rax, qword [rsp + 0x130]
mov eax, dword [rax + 0x24]
and eax, 0x20000000
test eax, eax
je 0x18017c24b
mov dword [rsp + 0x174], 0x20
mov rax, qword [rsp + 0x130]
mov eax, dword [rax + 0x24]
and eax, 0x80000000
test eax, eax
je 0x18017c27e
mov rax, qword [rsp + 0x130]
mov eax, dword [rax + 0x24]
and eax, 0x20000000
test eax, eax
je 0x18017c27e
mov dword [rsp + 0x174], 0x40
lea rax, [rsp + 0x184]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x174]
lea r8, [rsp + 0x168]
lea rdx, [rsp + 0x148]
mov rcx, 0xffffffffffffffff
call qword [sym.imp.ntdll.dll_NtProtectVirtualMemory]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jge 0x18017c2bd
jmp 0x18017c2c2
jmp 0x18017c122
mov eax, dword [rsp + 0x30]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1804b3a30]
call fcn.180014e20
mov rax, rdi
add rsp, 0x1a0
pop rdi
ret