Function at 0x18092422
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 0x18092444
push 0x18099224
push eax
lea ecx, [esi + 0x20]
call fcn.18050204
push ebx
mov ebx, dword [edi + 0x14]
test bl, bl
je 0x1809258a
test bl, 1
je 0x18092477
mov ecx, dword [edi + 0x30]
or dword [esi + 0x14], 1
mov eax, dword [esi + 4]
and eax, 0xfffffffc
test byte [esi + 4], 1
je 0x1809246a
mov eax, dword [eax]
and ecx, 0xfffffffc
push eax
push ecx
lea ecx, [esi + 0x30]
call fcn.180c4317
test bl, 2
je 0x1809249e
mov ecx, dword [edi + 0x34]
or dword [esi + 0x14], 2
mov eax, dword [esi + 4]
and eax, 0xfffffffc
test byte [esi + 4], 1
je 0x18092491
mov eax, dword [eax]
and ecx, 0xfffffffc
push eax
push ecx
lea ecx, [esi + 0x34]
call fcn.180c4317
test bl, 4
je 0x180924c5
mov ecx, dword [edi + 0x38]
or dword [esi + 0x14], 4
mov eax, dword [esi + 4]
and eax, 0xfffffffc
test byte [esi + 4], 1
je 0x180924b8
mov eax, dword [eax]
and ecx, 0xfffffffc
push eax
push ecx
lea ecx, [esi + 0x38]
call fcn.180c4317
test bl, 8
je 0x180924ec
mov ecx, dword [edi + 0x3c]
or dword [esi + 0x14], 8
mov eax, dword [esi + 4]
and eax, 0xfffffffc
test byte [esi + 4], 1
je 0x180924df
mov eax, dword [eax]
and ecx, 0xfffffffc
push eax
push ecx
lea ecx, [esi + 0x3c]
call fcn.180c4317
test bl, 0x10
je 0x18092513
mov ecx, dword [edi + 0x40]
or dword [esi + 0x14], 0x10
mov eax, dword [esi + 4]
and eax, 0xfffffffc
test byte [esi + 4], 1
je 0x18092506
mov eax, dword [eax]
and ecx, 0xfffffffc
push eax
push ecx
lea ecx, [esi + 0x40]
call fcn.180c4317
test bl, 0x20
je 0x1809253a
mov ecx, dword [edi + 0x44]
or dword [esi + 0x14], 0x20
mov eax, dword [esi + 4]
and eax, 0xfffffffc
test byte [esi + 4], 1
je 0x1809252d
mov eax, dword [eax]
and ecx, 0xfffffffc
push eax
push ecx
lea ecx, [esi + 0x44]
call fcn.180c4317
test bl, 0x40
je 0x18092561
mov ecx, dword [edi + 0x48]
or dword [esi + 0x14], 0x40
mov eax, dword [esi + 4]
and eax, 0xfffffffc
test byte [esi + 4], 1
je 0x18092554
mov eax, dword [eax]
and ecx, 0xfffffffc
push eax
push ecx
lea ecx, [esi + 0x48]
call fcn.180c4317
test bl, bl
jns 0x1809258a
mov ecx, dword [edi + 0x4c]
or dword [esi + 0x14], 0x80
mov eax, dword [esi + 4]
and eax, 0xfffffffc
test byte [esi + 4], 1
je 0x1809257d
mov eax, dword [eax]
and ecx, 0xfffffffc
push eax
push ecx
lea ecx, [esi + 0x4c]
call fcn.180c4317
test ebx, 0xff00
je 0x180926b1
mov eax, 0x100
test eax, ebx
je 0x180925c0
mov ecx, dword [edi + 0x50]
or dword [esi + 0x14], eax
mov eax, dword [esi + 4]
and eax, 0xfffffffc
test byte [esi + 4], 1
je 0x180925b3
mov eax, dword [eax]
and ecx, 0xfffffffc
push eax
push ecx
lea ecx, [esi + 0x50]
call fcn.180c4317
mov eax, 0x200
test eax, ebx
je 0x180925ea
mov ecx, dword [edi + 0x54]
or dword [esi + 0x14], eax
mov eax, dword [esi + 4]
and eax, 0xfffffffc
test byte [esi + 4], 1
je 0x180925dd
mov eax, dword [eax]
and ecx, 0xfffffffc
push eax
push ecx
lea ecx, [esi + 0x54]
call fcn.180c4317
mov eax, 0x400
test eax, ebx
je 0x18092614
mov ecx, dword [edi + 0x58]
or dword [esi + 0x14], eax
mov eax, dword [esi + 4]
and eax, 0xfffffffc
test byte [esi + 4], 1
je 0x18092607
mov eax, dword [eax]
and ecx, 0xfffffffc
push eax
push ecx
lea ecx, [esi + 0x58]
call fcn.180c4317
mov eax, 0x800
test eax, ebx
je 0x1809263e
mov ecx, dword [edi + 0x5c]
or dword [esi + 0x14], eax
mov eax, dword [esi + 4]
and eax, 0xfffffffc
test byte [esi + 4], 1
je 0x18092631
mov eax, dword [eax]
and ecx, 0xfffffffc
push eax
push ecx
lea ecx, [esi + 0x5c]
call fcn.180c4317
mov eax, 0x1000
test eax, ebx
je 0x18092668
mov ecx, dword [edi + 0x60]
or dword [esi + 0x14], eax
mov eax, dword [esi + 4]
and eax, 0xfffffffc
test byte [esi + 4], 1
je 0x1809265b
mov eax, dword [eax]
and ecx, 0xfffffffc
push eax
push ecx
lea ecx, [esi + 0x60]
call fcn.180c4317
mov eax, 0x2000
test eax, ebx
je 0x18092692
mov ecx, dword [edi + 0x64]
or dword [esi + 0x14], eax
mov eax, dword [esi + 4]
and eax, 0xfffffffc
test byte [esi + 4], 1
je 0x18092685
mov eax, dword [eax]
and ecx, 0xfffffffc
push eax
push ecx
lea ecx, [esi + 0x64]
call fcn.180c4317
test ebx, 0x4000
je 0x180926a0
mov al, byte [edi + 0x68]
mov byte [esi + 0x68], al
test ebx, 0x8000
je 0x180926ae
mov al, byte [edi + 0x69]
mov byte [esi + 0x69], al
or dword [esi + 0x14], ebx
test ebx, 0xff0000
je 0x1809272c
test ebx, 0x10000
je 0x180926c7
mov al, byte [edi + 0x6a]
mov byte [esi + 0x6a], al
test ebx, 0x20000
je 0x180926d5
mov al, byte [edi + 0x6b]
mov byte [esi + 0x6b], al
test ebx, 0x40000
je 0x180926e3
mov al, byte [edi + 0x6c]
mov byte [esi + 0x6c], al
test ebx, 0x80000
je 0x180926f1
mov al, byte [edi + 0x6d]
mov byte [esi + 0x6d], al
test ebx, 0x100000
je 0x180926ff
mov al, byte [edi + 0x6e]
mov byte [esi + 0x6e], al
test ebx, 0x200000
je 0x1809270d
mov al, byte [edi + 0x6f]
mov byte [esi + 0x6f], al
test ebx, 0x400000
je 0x1809271b
mov al, byte [edi + 0x70]
mov byte [esi + 0x70], al
test ebx, 0x800000
je 0x18092729
mov al, byte [edi + 0x71]
mov byte [esi + 0x71], al
or dword [esi + 0x14], ebx
test ebx, 0xff000000
je 0x180927bf
test ebx, 0x1000000
je 0x18092746
mov al, byte [edi + 0x72]
mov byte [esi + 0x72], al
test ebx, 0x2000000
je 0x18092754
mov eax, dword [edi + 0x74]
mov dword [esi + 0x74], eax
test ebx, 0x4000000
je 0x18092762
mov eax, dword [edi + 0x78]
mov dword [esi + 0x78], eax
test ebx, 0x8000000
je 0x18092770
mov eax, dword [edi + 0x7c]
mov dword [esi + 0x7c], eax
test ebx, 0x10000000
je 0x18092784
mov eax, dword [edi + 0x80]
mov dword [esi + 0x80], eax
test ebx, 0x20000000
je 0x18092798
mov al, byte [edi + 0x84]
mov byte [esi + 0x84], al
test ebx, 0x40000000
je 0x180927ac
mov al, byte [edi + 0x85]
mov byte [esi + 0x85], al
test ebx, ebx
jns 0x180927bc
mov al, byte [edi + 0x86]
mov byte [esi + 0x86], al
or dword [esi + 0x14], ebx
mov ecx, dword [edi + 0x18]
pop ebx
test cl, 3
je 0x180927ed
test cl, 1
je 0x180927d9
mov al, byte [edi + 0x87]
mov byte [esi + 0x87], al
test cl, 2
je 0x180927ea
mov al, byte [edi + 0x88]
mov byte [esi + 0x88], al
or dword [esi + 0x18], ecx
lea eax, [edi + 8]
push eax
push 0x181c84dc
lea ecx, [esi + 8]
call fcn.180d90ff
test byte [edi + 4], 1
lea ecx, [esi + 4]
je 0x18092816
mov eax, dword [edi + 4]
and eax, 0xfffffffc
add eax, 4
push eax
call fcn.180d674a
pop edi
pop esi
pop ebp
ret