Function at 0x5c01dc5f
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 0x5c01dcb9
mov edi, dword [esi + 0x2834]
and dword [esi + 0x5c4], 0
jmp 0x5c01dcb5
test byte [edi + 0x90], 0x10
je 0x5c01dc9d
mov ecx, edi
call fcn.5c012f73
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 0x5c01dc8d
mov edx, dword [esi + 0x1a64]
test edx, edx
jns 0x5c01dcd6
test byte [esi + 0x1a70], 0xc0
je 0x5c01dcd6
or dword [esi + 0x1a48], 0x400
test dl, 8
je 0x5c01dcee
test byte [esi + 0x1a70], 0x80
je 0x5c01dcee
or dword [esi + 0x1a48], 0x100
mov ecx, dword [esi + 0x1a6c]
test ecx, 0x80000
je 0x5c01dd63
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 0x5c01dd1c
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 0x5c01dd53
test eax, eax
je 0x5c01dd63
and edx, 0xff7ffbff
or ecx, 0x4000
mov dword [esi + 0x1a64], edx
jmp 0x5c01dd5d
test eax, eax
jne 0x5c01dd63
or ecx, 0x400
mov dword [esi + 0x1a6c], ecx
test ecx, 0x8030f
je 0x5c01dd78
mov ecx, esi
call fcn.5c01d56d
mov ecx, dword [esi + 0x1a6c]
test ecx, 0x200000
je 0x5c01ddf2
test dword [esi + 0x1a48], 0x500
jne 0x5c01dd98
test dword [esi + 0x1a64], 0x60000000
je 0x5c01ddf2
lea eax, [esi + 0x2338]
push eax
lea edx, [esi + 0x2378]
lea ecx, [esi + 0x448]
call fcn.5c01d773
xor ebx, ebx
pop ecx
cmp dword [esi + 0x1cb8], ebx
jbe 0x5c01dde2
lea edi, [esi + 0x2c8]
lea eax, [esi + 0x2338]
mov ecx, edi
push eax
lea edx, [edi + 0x20f0]
call fcn.5c01d773
inc ebx
add edi, 0x40
pop ecx
cmp ebx, dword [esi + 0x1cb8]
jb 0x5c01ddc1
and dword [esi + 0x1a6c], 0xffdfffff
mov ecx, dword [esi + 0x1a6c]
mov edx, 0x400
mov eax, ecx
mov edi, 0x2000000
test edx, ecx
je 0x5c01de4c
test dword [esi + 0x1a48], edx
je 0x5c01de4c
mov edx, dword [esi + 0x1a64]
and edx, 0xff7fffff
cmp dword [esi + 0x1cb8], 0
mov dword [esi + 0x1a64], edx
jne 0x5c01de3c
test edi, edx
jne 0x5c01de3c
lea ecx, [esi + 4]
call fcn.5c01d2f2
mov eax, dword [esi + 0x1a6c]
and eax, 0xfffffbff
or eax, 0x4000
mov edx, 0x400
mov dword [esi + 0x1a6c], eax
test edi, eax
je 0x5c01deb8
test dword [esi + 0x1a48], edx
je 0x5c01de64
test dword [esi + 0x1a64], 0x800000
je 0x5c01de70
test dword [esi + 0x1a64], 0x40000000
je 0x5c01deb8
lea edx, [esi + 0x488]
lea ecx, [esi + 0x448]
call fcn.5c019e9d
xor edi, edi
cmp dword [esi + 0x1cb8], edi
jbe 0x5c01dea8
lea ecx, [esi + 0x2c8]
lea edx, [ecx + 0xc0]
call fcn.5c019e9d
inc edi
add ecx, 0x40
cmp edi, dword [esi + 0x1cb8]
jb 0x5c01de91
and dword [esi + 0x1a6c], 0xfdffffff
mov eax, dword [esi + 0x1a6c]
test eax, 0x10000
je 0x5c01df94
test eax, 0x20000000
je 0x5c01df1d
lea ecx, [esi + 0x2478]
lea edx, [esp + 0x58]
call fcn.5c019e9d
test eax, eax
je 0x5c01dee4
mov ecx, edx
call fcn.5c01d539
lea ecx, [esi + 0x2338]
lea edx, [esp + 0x18]
call fcn.5c019e9d
test eax, eax
je 0x5c01defe
mov ecx, edx
call fcn.5c01d539
lea eax, [esp + 0x18]
push eax
lea ecx, [esi + 0x24f8]
lea edx, [esp + 0x5c]
call fcn.5c01d773
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 0x5c01df74
push dword [esp + 0xc]
lea edx, [esi + 0x24f8]
mov ecx, ebx
call fcn.5c01e02e
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 0x5c01df45
mov eax, dword [esi + 0x1a6c]
and eax, 0xfffeffff
mov dword [esi + 0x1cbc], edx
mov dword [esi + 0x1a6c], eax
test eax, 0x4c000
je 0x5c01dfac
mov ecx, esi
call fcn.5c01e214
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 0x5c01dfd8
or dword [esi + 0x1a48], 0x80000000
test al, al
js 0x5c01dfe6
or dword [esi + 0x1a48], 0x100000
test byte [esi + 0x1a60], 0xd0
jne 0x5c01e002
cmp dword [esi + 0x1a88], 0
jne 0x5c01e002
or dword [esi + 0x1a48], 0x40000000
cmp dword [esi + 0x1a8c], 0
jne 0x5c01e015
or dword [esi + 0x1a48], 0x10000000
lea ecx, [esi + 4]
call fcn.5c01e7f3
and dword [esi + 0x1a6c], 0xfffff7ff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret