Function at 0x14009b980
Capabilities:
Inspect section memory permissions

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rdx
push rsi
push r13
sub rsp, 0x48
mov eax, dword [rdx + 4]
mov r13, rdx
and eax, 0xe0000000
mov rsi, rcx
cmp eax, 0x20000000
jne 0x14009bc69
mov qword [r11 + 8], rbx
mov qword [r11 - 0x18], rbp
mov qword [r11 - 0x20], rdi
mov qword [r11 - 0x28], r12
mov qword [r11 - 0x30], r14
mov qword [r11 - 0x38], r15
call fcn.140097dd0
mov r15, rax
xor ebx, ebx
mov rax, qword [rsi + 0x50]
mov ebp, 0xffffffff
test rax, rax
je 0x14009bb86
mov r8d, dword [rax + 0x10]
mov rcx, qword [r15 + 0x18]
mov r9d, dword [rcx]
mov rcx, qword [rsi]
mov rdx, qword [rcx + 0x18]
mov rax, qword [rcx + 0x20]
sub rax, rdx
sar rax, 2
cmp r8, rax
jae 0x14009ba05
movsxd rax, r8d
mov ecx, dword [rdx + rax*4]
jmp 0x14009ba07
mov ecx, ebp
cmp r9d, ecx
jne 0x14009bb86
cmp word [r15], 0x40
movsxd rcx, dword [r15 + 0x44]
jne 0x14009ba21
mov rax, qword [rsi + 0x48]
jmp 0x14009ba25
mov rax, qword [rsi + 0x40]
mov rdx, qword [rax]
cmp ecx, dword [rdx + 4]
jb 0x14009ba32
mov rax, rbx
jmp 0x14009ba3e
mov rax, qword [rdx + 0x10]
lea rcx, [rax + rcx*8]
mov rax, qword [rcx + rdx]
movups xmm0, xmmword [r15]
mov r12d, dword [rax + 8]
mov rax, qword [rsi + 0x20]
mov r14, qword [rsi + 0x18]
movq rdx, xmm0
shr rdx, 0x20
and edx, 0xfffffff
shr r12d, 3
mov rcx, qword [rax]
movq qword [rsp + 0x70], xmm0
mov r13d, dword [rcx + rdx*4]
mov rcx, qword [r14 + 8]
mov rdi, qword [rcx + 0x18]
test rdi, rdi
je 0x14009ba8b
lea rax, [rdi + 0x30]
cmp rax, qword [rcx + 0x20]
jae 0x14009ba8b
mov qword [rcx + 0x18], rax
jmp 0x14009ba98
mov edx, 0x30
call fcn.140001d00
mov rdi, rax
mov edx, dword [r14 + 0x140]
lea ecx, [rdx + 1]
mov dword [r14 + 0x140], ecx
mov qword [rdi], rbx
mov qword [rdi + 8], rbx
mov dword [rdi + 0x10], edx
mov byte [rdi + 0x14], bl
mov rcx, qword [rsi + 0x18]
mov rcx, qword [rcx + 8]
mov r14, qword [rcx + 0x18]
test r14, r14
je 0x14009bad7
lea rax, [r14 + 0x10]
cmp rax, qword [rcx + 0x20]
jae 0x14009bad7
mov qword [rcx + 0x18], rax
jmp 0x14009bae4
mov edx, 0x10
call fcn.140001d00
mov r14, rax
and r13d, 0xfffffff
mov byte [r14 + 2], 1
or r13d, 0x60000000
mov qword [r14 + 8], rbx
mov dword [r14 + 4], r13d
mov r13, qword [rsp + 0x70]
mov word [r14], r13w
mov rcx, qword [rsi + 0x18]
mov rcx, qword [rcx + 8]
mov rax, qword [rcx + 0x18]
test rax, rax
je 0x14009bb29
lea rdx, [rax + 0x10]
cmp rdx, qword [rcx + 0x20]
jae 0x14009bb29
mov qword [rcx + 0x18], rdx
jmp 0x14009bb33
mov edx, 0x10
call fcn.140001d00
mov byte [rax + 2], 1
lea rcx, [rsi + 0x58]
mov qword [rax + 8], rbx
and r12d, 0xfffffff
mov word [rax], r13w
bts r12d, 0x1e
mov dword [rax + 4], r12d
mov qword [rdi + 0x18], rax
mov qword [rdi + 0x20], r14
mov byte [rdi + 0x28], bl
mov rdx, qword [rcx + 8]
mov qword [rsp + 0x70], rdi
cmp qword [rcx + 0x10], rdx
je 0x14009bb77
mov qword [rdx], rdi
add qword [rcx + 8], 8
jmp 0x14009bb81
lea r8, [rsp + 0x70]
call fcn.140094080
mov r13, qword [rsp + 0x68]
movsxd r8, dword [r15 + 0x44]
cmp r8d, ebp
je 0x14009bc17
mov rax, qword [rsi]
mov r12, qword [rax + 0x18]
mov r9, qword [rax + 0x20]
mov rax, qword [rsi + 0x50]
sub r9, r12
sar r9, 2
mov edi, dword [rax + 0x10]
cmp rdi, r9
jae 0x14009bbba
movsxd rax, edi
mov edx, dword [r12 + rax*4]
jmp 0x14009bbbc
mov edx, ebp
movsxd r10, dword [r15 + 0x14]
lea r11d, [rdx + 1]
test r10d, r10d
je 0x14009bbea
mov rax, qword [r15 + 0x18]
mov rcx, rbx
cmp dword [rax], r11d
jg 0x14009bbde
cmp edx, dword [rax + 4]
jl 0x14009bc71
inc rcx
add rax, 8
cmp rcx, r10
jne 0x14009bbd0
cmp rdi, r9
jae 0x14009bbf6
movsxd rax, edi
mov ebp, dword [r12 + rax*4]
test r10d, r10d
je 0x14009bc17
mov rax, qword [r15 + 0x18]
mov rcx, rbx
cmp dword [rax], ebp
jg 0x14009bc0b
cmp ebp, dword [rax + 4]
jle 0x14009bc71
inc rcx
add rax, 8
cmp rcx, r10
jne 0x14009bc02
mov rax, qword [rsi + 0x20]
mov r8d, dword [r13 + 4]
mov edx, r8d
and r8d, 0x1fffffff
and edx, 0xfffffff
or r8d, 0x60000000
mov rcx, qword [rax]
mov eax, r8d
xor eax, dword [rcx + rdx*4]
and eax, 0xfffffff
xor eax, r8d
mov r14, qword [rsp + 0x28]
mov r12, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x60]
mov r15, qword [rsp + 0x20]
mov dword [r13 + 4], eax
add rsp, 0x48
pop r13
pop rsi
ret
cmp word [r15], 0x40
jne 0x14009bc7e
mov rax, qword [rsi + 0x48]
jmp 0x14009bc82
mov rax, qword [rsi + 0x40]
mov rdx, qword [rax]
cmp r8d, dword [rdx + 4]
jae 0x14009bc97
mov rax, qword [rdx + 0x10]
lea rcx, [rax + r8*8]
mov rbx, qword [rcx + rdx]
mov ecx, dword [r13 + 4]
and ecx, 0x1fffffff
bts ecx, 0x1e
mov dword [r13 + 4], ecx
mov eax, dword [rbx + 8]
shr eax, 3
xor eax, ecx
and eax, 0xfffffff
xor eax, ecx
jmp 0x14009bc47