Function at 0x4057a0
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
push edi
mov edi, edx
push esi
mov esi, eax
push ebx
sub esp, 0x5c
mov eax, dword [0x4711e4]
cmp dword [0x47109c], 1
sbb edx, edx
and edx, 0xfffffff8
add edx, 0x3f3
cmp dword [0x47109c], 1
mov dword [esp + 0x24], edx
sbb ecx, ecx
and ecx, 8
add ecx, 8
test eax, eax
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x38], ecx
jne 0x405d60
mov eax, edi
mov ebp, 0x4718c0
or eax, esi
mov dword [esp + 0x28], 0
je 0x4058e7
lea esi, [esi]
mov edx, dword [esp + 0x3c]
mov eax, ebp
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x40], 0
add edx, 0x4718c4
mov dword [esp + 0x44], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x2c], edx
jmp 0x405894
or ebx, edx
jne 0x4058f8
mov edx, 5
nop
cmp eax, dword [esp + 0x2c]
je 0x405870
cmp dword [esp + 0x24], 0xb
jle 0x405d40
sub dword [esp + 0x24], 2
mov byte [eax], 0x2c
mov byte [eax + 1], 0x20
add eax, 2
mov ecx, dword [edx*8 + 0x44f104]
mov edx, dword [edx*8 + 0x44f100]
mov dword [esp], eax
sub dword [esp + 0x24], ecx
mov dword [esp + 4], edx
call fcn.00438ec0
mov edx, edi
or edx, esi
je 0x4058d9
mov ecx, esi
mov ebx, edi
neg ecx
adc ebx, 0
and ecx, esi
neg ebx
mov ebp, ecx
mov edx, ebx
not ebp
and edx, edi
and ebp, esi
mov ebx, edx
mov esi, ebp
mov ebp, dword [esp + 0x28]
not ebx
and ebx, edi
mov edi, ebx
mov ebx, ecx
xor ebx, 0x40
test ebp, ebp
jne 0x405842
or ebx, edx
jne 0x405920
mov byte [eax], 0x49
lea esi, [esi]
mov edx, edi
add eax, 1
or edx, esi
jne 0x405894
mov ebp, eax
mov eax, dword [esp + 0x28]
test eax, eax
jne 0x405b28
mov byte [ebp], 0
add esp, 0x5c
mov eax, 0x4718c0
pop ebx
pop esi
pop edi
pop ebp
ret
cmp edx, 0
mov ebx, ecx
ja 0x405940
cmp ecx, 0x40
ja 0x405940
xor ebx, 4
or ebx, edx
jne 0x405a86
mov edx, 2
jmp 0x405850
cmp edx, 0
mov ebx, ecx
ja 0x405951
cmp ecx, 0x40
ja 0x405951
xor ebx, 4
or ebx, edx
jne 0x405ab3
mov byte [eax], 0x58
jmp 0x4058d0
xor bh, 2
or ebx, edx
jne 0x405964
mov edx, 8
jmp 0x405850
xor bh, 2
or ebx, edx
jne 0x405a00
mov byte [eax], 0x47
jmp 0x4058d0
cmp edx, 0
mov ebx, ecx
ja 0x4059e8
cmp ecx, 0x200
ja 0x4059e8
xor bl, 0x80
or ebx, edx
je 0x405d30
mov ebx, ecx
xor bh, 1
or ebx, edx
je 0x405cd9
movzx ebx, word [0x471072]
cmp bx, 0x28
je 0x405e70
ja 0x405dc3
cmp bx, 6
je 0x4059b7
ja 0x405ea6
sub ebx, 2
cmp bx, 1
ja 0x4059c7
mov ebx, ecx
xor ebx, 0x40000000
or ebx, edx
je 0x405ebf
test ecx, 0xff00000
je 0x405e38
or ecx, dword [esp + 0x30]
or edx, dword [esp + 0x34]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], edx
jmp 0x40588e
xor bh, 8
or ebx, edx
jne 0x405b03
mov edx, 0x14
jmp 0x405850
cmp edx, 0
mov ebx, ecx
ja 0x405a77
cmp ecx, 0x200
ja 0x405a77
xor bl, 0x80
or ebx, edx
je 0x405d28
mov ebx, ecx
xor bh, 1
or ebx, edx
je 0x405cd1
movzx ebx, word [0x471072]
cmp bx, 0xb4
je 0x405a3f
cmp bx, 0x3e
jne 0x405ce3
mov ebp, ecx
xor ebp, 0x10000000
or ebp, edx
je 0x405e8a
cmp bx, 0x28
je 0x405cf8
test ecx, 0xff00000
je 0x405da3
mov ecx, esi
and ecx, 0xf00fffff
mov byte [eax], 0x6f
mov esi, ecx
jmp 0x4058d0
xor bh, 8
or ebx, edx
jne 0x405ae0
mov byte [eax], 0x43
jmp 0x4058d0
cmp ecx, 4
mov ebx, ecx
jbe 0x405c70
xor ebx, 0x10
or ebx, edx
je 0x405d10
mov ebx, ecx
xor ebx, 0x20
or ebx, edx
jne 0x40598b
mov edx, 4
jmp 0x405850
cmp ecx, 4
mov ebx, ecx
jbe 0x405c90
xor ebx, 0x10
or ebx, edx
je 0x405d20
mov ebx, ecx
xor ebx, 0x20
or ebx, edx
jne 0x405a27
mov byte [eax], 0x53
jmp 0x4058d0
lea ebx, [ecx - 0x80000000]
or ebx, edx
je 0x405cb0
mov ebx, ecx
xor bh, 4
or ebx, edx
jne 0x405a27
mov byte [eax], 0x54
jmp 0x4058d0
lea ebx, [ecx - 0x80000000]
or ebx, edx
je 0x405cb8
mov ebx, ecx
xor bh, 4
or ebx, edx
jne 0x40598b
mov edx, 9
jmp 0x405850
mov ecx, dword [esp + 0x34]
or ecx, dword [esp + 0x30]
je 0x405b95
mov eax, dword [esp + 0x24]
sub eax, dword [esp + 0x38]
sub eax, 5
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x3c]
add eax, 0x4718c4
cmp ebp, eax
je 0x405b69
cmp dword [esp + 0x24], 2
jle 0x405d40
sub dword [esp + 0x24], 2
mov byte [ebp], 0x2c
mov byte [ebp + 1], 0x20
add ebp, 2
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x30]
mov dword [esp], ebp
mov dword [esp + 4], str.OS___.lx_
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], eax
mov dword [esp + 8], edx
call sub.msvcrt.dll_sprintf
mov ecx, dword [esp + 0x38]
lea ebp, [ebp + ecx + 5]
mov eax, dword [esp + 0x44]
or eax, dword [esp + 0x40]
je 0x405c02
mov eax, dword [esp + 0x24]
sub eax, dword [esp + 0x38]
sub eax, 7
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x3c]
add eax, 0x4718c4
cmp ebp, eax
je 0x405bd6
cmp dword [esp + 0x24], 2
jle 0x405d40
sub dword [esp + 0x24], 2
mov byte [ebp], 0x2c
mov byte [ebp + 1], 0x20
add ebp, 2
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x38]
mov dword [esp], ebp
mov dword [esp + 4], str.PROC___.lx_
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], ecx
mov dword [esp + 8], ecx
call sub.msvcrt.dll_sprintf
mov edx, dword [esp + 0x38]
lea ebp, [ebp + edx + 7]
mov ecx, dword [esp + 0x4c]
or ecx, dword [esp + 0x48]
je 0x4058e7
mov eax, dword [esp + 0x24]
sub eax, dword [esp + 0x38]
lea edx, [eax - 0xa]
mov eax, dword [esp + 0x3c]
add eax, 0x4718c4
cmp ebp, eax
je 0x405c3c
cmp edx, 2
jle 0x405d40
mov byte [ebp], 0x2c
mov byte [ebp + 1], 0x20
add ebp, 2
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x48]
mov dword [esp], ebp
mov dword [esp + 4], str.UNKNOWN___.lx_
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], eax
mov dword [esp + 8], edx
call sub.msvcrt.dll_sprintf
mov ecx, dword [esp + 0x38]
lea ebp, [ebp + ecx + 0xa]
jmp 0x4058e7
xor ebx, 1
or ebx, edx
je 0x405cc2
mov ebx, ecx
xor ebx, 2
or ebx, edx
jne 0x40598b
mov edx, 1
jmp 0x405850
xor ebx, 1
or ebx, edx
je 0x405cc9
mov ebx, ecx
xor ebx, 2
or ebx, edx
jne 0x405a27
mov byte [eax], 0x41
jmp 0x4058d0
mov byte [eax], 0x45
jmp 0x4058d0
mov edx, 0x12
jmp 0x405850
xor edx, edx
jmp 0x405850
mov byte [eax], 0x57
jmp 0x4058d0
mov byte [eax], 0x4f
jmp 0x4058d0
mov edx, 7
jmp 0x405850
cmp bx, 0xb5
je 0x405a3f
cmp bx, 0x28
jne 0x405a59
mov ebx, ecx
xor ebx, 0x20000000
or ebx, edx
jne 0x405a59
mov byte [eax], 0x79
jmp 0x4058d0
mov edx, 3
jmp 0x405850
mov byte [eax], 0x4d
jmp 0x4058d0
mov byte [eax], 0x4c
jmp 0x4058d0
mov edx, 6
jmp 0x405850
mov dword [esp], str.Internal_error:_not_enough_buffer_room_for_section_flag_info
call fcn.004371d0
add esp, 0x5c
mov eax, 0x444a90
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 0xc], ecx
mov dword [esp + 8], ecx
mov dword [esp + 0x10], esi
mov dword [esp + 4], str.__.lx_:
mov dword [esp], 0x4718c0
call sub.msvcrt.dll_sprintf
mov ebp, dword [esp + 0x3c]
mov eax, edi
mov ecx, dword [0x4711e4]
add ebp, 0x4718c4
or eax, esi
mov dword [esp + 0x28], ecx
jne 0x405800
jmp 0x4058e7
and ecx, 0xf0000000
je 0x405e30
mov edx, esi
xor edi, edi
and edx, 0xfffffff
mov byte [eax], 0x70
mov esi, edx
jmp 0x4058d0
cmp bx, 0x3e
je 0x4059b7
ja 0x405e92
cmp bx, 0x2b
je 0x4059b7
cmp bx, 0x32
jne 0x4059c7
mov ebx, ecx
xor ebx, 0x10000000
or ebx, edx
je 0x405ec9
mov ebx, ecx
xor ebx, 0x20000000
or ebx, edx
je 0x405ed3
cmp byte [0x471047], 0xd
jne 0x4059c7
mov ebx, edx
xor ebx, 4
or ebx, ecx
jne 0x405edd
mov edx, 0xe
jmp 0x405850
mov byte [eax], 0x78
jmp 0x4058d0
test ecx, 0xf0000000
je 0x405e55
or ecx, dword [esp + 0x40]
or edx, dword [esp + 0x44]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], edx
jmp 0x40588e
or ecx, dword [esp + 0x48]
or edx, dword [esp + 0x4c]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], edx
jmp 0x40588e
mov ebx, ecx
xor ebx, 0x20000000
or ebx, edx
jne 0x4059c7
mov edx, 0x15
jmp 0x405850
mov byte [eax], 0x6c
jmp 0x4058d0
sub bx, 0xb4
cmp bx, 1
ja 0x4059c7
jmp 0x4059b7
cmp bx, 0xb
je 0x4059b7
cmp bx, 0x12
jne 0x4059c7
jmp 0x4059b7
mov edx, 0x13
jmp 0x405850
mov edx, 0xa
jmp 0x405850
mov edx, 0xb
jmp 0x405850
cmp edx, 4
ja 0x405f09
jb 0x405ee9
cmp ecx, 0
ja 0x405f09
mov ebx, edx
xor ebx, 1
or ebx, ecx
je 0x405f3c
mov ebx, edx
xor ebx, 2
or ebx, ecx
jne 0x4059c7
mov edx, 0xd
jmp 0x405850
mov ebx, edx
xor ebx, 0x10
or ebx, ecx
jne 0x405f1c
mov edx, 0x10
jmp 0x405850
mov ebx, edx
xor ebx, 0x20
or ebx, ecx
je 0x405f46
mov ebx, edx
xor ebx, 8
or ebx, ecx
jne 0x4059c7
mov edx, 0xf
jmp 0x405850
mov edx, 0xc
jmp 0x405850
mov edx, 0x11
jmp 0x405850