Function at 0x6abfd0
Capabilities:
Inspect section memory permissions

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x6ac5b8
sub esp, 0x48
call fcn.006ab610
mov eax, dword [esp]
mov dword [esp + 0x24], eax
call fcn.006abb70
mov eax, dword [esp]
mov ecx, dword [esp + 0x24]
cmp ecx, 1
jb 0x6ac5a4
mov dword [esp + 0x18], eax
mov edx, dword [0xa7c898]
mov dword [esp], 1
mov eax, dword [edx]
call eax
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
test ecx, 0x8000
setne bl
movzx ebx, bl
test ecx, 0x800000
je 0x6ac03e
or ebx, 0x10
test ecx, 0x2000000
je 0x6ac04f
or ebx, 0x20
test ecx, 0x2000000
je 0x6ac054
or ebx, 0x40
test ecx, 0x4000000
je 0x6ac062
or ebx, 0x80
test eax, 1
je 0x6ac06f
or ebx, 0x100
test eax, 0x200
je 0x6ac07c
or ebx, 0x200
test eax, 0x80000
je 0x6ac089
or ebx, 0x400
test eax, 0x100000
je 0x6ac096
or ebx, 0x1000
test eax, 0x2000000
je 0x6ac0a3
or ebx, 0x1000000
test eax, 2
je 0x6ac0b0
or ebx, 0x2000000
test eax, 0x800000
je 0x6ac0bd
or ebx, 0x800000
test eax, 0x40000000
je 0x6ac0ca
or ebx, 0x20000000
test eax, 0x20000000
je 0x6ac0d7
or ebx, 0x40000
test eax, 0x2000
je 0x6ac59d
mov edx, 0x2000
mov dword [esp + 0x30], eax
mov dword [esp + 0x20], edx
mov ebp, dword [esp + 0x18]
cmp ebp, 1
jne 0x6ac594
test ecx, 0x10000000
je 0x6ac58b
mov ecx, dword [esp + 0x24]
cmp ecx, 4
jae 0x6ac558
test eax, 0x4000000
je 0x6ac12e
test eax, 0x8000000
je 0x6ac12e
test eax, 0x10000000
jne 0x6ac4fb
cmp ecx, 7
jae 0x6ac310
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], edx
call fcn.006ab5d0
mov eax, dword [esp]
cmp eax, 0x80000001
jae 0x6ac162
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], ecx
add esp, 0x48
ret
mov edx, dword [0xa7c898]
mov dword [esp], 0x80000001
mov eax, dword [edx]
call eax
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
test eax, 0x20
je 0x6ac307
mov edx, dword [esp + 0x1c]
or edx, 0xc00000
test ecx, 0x80000000
je 0x6ac19b
or edx, 4
test ecx, 0x40000000
je 0x6ac1a6
or edx, 8
test ecx, 0x800000
je 0x6ac1b1
or edx, 0x10
test ecx, 0x400000
je 0x6ac1bc
or edx, 0x20
test eax, 0x40
je 0x6ac1c9
or edx, 0x800
test ecx, 0x100000
je 0x6ac1d4
or edx, 2
mov dword [esp + 0x34], eax
mov dword [esp + 0x1c], edx
test ecx, 0x8000000
je 0x6ac2fe
mov ecx, dword [esp + 0x20]
or ecx, 0x1000
mov dword [esp + 0x20], ecx
call fcn.006abb70
mov eax, dword [esp]
cmp eax, 1
je 0x6ac2f4
mov eax, dword [esp + 0x1c]
test eax, 0x80
je 0x6ac2ee
mov ecx, dword [esp + 0x34]
test ecx, 0x40
jne 0x6ac2e5
mov edx, dword [esp + 0x20]
or edx, 0x20000
mov dword [esp + 0x20], edx
test eax, 0x2000
je 0x6ac255
test ecx, 0x800
je 0x6ac248
or eax, 0x20000
test ecx, 0x10000
je 0x6ac255
or eax, 0x10000
mov dword [esp + 0x1c], eax
call fcn.006abb70
mov eax, dword [esp]
cmp eax, 1
je 0x6ac275
mov eax, dword [esp + 0x20]
mov ecx, eax
mov eax, dword [esp + 0x1c]
jmp 0x6ac156
call fcn.006aba30
mov eax, dword [esp]
mov ecx, dword [esp + 4]
cmp eax, 6
jne 0x6ac2db
cmp ecx, 9
jne 0x6ac2ce
mov edx, dword [esp + 0x1c]
test edx, 0x80
je 0x6ac2c8
mov ebx, dword [esp + 0x20]
or ebx, 0x20000
test edx, 0x100
je 0x6ac2c3
or ebx, 0x40000
cmp eax, 6
jne 0x6ac2bf
cmp ecx, 0x1c
jne 0x6ac2bf
or ebx, 0x80000
mov eax, ebx
jmp 0x6ac26a
cmp eax, 6
jmp 0x6ac2b2
mov ebx, dword [esp + 0x20]
jmp 0x6ac2a1
cmp ecx, 0xd
je 0x6ac28b
cmp ecx, 0xe
je 0x6ac28b
cmp eax, 6
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
jmp 0x6ac2b2
mov edx, dword [esp + 0x20]
jmp 0x6ac230
mov ecx, dword [esp + 0x34]
jmp 0x6ac2e5
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x34]
jmp 0x6ac2e5
mov ecx, dword [esp + 0x20]
jmp 0x6ac1f2
mov edx, dword [esp + 0x1c]
jmp 0x6ac190
mov dword [esp + 0x1c], ebx
mov edx, dword [0xa7c89c]
mov dword [esp], 7
mov dword [esp + 4], 0
mov eax, dword [edx]
call eax
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x1c]
test ebp, 0x2000
je 0x6ac352
test eax, 0x20
je 0x6ac352
or ebp, 0x4000
test eax, 8
je 0x6ac4f4
mov esi, ebp
or ebp, 0x80000
test eax, 0x100
je 0x6ac4ed
or esi, 0x180000
test eax, 4
je 0x6ac4e4
mov ebp, dword [esp + 0x20]
or ebp, 0x4000
test eax, 0x10
je 0x6ac398
or esi, 0x8000000
test eax, 0x200
je 0x6ac3a5
or ebp, 0x800
test eax, 0x800
je 0x6ac3b2
or esi, 0x10000000
test eax, 0x4000
je 0x6ac3bf
or ebp, 0x400
test eax, 0x40000
je 0x6ac3cc
or esi, 0x40000000
test eax, 0x80000
je 0x6ac3d9
or esi, 0x80000000
test eax, 0x20000000
je 0x6ac3e3
or ebp, 1
test ebx, 0x4000000
je 0x6ac3f1
or ebp, 0x8000
test ebx, 0x8000000
je 0x6ac3ff
or ebp, 0x10000
mov ebx, dword [esp + 0x30]
and ebx, 0xc000000
cmp ebx, 0xc000000
je 0x6ac41a
mov ebx, esi
mov edx, ebp
jmp 0x6ac137
mov dword [esp + 0x44], ebp
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x40], esi
mov edx, dword [0xa7c8ac]
mov dword [esp], 0
mov eax, dword [edx]
call eax
mov eax, dword [esp + 4]
mov ecx, eax
shr eax, 5
and eax, 7
cmp eax, 7
jne 0x6ac4de
shr ecx, 1
and ecx, 3
cmp ecx, 3
jne 0x6ac4de
mov eax, dword [esp + 0x2c]
test eax, 0x10000
je 0x6ac4d8
mov ecx, dword [esp + 0x44]
or ecx, 2
test eax, 0x20000
je 0x6ac47a
or ecx, 4
test eax, 0x200000
je 0x6ac484
or ecx, 8
test eax, 0x4000000
je 0x6ac48e
or ecx, 0x10
test eax, 0x8000000
je 0x6ac498
or ecx, 0x20
test eax, 0x10000000
je 0x6ac4a2
or ecx, 0x40
test eax, 0x40000000
je 0x6ac4af
or ecx, 0x80
test eax, 0x80000000
je 0x6ac4bc
or ecx, 0x100
mov eax, dword [esp + 0x28]
test eax, 2
je 0x6ac4cd
or ecx, 0x200
mov esi, dword [esp + 0x40]
mov ebp, ecx
jmp 0x6ac411
mov ecx, dword [esp + 0x44]
jmp 0x6ac470
mov ecx, dword [esp + 0x44]
jmp 0x6ac4cd
mov ebp, dword [esp + 0x20]
jmp 0x6ac38b
mov esi, ebp
jmp 0x6ac376
mov esi, ebp
jmp 0x6ac376
mov dword [esp + 0x3c], ebx
mov edx, dword [0xa7c8ac]
mov dword [esp], 0
mov eax, dword [edx]
call eax
mov eax, dword [esp + 4]
and eax, 6
cmp eax, 6
jne 0x6ac54e
mov eax, dword [esp + 0x3c]
mov ecx, eax
or eax, 0x2000
mov ebx, dword [esp + 0x30]
test ebx, 0x1000
je 0x6ac54a
or ecx, 0xa000
mov eax, ebx
mov edx, dword [esp + 0x20]
mov ebx, ecx
mov ecx, dword [esp + 0x24]
jmp 0x6ac12e
mov ecx, eax
jmp 0x6ac539
mov ebx, dword [esp + 0x30]
mov ecx, dword [esp + 0x3c]
jmp 0x6ac539
mov dword [esp + 0x38], ebx
call fcn.006ab840
mov eax, dword [esp]
cmp eax, 1
jle 0x6ac585
mov eax, dword [esp + 0x38]
or eax, 0x4000000
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
mov ebx, eax
mov eax, dword [esp + 0x30]
jmp 0x6ac115
mov eax, dword [esp + 0x38]
jmp 0x6ac572
mov ecx, dword [esp + 0x24]
jmp 0x6ac115
mov ecx, dword [esp + 0x24]
jmp 0x6ac115
xor edx, edx
jmp 0x6ac0e7
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
add esp, 0x48
ret
call fcn.0044b280
jmp fcn.006abfd0