Function at 0x484962
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
push ecx
mov edx, dword [ebp + 8]
test edx, edx
jne 0x484974
xor eax, eax
jmp 0x484bfb
push ebx
push edi
mov edi, dword [ebp + 0xc]
mov ebx, edx
xor ebx, edi
sar ebx, 0x1f
test edx, edx
jns 0x484986
neg edx
test edi, edi
jns 0x48498c
neg edi
test edx, edx
je 0x48499b
bsr eax, edx
mov dword [ebp + 8], eax
xor eax, 0x1f
jmp 0x48499e
push 0x20
pop eax
lea ecx, [eax - 1]
mov dword [ebp - 4], ecx
test edi, edi
je 0x4849b3
bsr eax, edi
mov dword [ebp + 8], eax
xor eax, 0x1f
jmp 0x4849b6
push 0x20
pop eax
push esi
lea esi, [eax - 1]
mov eax, esi
sub eax, ecx
add eax, dword [ebp + 0x10]
jns 0x4849ca
xor eax, eax
jmp 0x484bf8
cmp eax, 0x1f
jle 0x4849dd
mov eax, ebx
xor eax, 0x7fffffff
sub eax, ebx
jmp 0x484bf8
mov ecx, esi
xor esi, esi
shl edi, cl
mov ecx, dword [ebp - 4]
shl edx, cl
sub edx, edi
js 0x4849ef
inc esi
jmp 0x4849f1
add edx, edi
test eax, eax
jle 0x484be8
mov ecx, eax
add eax, 0xfffffffe
shl esi, cl
cmp eax, 0x1d
ja case.default.0x484a09
jmp dword [eax*4 + 0x484c02]
add edx, edx
sub edx, edi
js 0x484a1e
or esi, 0x40000000
jmp case.0x484a09.30
add edx, edi
add edx, edx
sub edx, edi
js 0x484a2e
or esi, 0x20000000
jmp case.0x484a09.29
add edx, edi
add edx, edx
sub edx, edi
js 0x484a3e
or esi, 0x10000000
jmp case.0x484a09.28
add edx, edi
add edx, edx
sub edx, edi
js 0x484a4e
or esi, 0x8000000
jmp case.0x484a09.27
add edx, edi
add edx, edx
sub edx, edi
js 0x484a5e
or esi, 0x4000000
jmp case.0x484a09.26
add edx, edi
add edx, edx
sub edx, edi
js 0x484a6e
or esi, 0x2000000
jmp case.0x484a09.25
add edx, edi
add edx, edx
sub edx, edi
js 0x484a7e
or esi, 0x1000000
jmp case.0x484a09.24
add edx, edi
add edx, edx
sub edx, edi
js 0x484a8e
or esi, 0x800000
jmp case.0x484a09.23
add edx, edi
add edx, edx
sub edx, edi
js 0x484a9e
or esi, 0x400000
jmp case.0x484a09.22
add edx, edi
add edx, edx
sub edx, edi
js 0x484aae
or esi, 0x200000
jmp case.0x484a09.21
add edx, edi
add edx, edx
sub edx, edi
js 0x484abe
or esi, 0x100000
jmp case.0x484a09.20
add edx, edi
add edx, edx
sub edx, edi
js 0x484ace
or esi, 0x80000
jmp case.0x484a09.19
add edx, edi
add edx, edx
sub edx, edi
js 0x484ade
or esi, 0x40000
jmp case.0x484a09.18
add edx, edi
add edx, edx
sub edx, edi
js 0x484aee
or esi, 0x20000
jmp case.0x484a09.17
add edx, edi
add edx, edx
sub edx, edi
js 0x484afe
or esi, 0x10000
jmp case.0x484a09.16
add edx, edi
add edx, edx
sub edx, edi
js 0x484b0e
or esi, 0x8000
jmp case.0x484a09.15
add edx, edi
add edx, edx
sub edx, edi
js 0x484b1e
or esi, 0x4000
jmp case.0x484a09.14
add edx, edi
add edx, edx
sub edx, edi
js 0x484b2e
or esi, 0x2000
jmp case.0x484a09.13
add edx, edi
add edx, edx
sub edx, edi
js 0x484b3e
or esi, 0x1000
jmp case.0x484a09.12
add edx, edi
add edx, edx
sub edx, edi
js 0x484b4e
or esi, 0x800
jmp case.0x484a09.11
add edx, edi
add edx, edx
sub edx, edi
js 0x484b5e
or esi, 0x400
jmp case.0x484a09.10
add edx, edi
add edx, edx
sub edx, edi
js 0x484b6e
or esi, 0x200
jmp case.0x484a09.9
add edx, edi
add edx, edx
sub edx, edi
js 0x484b7e
or esi, 0x100
jmp case.0x484a09.8
add edx, edi
add edx, edx
sub edx, edi
js 0x484b8e
or esi, 0x80
jmp case.0x484a09.7
add edx, edi
add edx, edx
sub edx, edi
js 0x484b9b
or esi, 0x40
jmp case.0x484a09.6
add edx, edi
add edx, edx
sub edx, edi
js 0x484ba8
or esi, 0x20
jmp case.0x484a09.5
add edx, edi
add edx, edx
sub edx, edi
js 0x484bb5
or esi, 0x10
jmp case.0x484a09.4
add edx, edi
add edx, edx
sub edx, edi
js 0x484bc2
or esi, 8
jmp case.0x484a09.3
add edx, edi
add edx, edx
sub edx, edi
js 0x484bcf
or esi, 4
jmp case.0x484a09.2
add edx, edi
add edx, edx
sub edx, edi
js 0x484bdc
or esi, 2
jmp case.default.0x484a09
add edx, edi
lea eax, [edx + edx]
sub eax, edi
js 0x484be8
or esi, 1
test esi, esi
mov eax, SysReAllocString
cmovs esi, eax
xor esi, ebx
sub esi, ebx
mov eax, esi
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret