Function at 0x30c0e40
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
sub esp, 0x10
push ebx
mov ebx, dword [eax + 0x20]
push esi
push edi
push dword [eax + 0x14]
mov ecx, ebx
call fcn.0308d6e0
test eax, eax
jne 0x30c0e66
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea edx, [ebp - 0x10]
xor ecx, ecx
cmp edx, eax
je 0x30c0e71
mov ecx, dword [eax]
mov edx, dword [ebp + 8]
mov eax, 0x112c
cmp word [edx + 2], ax
jne 0x30c0e89
movzx eax, word [edx]
add eax, 2
add eax, edx
jmp 0x30c0e8e
mov eax, dword [edx + 8]
add eax, ecx
movzx ecx, word [edx]
lea esi, [edx + 2]
add esi, ecx
cmp esi, eax
jae 0x30c1268
mov edi, dword [ebp + 0xc]
mov edx, 0x1012
mov dword [ebp + 0x10], 0x115c
lea ecx, [ecx]
movzx ecx, word [esi + 2]
cmp cx, dx
je 0x30c0f29
cmp cx, word [ebp + 0x10]
jne 0x30c0f14
mov ecx, dword [esi + 4]
mov dword [edi + 0x17c], ecx
or dword [edi + 0x298], 0x100000
mov ecx, dword [esi + 8]
mov dword [edi + 0x188], ecx
mov ecx, dword [esi + 0xc]
mov dword [edi + 0x18c], ecx
or dword [edi + 0x298], 0x400000
mov ecx, dword [esi + 0x10]
mov dword [edi + 0x190], ecx
or dword [edi + 0x298], 0x800000
mov ecx, dword [esi + 0x14]
mov dword [edi + 0x194], ecx
or dword [edi + 0x298], 0x1000000
movzx ecx, word [esi]
add esi, 2
add esi, ecx
cmp esi, eax
jb 0x30c0eb0
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x1a]
shl eax, 0x16
xor eax, dword [edi + 0x174]
and eax, 0x400000
xor dword [edi + 0x174], eax
or dword [edi + 0x290], 0x1000000
mov eax, dword [esi + 0x1a]
shl eax, 0x16
xor eax, dword [edi + 0x174]
and eax, 0x800000
xor dword [edi + 0x174], eax
or dword [edi + 0x290], 0x2000000
mov eax, dword [esi + 0x1a]
shl eax, 0x16
xor eax, dword [edi + 0x174]
and eax, 0x1000000
xor dword [edi + 0x174], eax
or dword [edi + 0x290], 0x4000000
mov eax, dword [esi + 0x1a]
shl eax, 0x16
xor eax, dword [edi + 0x174]
and eax, 0x2000000
xor dword [edi + 0x174], eax
or dword [edi + 0x290], 0x8000000
mov eax, dword [esi + 0x1a]
shl eax, 0x16
xor eax, dword [edi + 0x174]
and eax, 0x4000000
xor dword [edi + 0x174], eax
or dword [edi + 0x290], 0x10000000
mov eax, dword [esi + 0x1a]
shl eax, 0x15
xor eax, dword [edi + 0x174]
and eax, 0x8000000
xor dword [edi + 0x174], eax
or dword [edi + 0x290], 0x20000000
mov eax, dword [esi + 0x1a]
shl eax, 0x13
xor eax, dword [edi + 0x174]
and eax, 0x10000000
xor dword [edi + 0x174], eax
or dword [edi + 0x290], 0x40000000
mov eax, dword [esi + 0x1a]
shl eax, 0x16
xor eax, dword [edi + 0x174]
and eax, 0x20000000
xor dword [edi + 0x174], eax
or dword [edi + 0x290], 0x80000000
mov eax, dword [esi + 0x1a]
shr eax, 2
xor eax, dword [edi + 0x178]
and eax, 8
xor dword [edi + 0x178], eax
or dword [edi + 0x294], 0x40
mov eax, dword [esi + 0x1a]
shr eax, 8
xor eax, dword [edi + 0x178]
and eax, 4
xor dword [edi + 0x178], eax
or dword [edi + 0x294], 0x20
mov eax, dword [esi + 0x1a]
shl eax, 0xc
xor eax, dword [edi + 0x174]
and eax, 0x100000
xor dword [edi + 0x174], eax
or dword [edi + 0x290], 0x200000
mov eax, dword [esi + 0x1a]
shl eax, 8
xor eax, dword [edi + 0x174]
and eax, 0x200000
xor dword [edi + 0x174], eax
or dword [edi + 0x290], 0x400000
mov eax, dword [esi + 0x1a]
shl eax, 0x13
xor eax, dword [edi + 0x174]
and eax, 0x40000000
xor dword [edi + 0x174], eax
or dword [edi + 0x294], 1
mov ecx, dword [esi + 0x1a]
shl ecx, 0x13
xor ecx, dword [edi + 0x174]
mov eax, dword [esi + 0x1a]
shl eax, 0x13
and ecx, 0x7fffffff
xor ecx, eax
mov dword [edi + 0x174], ecx
or dword [edi + 0x294], 2
mov eax, dword [esi + 0x1a]
add eax, eax
xor eax, dword [edi + 0x178]
and eax, 0x80000
xor dword [edi + 0x178], eax
or dword [edi + 0x298], 0x2000000
mov eax, dword [esi + 0x1a]
shl eax, 5
xor eax, dword [edi + 0x178]
and eax, 0x1000000
xor dword [edi + 0x178], eax
or dword [edi + 0x298], 0x40000
mov eax, dword [esi + 0x1a]
shl eax, 5
xor eax, dword [edi + 0x178]
and eax, 0x2000000
xor dword [edi + 0x178], eax
or dword [edi + 0x298], 0x80000
test dword [esi + 0x1a], 0x40000
je 0x30c11c1
test dword [edi + 0x298], 0x100000
jne 0x30c11c1
mov dword [edi + 0x17c], 0
or dword [edi + 0x298], 0x100000
mov dword [edi + 0x188], 0
mov dword [edi + 0x18c], 0
or dword [edi + 0x298], 0x400000
mov dword [edi + 0x190], 0
or dword [edi + 0x298], 0x800000
mov dword [edi + 0x194], 0
or dword [edi + 0x298], 0x1000000
mov eax, dword [ebx]
lea ecx, [ebp + 0x10]
mov eax, dword [eax + 0x8c]
push ecx
mov ecx, ebx
call eax
test al, al
je 0x30c1268
mov eax, dword [ebp + 0x10]
cmp eax, 0x14c
jne 0x30c11ea
mov ebx, 7
jmp 0x30c1212
cmp eax, 0x8664
jne 0x30c11f8
mov ebx, 0xd0
jmp 0x30c1212
cmp eax, 0xaa64
jne 0x30c1206
mov ebx, 0xf6
jmp 0x30c1212
cmp eax, 0x1c4
jne 0x30c1268
mov ebx, 0xf4
movzx eax, word [esi + 0x1c]
and eax, 3
push eax
push ebx
call fcn.030bb110
movzx eax, ax
add esp, 8
test ax, ax
je 0x30c123c
mov word [edi + 0x234], ax
or dword [edi + 0x294], 0x40000
mov eax, dword [esi + 0x1a]
shr eax, 0xe
and eax, 3
push eax
push ebx
call fcn.030bb110
movzx eax, ax
add esp, 8
test ax, ax
je 0x30c1268
mov word [edi + 0x236], ax
or dword [edi + 0x294], 0x80000
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret