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

Disassembly:
jmp 0x14018bcd0
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.140006b10
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jge 0x14018bd1c
mov eax, dword [rsp + 0x30]
jmp 0x14018c296
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.140009080
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jge 0x14018bd63
mov eax, dword [rsp + 0x30]
jmp 0x14018c296
mov rax, qword [rsp + 0x68]
cmp dword [rax + 4], 0
jne 0x14018bd75
xor eax, eax
jmp 0x14018c296
mov rax, qword [rsp + 0x48]
movzx eax, word [rax + 0x16]
and eax, 1
test eax, eax
je 0x14018bd8c
xor eax, eax
jmp 0x14018c296
mov dword [rsp + 0xa8], 0
jmp 0x14018bda9
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 0x14018be69
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 0x14018be64
jmp 0x14018be69
jmp 0x14018bd99
cmp dword [rsp + 0x30], 0
jge 0x14018be79
mov eax, dword [rsp + 0x30]
jmp 0x14018c296
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 0x14018c0e5
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 0x14018bf3d
mov eax, dword [rsp + 0x128]
inc eax
mov dword [rsp + 0x128], eax
mov eax, dword [rsp + 0x114]
cmp dword [rsp + 0x128], eax
jae 0x14018c0bf
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 0x14018bf9d
cmp dword [rsp + 0x194], 3
je 0x14018c001
cmp dword [rsp + 0x194], 0xa
je 0x14018c05d
jmp 0x14018c0ba
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 0x14018c0ba
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 0x14018c0ba
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 0x14018bf2d
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 0x14018beb6
mov dword [rsp + 0x12c], 0
jmp 0x14018c102
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 0x14018c292
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 0x14018c1aa
mov dword [rsp + 0x174], 2
mov rax, qword [rsp + 0x130]
mov eax, dword [rax + 0x24]
and eax, 0x80000000
test eax, eax
je 0x14018c1c9
mov dword [rsp + 0x174], 8
mov rax, qword [rsp + 0x130]
mov eax, dword [rax + 0x24]
and eax, 0x20000000
test eax, eax
je 0x14018c1e8
mov dword [rsp + 0x174], 0x10
mov rax, qword [rsp + 0x130]
mov eax, dword [rax + 0x24]
and eax, 0x40000000
test eax, eax
je 0x14018c21b
mov rax, qword [rsp + 0x130]
mov eax, dword [rax + 0x24]
and eax, 0x20000000
test eax, eax
je 0x14018c21b
mov dword [rsp + 0x174], 0x20
mov rax, qword [rsp + 0x130]
mov eax, dword [rax + 0x24]
and eax, 0x80000000
test eax, eax
je 0x14018c24e
mov rax, qword [rsp + 0x130]
mov eax, dword [rax + 0x24]
and eax, 0x20000000
test eax, eax
je 0x14018c24e
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 0x14018c28d
jmp 0x14018c292
jmp 0x14018c0f2
mov eax, dword [rsp + 0x30]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1404e3ab0]
call fcn.140015750
mov rax, rdi
add rsp, 0x1a0
pop rdi
ret