Function at 0x18096f37
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
lea eax, [edi + 0x20]
cmp dword [eax + 4], 0
je 0x18096f59
push 0x1809f6fd
push eax
lea ecx, [esi + 0x20]
call fcn.18051707
push ebx
mov ebx, dword [edi + 0x14]
test bl, bl
je 0x1809709f
test bl, 1
je 0x18096f8c
mov ecx, dword [edi + 0x30]
or dword [esi + 0x14], 1
mov eax, dword [esi + 4]
and eax, 0xfffffffc
test byte [esi + 4], 1
je 0x18096f7f
mov eax, dword [eax]
and ecx, 0xfffffffc
push eax
push ecx
lea ecx, [esi + 0x30]
call fcn.180cb5bc
test bl, 2
je 0x18096fb3
mov ecx, dword [edi + 0x34]
or dword [esi + 0x14], 2
mov eax, dword [esi + 4]
and eax, 0xfffffffc
test byte [esi + 4], 1
je 0x18096fa6
mov eax, dword [eax]
and ecx, 0xfffffffc
push eax
push ecx
lea ecx, [esi + 0x34]
call fcn.180cb5bc
test bl, 4
je 0x18096fda
mov ecx, dword [edi + 0x38]
or dword [esi + 0x14], 4
mov eax, dword [esi + 4]
and eax, 0xfffffffc
test byte [esi + 4], 1
je 0x18096fcd
mov eax, dword [eax]
and ecx, 0xfffffffc
push eax
push ecx
lea ecx, [esi + 0x38]
call fcn.180cb5bc
test bl, 8
je 0x18097001
mov ecx, dword [edi + 0x3c]
or dword [esi + 0x14], 8
mov eax, dword [esi + 4]
and eax, 0xfffffffc
test byte [esi + 4], 1
je 0x18096ff4
mov eax, dword [eax]
and ecx, 0xfffffffc
push eax
push ecx
lea ecx, [esi + 0x3c]
call fcn.180cb5bc
test bl, 0x10
je 0x18097028
mov ecx, dword [edi + 0x40]
or dword [esi + 0x14], 0x10
mov eax, dword [esi + 4]
and eax, 0xfffffffc
test byte [esi + 4], 1
je 0x1809701b
mov eax, dword [eax]
and ecx, 0xfffffffc
push eax
push ecx
lea ecx, [esi + 0x40]
call fcn.180cb5bc
test bl, 0x20
je 0x1809704f
mov ecx, dword [edi + 0x44]
or dword [esi + 0x14], 0x20
mov eax, dword [esi + 4]
and eax, 0xfffffffc
test byte [esi + 4], 1
je 0x18097042
mov eax, dword [eax]
and ecx, 0xfffffffc
push eax
push ecx
lea ecx, [esi + 0x44]
call fcn.180cb5bc
test bl, 0x40
je 0x18097076
mov ecx, dword [edi + 0x48]
or dword [esi + 0x14], 0x40
mov eax, dword [esi + 4]
and eax, 0xfffffffc
test byte [esi + 4], 1
je 0x18097069
mov eax, dword [eax]
and ecx, 0xfffffffc
push eax
push ecx
lea ecx, [esi + 0x48]
call fcn.180cb5bc
test bl, bl
jns 0x1809709f
mov ecx, dword [edi + 0x4c]
or dword [esi + 0x14], 0x80
mov eax, dword [esi + 4]
and eax, 0xfffffffc
test byte [esi + 4], 1
je 0x18097092
mov eax, dword [eax]
and ecx, 0xfffffffc
push eax
push ecx
lea ecx, [esi + 0x4c]
call fcn.180cb5bc
test ebx, 0xff00
je 0x180971dc
mov eax, 0x100
test eax, ebx
je 0x180970d5
mov ecx, dword [edi + 0x50]
or dword [esi + 0x14], eax
mov eax, dword [esi + 4]
and eax, 0xfffffffc
test byte [esi + 4], 1
je 0x180970c8
mov eax, dword [eax]
and ecx, 0xfffffffc
push eax
push ecx
lea ecx, [esi + 0x50]
call fcn.180cb5bc
mov eax, 0x200
test eax, ebx
je 0x180970ff
mov ecx, dword [edi + 0x54]
or dword [esi + 0x14], eax
mov eax, dword [esi + 4]
and eax, 0xfffffffc
test byte [esi + 4], 1
je 0x180970f2
mov eax, dword [eax]
and ecx, 0xfffffffc
push eax
push ecx
lea ecx, [esi + 0x54]
call fcn.180cb5bc
mov eax, 0x400
test eax, ebx
je 0x18097129
mov ecx, dword [edi + 0x58]
or dword [esi + 0x14], eax
mov eax, dword [esi + 4]
and eax, 0xfffffffc
test byte [esi + 4], 1
je 0x1809711c
mov eax, dword [eax]
and ecx, 0xfffffffc
push eax
push ecx
lea ecx, [esi + 0x58]
call fcn.180cb5bc
mov eax, 0x800
test eax, ebx
je 0x18097153
mov ecx, dword [edi + 0x5c]
or dword [esi + 0x14], eax
mov eax, dword [esi + 4]
and eax, 0xfffffffc
test byte [esi + 4], 1
je 0x18097146
mov eax, dword [eax]
and ecx, 0xfffffffc
push eax
push ecx
lea ecx, [esi + 0x5c]
call fcn.180cb5bc
mov eax, 0x1000
test eax, ebx
je 0x1809717d
mov ecx, dword [edi + 0x60]
or dword [esi + 0x14], eax
mov eax, dword [esi + 4]
and eax, 0xfffffffc
test byte [esi + 4], 1
je 0x18097170
mov eax, dword [eax]
and ecx, 0xfffffffc
push eax
push ecx
lea ecx, [esi + 0x60]
call fcn.180cb5bc
mov eax, 0x2000
test eax, ebx
je 0x180971a7
mov ecx, dword [edi + 0x64]
or dword [esi + 0x14], eax
mov eax, dword [esi + 4]
and eax, 0xfffffffc
test byte [esi + 4], 1
je 0x1809719a
mov eax, dword [eax]
and ecx, 0xfffffffc
push eax
push ecx
lea ecx, [esi + 0x64]
call fcn.180cb5bc
test ebx, 0x4000
je 0x180971cb
mov ecx, esi
call fcn.1808f580
mov ecx, dword [edi + 0x68]
test ecx, ecx
jne 0x180971c2
mov ecx, 0x181d0908
push ecx
push eax
call fcn.1809d0d3
pop ecx
pop ecx
test ebx, 0x8000
je 0x180971d9
mov al, byte [edi + 0x6c]
mov byte [esi + 0x6c], al
or dword [esi + 0x14], ebx
test ebx, 0xff0000
je 0x18097257
test ebx, 0x10000
je 0x180971f2
mov al, byte [edi + 0x6d]
mov byte [esi + 0x6d], al
test ebx, 0x20000
je 0x18097200
mov al, byte [edi + 0x6e]
mov byte [esi + 0x6e], al
test ebx, 0x40000
je 0x1809720e
mov al, byte [edi + 0x6f]
mov byte [esi + 0x6f], al
test ebx, 0x80000
je 0x1809721c
mov al, byte [edi + 0x70]
mov byte [esi + 0x70], al
test ebx, 0x100000
je 0x1809722a
mov al, byte [edi + 0x71]
mov byte [esi + 0x71], al
test ebx, 0x200000
je 0x18097238
mov al, byte [edi + 0x72]
mov byte [esi + 0x72], al
test ebx, 0x400000
je 0x18097246
mov al, byte [edi + 0x73]
mov byte [esi + 0x73], al
test ebx, 0x800000
je 0x18097254
mov al, byte [edi + 0x74]
mov byte [esi + 0x74], al
or dword [esi + 0x14], ebx
test ebx, 0xff000000
je 0x180972ea
test ebx, 0x1000000
je 0x18097271
mov al, byte [edi + 0x75]
mov byte [esi + 0x75], al
test ebx, 0x2000000
je 0x1809727f
mov al, byte [edi + 0x76]
mov byte [esi + 0x76], al
test ebx, 0x4000000
je 0x1809728d
mov eax, dword [edi + 0x78]
mov dword [esi + 0x78], eax
test ebx, 0x8000000
je 0x1809729b
mov eax, dword [edi + 0x7c]
mov dword [esi + 0x7c], eax
test ebx, 0x10000000
je 0x180972af
mov eax, dword [edi + 0x80]
mov dword [esi + 0x80], eax
test ebx, 0x20000000
je 0x180972c3
mov eax, dword [edi + 0x84]
mov dword [esi + 0x84], eax
test ebx, 0x40000000
je 0x180972d7
mov al, byte [edi + 0x88]
mov byte [esi + 0x88], al
test ebx, ebx
jns 0x180972e7
mov al, byte [edi + 0x89]
mov byte [esi + 0x89], al
or dword [esi + 0x14], ebx
mov ecx, dword [edi + 0x18]
pop ebx
test cl, 7
je 0x18097329
test cl, 1
je 0x18097304
mov al, byte [edi + 0x8a]
mov byte [esi + 0x8a], al
test cl, 2
je 0x18097315
mov al, byte [edi + 0x8b]
mov byte [esi + 0x8b], al
test cl, 4
je 0x18097326
mov al, byte [edi + 0x8c]
mov byte [esi + 0x8c], al
or dword [esi + 0x18], ecx
lea eax, [edi + 8]
push eax
push 0x181d5908
lea ecx, [esi + 8]
call fcn.180e04bc
test byte [edi + 4], 1
lea ecx, [esi + 4]
je 0x18097352
mov eax, dword [edi + 4]
and eax, 0xfffffffc
add eax, 4
push eax
call fcn.180ddb05
pop edi
pop esi
pop ebp
ret