Function at 0x557eb0
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
cmp dword [ebp + 8], 0x8000
jge 0x557fd6
cmp dword [ebp + 8], 0x80
jge 0x557f50
cmp dword [ebp + 8], 8
jge 0x557f1c
cmp dword [ebp + 8], 2
jge 0x557f05
cmp dword [ebp + 8], 1
jge 0x557ef6
xor eax, eax
cmp dword [ebp + 8], 0
setge al
sub eax, 1
and eax, 0x20
mov dword [ebp - 4], eax
jmp 0x557efd
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 4]
mov dword [ebp - 8], ecx
jmp 0x557f14
xor edx, edx
cmp dword [ebp + 8], 4
setge dl
add edx, 2
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
jmp 0x557f48
cmp dword [ebp + 8], 0x20
jge 0x557f33
xor ecx, ecx
cmp dword [ebp + 8], 0x10
setge cl
add ecx, 4
mov dword [ebp - 0x10], ecx
jmp 0x557f42
xor edx, edx
cmp dword [ebp + 8], 0x40
setge dl
add edx, 6
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x14], ecx
jmp 0x557fcb
cmp dword [ebp + 8], 0x800
jge 0x557f90
cmp dword [ebp + 8], 0x200
jge 0x557f76
xor edx, edx
cmp dword [ebp + 8], 0x100
setge dl
add edx, 8
mov dword [ebp - 0x18], edx
jmp 0x557f88
xor eax, eax
cmp dword [ebp + 8], 0x400
setge al
add eax, 0xa
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], ecx
jmp 0x557fc5
cmp dword [ebp + 8], 0x2000
jge 0x557fad
xor edx, edx
cmp dword [ebp + 8], 0x1000
setge dl
add edx, 0xc
mov dword [ebp - 0x20], edx
jmp 0x557fbf
xor eax, eax
cmp dword [ebp + 8], 0x4000
setge al
add eax, 0xe
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x24], eax
jmp 0x5580dd
cmp dword [ebp + 8], 0x800000
jge 0x55805c
cmp dword [ebp + 8], 0x80000
jge 0x55801f
cmp dword [ebp + 8], 0x20000
jge 0x558005
xor ecx, ecx
cmp dword [ebp + 8], 0x10000
setge cl
add ecx, 0x10
mov dword [ebp - 0x28], ecx
jmp 0x558017
xor edx, edx
cmp dword [ebp + 8], 0x40000
setge dl
add edx, 0x12
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x2c], eax
jmp 0x558054
cmp dword [ebp + 8], 0x200000
jge 0x55803c
xor ecx, ecx
cmp dword [ebp + 8], 0x100000
setge cl
add ecx, 0x14
mov dword [ebp - 0x30], ecx
jmp 0x55804e
xor edx, edx
cmp dword [ebp + 8], 0x400000
setge dl
add edx, 0x16
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x34], ecx
jmp 0x5580d7
cmp dword [ebp + 8], 0x8000000
jge 0x55809c
cmp dword [ebp + 8], 0x2000000
jge 0x558082
xor edx, edx
cmp dword [ebp + 8], 0x1000000
setge dl
add edx, 0x18
mov dword [ebp - 0x38], edx
jmp 0x558094
xor eax, eax
cmp dword [ebp + 8], 0x4000000
setge al
add eax, 0x1a
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x3c], ecx
jmp 0x5580d1
cmp dword [ebp + 8], 0x20000000
jge 0x5580b9
xor edx, edx
cmp dword [ebp + 8], 0x10000000
setge dl
add edx, 0x1c
mov dword [ebp - 0x40], edx
jmp 0x5580cb
xor eax, eax
cmp dword [ebp + 8], 0x40000000
setge al
add eax, 0x1e
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 0x3c], ecx
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov esp, ebp
pop ebp
ret