Function at 0x1005ec00
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx + 0x10]
test eax, 0x2000
je 0x1005ec27
mov eax, dword [ebp + 8]
add eax, 0x580
push eax
push dword [ebp + 0x10]
call fcn.1005f2c0
pop ebx
pop ebp
ret 0xc
mov edx, dword [ebp + 0x10]
push esi
push edi
test eax, 0x10000000
je 0x1005ec6f
mov eax, dword [ebx + 4]
mov esi, dword [ebp + 8]
cmp eax, 6
jne 0x1005ec46
add esi, 0x1c0
jmp 0x1005ec66
cmp eax, 4
jne 0x1005ec53
add esi, 0x184
jmp 0x1005ec66
cmp eax, 3
jne 0x1005ec60
add esi, 0x148
jmp 0x1005ec66
add esi, 0x10c
mov ecx, 0xf
mov edi, edx
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebx + 0x10]
test eax, 0x20000
jne 0x1005ec7d
test al, 2
je 0x1005ecd0
mov esi, dword [ebp + 8]
cmp dword [esi + 0xc], 3
jge 0x1005ec97
lea eax, [esi + 0x1fc]
push eax
push edx
call fcn.1005f2c0
mov edx, eax
jmp 0x1005ecd3
mov eax, dword [ebx + 4]
mov ecx, 0xf
mov edi, edx
cmp eax, 6
jne 0x1005ecae
add esi, 0x1c0
jmp 0x1005ecce
cmp eax, 4
jne 0x1005ecbb
add esi, 0x184
jmp 0x1005ecce
cmp eax, 3
jne 0x1005ecc8
add esi, 0x148
jmp 0x1005ecce
add esi, 0x10c
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp + 8]
test byte [ebx + 0x10], 8
je 0x1005ece8
lea eax, [esi + 0x238]
push eax
push edx
call fcn.1005f2c0
mov edx, eax
test dword [ebx + 0x10], 0x20000000
je 0x1005ecfd
lea eax, [esi + 0x1c]
push eax
push edx
call fcn.1005f2c0
mov edx, eax
test byte [ebx + 0x10], 0x80
je 0x1005ed0f
lea eax, [esi + 0x58]
push eax
push edx
call fcn.1005f2c0
mov edx, eax
test byte [ebx + 0x10], 0x10
je 0x1005ed24
lea eax, [esi + 0x418]
push eax
push edx
call fcn.1005f2c0
mov edx, eax
test dword [ebx + 0x10], 0x1000
je 0x1005ed3c
lea eax, [esi + 0x364]
push eax
push edx
call fcn.1005f2c0
mov edx, eax
test dword [ebx + 0x10], 0x1400100
je 0x1005ed51
lea eax, [esi + 0x1c]
push eax
push edx
call fcn.1005f2c0
mov edx, eax
mov eax, dword [ebx + 0x10]
test eax, 0x10000
jne 0x1005ed5f
test al, 0x20
je 0x1005ed6e
lea eax, [esi + 0x580]
push eax
push edx
call fcn.1005f2c0
mov edx, eax
test byte [ebx + 0x10], 4
je 0x1005ed83
lea eax, [esi + 0x94]
push eax
push edx
call fcn.1005f2c0
mov edx, eax
test dword [ebx + 0x10], 0x4000000
je 0x1005ed9b
lea eax, [esi + 0x2ec]
push eax
push edx
call fcn.1005f2c0
mov edx, eax
test dword [ebx + 0x10], 0x200
je 0x1005edb3
lea eax, [esi + 0x490]
push eax
push edx
call fcn.1005f2c0
mov edx, eax
test dword [ebx + 0x10], 0x8000000
je 0x1005edcb
lea eax, [esi + 0x4cc]
push eax
push edx
call fcn.1005f2c0
mov edx, eax
test dword [ebx + 0x10], 0x800000
je 0x1005ede3
lea eax, [esi + 0x274]
push eax
push edx
call fcn.1005f2c0
mov edx, eax
test byte [ebx + 0x10], 0x40
je 0x1005edf8
lea eax, [esi + 0x2b0]
push eax
push edx
call fcn.1005f2c0
mov edx, eax
test dword [ebx + 0x10], 0x40000000
je 0x1005ee10
lea eax, [esi + 0x328]
push eax
push edx
call fcn.1005f2c0
mov edx, eax
test dword [ebx + 0x10], 0x2000000
je 0x1005ee28
lea eax, [esi + 0xd0]
push eax
push edx
call fcn.1005f2c0
mov edx, eax
test dword [ebx + 0x10], 0x4000
je 0x1005ee59
lea eax, [esi + 0x3a0]
push eax
push edx
call fcn.1005f2c0
cmp dword [ebx + 8], 0xec
mov edx, eax
jne 0x1005ee59
cmp dword [ebx + 0x20], 0x280
jne 0x1005ee59
mov dword [edx + 4], 0x40
test dword [ebx + 0x18], 0x4000000
je 0x1005ee71
lea eax, [esi + 0x5bc]
push eax
push edx
call fcn.1005f2c0
mov edx, eax
mov eax, dword [ebx + 0x18]
test eax, 0x400000
je 0x1005eed0
cmp byte [ebx + 0x104], 0
jne 0x1005eed0
cmp byte [ebx + 0x105], 0
jne 0x1005eed0
test eax, 0x208000
je 0x1005eed0
cmp dword [ebx + 4], 6
jne 0x1005eed0
add esi, 0x1c0
mov ecx, 0xf
mov edi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x584]
mov dword [edx + 4], eax
mov eax, dword [ecx + 0x58c]
mov dword [edx + 0xc], eax
mov eax, dword [ecx + 0x58c]
mov dword [edx + 8], eax
mov eax, dword [ecx + 0x590]
mov dword [edx + 0x10], eax
pop edi
pop esi
pop ebx
pop ebp
ret 0xc