Function at 0x1400040c0
Capabilities:
Inspect section memory permissions

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [0x140030018]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov dword [rsp + 0x30], 0
jmp 0x1400040f6
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x78]
movzx eax, word [rax + 6]
cmp dword [rsp + 0x30], eax
jae 0x1400043c5
mov dword [rsp + 0x38], 0
mov dword [rsp + 0x34], 0
mov dword [rsp + 0x48], 0
mov eax, dword [rsp + 0x30]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x80]
mov eax, dword [rcx + rax + 0xc]
mov rcx, qword [rsp + 0x70]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
mov eax, dword [rsp + 0x30]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x80]
mov eax, dword [rcx + rax + 0x10]
mov qword [rsp + 0x50], rax
mov eax, dword [rsp + 0x30]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x80]
cmp dword [rcx + rax + 0x10], 0
je 0x14000418c
mov eax, dword [rsp + 0x30]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x80]
cmp dword [rcx + rax + 0xc], 0
jne 0x140004191
jmp 0x1400040ec
mov eax, dword [rsp + 0x30]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x80]
mov eax, dword [rcx + rax + 0x24]
and eax, 0x80000000
test eax, eax
je 0x1400041b6
mov dword [rsp + 0x34], 8
mov eax, dword [rsp + 0x30]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x80]
mov eax, dword [rcx + rax + 0x24]
and eax, 0x40000000
test eax, eax
je 0x1400041db
mov dword [rsp + 0x34], 2
mov eax, dword [rsp + 0x30]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x80]
mov eax, dword [rcx + rax + 0x24]
and eax, 0x80000000
test eax, eax
je 0x14000421d
mov eax, dword [rsp + 0x30]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x80]
mov eax, dword [rcx + rax + 0x24]
and eax, 0x40000000
test eax, eax
je 0x14000421d
mov dword [rsp + 0x34], 4
mov eax, dword [rsp + 0x30]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x80]
mov eax, dword [rcx + rax + 0x24]
and eax, 0x20000000
test eax, eax
je 0x140004242
mov dword [rsp + 0x34], 0x10
mov eax, dword [rsp + 0x30]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x80]
mov eax, dword [rcx + rax + 0x24]
and eax, 0x20000000
test eax, eax
je 0x140004284
mov eax, dword [rsp + 0x30]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x80]
mov eax, dword [rcx + rax + 0x24]
and eax, 0x80000000
test eax, eax
je 0x140004284
mov dword [rsp + 0x34], 0x80
mov eax, dword [rsp + 0x30]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x80]
mov eax, dword [rcx + rax + 0x24]
and eax, 0x20000000
test eax, eax
je 0x14000431b
mov eax, dword [rsp + 0x30]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x80]
mov eax, dword [rcx + rax + 0x24]
and eax, 0x40000000
test eax, eax
je 0x14000431b
cmp qword [0x1400321b0], 0
jne 0x1400042ee
mov eax, dword [rsp + 0x30]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x80]
mov eax, dword [rcx + rax + 0xc]
mov rcx, qword [rsp + 0x70]
add rcx, rax
mov rax, rcx
mov qword [0x1400321b0], rax
cmp qword [0x1400321b8], 0
jne 0x140004313
mov eax, dword [rsp + 0x30]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x80]
mov eax, dword [rcx + rax + 0x10]
mov qword [0x1400321b8], rax
mov dword [rsp + 0x34], 0x20
mov eax, dword [rsp + 0x30]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x80]
mov eax, dword [rcx + rax + 0x24]
and eax, 0x20000000
test eax, eax
je 0x14000437a
mov eax, dword [rsp + 0x30]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x80]
mov eax, dword [rcx + rax + 0x24]
and eax, 0x80000000
test eax, eax
je 0x14000437a
mov eax, dword [rsp + 0x30]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x80]
mov eax, dword [rcx + rax + 0x24]
and eax, 0x40000000
test eax, eax
je 0x14000437a
mov dword [rsp + 0x34], 0x40
mov rdx, qword [0x140032348]
mov ecx, dword [0x140032340]
call fcn.140006930
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x34]
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x40]
mov rcx, 0xffffffffffffffff
call fcn.14000695c
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0
jge 0x1400043c0
xor eax, eax
jmp 0x1400043ca
jmp 0x1400040ec
mov eax, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400069a0
add rsp, 0x68
ret