Function at 0x10061a40
Capabilities:
Inspect section memory permissions

Disassembly:
push 0xffffffffffffffff
push 0x10145538
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
mov ebx, dword [esp + 0x2c]
push esi
push edi
mov esi, ecx
push 0
mov ecx, ebx
call fcn.100a8ef0
mov ecx, dword [esp + 0x38]
mov eax, ecx
shr eax, 0x18
and al, 1
test ecx, 0x2000000
mov byte [esp + 0xf], al
je 0x10061ac7
mov edi, dword [esi + 8]
mov eax, dword [edi + 0xc]
add edi, 0xc
cmp dword [eax], 1
jle 0x10061a96
mov ecx, edi
call fcn.100a8d20
mov ecx, dword [edi]
mov edi, dword [ecx + 0x10]
cmp edi, 0x20000089
jl 0x10061aaf
cmp edi, 0x20000092
jle 0x10061d4e
mov ecx, dword [0x103271bc]
push str.global
call fcn.1005f0e0
cmp edi, eax
je 0x10061d4e
mov edi, dword [esp + 0x30]
mov eax, dword [edi + 0x10]
cmp eax, 5
jne 0x10061d4e
cmp eax, 4
je 0x10061ae5
push 0xa
mov ecx, edi
call fcn.1009a0d0
mov eax, dword [edi + 0xc]
mov eax, dword [eax]
mov ecx, dword [0x103271bc]
add eax, 0xc
push eax
call fcn.1005f1d0
push eax
mov ecx, esi
mov dword [esp + 0x1c], eax
call fcn.10060c80
test eax, eax
je 0x10061bbf
lea ecx, [esp + 0x30]
call fcn.100a8cb0
mov edx, dword [esi]
mov edx, dword [edx + 0xc]
lea eax, [esp + 0x30]
push eax
push edi
mov ecx, esi
mov dword [esp + 0x30], 0
call edx
mov eax, dword [esp + 0x30]
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x10061bae
xor esi, esi
test ecx, ecx
jle 0x10061b80
mov edi, 0x10
cmp dword [eax], 1
jle 0x10061b55
lea ecx, [esp + 0x30]
call fcn.100a8d20
mov eax, dword [esp + 0x30]
mov eax, dword [edi + eax]
mov eax, dword [eax]
mov ecx, dword [0x103271bc]
add eax, 0xc
push eax
call fcn.1005f1d0
push eax
mov ecx, ebx
call fcn.100a9240
mov eax, dword [esp + 0x30]
add esi, 1
add edi, 4
cmp esi, dword [eax + 4]
jl 0x10061b43
lea ecx, [esp + 0x30]
call fcn.100b3a70
lea ecx, [esp + 0x30]
mov dword [esp + 0x28], 0xffffffff
call fcn.100a8ce0
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
lea ecx, [esp + 0x30]
mov dword [esp + 0x28], 0xffffffff
call fcn.100a8ce0
lea ecx, [esp + 0x10]
call fcn.100a8cb0
test esi, esi
mov dword [esp + 0x28], 1
je 0x10061be8
push esi
lea ecx, [esp + 0x14]
call fcn.100a9240
mov eax, dword [esi + 8]
mov esi, dword [eax + 0x14]
test esi, esi
jne 0x10061bd4
push ebp
lea ecx, [esp + 0x20]
call fcn.100a8cb0
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 4]
lea ebp, [eax - 1]
test ebp, ebp
mov byte [esp + 0x2c], 2
mov dword [esp + 0x18], ebp
jl 0x10061d2e
lea ecx, [ecx]
mov edx, dword [esp + 0x14]
cmp dword [edx], 1
jle 0x10061c22
lea ecx, [esp + 0x14]
call fcn.100a8d20
mov eax, dword [esp + 0x14]
mov edi, dword [eax + ebp*4 + 0x10]
mov eax, dword [edi + 8]
mov ecx, dword [eax + 0xc]
cmp dword [ecx + 4], 0
lea esi, [eax + 0xc]
je 0x10061d21
test ebp, ebp
je 0x10061c56
mov edx, ecx
cmp dword [edx], 1
jle 0x10061c4f
mov ecx, esi
call fcn.100a8d20
mov eax, dword [esi]
mov eax, dword [eax + 0x10]
jmp 0x10061c5a
mov eax, dword [esp + 0x1c]
push eax
mov ecx, edi
call fcn.10060c80
mov ebx, eax
test ebx, ebx
je 0x10061d21
mov eax, dword [ebx + 0x26]
xor edi, edi
cmp dword [eax + 4], edi
jle 0x10061d21
mov ebp, 0x10
nop
mov esi, dword [eax + ebp]
test dword [esi + 0xc], 0x800
je 0x10061c9b
mov esi, dword [esi + 4]
mov ecx, dword [esp + 0x38]
push esi
call fcn.100a9420
jmp 0x10061d0b
mov ecx, dword [esi + 4]
push ecx
mov ecx, dword [esp + 0x3c]
call fcn.100a8c30
test eax, eax
jge 0x10061d0b
mov ecx, dword [esi + 0xc]
mov eax, ecx
shr eax, 4
and al, 1
cmp al, byte [esp + 0x13]
jne 0x10061d0b
mov eax, dword [esp + 0x3c]
test eax, 0x10000000
jne 0x10061ccf
test ecx, 0x1000
jne 0x10061d0b
test eax, 0x8000000
jne 0x10061cdb
test cl, 2
jne 0x10061d0b
test cl, 0x20
je 0x10061ce6
test eax, eax
jns 0x10061d0b
jmp 0x10061cfe
test eax, 0x20000000
je 0x10061cf2
test cl, 1
je 0x10061cfe
test eax, 0x40000000
je 0x10061d0b
test cl, 1
je 0x10061d0b
mov esi, dword [esi + 4]
mov ecx, dword [esp + 0x38]
push esi
call fcn.100a9240
mov eax, dword [ebx + 0x26]
add edi, 1
add ebp, 4
cmp edi, dword [eax + 4]
jl 0x10061c80
mov ebp, dword [esp + 0x18]
sub ebp, 1
mov dword [esp + 0x18], ebp
jns 0x10061c10
lea ecx, [esp + 0x20]
mov byte [esp + 0x2c], 1
call fcn.100a8ce0
lea ecx, [esp + 0x14]
mov dword [esp + 0x2c], 0xffffffff
call fcn.100a8ce0
pop ebp
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc