Function at 0x4c865c
Capabilities:
Inspect section memory permissions

Disassembly:
mov eax, 0x7fe73a
call fcn.007ed2bc
mov eax, dword [0x951460]
push ebx
push esi
xor ebx, ebx
mov esi, edx
push edi
mov edi, ecx
test al, 1
jne 0x4c869e
or eax, 1
mov dword [0x951460], eax
push 0x20
mov ecx, 0x951464
mov dword [ebp - 4], ebx
call fcn.004cc476
push 0x825ddb
call fcn.00798490
or dword [ebp - 4], 0xffffffff
pop ecx
mov eax, dword [0x951470]
test eax, eax
je 0x4c86ac
mov eax, dword [eax + 4]
jmp 0x4c86ae
mov eax, ebx
test eax, eax
jne 0x4c8d8d
push 1
push 0x94ea9c
mov ecx, 0x951464
call fcn.004cc2ac
test eax, eax
jns 0x4c86cf
mov eax, ebx
jmp 0x4c86da
push eax
mov ecx, 0x951470
call fcn.004cc42e
xor ecx, ecx
mov dword [eax + 4], ebx
inc ecx
push ecx
mov dword [eax], ecx
mov ecx, 0x951464
push 0x94eaa0
call fcn.004cc2ac
test eax, eax
jns 0x4c86fa
mov eax, ebx
jmp 0x4c8705
push eax
mov ecx, 0x951470
call fcn.004cc42e
push 1
push 0x94eaa4
mov ecx, 0x951464
mov dword [eax], 2
mov dword [eax + 4], ebx
call fcn.004cc2ac
test eax, eax
jns 0x4c8727
mov eax, ebx
jmp 0x4c8732
push eax
mov ecx, 0x951470
call fcn.004cc42e
push 1
push 0x94eaa8
mov ecx, 0x951464
mov dword [eax], 4
mov dword [eax + 4], ebx
call fcn.004cc2ac
test eax, eax
jns 0x4c8754
mov eax, ebx
jmp 0x4c875f
push eax
mov ecx, 0x951470
call fcn.004cc42e
push 1
push 0x94eaac
mov ecx, 0x951464
mov dword [eax], 0x10
mov dword [eax + 4], ebx
call fcn.004cc2ac
test eax, eax
jns 0x4c8781
mov eax, ebx
jmp 0x4c878c
push eax
mov ecx, 0x951470
call fcn.004cc42e
push 1
push 0x94eab0
mov ecx, 0x951464
mov dword [eax], 8
mov dword [eax + 4], ebx
call fcn.004cc2ac
test eax, eax
jns 0x4c87ae
mov eax, ebx
jmp 0x4c87b9
push eax
mov ecx, 0x951470
call fcn.004cc42e
push 1
push 0x94eab8
mov ecx, 0x951464
mov dword [eax], ebx
mov dword [eax + 4], 0x1000000
call fcn.004cc2ac
test eax, eax
jns 0x4c87db
mov eax, ebx
jmp 0x4c87e6
push eax
mov ecx, 0x951470
call fcn.004cc42e
push 1
push 0x94eabc
mov ecx, 0x951464
mov dword [eax], 0x8000000
mov dword [eax + 4], ebx
call fcn.004cc2ac
test eax, eax
jns 0x4c8808
mov eax, ebx
jmp 0x4c8813
push eax
mov ecx, 0x951470
call fcn.004cc42e
push 1
push 0x94eac0
mov ecx, 0x951464
mov dword [eax], 0x20
mov dword [eax + 4], ebx
call fcn.004cc2ac
test eax, eax
jns 0x4c8835
mov eax, ebx
jmp 0x4c8840
push eax
mov ecx, 0x951470
call fcn.004cc42e
push 1
push 0x94eac8
mov ecx, 0x951464
mov dword [eax], 0x40
mov dword [eax + 4], ebx
call fcn.004cc2ac
test eax, eax
jns 0x4c8862
mov eax, ebx
jmp 0x4c886d
push eax
mov ecx, 0x951470
call fcn.004cc42e
push 1
push 0x94eac4
mov ecx, 0x951464
mov dword [eax], 0x80000000
mov dword [eax + 4], ebx
call fcn.004cc2ac
test eax, eax
jns 0x4c888f
mov eax, ebx
jmp 0x4c889a
push eax
mov ecx, 0x951470
call fcn.004cc42e
push 1
push 0x94ead0
mov ecx, 0x951464
mov dword [eax], ebx
mov dword [eax + 4], 8
call fcn.004cc2ac
test eax, eax
jns 0x4c88bc
mov eax, ebx
jmp 0x4c88c7
push eax
mov ecx, 0x951470
call fcn.004cc42e
push 1
push 0x94ead4
mov ecx, 0x951464
mov dword [eax], 0x200
mov dword [eax + 4], ebx
call fcn.004cc2ac
test eax, eax
jns 0x4c88e9
mov eax, ebx
jmp 0x4c88f4
push eax
mov ecx, 0x951470
call fcn.004cc42e
push 1
push 0x94eacc
mov ecx, 0x951464
mov dword [eax], 0x400
mov dword [eax + 4], ebx
call fcn.004cc2ac
test eax, eax
jns 0x4c8916
mov eax, ebx
jmp 0x4c8921
push eax
mov ecx, 0x951470
call fcn.004cc42e
push 1
push 0x94ead8
mov ecx, 0x951464
mov dword [eax], 0x80
mov dword [eax + 4], ebx
call fcn.004cc2ac
test eax, eax
jns 0x4c8943
mov eax, ebx
jmp 0x4c894e
push eax
mov ecx, 0x951470
call fcn.004cc42e
push 1
push 0x94eadc
mov ecx, 0x951464
mov dword [eax], 0x800
mov dword [eax + 4], ebx
call fcn.004cc2ac
test eax, eax
jns 0x4c8970
mov eax, ebx
jmp 0x4c897b
push eax
mov ecx, 0x951470
call fcn.004cc42e
xor ecx, ecx
mov dword [eax], ebx
inc ecx
push ecx
mov dword [eax + 4], ecx
mov ecx, 0x951464
push 0x94eb04
call fcn.004cc2ac
test eax, eax
jns 0x4c899b
mov eax, ebx
jmp 0x4c89a6
push eax
mov ecx, 0x951470
call fcn.004cc42e
push 1
push 0x94eae0
mov ecx, 0x951464
mov dword [eax], 0x80000
mov dword [eax + 4], ebx
call fcn.004cc2ac
test eax, eax
jns 0x4c89c8
mov eax, ebx
jmp 0x4c89d3
push eax
mov ecx, 0x951470
call fcn.004cc42e
push 1
push 0x94eae4
mov ecx, 0x951464
mov dword [eax], 0x1000
mov dword [eax + 4], ebx
call fcn.004cc2ac
test eax, eax
jns 0x4c89f5
mov eax, ebx
jmp 0x4c8a00
push eax
mov ecx, 0x951470
call fcn.004cc42e
push 1
push 0x94eae8
mov ecx, 0x951464
mov dword [eax], 0x2000
mov dword [eax + 4], ebx
call fcn.004cc2ac
test eax, eax
jns 0x4c8a22
mov eax, ebx
jmp 0x4c8a2d
push eax
mov ecx, 0x951470
call fcn.004cc42e
push 1
push 0x94eaec
mov ecx, 0x951464
mov dword [eax], 0x100
mov dword [eax + 4], ebx
call fcn.004cc2ac
test eax, eax
jns 0x4c8a4f
mov eax, ebx
jmp 0x4c8a5a
push eax
mov ecx, 0x951470
call fcn.004cc42e
push 1
push 0x94eaf0
mov ecx, 0x951464
mov dword [eax], 0x40000
mov dword [eax + 4], ebx
call fcn.004cc2ac
test eax, eax
jns 0x4c8a7c
mov eax, ebx
jmp 0x4c8a87
push eax
mov ecx, 0x951470
call fcn.004cc42e
push 1
push 0x94eaf4
mov ecx, 0x951464
mov dword [eax], 0x4000
mov dword [eax + 4], ebx
call fcn.004cc2ac
test eax, eax
jns 0x4c8aa9
mov eax, ebx
jmp 0x4c8ab4
push eax
mov ecx, 0x951470
call fcn.004cc42e
push 1
push 0x94eaf8
mov ecx, 0x951464
mov dword [eax], 0x8000
mov dword [eax + 4], ebx
call fcn.004cc2ac
test eax, eax
jns 0x4c8ad6
mov eax, ebx
jmp 0x4c8ae1
push eax
mov ecx, 0x951470
call fcn.004cc42e
push 1
push 0x94eb00
mov ecx, 0x951464
mov dword [eax], 0x10000
mov dword [eax + 4], ebx
call fcn.004cc2ac
test eax, eax
jns 0x4c8b03
mov eax, ebx
jmp 0x4c8b0e
push eax
mov ecx, 0x951470
call fcn.004cc42e
push 1
push 0x94eab4
mov ecx, 0x951464
mov dword [eax], ebx
mov dword [eax + 4], 0x8000000
call fcn.004cc2ac
test eax, eax
jns 0x4c8b30
mov eax, ebx
jmp 0x4c8b3b
push eax
mov ecx, 0x951470
call fcn.004cc42e
push 1
push 0x94eb10
mov ecx, 0x951464
mov dword [eax], 0x20000
mov dword [eax + 4], ebx
call fcn.004cc2ac
test eax, eax
jns 0x4c8b5d
mov eax, ebx
jmp 0x4c8b68
push eax
mov ecx, 0x951470
call fcn.004cc42e
push 1
push 0x94eb14
mov ecx, 0x951464
mov dword [eax], ebx
mov dword [eax + 4], 0x40000000
call fcn.004cc2ac
test eax, eax
jns 0x4c8b8a
mov eax, ebx
jmp 0x4c8b95
push eax
mov ecx, 0x951470
call fcn.004cc42e
push 1
push 0x94eb68
mov ecx, 0x951464
mov dword [eax], ebx
mov dword [eax + 4], 0x20000000
call fcn.004cc2ac
test eax, eax
jns 0x4c8bb7
mov eax, ebx
jmp 0x4c8bc2
push eax
mov ecx, 0x951470
call fcn.004cc42e
push 1
push 0x94eb6c
mov ecx, 0x951464
mov dword [eax], 0x20000000
mov dword [eax + 4], ebx
call fcn.004cc2ac
test eax, eax
jns 0x4c8be4
mov eax, ebx
jmp 0x4c8bef
push eax
mov ecx, 0x951470
call fcn.004cc42e
push 1
push 0x94eb2c
mov ecx, 0x951464
mov dword [eax], 0x10000000
mov dword [eax + 4], ebx
call fcn.004cc2ac
test eax, eax
jns 0x4c8c11
mov eax, ebx
jmp 0x4c8c1c
push eax
mov ecx, 0x951470
call fcn.004cc42e
push 1
push 0x94eb30
mov ecx, 0x951464
mov dword [eax], 0x100000
mov dword [eax + 4], ebx
call fcn.004cc2ac
test eax, eax
jns 0x4c8c3e
mov eax, ebx
jmp 0x4c8c49
push eax
mov ecx, 0x951470
call fcn.004cc42e
push 1
push 0x94eb34
mov ecx, 0x951464
mov dword [eax], 0x200000
mov dword [eax + 4], ebx
call fcn.004cc2ac
test eax, eax
jns 0x4c8c6b
mov eax, ebx
jmp 0x4c8c76
push eax
mov ecx, 0x951470
call fcn.004cc42e
push 1
push 0x94eb38
mov ecx, 0x951464
mov dword [eax], 0x400000
mov dword [eax + 4], ebx
call fcn.004cc2ac
test eax, eax
jns 0x4c8c98
mov eax, ebx
jmp 0x4c8ca3
push eax
mov ecx, 0x951470
call fcn.004cc42e
push 1
push 0x94eb3c
mov ecx, 0x951464
mov dword [eax], 0x800000
mov dword [eax + 4], ebx
call fcn.004cc2ac
test eax, eax
jns 0x4c8cc5
mov eax, ebx
jmp 0x4c8cd0
push eax
mov ecx, 0x951470
call fcn.004cc42e
push 1
push 0x94eb40
mov ecx, 0x951464
mov dword [eax], 0x1000000
mov dword [eax + 4], ebx
call fcn.004cc2ac
test eax, eax
jns 0x4c8cf2
mov eax, ebx
jmp 0x4c8cfd
push eax
mov ecx, 0x951470
call fcn.004cc42e
push 1
push 0x94eb44
mov ecx, 0x951464
mov dword [eax], 0x2000000
mov dword [eax + 4], ebx
call fcn.004cc2ac
test eax, eax
jns 0x4c8d1f
mov eax, ebx
jmp 0x4c8d2a
push eax
mov ecx, 0x951470
call fcn.004cc42e
push 1
push 0x94eb48
mov ecx, 0x951464
mov dword [eax], ebx
mov dword [eax + 4], 0x4000000
call fcn.004cc2ac
test eax, eax
jns 0x4c8d4c
mov eax, ebx
jmp 0x4c8d57
push eax
mov ecx, 0x951470
call fcn.004cc42e
push 1
push 0x94eb88
mov ecx, 0x951464
mov dword [eax], ebx
mov dword [eax + 4], 0x2000000
call fcn.004cc2ac
test eax, eax
jns 0x4c8d79
mov eax, ebx
jmp 0x4c8d84
push eax
mov ecx, 0x951470
call fcn.004cc42e
mov dword [eax], 0x40000000
mov dword [eax + 4], ebx
push esi
push edi
mov ecx, 0x951464
call fcn.004cc0ec
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret