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

Disassembly:
jmp 0x140421d00
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.14020c4e5
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jge 0x140421d4c
mov eax, dword [rsp + 0x30]
jmp 0x1404222b4
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.14020d3bd
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jge 0x140421d93
mov eax, dword [rsp + 0x30]
jmp 0x1404222b4
mov rax, qword [rsp + 0x48]
movzx eax, word [rax + 0x16]
and eax, 1
test eax, eax
je 0x140421daa
xor eax, eax
jmp 0x1404222b4
mov dword [rsp + 0xa8], 0
jmp 0x140421dc7
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 0x140421e87
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 0x140421e82
jmp 0x140421e87
jmp 0x140421db7
cmp dword [rsp + 0x30], 0
jge 0x140421e97
mov eax, dword [rsp + 0x30]
jmp 0x1404222b4
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 0x140422103
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 0x140421f5b
mov eax, dword [rsp + 0x128]
inc eax
mov dword [rsp + 0x128], eax
mov eax, dword [rsp + 0x114]
cmp dword [rsp + 0x128], eax
jae 0x1404220dd
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 0x140421fbb
cmp dword [rsp + 0x194], 3
je 0x14042201f
cmp dword [rsp + 0x194], 0xa
je 0x14042207b
jmp 0x1404220d8
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 0x1404220d8
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 0x1404220d8
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 0x140421f4b
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 0x140421ed4
mov dword [rsp + 0x12c], 0
jmp 0x140422120
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 0x1404222b0
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 0x1404221c8
mov dword [rsp + 0x174], 2
mov rax, qword [rsp + 0x130]
mov eax, dword [rax + 0x24]
and eax, 0x80000000
test eax, eax
je 0x1404221e7
mov dword [rsp + 0x174], 8
mov rax, qword [rsp + 0x130]
mov eax, dword [rax + 0x24]
and eax, 0x20000000
test eax, eax
je 0x140422206
mov dword [rsp + 0x174], 0x10
mov rax, qword [rsp + 0x130]
mov eax, dword [rax + 0x24]
and eax, 0x40000000
test eax, eax
je 0x140422239
mov rax, qword [rsp + 0x130]
mov eax, dword [rax + 0x24]
and eax, 0x20000000
test eax, eax
je 0x140422239
mov dword [rsp + 0x174], 0x20
mov rax, qword [rsp + 0x130]
mov eax, dword [rax + 0x24]
and eax, 0x80000000
test eax, eax
je 0x14042226c
mov rax, qword [rsp + 0x130]
mov eax, dword [rax + 0x24]
and eax, 0x20000000
test eax, eax
je 0x14042226c
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 0x1404222ab
jmp 0x1404222b0
jmp 0x140422110
mov eax, dword [rsp + 0x30]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1407b42d0]
call fcn.1402124fd
mov rax, rdi
add rsp, 0x1a0
pop rdi
ret