Function at 0x4e1f7c
Capabilities:
Inspect section memory permissions

Disassembly:
cmp dword [esi + 0x50], 0
jne 0x4e1fa0
cmp dword [ebx + 0x50], 0
je 0x4e1fa0
and dword [esi + 0x54], 0xffdffffe
mov ecx, dword [ebx + 0x54]
mov eax, dword [esi + 0x54]
and ecx, 0x200001
or ecx, eax
mov dword [esi + 0x54], ecx
push edi
mov edi, dword [esi + 0x34]
test edi, edi
jne 0x4e1fbf
cmp dword [ebx + 0x34], edi
je 0x4e1fbf
and dword [esi + 0x54], 0xfffffffd
mov edx, dword [ebx + 0x54]
mov eax, dword [esi + 0x54]
and edx, 2
or edx, eax
mov dword [esi + 0x54], edx
mov eax, dword [esi + 0x54]
mov ecx, dword [ebx + 0x54]
xor ecx, eax
test cl, 8
je 0x4e1ffa
mov ecx, dword [esi + 0x30]
test ecx, ecx
jne 0x4e1fd8
cmp dword [ebx + 0x30], ecx
jne 0x4e1fe1
test edi, edi
jne 0x4e1ffa
cmp dword [ebx + 0x34], edi
je 0x4e1ffa
and eax, 0xfffffff7
mov dword [esi + 0x54], eax
test ecx, ecx
jne 0x4e1ffa
test edi, edi
jne 0x4e1ffa
mov edx, dword [ebx + 0x54]
and edx, 8
or edx, eax
mov dword [esi + 0x54], edx
cmp dword [esi + 0x30], 0
jne 0x4e2018
cmp dword [ebx + 0x30], 0
je 0x4e2018
and dword [esi + 0x54], 0xffffffef
mov ecx, dword [ebx + 0x54]
mov eax, dword [esi + 0x54]
and ecx, 0x10
or ecx, eax
mov dword [esi + 0x54], ecx
mov eax, dword [esi + 0x10]
mov ecx, eax
test eax, eax
jne 0x4e2024
mov ecx, dword [ebx + 0x10]
mov eax, dword [esi + 0x54]
test eax, 0x4000
jne 0x4e205b
test dword [ebx + 0x54], 0x4000
je 0x4e205b
test al, 0x20
je 0x4e205b
cmp dword [esi + 0x5c], 0
jne 0x4e205b
cmp dword [esi + 0x60], 0
jne 0x4e205b
or eax, 0x4000
mov dword [esi + 0x54], eax
mov edx, dword [ebx + 0x5c]
mov dword [esi + 0x5c], edx
mov eax, dword [ebx + 0x60]
mov dword [esi + 0x60], eax
mov edi, dword [esi + 0x54]
mov edx, edi
and edx, dword [ebx + 0x54]
test edx, 0x100
je 0x4e2090
cmp ebx, 0x1e2358c0
jne 0x4e207b
test edi, 0x200
je 0x4e2090
cmp dword [esi + 0x9c], 0
jne 0x4e2090
mov eax, dword [ebx + 0x9c]
mov dword [esi + 0x9c], eax
cmp dword [esi + 0x14], 0
mov dword [esi + 0x10], ecx
jne 0x4e209f
mov ecx, dword [ebx + 0x14]
mov dword [esi + 0x14], ecx
mov edx, edi
and edx, dword [ebx + 0x54]
test dl, 0x40
je 0x4e20b5
cmp dword [esi + 0x68], 0
jne 0x4e20b5
mov eax, dword [ebx + 0x68]
mov dword [esi + 0x68], eax
mov ecx, edi
and ecx, dword [ebx + 0x54]
test ecx, 0x100
je 0x4e20d7
cmp dword [esi + 0x90], 0
jne 0x4e20d7
mov edx, dword [ebx + 0x90]
mov dword [esi + 0x90], edx
mov eax, dword [0x1e23a75c]
push eax
push ebx
call fcn.004de5ac
add esp, 8
test eax, eax
je 0x4e20f5
or edi, 0x40000000
mov dword [esi + 0x54], edi
pop edi
ret
push 0x1e235630
push ebx
call fcn.004de5ac
add esp, 8
test eax, eax
je 0x4e2112
or edi, 0x80000000
mov dword [esi + 0x54], edi
pop edi
ret
push 0x1e23c9b0
push ebx
call fcn.004de5ac
add esp, 8
test eax, eax
je 0x4e212f
or edi, 0x800000
mov dword [esi + 0x54], edi
pop edi
ret
push 0x1e23b918
push ebx
call fcn.004de5ac
add esp, 8
test eax, eax
je 0x4e214c
or edi, 0x1000000
mov dword [esi + 0x54], edi
pop edi
ret
push 0x1e239308
push ebx
call fcn.004de5ac
add esp, 8
test eax, eax
je 0x4e2169
or edi, 0x8000000
mov dword [esi + 0x54], edi
pop edi
ret
push 0x1e22d290
push ebx
call fcn.004de5ac
add esp, 8
test eax, eax
je 0x4e2186
or edi, 0x10000000
mov dword [esi + 0x54], edi
pop edi
ret
push 0x1e236948
push ebx
call fcn.004de5ac
add esp, 8
test eax, eax
je 0x4e21a3
or edi, 0x4000000
mov dword [esi + 0x54], edi
pop edi
ret
push 0x1e23c088
push ebx
call fcn.004de5ac
add esp, 8
test eax, eax
je 0x4e21c0
or edi, 0x2000000
mov dword [esi + 0x54], edi
pop edi
ret
push 0x1e242cb8
push ebx
call fcn.004de5ac
add esp, 8
test eax, eax
je 0x4e21db
or edi, 0x20000000
mov dword [esi + 0x54], edi
pop edi
ret