Function at 0x140020d30
Capabilities:
Inspect section memory permissions

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x50
mov r13, rcx
mov edx, 0x5c
lea r8d, [rdx - 0x2d]
add rcx, 0x10
call fcn.140027f20
mov edx, dword [r13 + 0x18]
dec edx
mov rax, qword [r13 + 0x10]
cmp word [rax + rdx*2], 0x2f
je 0x140020e82
lea rcx, [r13 + 0x10]
call fcn.140027e70
lea rdx, [r13 + 0x10]
lea rcx, [rbp - 0x10]
call fcn.14001d4f0
nop
mov rdx, rax
mov rcx, r13
call fcn.1400275b0
nop
lea rcx, [rbp - 0x10]
call fcn.140027e00
nop
xor r15d, r15d
cmp byte [r13 + 0x5d], r15b
je 0x140020df0
lea rdx, [r13 + 0x10]
lea rcx, [rbp - 0x10]
call fcn.14001d940
mov ecx, r15d
mov r8d, dword [rbp - 8]
test r8d, r8d
je 0x140020de6
mov r9, qword [rbp - 0x10]
mov eax, ecx
movzx edx, word [r9 + rax*2]
cmp dx, 0x2a
je 0x140020e78
cmp dx, 0x3f
je 0x140020e78
inc ecx
cmp ecx, r8d
jb 0x140020dc4
lea rcx, [rbp - 0x10]
call fcn.140027e00
nop
mov eax, dword [r13 + 0x48]
test eax, eax
je 0x140021069
cmp eax, 1
jne 0x140020e0f
mov rax, qword [r13 + 0x40]
cmp word [rax], 0
je 0x140021069
lea rcx, [r13 + 0x40]
call fcn.140027e70
mov edx, 0x5c
lea r8d, [rdx - 0x2d]
lea rcx, [r13 + 0x40]
call fcn.140027f20
mov qword [rbp - 0x20], r15
mov qword [rbp - 0x18], r15
mov ebx, 0x20
mov qword [rbp + 0x48], rbx
mov ecx, 0x208
call fcn.14002833c
mov qword [rbp + 0x50], rax
lea rcx, [fcn.1400013d0]
test rax, rax
je 0x140020e89
mov qword [rax], rbx
lea r14, [rax + 8]
mov qword [rsp + 0x20], rcx
lea r9, [fcn.140027560]
mov r8d, ebx
lea edx, [rbx - 0x10]
mov rcx, r14
call fcn.14002888c
jmp 0x140020e8c
lea rcx, [rbp - 0x10]
call fcn.140027e00
nop
xor al, al
jmp 0x1400210c7
mov r14, r15
mov qword [rbp - 0x20], r14
test r14, r14
jne 0x140020e9c
xor al, al
jmp 0x1400210c7
mov ecx, 0x20000000
mov edi, r15d
shr ebx, 1
inc edi
cmp ebx, 1
ja 0x140020ea4
mov eax, 7
cmp edi, eax
cmova edi, eax
shl edi, 0x1d
mov eax, r15d
and eax, 0x1fffffff
or edi, eax
mov dword [rbp - 0x18], edi
and ecx, ecx
or ecx, 0x40000020
mov dword [rbp - 0x14], ecx
mov dword [rbp + 0x40], r15d
nop word [rax + rax]
mov r8d, 0x3a
lea r9, [rbp + 0x40]
lea rdx, [rbp - 0x10]
lea rcx, [r13 + 0x40]
call fcn.140027f80
nop
mov eax, dword [rbp - 8]
test eax, eax
je 0x140020faf
cmp eax, 1
jne 0x140020f16
mov rax, qword [rbp - 0x10]
cmp word [rax], 0
je 0x140020faf
test r14, r14
je 0x140020f53
mov ebx, r15d
mov esi, edi
and esi, 0x1fffffff
jbe 0x140020f53
nop dword [rax + rax]
mov ecx, ebx
shl rcx, 4
add rcx, r14
lea rdx, [rbp - 0x10]
call fcn.140027820
test al, al
jne 0x140020f4e
inc ebx
cmp ebx, esi
jb 0x140020f30
jmp 0x140020f53
cmp ebx, 0xffffffff
jne 0x140020faf
mov edx, dword [rbp - 0x14]
and edx, 0x1fffffff
mov eax, edi
and eax, 0x1fffffff
cmp eax, edx
jne 0x140020f7d
inc edx
lea rcx, [rbp - 0x20]
call fcn.14001e430
mov edi, dword [rbp - 0x18]
mov r14, qword [rbp - 0x20]
test al, al
je 0x140020faf
mov rcx, qword [rbp - 0x18]
and ecx, 0x1fffffff
shl rcx, 4
add rcx, r14
lea edx, [rdi + 1]
and edx, 0x1fffffff
mov eax, edi
and eax, 0xe0000000
mov edi, edx
or edi, eax
mov dword [rbp - 0x18], edi
lea rdx, [rbp - 0x10]
call fcn.1400275b0
nop
lea rcx, [rbp - 0x10]
call fcn.140027e00
nop
cmp dword [rbp + 0x40], 0xffffffff
jne 0x140020ee0
lea rdx, [0x14009c5d0]
lea rcx, [r13 + 0x40]
call fcn.140027630
mov rdx, qword [rbp - 0x18]
and edx, 0x1fffffff
lea r9, [0x140019860]
mov r8d, 0x10
mov rcx, r14
call fcn.1400710f0
and edi, 0x1fffffff
jbe 0x14002102d
mov rbx, r14
nop dword [rax]
test r15d, r15d
je 0x140021015
lea rdx, [0x1400a0510]
lea rcx, [r13 + 0x40]
call fcn.140027d10
mov rdx, rbx
lea rcx, [r13 + 0x40]
call fcn.1400279b0
inc r15d
add rbx, 0x10
cmp r15d, edi
jb 0x140021000
test r14, r14
je 0x140021069
test dword [rbp - 0x14], 0x40000000
je 0x140021069
lea r9, [fcn.1400013d0]
mov r8, qword [r14 - 8]
mov edx, 0x10
mov rcx, r14
call fcn.140028904
mov rdx, qword [r14 - 8]
shl rdx, 4
add rdx, 8
lea rcx, [r14 - 8]
call fcn.140028a1c
nop
mov eax, dword [r13 + 0x48]
test eax, eax
je 0x140021080
cmp eax, 1
jne 0x140021089
mov rax, qword [r13 + 0x40]
cmp word [rax], 0
jne 0x140021089
lea rcx, [r13 + 0x40]
call fcn.140027e00
lea rcx, [r13 + 0x20]
mov eax, dword [rcx + 8]
test eax, eax
je 0x1400210a2
cmp eax, 1
jne 0x1400210a7
mov rax, qword [rcx]
cmp word [rax], 0
jne 0x1400210a7
call fcn.140027e00
lea rcx, [r13 + 0x30]
mov eax, dword [rcx + 8]
test eax, eax
je 0x1400210c0
cmp eax, 1
jne 0x1400210c5
mov rax, qword [rcx]
cmp word [rax], 0
jne 0x1400210c5
call fcn.140027e00
mov al, 1
mov rbx, qword [rsp + 0xa8]
add rsp, 0x50
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret