Function at 0x18097319
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 0x1809733b
push 0x180a008a
push eax
lea ecx, [esi + 0x20]
call fcn.18051829
push ebx
mov ebx, dword [edi + 0x14]
test bl, bl
je 0x18097481
test bl, 1
je 0x1809736e
mov ecx, dword [edi + 0x30]
or dword [esi + 0x14], 1
mov eax, dword [esi + 4]
and eax, 0xfffffffc
test byte [esi + 4], 1
je 0x18097361
mov eax, dword [eax]
and ecx, 0xfffffffc
push eax
push ecx
lea ecx, [esi + 0x30]
call fcn.180cc4bb
test bl, 2
je 0x18097395
mov ecx, dword [edi + 0x34]
or dword [esi + 0x14], 2
mov eax, dword [esi + 4]
and eax, 0xfffffffc
test byte [esi + 4], 1
je 0x18097388
mov eax, dword [eax]
and ecx, 0xfffffffc
push eax
push ecx
lea ecx, [esi + 0x34]
call fcn.180cc4bb
test bl, 4
je 0x180973bc
mov ecx, dword [edi + 0x38]
or dword [esi + 0x14], 4
mov eax, dword [esi + 4]
and eax, 0xfffffffc
test byte [esi + 4], 1
je 0x180973af
mov eax, dword [eax]
and ecx, 0xfffffffc
push eax
push ecx
lea ecx, [esi + 0x38]
call fcn.180cc4bb
test bl, 8
je 0x180973e3
mov ecx, dword [edi + 0x3c]
or dword [esi + 0x14], 8
mov eax, dword [esi + 4]
and eax, 0xfffffffc
test byte [esi + 4], 1
je 0x180973d6
mov eax, dword [eax]
and ecx, 0xfffffffc
push eax
push ecx
lea ecx, [esi + 0x3c]
call fcn.180cc4bb
test bl, 0x10
je 0x1809740a
mov ecx, dword [edi + 0x40]
or dword [esi + 0x14], 0x10
mov eax, dword [esi + 4]
and eax, 0xfffffffc
test byte [esi + 4], 1
je 0x180973fd
mov eax, dword [eax]
and ecx, 0xfffffffc
push eax
push ecx
lea ecx, [esi + 0x40]
call fcn.180cc4bb
test bl, 0x20
je 0x18097431
mov ecx, dword [edi + 0x44]
or dword [esi + 0x14], 0x20
mov eax, dword [esi + 4]
and eax, 0xfffffffc
test byte [esi + 4], 1
je 0x18097424
mov eax, dword [eax]
and ecx, 0xfffffffc
push eax
push ecx
lea ecx, [esi + 0x44]
call fcn.180cc4bb
test bl, 0x40
je 0x18097458
mov ecx, dword [edi + 0x48]
or dword [esi + 0x14], 0x40
mov eax, dword [esi + 4]
and eax, 0xfffffffc
test byte [esi + 4], 1
je 0x1809744b
mov eax, dword [eax]
and ecx, 0xfffffffc
push eax
push ecx
lea ecx, [esi + 0x48]
call fcn.180cc4bb
test bl, bl
jns 0x18097481
mov ecx, dword [edi + 0x4c]
or dword [esi + 0x14], 0x80
mov eax, dword [esi + 4]
and eax, 0xfffffffc
test byte [esi + 4], 1
je 0x18097474
mov eax, dword [eax]
and ecx, 0xfffffffc
push eax
push ecx
lea ecx, [esi + 0x4c]
call fcn.180cc4bb
test ebx, 0xff00
je 0x180975be
mov eax, 0x100
test eax, ebx
je 0x180974b7
mov ecx, dword [edi + 0x50]
or dword [esi + 0x14], eax
mov eax, dword [esi + 4]
and eax, 0xfffffffc
test byte [esi + 4], 1
je 0x180974aa
mov eax, dword [eax]
and ecx, 0xfffffffc
push eax
push ecx
lea ecx, [esi + 0x50]
call fcn.180cc4bb
mov eax, 0x200
test eax, ebx
je 0x180974e1
mov ecx, dword [edi + 0x54]
or dword [esi + 0x14], eax
mov eax, dword [esi + 4]
and eax, 0xfffffffc
test byte [esi + 4], 1
je 0x180974d4
mov eax, dword [eax]
and ecx, 0xfffffffc
push eax
push ecx
lea ecx, [esi + 0x54]
call fcn.180cc4bb
mov eax, 0x400
test eax, ebx
je 0x1809750b
mov ecx, dword [edi + 0x58]
or dword [esi + 0x14], eax
mov eax, dword [esi + 4]
and eax, 0xfffffffc
test byte [esi + 4], 1
je 0x180974fe
mov eax, dword [eax]
and ecx, 0xfffffffc
push eax
push ecx
lea ecx, [esi + 0x58]
call fcn.180cc4bb
mov eax, 0x800
test eax, ebx
je 0x18097535
mov ecx, dword [edi + 0x5c]
or dword [esi + 0x14], eax
mov eax, dword [esi + 4]
and eax, 0xfffffffc
test byte [esi + 4], 1
je 0x18097528
mov eax, dword [eax]
and ecx, 0xfffffffc
push eax
push ecx
lea ecx, [esi + 0x5c]
call fcn.180cc4bb
mov eax, 0x1000
test eax, ebx
je 0x1809755f
mov ecx, dword [edi + 0x60]
or dword [esi + 0x14], eax
mov eax, dword [esi + 4]
and eax, 0xfffffffc
test byte [esi + 4], 1
je 0x18097552
mov eax, dword [eax]
and ecx, 0xfffffffc
push eax
push ecx
lea ecx, [esi + 0x60]
call fcn.180cc4bb
mov eax, 0x2000
test eax, ebx
je 0x18097589
mov ecx, dword [edi + 0x64]
or dword [esi + 0x14], eax
mov eax, dword [esi + 4]
and eax, 0xfffffffc
test byte [esi + 4], 1
je 0x1809757c
mov eax, dword [eax]
and ecx, 0xfffffffc
push eax
push ecx
lea ecx, [esi + 0x64]
call fcn.180cc4bb
test ebx, 0x4000
je 0x180975ad
mov ecx, esi
call fcn.1808f894
mov ecx, dword [edi + 0x68]
test ecx, ecx
jne 0x180975a4
mov ecx, 0x181d2930
push ecx
push eax
call fcn.1809d74e
pop ecx
pop ecx
test ebx, 0x8000
je 0x180975bb
mov al, byte [edi + 0x6c]
mov byte [esi + 0x6c], al
or dword [esi + 0x14], ebx
test ebx, 0xff0000
je 0x18097639
test ebx, 0x10000
je 0x180975d4
mov al, byte [edi + 0x6d]
mov byte [esi + 0x6d], al
test ebx, 0x20000
je 0x180975e2
mov al, byte [edi + 0x6e]
mov byte [esi + 0x6e], al
test ebx, 0x40000
je 0x180975f0
mov al, byte [edi + 0x6f]
mov byte [esi + 0x6f], al
test ebx, 0x80000
je 0x180975fe
mov al, byte [edi + 0x70]
mov byte [esi + 0x70], al
test ebx, 0x100000
je 0x1809760c
mov al, byte [edi + 0x71]
mov byte [esi + 0x71], al
test ebx, 0x200000
je 0x1809761a
mov al, byte [edi + 0x72]
mov byte [esi + 0x72], al
test ebx, 0x400000
je 0x18097628
mov al, byte [edi + 0x73]
mov byte [esi + 0x73], al
test ebx, 0x800000
je 0x18097636
mov al, byte [edi + 0x74]
mov byte [esi + 0x74], al
or dword [esi + 0x14], ebx
test ebx, 0xff000000
je 0x180976d2
test ebx, 0x1000000
je 0x18097653
mov al, byte [edi + 0x75]
mov byte [esi + 0x75], al
test ebx, 0x2000000
je 0x18097661
mov eax, dword [edi + 0x78]
mov dword [esi + 0x78], eax
test ebx, 0x4000000
je 0x1809766f
mov eax, dword [edi + 0x7c]
mov dword [esi + 0x7c], eax
test ebx, 0x8000000
je 0x18097683
mov eax, dword [edi + 0x80]
mov dword [esi + 0x80], eax
test ebx, 0x10000000
je 0x18097697
mov eax, dword [edi + 0x84]
mov dword [esi + 0x84], eax
test ebx, 0x20000000
je 0x180976ab
mov al, byte [edi + 0x88]
mov byte [esi + 0x88], al
test ebx, 0x40000000
je 0x180976bf
mov al, byte [edi + 0x89]
mov byte [esi + 0x89], al
test ebx, ebx
jns 0x180976cf
mov al, byte [edi + 0x8a]
mov byte [esi + 0x8a], al
or dword [esi + 0x14], ebx
mov ecx, dword [edi + 0x18]
pop ebx
test cl, 3
je 0x18097700
test cl, 1
je 0x180976ec
mov al, byte [edi + 0x8b]
mov byte [esi + 0x8b], al
test cl, 2
je 0x180976fd
mov al, byte [edi + 0x8c]
mov byte [esi + 0x8c], al
or dword [esi + 0x18], ecx
lea eax, [edi + 8]
push eax
push 0x181d79a8
lea ecx, [esi + 8]
call fcn.180e13b6
test byte [edi + 4], 1
lea ecx, [esi + 4]
je 0x18097729
mov eax, dword [edi + 4]
and eax, 0xfffffffc
add eax, 4
push eax
call fcn.180dea01
pop edi
pop esi
pop ebp
ret