Function at 0x41a090
Capabilities:
Inspect section memory permissions

Disassembly:
push edi
push esi
push ebx
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x10]
lea ebx, [eax + 0x20000]
add eax, 1
mov esi, dword [edi + 4]
cmovns ebx, eax
cdq
shr edx, 0xf
sar ebx, 0x11
add eax, edx
and eax, 0x1ffff
sub eax, edx
cdq
shr edx, 0x1b
lea ecx, [eax + edx]
and ecx, 0x1f
sub ecx, edx
mov edx, 1
shl edx, cl
lea ecx, [eax + 0x1f]
sub edx, 1
test eax, eax
cmovs eax, ecx
sar eax, 5
cmp ebx, esi
jge 0x41a110
mov edi, dword [edi]
mov ecx, dword [edi + ebx*4]
test ecx, ecx
je 0x41a0fb
not edx
and edx, dword [ecx + eax*4]
jne 0x41a120
add eax, 1
xor edx, edx
cmp eax, 0x1000
jne 0x41a0e8
add ebx, 1
xor edx, edx
xor eax, eax
cmp ebx, esi
jne 0x41a0e1
lea esi, [esi]
lea edi, [edi]
mov eax, 0xffffffff
pop ebx
pop esi
pop edi
ret
mov ecx, edx
neg ecx
and edx, ecx
cmp edx, 0x8000
je 0x41a490
jbe 0x41a190
cmp edx, 0x800000
je 0x41a4a0
jbe 0x41a1e0
cmp edx, 0x8000000
je 0x41a4b0
jbe 0x41a272
cmp edx, 0x20000000
je 0x41a410
jbe 0x41a3f0
cmp edx, 0x40000000
je 0x41a3e0
cmp edx, 0x80000000
jne 0x41a110
shl ebx, 0xc
add eax, ebx
shl eax, 5
add eax, 0x1f
jmp 0x41a115
cmp edx, 0x80
je 0x41a4c0
ja 0x41a230
cmp edx, 8
je 0x41a380
ja 0x41a314
cmp edx, 2
je 0x41a420
cmp edx, 4
je 0x41a3b0
cmp edx, 1
jne 0x41a110
shl ebx, 0xc
add eax, ebx
shl eax, 5
jmp 0x41a115
cmp edx, 0x80000
je 0x41a370
ja 0x41a2e0
cmp edx, 0x20000
je 0x41a430
cmp edx, 0x40000
je 0x41a3a0
cmp edx, 0x10000
jne 0x41a110
shl ebx, 0xc
add eax, ebx
shl eax, 5
add eax, 0x10
jmp 0x41a115
cmp edx, 0x800
je 0x41a360
ja 0x41a2b0
cmp edx, 0x200
je 0x41a480
cmp edx, 0x400
je 0x41a390
cmp edx, 0x100
jne 0x41a110
shl ebx, 0xc
add eax, ebx
shl eax, 5
add eax, 8
jmp 0x41a115
cmp edx, 0x2000000
je 0x41a440
cmp edx, 0x4000000
je 0x41a350
cmp edx, 0x1000000
jne 0x41a110
shl ebx, 0xc
add eax, ebx
shl eax, 5
add eax, 0x18
jmp 0x41a115
cmp edx, 0x2000
je 0x41a470
cmp edx, 0x4000
je 0x41a340
cmp edx, 0x1000
jne 0x41a110
shl ebx, 0xc
add eax, ebx
shl eax, 5
add eax, 0xc
jmp 0x41a115
cmp edx, 0x200000
je 0x41a460
cmp edx, 0x400000
je 0x41a3d0
cmp edx, 0x100000
jne 0x41a110
shl ebx, 0xc
add eax, ebx
shl eax, 5
add eax, 0x14
jmp 0x41a115
cmp edx, 0x20
je 0x41a450
cmp edx, 0x40
je 0x41a3c0
cmp edx, 0x10
jne 0x41a110
shl ebx, 0xc
add eax, ebx
shl eax, 5
add eax, 4
jmp 0x41a115
shl ebx, 0xc
add eax, ebx
shl eax, 5
add eax, 0xe
jmp 0x41a115
shl ebx, 0xc
add eax, ebx
shl eax, 5
add eax, 0x1a
jmp 0x41a115
shl ebx, 0xc
add eax, ebx
shl eax, 5
add eax, 0xb
jmp 0x41a115
shl ebx, 0xc
add eax, ebx
shl eax, 5
add eax, 0x13
jmp 0x41a115
shl ebx, 0xc
add eax, ebx
shl eax, 5
add eax, 3
jmp 0x41a115
shl ebx, 0xc
add eax, ebx
shl eax, 5
add eax, 0xa
jmp 0x41a115
shl ebx, 0xc
add eax, ebx
shl eax, 5
add eax, 0x12
jmp 0x41a115
shl ebx, 0xc
add eax, ebx
shl eax, 5
add eax, 2
jmp 0x41a115
shl ebx, 0xc
add eax, ebx
shl eax, 5
add eax, 6
jmp 0x41a115
shl ebx, 0xc
add eax, ebx
shl eax, 5
add eax, 0x16
jmp 0x41a115
shl ebx, 0xc
add eax, ebx
shl eax, 5
add eax, 0x1e
jmp 0x41a115
cmp edx, 0x10000000
jne 0x41a110
shl ebx, 0xc
add eax, ebx
shl eax, 5
add eax, 0x1c
jmp 0x41a115
shl ebx, 0xc
add eax, ebx
shl eax, 5
add eax, 0x1d
jmp 0x41a115
shl ebx, 0xc
add eax, ebx
shl eax, 5
add eax, 1
jmp 0x41a115
shl ebx, 0xc
add eax, ebx
shl eax, 5
add eax, 0x11
jmp 0x41a115
shl ebx, 0xc
add eax, ebx
shl eax, 5
add eax, 0x19
jmp 0x41a115
shl ebx, 0xc
add eax, ebx
shl eax, 5
add eax, 5
jmp 0x41a115
shl ebx, 0xc
add eax, ebx
shl eax, 5
add eax, 0x15
jmp 0x41a115
shl ebx, 0xc
add eax, ebx
shl eax, 5
add eax, 0xd
jmp 0x41a115
shl ebx, 0xc
add eax, ebx
shl eax, 5
add eax, 9
jmp 0x41a115
shl ebx, 0xc
add eax, ebx
shl eax, 5
add eax, 0xf
jmp 0x41a115
shl ebx, 0xc
add eax, ebx
shl eax, 5
add eax, 0x17
jmp 0x41a115
shl ebx, 0xc
add eax, ebx
shl eax, 5
add eax, 0x1b
jmp 0x41a115
shl ebx, 0xc
add eax, ebx
shl eax, 5
add eax, 7
jmp 0x41a115