Function at 0x100d55c0
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
push esi
mov esi, edx
push edi
test ecx, ecx
je 0x100d588b
mov eax, ecx
mov ebp, ecx
cdq
xor ebp, esi
mov edi, eax
sar ebp, 0x1f
xor edi, edx
mov eax, esi
sub edi, edx
cdq
mov esi, eax
xor esi, edx
sub esi, edx
test edi, edi
je 0x100d55f2
bsr eax, edi
xor eax, 0x1f
jmp 0x100d55f7
mov eax, 0x20
lea edx, [eax - 1]
test esi, esi
je 0x100d5606
bsr eax, esi
xor eax, 0x1f
jmp 0x100d560b
mov eax, 0x20
lea ecx, [eax - 1]
mov eax, ecx
sub eax, edx
add eax, 0x10
js 0x100d588b
cmp eax, 0x1f
jle 0x100d562d
mov eax, ebp
pop edi
xor eax, 0x7fffffff
pop esi
sub eax, ebp
pop ebp
ret
shl esi, cl
mov ecx, edx
shl edi, cl
mov edx, edi
sub edx, esi
push ebx
mov ebx, edx
not edx
cmovs ebx, edi
shr edx, 0x1f
test eax, eax
jle 0x100d5876
mov ecx, eax
shl edx, cl
lea ecx, [eax - 2]
mov eax, ebx
cmp ecx, 0x1d
ja case.default.0x100d565c
jmp dword [ecx*4 + 0x100d5894]
add ebx, ebx
mov eax, ebx
sub eax, esi
js 0x100d5673
or edx, 0x40000000
jmp case.0x100d565c.30
mov eax, ebx
add eax, eax
mov ecx, eax
sub eax, esi
js 0x100d5685
or edx, 0x20000000
jmp case.0x100d565c.29
mov eax, ecx
add eax, eax
mov ecx, eax
sub eax, esi
js 0x100d5697
or edx, 0x10000000
jmp case.0x100d565c.28
mov eax, ecx
add eax, eax
mov ecx, eax
sub eax, esi
js 0x100d56a9
or edx, 0x8000000
jmp case.0x100d565c.27
mov eax, ecx
add eax, eax
mov ecx, eax
sub eax, esi
js 0x100d56bb
or edx, 0x4000000
jmp case.0x100d565c.26
mov eax, ecx
add eax, eax
mov ecx, eax
sub eax, esi
js 0x100d56cd
or edx, 0x2000000
jmp case.0x100d565c.25
mov eax, ecx
add eax, eax
mov ecx, eax
sub eax, esi
js 0x100d56df
or edx, 0x1000000
jmp case.0x100d565c.24
mov eax, ecx
add eax, eax
mov ecx, eax
sub eax, esi
js 0x100d56f1
or edx, 0x800000
jmp case.0x100d565c.23
mov eax, ecx
add eax, eax
mov ecx, eax
sub eax, esi
js 0x100d5703
or edx, 0x400000
jmp case.0x100d565c.22
mov eax, ecx
add eax, eax
mov ecx, eax
sub eax, esi
js 0x100d5715
or edx, 0x200000
jmp case.0x100d565c.21
mov eax, ecx
add eax, eax
mov ecx, eax
sub eax, esi
js 0x100d5727
or edx, 0x100000
jmp case.0x100d565c.20
mov eax, ecx
add eax, eax
mov ecx, eax
sub eax, esi
js 0x100d5739
or edx, 0x80000
jmp case.0x100d565c.19
mov eax, ecx
add eax, eax
mov ecx, eax
sub eax, esi
js 0x100d574b
or edx, 0x40000
jmp case.0x100d565c.18
mov eax, ecx
add eax, eax
mov ecx, eax
sub eax, esi
js 0x100d575d
or edx, 0x20000
jmp case.0x100d565c.17
mov eax, ecx
add eax, eax
mov ecx, eax
sub eax, esi
js 0x100d576f
or edx, 0x10000
jmp case.0x100d565c.16
mov eax, ecx
add eax, eax
mov ecx, eax
sub eax, esi
js 0x100d5781
or edx, 0x8000
jmp case.0x100d565c.15
mov eax, ecx
add eax, eax
mov ecx, eax
sub eax, esi
js 0x100d5793
or edx, 0x4000
jmp case.0x100d565c.14
mov eax, ecx
add eax, eax
mov ecx, eax
sub eax, esi
js 0x100d57a5
or edx, 0x2000
jmp case.0x100d565c.13
mov eax, ecx
add eax, eax
mov ecx, eax
sub eax, esi
js 0x100d57b7
or edx, 0x1000
jmp case.0x100d565c.12
mov eax, ecx
add eax, eax
mov ecx, eax
sub eax, esi
js 0x100d57c9
or edx, 0x800
jmp case.0x100d565c.11
mov eax, ecx
add eax, eax
mov ecx, eax
sub eax, esi
js 0x100d57db
or edx, 0x400
jmp case.0x100d565c.10
mov eax, ecx
add eax, eax
mov ecx, eax
sub eax, esi
js 0x100d57ed
or edx, 0x200
jmp case.0x100d565c.9
mov eax, ecx
add eax, eax
mov ecx, eax
sub eax, esi
js 0x100d57ff
or edx, 0x100
jmp case.0x100d565c.8
mov eax, ecx
add eax, eax
mov ecx, eax
sub eax, esi
js 0x100d5811
or edx, 0x80
jmp case.0x100d565c.7
mov eax, ecx
add eax, eax
mov ecx, eax
sub eax, esi
js 0x100d5820
or edx, 0x40
jmp case.0x100d565c.6
mov eax, ecx
add eax, eax
mov ecx, eax
sub eax, esi
js 0x100d582f
or edx, 0x20
jmp case.0x100d565c.5
mov eax, ecx
add eax, eax
mov ecx, eax
sub eax, esi
js 0x100d583e
or edx, 0x10
jmp case.0x100d565c.4
mov eax, ecx
add eax, eax
mov ecx, eax
sub eax, esi
js 0x100d584d
or edx, 8
jmp case.0x100d565c.3
mov eax, ecx
add eax, eax
mov ecx, eax
sub eax, esi
js 0x100d585c
or edx, 4
jmp case.0x100d565c.2
mov eax, ecx
add eax, eax
mov ecx, eax
sub eax, esi
js 0x100d586b
or edx, 2
jmp case.default.0x100d565c
mov eax, ecx
add eax, eax
sub eax, esi
js 0x100d5876
or edx, 1
test edx, edx
mov eax, SysReAllocString
pop ebx
cmovs edx, eax
xor edx, ebp
pop edi
sub edx, ebp
pop esi
mov eax, edx
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebp
ret