Function at 0x4826f0
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
test ecx, ecx
je 0x4829bc
mov eax, ecx
mov edi, ecx
sar eax, 0x1f
xor edi, edx
mov ebx, eax
sar edi, 0x1f
xor ebx, ecx
mov dword [ebp - 8], edi
sub ebx, eax
mov eax, edx
sar eax, 0x1f
mov ecx, ebx
mov esi, eax
xor esi, edx
sub esi, eax
call fcn.00482690
dec eax
mov ecx, esi
mov dword [ebp - 4], eax
call fcn.00482690
mov edx, dword [ebp - 4]
lea ecx, [eax - 1]
mov eax, ecx
sub eax, edx
add eax, 0x10
js 0x4829bc
cmp eax, 0x1f
jle 0x48275b
mov eax, edi
xor eax, 0x7fffffff
sub eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
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 0x4829a3
mov ecx, eax
shl edx, cl
lea ecx, [eax - 2]
mov eax, edi
cmp ecx, 0x1d
ja case.default.0x482789
jmp dword [ecx*4 + 0x4829c8]
add edi, edi
mov eax, edi
sub eax, esi
js 0x4827a0
or edx, 0x40000000
jmp case.0x482789.30
mov eax, edi
add eax, eax
mov ecx, eax
sub eax, esi
js 0x4827b2
or edx, 0x20000000
jmp case.0x482789.29
mov eax, ecx
add eax, eax
mov ecx, eax
sub eax, esi
js 0x4827c4
or edx, 0x10000000
jmp case.0x482789.28
mov eax, ecx
add eax, eax
mov ecx, eax
sub eax, esi
js 0x4827d6
or edx, 0x8000000
jmp case.0x482789.27
mov eax, ecx
add eax, eax
mov ecx, eax
sub eax, esi
js 0x4827e8
or edx, 0x4000000
jmp case.0x482789.26
mov eax, ecx
add eax, eax
mov ecx, eax
sub eax, esi
js 0x4827fa
or edx, 0x2000000
jmp case.0x482789.25
mov eax, ecx
add eax, eax
mov ecx, eax
sub eax, esi
js 0x48280c
or edx, 0x1000000
jmp case.0x482789.24
mov eax, ecx
add eax, eax
mov ecx, eax
sub eax, esi
js 0x48281e
or edx, 0x800000
jmp case.0x482789.23
mov eax, ecx
add eax, eax
mov ecx, eax
sub eax, esi
js 0x482830
or edx, 0x400000
jmp case.0x482789.22
mov eax, ecx
add eax, eax
mov ecx, eax
sub eax, esi
js 0x482842
or edx, 0x200000
jmp case.0x482789.21
mov eax, ecx
add eax, eax
mov ecx, eax
sub eax, esi
js 0x482854
or edx, 0x100000
jmp case.0x482789.20
mov eax, ecx
add eax, eax
mov ecx, eax
sub eax, esi
js 0x482866
or edx, 0x80000
jmp case.0x482789.19
mov eax, ecx
add eax, eax
mov ecx, eax
sub eax, esi
js 0x482878
or edx, 0x40000
jmp case.0x482789.18
mov eax, ecx
add eax, eax
mov ecx, eax
sub eax, esi
js 0x48288a
or edx, 0x20000
jmp case.0x482789.17
mov eax, ecx
add eax, eax
mov ecx, eax
sub eax, esi
js 0x48289c
or edx, 0x10000
jmp case.0x482789.16
mov eax, ecx
add eax, eax
mov ecx, eax
sub eax, esi
js 0x4828ae
or edx, 0x8000
jmp case.0x482789.15
mov eax, ecx
add eax, eax
mov ecx, eax
sub eax, esi
js 0x4828c0
or edx, 0x4000
jmp case.0x482789.14
mov eax, ecx
add eax, eax
mov ecx, eax
sub eax, esi
js 0x4828d2
or edx, 0x2000
jmp case.0x482789.13
mov eax, ecx
add eax, eax
mov ecx, eax
sub eax, esi
js 0x4828e4
or edx, 0x1000
jmp case.0x482789.12
mov eax, ecx
add eax, eax
mov ecx, eax
sub eax, esi
js 0x4828f6
or edx, 0x800
jmp case.0x482789.11
mov eax, ecx
add eax, eax
mov ecx, eax
sub eax, esi
js 0x482908
or edx, 0x400
jmp case.0x482789.10
mov eax, ecx
add eax, eax
mov ecx, eax
sub eax, esi
js 0x48291a
or edx, 0x200
jmp case.0x482789.9
mov eax, ecx
add eax, eax
mov ecx, eax
sub eax, esi
js 0x48292c
or edx, 0x100
jmp case.0x482789.8
mov eax, ecx
add eax, eax
mov ecx, eax
sub eax, esi
js 0x48293e
or edx, 0x80
jmp case.0x482789.7
mov eax, ecx
add eax, eax
mov ecx, eax
sub eax, esi
js 0x48294d
or edx, 0x40
jmp case.0x482789.6
mov eax, ecx
add eax, eax
mov ecx, eax
sub eax, esi
js 0x48295c
or edx, 0x20
jmp case.0x482789.5
mov eax, ecx
add eax, eax
mov ecx, eax
sub eax, esi
js 0x48296b
or edx, 0x10
jmp case.0x482789.4
mov eax, ecx
add eax, eax
mov ecx, eax
sub eax, esi
js 0x48297a
or edx, 8
jmp case.0x482789.3
mov eax, ecx
add eax, eax
mov ecx, eax
sub eax, esi
js 0x482989
or edx, 4
jmp case.0x482789.2
mov eax, ecx
add eax, eax
mov ecx, eax
sub eax, esi
js 0x482998
or edx, 2
jmp case.default.0x482789
mov eax, ecx
add eax, eax
sub eax, esi
js 0x4829a3
or edx, 1
test edx, edx
mov eax, SysReAllocString
pop edi
cmovs edx, eax
xor edx, dword [ebp - 8]
sub edx, dword [ebp - 8]
pop esi
mov eax, edx
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret