Function at 0x4792c2
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 0x4792e4
push 0x4815f7
push eax
lea ecx, [esi + 0x20]
call fcn.00433d2f
push ebx
mov ebx, dword [edi + 0x14]
test bl, bl
je 0x47942a
test bl, 1
je 0x479317
mov ecx, dword [edi + 0x30]
or dword [esi + 0x14], 1
mov eax, dword [esi + 4]
and eax, 0xfffffffc
test byte [esi + 4], 1
je 0x47930a
mov eax, dword [eax]
and ecx, 0xfffffffc
push eax
push ecx
lea ecx, [esi + 0x30]
call fcn.004891d3
test bl, 2
je 0x47933e
mov ecx, dword [edi + 0x34]
or dword [esi + 0x14], 2
mov eax, dword [esi + 4]
and eax, 0xfffffffc
test byte [esi + 4], 1
je 0x479331
mov eax, dword [eax]
and ecx, 0xfffffffc
push eax
push ecx
lea ecx, [esi + 0x34]
call fcn.004891d3
test bl, 4
je 0x479365
mov ecx, dword [edi + 0x38]
or dword [esi + 0x14], 4
mov eax, dword [esi + 4]
and eax, 0xfffffffc
test byte [esi + 4], 1
je 0x479358
mov eax, dword [eax]
and ecx, 0xfffffffc
push eax
push ecx
lea ecx, [esi + 0x38]
call fcn.004891d3
test bl, 8
je 0x47938c
mov ecx, dword [edi + 0x3c]
or dword [esi + 0x14], 8
mov eax, dword [esi + 4]
and eax, 0xfffffffc
test byte [esi + 4], 1
je 0x47937f
mov eax, dword [eax]
and ecx, 0xfffffffc
push eax
push ecx
lea ecx, [esi + 0x3c]
call fcn.004891d3
test bl, 0x10
je 0x4793b3
mov ecx, dword [edi + 0x40]
or dword [esi + 0x14], 0x10
mov eax, dword [esi + 4]
and eax, 0xfffffffc
test byte [esi + 4], 1
je 0x4793a6
mov eax, dword [eax]
and ecx, 0xfffffffc
push eax
push ecx
lea ecx, [esi + 0x40]
call fcn.004891d3
test bl, 0x20
je 0x4793da
mov ecx, dword [edi + 0x44]
or dword [esi + 0x14], 0x20
mov eax, dword [esi + 4]
and eax, 0xfffffffc
test byte [esi + 4], 1
je 0x4793cd
mov eax, dword [eax]
and ecx, 0xfffffffc
push eax
push ecx
lea ecx, [esi + 0x44]
call fcn.004891d3
test bl, 0x40
je 0x479401
mov ecx, dword [edi + 0x48]
or dword [esi + 0x14], 0x40
mov eax, dword [esi + 4]
and eax, 0xfffffffc
test byte [esi + 4], 1
je 0x4793f4
mov eax, dword [eax]
and ecx, 0xfffffffc
push eax
push ecx
lea ecx, [esi + 0x48]
call fcn.004891d3
test bl, bl
jns 0x47942a
mov ecx, dword [edi + 0x4c]
or dword [esi + 0x14], 0x80
mov eax, dword [esi + 4]
and eax, 0xfffffffc
test byte [esi + 4], 1
je 0x47941d
mov eax, dword [eax]
and ecx, 0xfffffffc
push eax
push ecx
lea ecx, [esi + 0x4c]
call fcn.004891d3
test ebx, 0xff00
je 0x479567
mov eax, 0x100
test eax, ebx
je 0x479460
mov ecx, dword [edi + 0x50]
or dword [esi + 0x14], eax
mov eax, dword [esi + 4]
and eax, 0xfffffffc
test byte [esi + 4], 1
je 0x479453
mov eax, dword [eax]
and ecx, 0xfffffffc
push eax
push ecx
lea ecx, [esi + 0x50]
call fcn.004891d3
mov eax, 0x200
test eax, ebx
je 0x47948a
mov ecx, dword [edi + 0x54]
or dword [esi + 0x14], eax
mov eax, dword [esi + 4]
and eax, 0xfffffffc
test byte [esi + 4], 1
je 0x47947d
mov eax, dword [eax]
and ecx, 0xfffffffc
push eax
push ecx
lea ecx, [esi + 0x54]
call fcn.004891d3
mov eax, 0x400
test eax, ebx
je 0x4794b4
mov ecx, dword [edi + 0x58]
or dword [esi + 0x14], eax
mov eax, dword [esi + 4]
and eax, 0xfffffffc
test byte [esi + 4], 1
je 0x4794a7
mov eax, dword [eax]
and ecx, 0xfffffffc
push eax
push ecx
lea ecx, [esi + 0x58]
call fcn.004891d3
mov eax, 0x800
test eax, ebx
je 0x4794de
mov ecx, dword [edi + 0x5c]
or dword [esi + 0x14], eax
mov eax, dword [esi + 4]
and eax, 0xfffffffc
test byte [esi + 4], 1
je 0x4794d1
mov eax, dword [eax]
and ecx, 0xfffffffc
push eax
push ecx
lea ecx, [esi + 0x5c]
call fcn.004891d3
mov eax, 0x1000
test eax, ebx
je 0x479508
mov ecx, dword [edi + 0x60]
or dword [esi + 0x14], eax
mov eax, dword [esi + 4]
and eax, 0xfffffffc
test byte [esi + 4], 1
je 0x4794fb
mov eax, dword [eax]
and ecx, 0xfffffffc
push eax
push ecx
lea ecx, [esi + 0x60]
call fcn.004891d3
mov eax, 0x2000
test eax, ebx
je 0x479532
mov ecx, dword [edi + 0x64]
or dword [esi + 0x14], eax
mov eax, dword [esi + 4]
and eax, 0xfffffffc
test byte [esi + 4], 1
je 0x479525
mov eax, dword [eax]
and ecx, 0xfffffffc
push eax
push ecx
lea ecx, [esi + 0x64]
call fcn.004891d3
test ebx, 0x4000
je 0x479556
mov ecx, esi
call fcn.004718ec
mov ecx, dword [edi + 0x68]
test ecx, ecx
jne 0x47954d
mov ecx, 0x554668
push ecx
push eax
call fcn.0047f766
pop ecx
pop ecx
test ebx, 0x8000
je 0x479564
mov al, byte [edi + 0x6c]
mov byte [esi + 0x6c], al
or dword [esi + 0x14], ebx
test ebx, 0xff0000
je 0x4795e2
test ebx, 0x10000
je 0x47957d
mov al, byte [edi + 0x6d]
mov byte [esi + 0x6d], al
test ebx, 0x20000
je 0x47958b
mov al, byte [edi + 0x6e]
mov byte [esi + 0x6e], al
test ebx, 0x40000
je 0x479599
mov al, byte [edi + 0x6f]
mov byte [esi + 0x6f], al
test ebx, 0x80000
je 0x4795a7
mov al, byte [edi + 0x70]
mov byte [esi + 0x70], al
test ebx, 0x100000
je 0x4795b5
mov al, byte [edi + 0x71]
mov byte [esi + 0x71], al
test ebx, 0x200000
je 0x4795c3
mov al, byte [edi + 0x72]
mov byte [esi + 0x72], al
test ebx, 0x400000
je 0x4795d1
mov al, byte [edi + 0x73]
mov byte [esi + 0x73], al
test ebx, 0x800000
je 0x4795df
mov al, byte [edi + 0x74]
mov byte [esi + 0x74], al
or dword [esi + 0x14], ebx
test ebx, 0xff000000
je 0x479675
test ebx, 0x1000000
je 0x4795fc
mov al, byte [edi + 0x75]
mov byte [esi + 0x75], al
test ebx, 0x2000000
je 0x47960a
mov al, byte [edi + 0x76]
mov byte [esi + 0x76], al
test ebx, 0x4000000
je 0x479618
mov eax, dword [edi + 0x78]
mov dword [esi + 0x78], eax
test ebx, 0x8000000
je 0x479626
mov eax, dword [edi + 0x7c]
mov dword [esi + 0x7c], eax
test ebx, 0x10000000
je 0x47963a
mov eax, dword [edi + 0x80]
mov dword [esi + 0x80], eax
test ebx, 0x20000000
je 0x47964e
mov eax, dword [edi + 0x84]
mov dword [esi + 0x84], eax
test ebx, 0x40000000
je 0x479662
mov al, byte [edi + 0x88]
mov byte [esi + 0x88], al
test ebx, ebx
jns 0x479672
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 0x4796b4
test cl, 1
je 0x47968f
mov al, byte [edi + 0x8a]
mov byte [esi + 0x8a], al
test cl, 2
je 0x4796a0
mov al, byte [edi + 0x8b]
mov byte [esi + 0x8b], al
test cl, 4
je 0x4796b1
mov al, byte [edi + 0x8c]
mov byte [esi + 0x8c], al
or dword [esi + 0x18], ecx
lea eax, [edi + 8]
push eax
push 0x558d88
lea ecx, [esi + 8]
call fcn.0049e0c5
test byte [edi + 4], 1
lea ecx, [esi + 4]
je 0x4796dd
mov eax, dword [edi + 4]
and eax, 0xfffffffc
add eax, 4
push eax
call fcn.0049b763
pop edi
pop esi
pop ebp
ret