Function at 0x584da0
Capabilities:
Inspect section memory permissions

Disassembly:
push esi
push edi
push ebx
push ecx
mov edi, edx
mov edx, dword [ecx + 4]
mov eax, dword [ecx]
mov ebx, edx
sub ecx, ecx
sub edx, edx
bt ebx, 0x1f
jae 0x584dbd
or ecx, 0x80
bt ebx, 0x17
jae 0x584dc6
or ecx, 0x40
bt ebx, 0xf
jae 0x584dcf
or ecx, 0x20
bt ebx, 7
jae 0x584dd8
or ecx, 0x10
bt eax, 0x1f
jae 0x584de1
or ecx, 8
bt eax, 0x17
jae 0x584dea
or ecx, 4
bt eax, 0xf
jae 0x584df3
or ecx, 2
bt eax, 7
jae 0x584dfc
or ecx, 1
bt ebx, 0x1e
jae 0x584e08
or ecx, 0x8000
bt ebx, 0x16
jae 0x584e14
or ecx, 0x4000
bt ebx, 0xe
jae 0x584e20
or ecx, 0x2000
bt ebx, 6
jae 0x584e2c
or ecx, 0x1000
bt eax, 0x1e
jae 0x584e38
or ecx, 0x800
bt eax, 0x16
jae 0x584e44
or ecx, 0x400
bt eax, 0xe
jae 0x584e50
or ecx, 0x200
bt eax, 6
jae 0x584e5c
or ecx, 0x100
bt ebx, 0x1d
jae 0x584e68
or ecx, 0x800000
bt ebx, 0x15
jae 0x584e74
or ecx, 0x400000
bt ebx, 0xd
jae 0x584e80
or ecx, 0x200000
bt ebx, 5
jae 0x584e8c
or ecx, 0x100000
bt eax, 0x1d
jae 0x584e98
or ecx, 0x80000
bt eax, 0x15
jae 0x584ea4
or ecx, 0x40000
bt eax, 0xd
jae 0x584eb0
or ecx, 0x20000
bt eax, 5
jae 0x584ebc
or ecx, 0x10000
bt ebx, 0x1c
jae 0x584ec8
or ecx, 0x80000000
bt ebx, 0x14
jae 0x584ed4
or ecx, 0x40000000
bt ebx, 0xc
jae 0x584ee0
or ecx, 0x20000000
bt ebx, 4
jae 0x584eec
or ecx, 0x10000000
bt eax, 0x1c
jae 0x584ef8
or ecx, 0x8000000
bt eax, 0x14
jae 0x584f04
or ecx, 0x4000000
bt eax, 0xc
jae 0x584f10
or ecx, 0x2000000
bt eax, 4
jae 0x584f1c
or ecx, 0x1000000
bt ebx, 0x18
jae 0x584f28
or edx, 0x80
bt ebx, 0x10
jae 0x584f31
or edx, 0x40
bt ebx, 8
jae 0x584f3a
or edx, 0x20
bt ebx, 0
jae 0x584f43
or edx, 0x10
bt eax, 0x18
jae 0x584f4c
or edx, 8
bt eax, 0x10
jae 0x584f55
or edx, 4
bt eax, 8
jae 0x584f5e
or edx, 2
bt eax, 0
jae 0x584f67
or edx, 1
bt ebx, 0x19
jae 0x584f73
or edx, 0x8000
bt ebx, 0x11
jae 0x584f7f
or edx, 0x4000
bt ebx, 9
jae 0x584f8b
or edx, 0x2000
bt ebx, 1
jae 0x584f97
or edx, 0x1000
bt eax, 0x19
jae 0x584fa3
or edx, 0x800
bt eax, 0x11
jae 0x584faf
or edx, 0x400
bt eax, 9
jae 0x584fbb
or edx, 0x200
bt eax, 1
jae 0x584fc7
or edx, 0x100
bt ebx, 0x1a
jae 0x584fd3
or edx, 0x800000
bt ebx, 0x12
jae 0x584fdf
or edx, 0x400000
bt ebx, 0xa
jae 0x584feb
or edx, 0x200000
bt ebx, 2
jae 0x584ff7
or edx, 0x100000
bt eax, 0x1a
jae 0x585003
or edx, 0x80000
bt eax, 0x12
jae 0x58500f
or edx, 0x40000
bt eax, 0xa
jae 0x58501b
or edx, 0x20000
bt eax, 2
jae 0x585027
or edx, 0x10000
bt ebx, 0x1b
jae 0x585033
or edx, 0x80000000
bt ebx, 0x13
jae 0x58503f
or edx, 0x40000000
bt ebx, 0xb
jae 0x58504b
or edx, 0x20000000
bt ebx, 3
jae 0x585057
or edx, 0x10000000
bt eax, 0x1b
jae 0x585063
or edx, 0x8000000
bt eax, 0x13
jae 0x58506f
or edx, 0x4000000
bt eax, 0xb
jae 0x58507b
or edx, 0x2000000
bt eax, 3
jae 0x585087
or edx, 0x1000000
rol ecx, 1
rol edx, 1
call fcn.005851b4
mov dword [edi], eax
mov dword [edi + 4], ebx
add edi, 8
rol ecx, 1
rol edx, 1
call fcn.005851b4
mov dword [edi], eax
mov dword [edi + 4], ebx
add edi, 8
rol ecx, 2
rol edx, 2
call fcn.005851b4
mov dword [edi], eax
mov dword [edi + 4], ebx
add edi, 8
rol ecx, 2
rol edx, 2
call fcn.005851b4
mov dword [edi], eax
mov dword [edi + 4], ebx
add edi, 8
rol ecx, 2
rol edx, 2
call fcn.005851b4
mov dword [edi], eax
mov dword [edi + 4], ebx
add edi, 8
rol ecx, 2
rol edx, 2
call fcn.005851b4
mov dword [edi], eax
mov dword [edi + 4], ebx
add edi, 8
rol ecx, 2
rol edx, 2
call fcn.005851b4
mov dword [edi], eax
mov dword [edi + 4], ebx
add edi, 8
rol ecx, 2
rol edx, 2
call fcn.005851b4
mov dword [edi], eax
mov dword [edi + 4], ebx
add edi, 8
rol ecx, 1
rol edx, 1
call fcn.005851b4
mov dword [edi], eax
mov dword [edi + 4], ebx
add edi, 8
rol ecx, 2
rol edx, 2
call fcn.005851b4
mov dword [edi], eax
mov dword [edi + 4], ebx
add edi, 8
rol ecx, 2
rol edx, 2
call fcn.005851b4
mov dword [edi], eax
mov dword [edi + 4], ebx
add edi, 8
rol ecx, 2
rol edx, 2
call fcn.005851b4
mov dword [edi], eax
mov dword [edi + 4], ebx
add edi, 8
rol ecx, 2
rol edx, 2
call fcn.005851b4
mov dword [edi], eax
mov dword [edi + 4], ebx
add edi, 8
rol ecx, 2
rol edx, 2
call fcn.005851b4
mov dword [edi], eax
mov dword [edi + 4], ebx
add edi, 8
rol ecx, 2
rol edx, 2
call fcn.005851b4
mov dword [edi], eax
mov dword [edi + 4], ebx
add edi, 8
rol ecx, 1
rol edx, 1
call fcn.005851b4
mov dword [edi], eax
mov dword [edi + 4], ebx
add edi, 8
pop ecx
pop ebx
pop edi
pop esi
ret