Function at 0x5c01ddef
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x8c
push ebx
push esi
mov esi, ecx
push edi
test dword [esi + 0x1a6c], 0x40000
je 0x5c01de49
mov edi, dword [esi + 0x2834]
and dword [esi + 0x5c4], 0
jmp 0x5c01de45
test byte [edi + 0x90], 0x10
je 0x5c01de2d
mov ecx, edi
call fcn.5c0130e3
mov eax, dword [esi + 0x5c4]
mov dword [edi + 0xc8], eax
lea eax, [edi + 0x70]
mov dword [esi + 0x5c4], eax
mov edi, dword [edi + 4]
test edi, edi
jne 0x5c01de1d
mov edx, dword [esi + 0x1a64]
test edx, edx
jns 0x5c01de66
test byte [esi + 0x1a70], 0xc0
je 0x5c01de66
or dword [esi + 0x1a48], 0x400
test dl, 8
je 0x5c01de7e
test byte [esi + 0x1a70], 0x80
je 0x5c01de7e
or dword [esi + 0x1a48], 0x100
mov ecx, dword [esi + 0x1a6c]
test ecx, 0x80000
je 0x5c01def3
mov ebx, dword [esi + 0x1a60]
mov eax, dword [esi + 0x2998]
shr ebx, 1
and ebx, 7
add ebx, 0xfffffffe
mov edi, dword [eax + 0x25c]
cmp edi, ebx
jb 0x5c01deac
mov edi, ebx
and ecx, 0xfff7ffff
mov dword [esi + 0x1cb8], edi
mov eax, edx
mov dword [esi + 0x1a6c], ecx
and eax, 0x800000
mov ebx, ecx
test edi, edi
je 0x5c01dee3
test eax, eax
je 0x5c01def3
and edx, 0xff7ffbff
or ecx, 0x4000
mov dword [esi + 0x1a64], edx
jmp 0x5c01deed
test eax, eax
jne 0x5c01def3
or ecx, 0x400
mov dword [esi + 0x1a6c], ecx
test ecx, 0x8030f
je 0x5c01df08
mov ecx, esi
call fcn.5c01d6fd
mov ecx, dword [esi + 0x1a6c]
test ecx, 0x200000
je 0x5c01df82
test dword [esi + 0x1a48], 0x500
jne 0x5c01df28
test dword [esi + 0x1a64], 0x60000000
je 0x5c01df82
lea eax, [esi + 0x2338]
push eax
lea edx, [esi + 0x2378]
lea ecx, [esi + 0x448]
call fcn.5c01d903
xor ebx, ebx
pop ecx
cmp dword [esi + 0x1cb8], ebx
jbe 0x5c01df72
lea edi, [esi + 0x2c8]
lea eax, [esi + 0x2338]
mov ecx, edi
push eax
lea edx, [edi + 0x20f0]
call fcn.5c01d903
inc ebx
add edi, 0x40
pop ecx
cmp ebx, dword [esi + 0x1cb8]
jb 0x5c01df51
and dword [esi + 0x1a6c], 0xffdfffff
mov ecx, dword [esi + 0x1a6c]
mov edx, 0x400
mov eax, ecx
mov edi, 0x2000000
test edx, ecx
je 0x5c01dfdc
test dword [esi + 0x1a48], edx
je 0x5c01dfdc
mov edx, dword [esi + 0x1a64]
and edx, 0xff7fffff
cmp dword [esi + 0x1cb8], 0
mov dword [esi + 0x1a64], edx
jne 0x5c01dfcc
test edi, edx
jne 0x5c01dfcc
lea ecx, [esi + 4]
call fcn.5c01d482
mov eax, dword [esi + 0x1a6c]
and eax, 0xfffffbff
or eax, 0x4000
mov edx, 0x400
mov dword [esi + 0x1a6c], eax
test edi, eax
je 0x5c01e046
mov ecx, dword [esi + 0x1a64]
test dword [esi + 0x1a48], edx
je 0x5c01dff6
test ecx, 0x800000
je 0x5c01dffe
test ecx, 0x40000000
je 0x5c01e046
lea edx, [esi + 0x488]
lea ecx, [esi + 0x448]
call fcn.5c01a01b
xor edi, edi
cmp dword [esi + 0x1cb8], edi
jbe 0x5c01e036
lea ecx, [esi + 0x2c8]
lea edx, [ecx + 0xc0]
call fcn.5c01a01b
inc edi
add ecx, 0x40
cmp edi, dword [esi + 0x1cb8]
jb 0x5c01e01f
and dword [esi + 0x1a6c], 0xfdffffff
mov eax, dword [esi + 0x1a6c]
test eax, 0x10000
je 0x5c01e122
test eax, 0x20000000
je 0x5c01e0ab
lea ecx, [esi + 0x2478]
lea edx, [esp + 0x58]
call fcn.5c01a01b
test eax, eax
je 0x5c01e072
mov ecx, edx
call fcn.5c01d6c9
lea ecx, [esi + 0x2338]
lea edx, [esp + 0x18]
call fcn.5c01a01b
test eax, eax
je 0x5c01e08c
mov ecx, edx
call fcn.5c01d6c9
lea eax, [esp + 0x18]
push eax
lea ecx, [esi + 0x24f8]
lea edx, [esp + 0x5c]
call fcn.5c01d903
and dword [esi + 0x1a6c], 0xdfffffff
pop ecx
mov eax, dword [esi + 0x2998]
lea ebx, [esi + 0x25d8]
xor edx, edx
xor edi, edi
mov dword [esp + 0x10], edx
mov eax, dword [eax + 0x260]
mov dword [esp + 0x14], eax
lea eax, [esi + 0x1c54]
mov dword [esp + 0xc], eax
xor eax, eax
mov ecx, edi
inc eax
shl eax, cl
test dword [esp + 0x14], eax
je 0x5c01e102
push dword [esp + 0xc]
lea edx, [esi + 0x24f8]
mov ecx, ebx
call fcn.5c01e1bc
mov edx, dword [esp + 0x14]
add esp, 4
inc edx
add dword [esp + 0xc], 0x10
mov dword [esp + 0x10], edx
inc edi
add ebx, 0x10
cmp edi, 6
jb 0x5c01e0d3
mov eax, dword [esi + 0x1a6c]
and eax, 0xfffeffff
mov dword [esi + 0x1cbc], edx
mov dword [esi + 0x1a6c], eax
test eax, 0x4c000
je 0x5c01e13a
mov ecx, esi
call fcn.5c01e3a4
or dword [esi + 0x1a64], 0x40000
mov eax, dword [esi + 0x5e4]
mov dword [esi + 0x514], eax
mov eax, dword [esi + 0x5e8]
mov dword [esi + 0x5c0], eax
mov eax, dword [esi + 0x1a70]
test al, 0x40
jne 0x5c01e166
or dword [esi + 0x1a48], 0x80000000
test al, al
js 0x5c01e174
or dword [esi + 0x1a48], 0x100000
test byte [esi + 0x1a60], 0xd0
jne 0x5c01e190
cmp dword [esi + 0x1a88], 0
jne 0x5c01e190
or dword [esi + 0x1a48], 0x40000000
cmp dword [esi + 0x1a8c], 0
jne 0x5c01e1a3
or dword [esi + 0x1a48], 0x10000000
lea ecx, [esi + 4]
call fcn.5c01e983
and dword [esi + 0x1a6c], 0xfffff7ff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret