Function at 0x180006170
Capabilities:
Inspect section memory permissions

Disassembly:
mov dword [rsp + 0x10], edx
mov r11, rsp
push rbx
push r12
push r14
push r15
sub rsp, 0x78
movsxd rax, dword [rcx + 0x3c]
xor ebx, ebx
mov dword [rsp + 0x40], 4
mov r14, rcx
mov dword [rsp + 0x38], 0x3000
mov r12, r8
mov qword [r11 + 8], rbx
mov edx, dword [rax + rcx + 0x50]
lea r9, [rbx - 1]
mov rcx, qword [0x18002ba00]
lea rax, [r11 + 0x20]
mov qword [r11 - 0x68], rax
lea r8d, [rbx + 6]
mov qword [r11 + 0x20], rdx
lea rax, [r11 + 8]
mov qword [r11 - 0x70], rbx
xor edx, edx
mov rcx, qword [rcx + 0x30]
mov qword [r11 - 0x78], rax
call fcn.180002ff0
test eax, eax
mov r15d, ebx
cmovns r15, qword [rsp + 0xa0]
test r15, r15
je 0x1800064cf
mov qword [rsp + 0x70], rbp
mov rdx, r14
movsxd rbp, dword [r14 + 0x3c]
mov rcx, r15
add rbp, r14
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x60], rdi
mov r8d, dword [rbp + 0x54]
call fcn.18000bac0
movzx edi, word [rbp + 0x14]
mov esi, ebx
add rdi, 0x2c
cmp bx, word [rbp + 6]
jae 0x18000624f
add rdi, rbp
mov eax, dword [rdi - 4]
test eax, eax
je 0x180006241
mov edx, dword [rdi]
mov r8d, eax
mov ecx, dword [rdi - 8]
add rdx, r14
add rcx, r15
call fcn.18000bac0
movzx eax, word [rbp + 6]
inc esi
add rdi, 0x28
cmp esi, eax
jl 0x180006227
mov rcx, r15
call fcn.180003550
mov rbp, qword [rsp + 0x70]
test eax, eax
je 0x18000648b
mov rdx, r15
mov rcx, r15
call fcn.1800037e0
test eax, eax
je 0x18000648b
mov rcx, r15
call fcn.1800038e0
test eax, eax
je 0x18000648b
mov rcx, r15
call fcn.1800039a0
test eax, eax
je 0x18000648b
movsxd rdi, dword [r15 + 0x3c]
mov esi, 2
add rdi, r15
mov dword [rsp + 0xa8], ebx
cmp dword [rdi + 0x50], ebx
jbe 0x1800063a8
nop dword [rax]
nop word [rax + rax]
movzx r9d, word [rdi + 6]
mov r8d, 0x40000000
test r9, r9
je 0x180006301
lea rax, [rdi + 0x110]
nop word [rax + rax]
mov edx, dword [rax + 4]
lea ecx, [rbx + 0x1000]
cmp ecx, edx
jbe 0x1800062f7
add edx, dword [rax]
cmp ebx, edx
jae 0x1800062f7
or r8d, dword [rax + 0x1c]
add rax, 0x28
sub r9, 1
jne 0x1800062e0
and r8d, 0xe0000000
cmp r8d, 0xe0000000
jne 0x180006318
mov ecx, 0x40
jmp 0x180006347
cmp r8d, 0xc0000000
jne 0x180006328
mov ecx, 4
jmp 0x180006347
cmp r8d, 0x60000000
jne 0x180006338
mov ecx, 0x20
jmp 0x180006347
cmp r8d, 0x40000000
mov ecx, 0x40
cmove ecx, esi
xor edx, edx
mov qword [rsp + 0x50], 0x1000
mov eax, ebx
add rax, r15
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0xa8]
mov qword [rsp + 0x38], rax
lea r9, [rdx - 1]
mov dword [rsp + 0x30], ecx
lea rax, [rsp + 0x50]
mov rcx, qword [0x18002ba00]
lea r8d, [rdx + 5]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
mov rcx, qword [rcx + 0x38]
call fcn.180002ff0
add ebx, 0x1000
cmp ebx, dword [rdi + 0x50]
jb 0x1800062c0
mov rcx, qword [0x18002ba00]
xor r8d, r8d
xor edx, edx
mov rcx, qword [rcx + 0xf8]
call fcn.180002ff0
mov rcx, qword [0x18002ba00]
xor edx, edx
mov qword [rsp + 0x28], 0x28
mov r9, rax
mov dword [rsp + 0x20], 8
mov rcx, qword [rcx + 0x20]
lea r8d, [rdx + 3]
call fcn.180002ff0
mov rcx, qword [0x18002ba00]
lea r9, [0x18002f470]
xor edx, edx
mov rbx, rax
mov qword [rax + 0x10], r15
mov dword [rax + 0x18], esi
mov rcx, qword [rcx + 0xc8]
lea r8d, [rdx + 1]
call fcn.180002ff0
mov rcx, qword [0x18002f468]
lea rax, [0x18002f460]
mov qword [rbx + 8], rcx
lea r9, [0x18002f470]
mov qword [rbx], rax
xor edx, edx
mov qword [rcx], rbx
mov rcx, qword [0x18002ba00]
mov qword [0x18002f468], rbx
lea r8d, [rdx + 1]
mov rcx, qword [rcx + 0xd8]
call fcn.180002ff0
movsxd rax, dword [r15 + 0x3c]
xor r8d, r8d
mov rcx, r15
mov r9d, dword [rax + r15 + 0x28]
lea edx, [r8 + 1]
add r9, r15
call r9
mov eax, 1
mov qword [r12], r15
mov rsi, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x60]
add rsp, 0x78
pop r15
pop r14
pop r12
pop rbx
ret
mov rcx, qword [0x18002ba00]
lea rax, [rsp + 0x58]
xor edx, edx
mov dword [rsp + 0x30], 0x8000
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x58], rbx
mov rcx, qword [rcx + 0x40]
lea r9, [rdx - 1]
mov qword [rsp + 0x50], r15
lea r8d, [rdx + 4]
mov qword [rsp + 0x20], rax
call fcn.180002ff0
mov eax, ebx
jmp 0x180006475
mov eax, ebx
add rsp, 0x78
pop r15
pop r14
pop r12
pop rbx
ret