Function at 0x575cc0
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
push esi
mov esi, edx
push edi
test ecx, ecx
je 0x575f8b
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 0x575cf2
bsr eax, edi
xor eax, 0x1f
jmp 0x575cf7
mov eax, 0x20
lea edx, [eax - 1]
test esi, esi
je 0x575d06
bsr eax, esi
xor eax, 0x1f
jmp 0x575d0b
mov eax, 0x20
lea ecx, [eax - 1]
mov eax, ecx
sub eax, edx
add eax, 0x10
js 0x575f8b
cmp eax, 0x1f
jle 0x575d2d
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 0x575f76
mov ecx, eax
shl edx, cl
lea ecx, [eax - 2]
mov eax, ebx
cmp ecx, 0x1d
ja case.default.0x575d5c
jmp dword [ecx*4 + 0x575f94]
add ebx, ebx
mov eax, ebx
sub eax, esi
js 0x575d73
or edx, 0x40000000
jmp case.0x575d5c.30
mov eax, ebx
add eax, eax
mov ecx, eax
sub eax, esi
js 0x575d85
or edx, 0x20000000
jmp case.0x575d5c.29
mov eax, ecx
add eax, eax
mov ecx, eax
sub eax, esi
js 0x575d97
or edx, 0x10000000
jmp case.0x575d5c.28
mov eax, ecx
add eax, eax
mov ecx, eax
sub eax, esi
js 0x575da9
or edx, 0x8000000
jmp case.0x575d5c.27
mov eax, ecx
add eax, eax
mov ecx, eax
sub eax, esi
js 0x575dbb
or edx, 0x4000000
jmp case.0x575d5c.26
mov eax, ecx
add eax, eax
mov ecx, eax
sub eax, esi
js 0x575dcd
or edx, 0x2000000
jmp case.0x575d5c.25
mov eax, ecx
add eax, eax
mov ecx, eax
sub eax, esi
js 0x575ddf
or edx, 0x1000000
jmp case.0x575d5c.24
mov eax, ecx
add eax, eax
mov ecx, eax
sub eax, esi
js 0x575df1
or edx, 0x800000
jmp case.0x575d5c.23
mov eax, ecx
add eax, eax
mov ecx, eax
sub eax, esi
js 0x575e03
or edx, 0x400000
jmp case.0x575d5c.22
mov eax, ecx
add eax, eax
mov ecx, eax
sub eax, esi
js 0x575e15
or edx, 0x200000
jmp case.0x575d5c.21
mov eax, ecx
add eax, eax
mov ecx, eax
sub eax, esi
js 0x575e27
or edx, 0x100000
jmp case.0x575d5c.20
mov eax, ecx
add eax, eax
mov ecx, eax
sub eax, esi
js 0x575e39
or edx, 0x80000
jmp case.0x575d5c.19
mov eax, ecx
add eax, eax
mov ecx, eax
sub eax, esi
js 0x575e4b
or edx, 0x40000
jmp case.0x575d5c.18
mov eax, ecx
add eax, eax
mov ecx, eax
sub eax, esi
js 0x575e5d
or edx, 0x20000
jmp case.0x575d5c.17
mov eax, ecx
add eax, eax
mov ecx, eax
sub eax, esi
js 0x575e6f
or edx, 0x10000
jmp case.0x575d5c.16
mov eax, ecx
add eax, eax
mov ecx, eax
sub eax, esi
js 0x575e81
or edx, 0x8000
jmp case.0x575d5c.15
mov eax, ecx
add eax, eax
mov ecx, eax
sub eax, esi
js 0x575e93
or edx, 0x4000
jmp case.0x575d5c.14
mov eax, ecx
add eax, eax
mov ecx, eax
sub eax, esi
js 0x575ea5
or edx, 0x2000
jmp case.0x575d5c.13
mov eax, ecx
add eax, eax
mov ecx, eax
sub eax, esi
js 0x575eb7
or edx, 0x1000
jmp case.0x575d5c.12
mov eax, ecx
add eax, eax
mov ecx, eax
sub eax, esi
js 0x575ec9
or edx, 0x800
jmp case.0x575d5c.11
mov eax, ecx
add eax, eax
mov ecx, eax
sub eax, esi
js 0x575edb
or edx, 0x400
jmp case.0x575d5c.10
mov eax, ecx
add eax, eax
mov ecx, eax
sub eax, esi
js 0x575eed
or edx, 0x200
jmp case.0x575d5c.9
mov eax, ecx
add eax, eax
mov ecx, eax
sub eax, esi
js 0x575eff
or edx, 0x100
jmp case.0x575d5c.8
mov eax, ecx
add eax, eax
mov ecx, eax
sub eax, esi
js 0x575f11
or edx, 0x80
jmp case.0x575d5c.7
mov eax, ecx
add eax, eax
mov ecx, eax
sub eax, esi
js 0x575f20
or edx, 0x40
jmp case.0x575d5c.6
mov eax, ecx
add eax, eax
mov ecx, eax
sub eax, esi
js 0x575f2f
or edx, 0x20
jmp case.0x575d5c.5
mov eax, ecx
add eax, eax
mov ecx, eax
sub eax, esi
js 0x575f3e
or edx, 0x10
jmp case.0x575d5c.4
mov eax, ecx
add eax, eax
mov ecx, eax
sub eax, esi
js 0x575f4d
or edx, 8
jmp case.0x575d5c.3
mov eax, ecx
add eax, eax
mov ecx, eax
sub eax, esi
js 0x575f5c
or edx, 4
jmp case.0x575d5c.2
mov eax, ecx
add eax, eax
mov ecx, eax
sub eax, esi
js 0x575f6b
or edx, 2
jmp case.default.0x575d5c
mov eax, ecx
add eax, eax
sub eax, esi
js 0x575f76
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