Function at 0x4edafb
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
test eax, eax
je 0x4eddd5
push ebx
push esi
push edi
mov edi, eax
cdq
xor edi, dword [ebp + 0xc]
mov ebx, eax
mov eax, dword [ebp + 0xc]
xor ebx, edx
sub ebx, edx
sar edi, 0x1f
cdq
mov esi, eax
mov dword [ebp - 4], edi
xor esi, edx
sub esi, edx
test ebx, ebx
je 0x4edb3a
bsr ecx, ebx
mov eax, ecx
mov dword [ebp + 8], ecx
xor eax, 0x1f
jmp 0x4edb3d
push 0x20
pop eax
lea edx, [eax - 1]
test esi, esi
je 0x4edb4f
bsr eax, esi
mov dword [ebp + 8], eax
xor eax, 0x1f
jmp 0x4edb52
push 0x20
pop eax
lea ecx, [eax - 1]
mov eax, ecx
sub eax, edx
add eax, dword [ebp + 0x10]
jns 0x4edb65
xor eax, eax
jmp 0x4eddd2
cmp eax, 0x1f
jle 0x4edb78
mov eax, edi
xor eax, 0x7fffffff
sub eax, edi
jmp 0x4eddd2
shl esi, cl
mov ecx, edx
shl ebx, cl
mov edx, ebx
sub edx, esi
mov edi, edx
not edx
cmovs edi, ebx
shr edx, 0x1f
test eax, eax
jle 0x4eddc0
mov ecx, eax
shl edx, cl
lea ecx, [eax - 2]
mov eax, edi
cmp ecx, 0x1d
ja case.default.0x4edba6
jmp dword [ecx*4 + 0x4edddb]
add edi, edi
mov eax, edi
sub eax, esi
js 0x4edbbd
or edx, 0x40000000
jmp case.0x4edba6.30
mov eax, edi
add eax, eax
mov ecx, eax
sub eax, esi
js 0x4edbcf
or edx, 0x20000000
jmp case.0x4edba6.29
mov eax, ecx
add eax, eax
mov ecx, eax
sub eax, esi
js 0x4edbe1
or edx, 0x10000000
jmp case.0x4edba6.28
mov eax, ecx
add eax, eax
mov ecx, eax
sub eax, esi
js 0x4edbf3
or edx, 0x8000000
jmp case.0x4edba6.27
mov eax, ecx
add eax, eax
mov ecx, eax
sub eax, esi
js 0x4edc05
or edx, 0x4000000
jmp case.0x4edba6.26
mov eax, ecx
add eax, eax
mov ecx, eax
sub eax, esi
js 0x4edc17
or edx, 0x2000000
jmp case.0x4edba6.25
mov eax, ecx
add eax, eax
mov ecx, eax
sub eax, esi
js 0x4edc29
or edx, 0x1000000
jmp case.0x4edba6.24
mov eax, ecx
add eax, eax
mov ecx, eax
sub eax, esi
js 0x4edc3b
or edx, 0x800000
jmp case.0x4edba6.23
mov eax, ecx
add eax, eax
mov ecx, eax
sub eax, esi
js 0x4edc4d
or edx, 0x400000
jmp case.0x4edba6.22
mov eax, ecx
add eax, eax
mov ecx, eax
sub eax, esi
js 0x4edc5f
or edx, 0x200000
jmp case.0x4edba6.21
mov eax, ecx
add eax, eax
mov ecx, eax
sub eax, esi
js 0x4edc71
or edx, 0x100000
jmp case.0x4edba6.20
mov eax, ecx
add eax, eax
mov ecx, eax
sub eax, esi
js 0x4edc83
or edx, 0x80000
jmp case.0x4edba6.19
mov eax, ecx
add eax, eax
mov ecx, eax
sub eax, esi
js 0x4edc95
or edx, 0x40000
jmp case.0x4edba6.18
mov eax, ecx
add eax, eax
mov ecx, eax
sub eax, esi
js 0x4edca7
or edx, 0x20000
jmp case.0x4edba6.17
mov eax, ecx
add eax, eax
mov ecx, eax
sub eax, esi
js 0x4edcb9
or edx, 0x10000
jmp case.0x4edba6.16
mov eax, ecx
add eax, eax
mov ecx, eax
sub eax, esi
js 0x4edccb
or edx, 0x8000
jmp case.0x4edba6.15
mov eax, ecx
add eax, eax
mov ecx, eax
sub eax, esi
js 0x4edcdd
or edx, 0x4000
jmp case.0x4edba6.14
mov eax, ecx
add eax, eax
mov ecx, eax
sub eax, esi
js 0x4edcef
or edx, 0x2000
jmp case.0x4edba6.13
mov eax, ecx
add eax, eax
mov ecx, eax
sub eax, esi
js 0x4edd01
or edx, 0x1000
jmp case.0x4edba6.12
mov eax, ecx
add eax, eax
mov ecx, eax
sub eax, esi
js 0x4edd13
or edx, 0x800
jmp case.0x4edba6.11
mov eax, ecx
add eax, eax
mov ecx, eax
sub eax, esi
js 0x4edd25
or edx, 0x400
jmp case.0x4edba6.10
mov eax, ecx
add eax, eax
mov ecx, eax
sub eax, esi
js 0x4edd37
or edx, 0x200
jmp case.0x4edba6.9
mov eax, ecx
add eax, eax
mov ecx, eax
sub eax, esi
js 0x4edd49
or edx, 0x100
jmp case.0x4edba6.8
mov eax, ecx
add eax, eax
mov ecx, eax
sub eax, esi
js 0x4edd5b
or edx, 0x80
jmp case.0x4edba6.7
mov eax, ecx
add eax, eax
mov ecx, eax
sub eax, esi
js 0x4edd6a
or edx, 0x40
jmp case.0x4edba6.6
mov eax, ecx
add eax, eax
mov ecx, eax
sub eax, esi
js 0x4edd79
or edx, 0x20
jmp case.0x4edba6.5
mov eax, ecx
add eax, eax
mov ecx, eax
sub eax, esi
js 0x4edd88
or edx, 0x10
jmp case.0x4edba6.4
mov eax, ecx
add eax, eax
mov ecx, eax
sub eax, esi
js 0x4edd97
or edx, 8
jmp case.0x4edba6.3
mov eax, ecx
add eax, eax
mov ecx, eax
sub eax, esi
js 0x4edda6
or edx, 4
jmp case.0x4edba6.2
mov eax, ecx
add eax, eax
mov ecx, eax
sub eax, esi
js 0x4eddb5
or edx, 2
jmp case.default.0x4edba6
mov eax, ecx
add eax, eax
sub eax, esi
js 0x4eddc0
or edx, 1
test edx, edx
mov eax, SysReAllocString
cmovs edx, eax
xor edx, dword [ebp - 4]
sub edx, dword [ebp - 4]
mov eax, edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret