Function at 0x100bff26
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
cmp dword [esi + 0x50], edi
jne 0x100bff50
cmp dword [ebx + 0x50], edi
je 0x100bff50
and dword [esi + 0x54], 0xffdffffe
mov eax, dword [ebx + 0x54]
and eax, 0x200001
or dword [esi + 0x54], eax
mov edx, dword [esi + 0x34]
test edx, edx
jne 0x100bff69
cmp dword [ebx + 0x34], edi
je 0x100bff69
and dword [esi + 0x54], 0xfffffffd
mov eax, dword [ebx + 0x54]
and eax, 2
or dword [esi + 0x54], eax
mov eax, dword [ebx + 0x54]
mov ecx, dword [esi + 0x54]
xor eax, ecx
test al, 8
je 0x100bffa3
mov eax, dword [esi + 0x30]
test eax, eax
jne 0x100bff81
cmp dword [ebx + 0x30], edi
jne 0x100bff8a
test edx, edx
jne 0x100bffa3
cmp dword [ebx + 0x34], edi
je 0x100bffa3
and ecx, 0xfffffff7
mov dword [esi + 0x54], ecx
test eax, eax
jne 0x100bffa3
test edx, edx
jne 0x100bffa3
mov eax, dword [ebx + 0x54]
and eax, 8
or eax, ecx
mov dword [esi + 0x54], eax
cmp dword [esi + 0x30], edi
jne 0x100bffba
cmp dword [ebx + 0x30], edi
je 0x100bffba
and dword [esi + 0x54], 0xffffffef
mov eax, dword [ebx + 0x54]
and eax, 0x10
or dword [esi + 0x54], eax
mov ecx, dword [esi + 0x10]
test ecx, ecx
jne 0x100bffc4
mov ecx, dword [ebx + 0x10]
mov eax, dword [esi + 0x54]
mov edx, 0x4000
test edx, eax
jne 0x100bfff4
test dword [ebx + 0x54], edx
je 0x100bfff4
test al, 0x20
je 0x100bfff4
cmp dword [esi + 0x5c], edi
jne 0x100bfff4
cmp dword [esi + 0x60], edi
jne 0x100bfff4
or eax, edx
mov dword [esi + 0x54], eax
mov eax, dword [ebx + 0x5c]
mov dword [esi + 0x5c], eax
mov eax, dword [ebx + 0x60]
mov dword [esi + 0x60], eax
mov edi, dword [esi + 0x54]
mov edx, 0x100
mov eax, edi
and eax, dword [ebx + 0x54]
test edx, eax
je 0x100c002a
cmp ebx, sym.extension.dll_PyBaseObject_Type
jne 0x100c0015
test edi, 0x200
je 0x100c002a
cmp dword [esi + 0x9c], 0
jne 0x100c002a
mov eax, dword [ebx + 0x9c]
mov dword [esi + 0x9c], eax
cmp dword [esi + 0x14], 0
mov dword [esi + 0x10], ecx
jne 0x100c0039
mov eax, dword [ebx + 0x14]
mov dword [esi + 0x14], eax
mov eax, edi
and eax, dword [ebx + 0x54]
test al, 0x40
je 0x100c004e
cmp dword [esi + 0x68], 0
jne 0x100c004e
mov eax, dword [ebx + 0x68]
mov dword [esi + 0x68], eax
mov eax, edi
and eax, dword [ebx + 0x54]
test edx, eax
je 0x100c006c
cmp dword [esi + 0x90], 0
jne 0x100c006c
mov eax, dword [ebx + 0x90]
mov dword [esi + 0x90], eax
push dword [sym.extension.dll_PyExc_BaseException]
push ebx
call sym.extension.dll_PyType_IsSubtype
pop ecx
pop ecx
test eax, eax
je 0x100c0089
or edi, 0x40000000
jmp 0x100c0155
push sym.extension.dll_PyType_Type
push ebx
call sym.extension.dll_PyType_IsSubtype
pop ecx
pop ecx
test eax, eax
je 0x100c00a5
or edi, 0x80000000
jmp 0x100c0155
push sym.extension.dll_PyInt_Type
push ebx
call sym.extension.dll_PyType_IsSubtype
pop ecx
pop ecx
test eax, eax
je 0x100c00c1
or edi, 0x800000
jmp 0x100c0155
push sym.extension.dll_PyLong_Type
push ebx
call sym.extension.dll_PyType_IsSubtype
pop ecx
pop ecx
test eax, eax
je 0x100c00da
or edi, 0x1000000
jmp 0x100c0155
push sym.extension.dll_PyString_Type
push ebx
call sym.extension.dll_PyType_IsSubtype
pop ecx
pop ecx
test eax, eax
je 0x100c00f3
or edi, 0x8000000
jmp 0x100c0155
push sym.extension.dll_PyUnicode_Type
push ebx
call sym.extension.dll_PyType_IsSubtype
pop ecx
pop ecx
test eax, eax
je 0x100c010c
or edi, 0x10000000
jmp 0x100c0155
push sym.extension.dll_PyTuple_Type
push ebx
call sym.extension.dll_PyType_IsSubtype
pop ecx
pop ecx
test eax, eax
je 0x100c0125
or edi, 0x4000000
jmp 0x100c0155
push sym.extension.dll_PyList_Type
push ebx
call sym.extension.dll_PyType_IsSubtype
pop ecx
pop ecx
test eax, eax
je 0x100c013e
or edi, 0x2000000
jmp 0x100c0155
push sym.extension.dll_PyDict_Type
push ebx
call sym.extension.dll_PyType_IsSubtype
pop ecx
pop ecx
test eax, eax
je 0x100c0158
or edi, 0x20000000
mov dword [esi + 0x54], edi
pop edi
pop esi
pop ebx
pop ebp
ret