Function at 0x10001460
Capabilities:
Inspect section memory permissions

Disassembly:
push esi
push edi
push ebx
push ebp
sub esp, 0x20
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x1c], eax
mov eax, dword [0x100335e0]
test eax, eax
jne 0x10001778
call fcn.10022000
test eax, eax
jne 0x100014a7
mov ecx, dword [esp + 0x1c]
xor ecx, esp
mov eax, dword [0x100335e0]
cmp ecx, dword [section..data]
jne 0x100017a3
add esp, 0x20
pop ebp
pop ebx
pop edi
pop esi
ret
xor eax, eax
lea edx, [esp + 0xc]
push eax
push eax
push edx
call fcn.10022aa0
mov eax, dword [esp + 0x18]
mov dword [esp + 0xc], eax
push 0
push 0x80000000
lea edx, [esp + 0x20]
push edx
call fcn.10022aa0
mov esi, dword [esp + 0x24]
push 0
push 1
lea eax, [esp + 0x2c]
push eax
call fcn.10022aa0
add esp, 0x24
mov edi, dword [esp + 0x18]
mov edx, edi
mov ecx, edi
and edx, 0x800000
and ecx, 0x2000000
shr edx, 0x17
shr ecx, 0x18
test edi, 0x4000000
mov ebx, dword [esp + 0x14]
mov edi, ebx
mov ebp, dword [esp + 0xc]
lea eax, [edx + ecx]
lea edx, [edx + ecx + 4]
cmovne eax, edx
and edi, 1
mov edx, ebx
test ebx, 0x200
lea edi, [eax + edi*8]
lea eax, [edi + 0x10]
cmovne edi, eax
and edx, 0x400000
shr edx, 0x11
mov eax, ebx
or edi, edx
and eax, 0x100000
mov ecx, edi
or ecx, 0x40
test ebx, 0x80000
cmovne edi, ecx
shr eax, 0xd
or edi, eax
mov eax, ebx
mov edx, edi
and eax, 0x18000000
or edx, 0x100
test ebx, 0x10000000
cmovne edi, edx
cmp eax, 0x18000000
jne 0x1000157c
call fcn.10022120
and eax, 1
shl eax, 9
or edi, eax
mov eax, edi
mov edx, ebx
or eax, 0x400
test ebx, 0x2000000
cmovne edi, eax
and edx, 2
shl edx, 0xa
mov eax, ebx
or edi, edx
and eax, 0x20000000
mov ecx, edi
or ecx, 0x2000
test ebx, 0x40000000
cmovne edi, ecx
xor ecx, ecx
shr eax, 0xf
or edi, eax
test ebx, 0x1000
je 0x100015ce
cmp dword [esp], 7
jb 0x1000170e
mov ebx, 1
jmp 0x100015da
cmp dword [esp], 7
jb 0x1000170e
xor ebx, ebx
push 0
push 7
lea eax, [esp + 0x14]
push eax
call fcn.10022aa0
add esp, 0xc
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp], eax
mov eax, edi
mov edx, dword [esp + 0x10]
or eax, 0x10000
mov dword [esp + 4], ecx
mov ecx, edx
test edx, 0x80000
mov dword [esp + 8], edx
cmovne edi, eax
and ecx, 0x40000
shr ecx, 1
or edi, ecx
mov eax, edi
or eax, 0x80000
test edx, 0x20000000
cmovne edi, eax
call fcn.10022154
mov edx, dword [esp + 8]
mov ecx, eax
mov eax, edx
test ecx, ecx
mov dword [esp + 8], ebp
mov ebp, 2
cmovne ecx, ebp
and eax, 0x10000
shl eax, 4
or edi, eax
mov eax, edx
mov ebp, edi
and eax, 0x8000000
or ebp, 0x800000
test edx, 0x4000000
cmovne edi, ebp
shr eax, 5
or edi, eax
mov eax, edx
mov ebp, edi
and eax, 0x20000
or ebp, 0x200000
test edx, 0x10000000
cmovne edi, ebp
shl eax, 8
or edi, eax
mov eax, edx
mov ebp, edi
and eax, 0x80000000
or ebp, 0x1000000
test edx, 0x40000000
cmovne edi, ebp
shr eax, 5
or edi, eax
mov ebp, edi
or ebp, 0x8000000
test byte [esp], 2
mov eax, dword [esp + 4]
cmovne edi, ebp
mov ebp, eax
and ebp, 4
shl ebp, 0x1c
or edi, ebp
mov ebp, edi
or ebp, 0x20000000
test al, 8
mov eax, edx
cmovne edi, ebp
mov ebp, edx
and eax, 0x4000
and ebp, 0x200000
shl eax, 0xe
shr ebp, 0x15
or edi, eax
add ecx, ebp
mov ebp, dword [esp + 8]
test ebx, ebx
je 0x1000170e
test dl, 0x20
je 0x1000170e
and edx, 0x108
cmp edx, 0x108
jne 0x1000170e
or edi, 0x8000
cmp esi, 0x80000001
jb 0x10001744
push 0
push 0x80000001
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0xc], ecx
call fcn.10022aa0
mov ecx, dword [esp + 0xc]
add esp, 0xc
mov eax, edi
or eax, 0x40000
test dword [esp + 0x14], 0x100
cmovne edi, eax
and ebp, 0xff0
mov edx, edi
or edx, 0x80000000
cmp ebp, 0xb10
mov dword [0x100335dc], ecx
cmove edi, edx
mov eax, 1
mov dword [0x100335e0], 1
mov dword [0x100335d8], edi
jmp 0x10001784
mov edi, dword [0x100335d8]
mov ecx, dword [0x100335dc]
mov edx, dword [esp + 0x34]
mov dword [edx], edi
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x1c]
xor ecx, esp
cmp ecx, dword [section..data]
jne 0x100017a3
add esp, 0x20
pop ebp
pop ebx
pop edi
pop esi
ret
call fcn.1000d449
nop dword [eax + eax]
nop dword [eax]
nop word [eax + eax]