Function at 0x40ec3d
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
push ebx
mov edx, 8
sub esp, 4
mov dword [esp], 0
dec edx
jne 0x40ec44
call fcn.0041abc0
push edx
call fcn.0041ab10
pop edx
push eax
mov eax, 0x41f3d4
push eax
call fcn.0040d925
lea eax, [0x4208dc]
push eax
call fcn.0041ac80
push edx
call fcn.0041ab10
pop edx
push eax
mov eax, str.VmlydHVhbFByb3RlY3Q
push eax
call fcn.0040d925
lea eax, [0x4208d4]
push eax
call fcn.0041ac80
push edx
call fcn.0041ab10
pop edx
push eax
mov eax, str.VmlydHVhbEZyZWU
push eax
call fcn.0040d925
lea eax, [0x4208e0]
push eax
call fcn.0041ac80
mov dword [esp + 0x14], 2
mov dword [esp + 0x18], 2
mov dword [esp + 0x1c], 2
lea edx, [esp + 0x10]
push edx
push 0
push 0x15
push 4
push 3
call fcn.0041a2b7
mov eax, dword [esp + 0x14]
imul eax, eax, 0
mov ebp, eax
push ebp
mov eax, dword [esp + 0x1c]
imul eax, eax, 0
pop ebp
add ebp, eax
push ebp
xor eax, eax
pop ebp
add ebp, eax
shl ebp, 2
add ebp, dword [esp + 0x10]
mov dword [ebp], 1
mov eax, dword [esp + 0x14]
imul eax, eax, 0
mov ebp, eax
push ebp
mov eax, dword [esp + 0x1c]
imul eax, eax, 0
pop ebp
add ebp, eax
push ebp
mov eax, 1
pop ebp
add ebp, eax
shl ebp, 2
add ebp, dword [esp + 0x10]
mov dword [ebp], 8
mov eax, dword [esp + 0x14]
imul eax, eax, 0
mov ebp, eax
push ebp
mov eax, dword [esp + 0x1c]
pop ebp
add ebp, eax
push ebp
xor eax, eax
pop ebp
add ebp, eax
shl ebp, 2
add ebp, dword [esp + 0x10]
mov dword [ebp], 2
mov eax, dword [esp + 0x14]
imul eax, eax, 0
mov ebp, eax
push ebp
mov eax, dword [esp + 0x1c]
pop ebp
add ebp, eax
push ebp
mov eax, 1
pop ebp
add ebp, eax
shl ebp, 2
add ebp, dword [esp + 0x10]
mov dword [ebp], 4
mov eax, dword [esp + 0x14]
mov ebp, eax
push ebp
mov eax, dword [esp + 0x1c]
imul eax, eax, 0
pop ebp
add ebp, eax
push ebp
xor eax, eax
pop ebp
add ebp, eax
shl ebp, 2
add ebp, dword [esp + 0x10]
mov dword [ebp], 0x10
mov eax, dword [esp + 0x14]
mov ebp, eax
push ebp
mov eax, dword [esp + 0x1c]
imul eax, eax, 0
pop ebp
add ebp, eax
push ebp
mov eax, 1
pop ebp
add ebp, eax
shl ebp, 2
add ebp, dword [esp + 0x10]
mov dword [ebp], pe_nt_image_headers32
mov eax, dword [esp + 0x14]
mov ebp, eax
push ebp
mov eax, dword [esp + 0x1c]
pop ebp
add ebp, eax
push ebp
xor eax, eax
pop ebp
add ebp, eax
shl ebp, 2
add ebp, dword [esp + 0x10]
mov dword [ebp], 0x20
mov eax, dword [esp + 0x14]
mov ebp, eax
push ebp
mov eax, dword [esp + 0x1c]
pop ebp
add ebp, eax
push ebp
mov eax, 1
pop ebp
add ebp, eax
shl ebp, 2
add ebp, dword [esp + 0x10]
mov dword [ebp], 0x40
mov ebx, dword [esp + 0x2c]
and ebx, 0x20000000
and ebx, ebx
je 0x40ee33
mov dword [esp + 4], 1
mov ebx, dword [esp + 0x2c]
and ebx, 0x40000000
and ebx, ebx
je 0x40ee49
mov dword [esp + 8], 1
mov ebx, dword [esp + 0x2c]
and ebx, 0x80000000
and ebx, ebx
je 0x40ee5f
mov dword [esp + 0xc], 1
mov edx, dword [esp + 0x14]
imul edx, dword [esp + 4]
mov ebp, edx
mov edx, dword [esp + 0x18]
imul edx, dword [esp + 8]
add ebp, edx
push ebp
mov eax, dword [esp + 0x10]
pop ebp
add ebp, eax
shl ebp, 2
add ebp, dword [esp + 0x10]
mov eax, dword [ebp]
mov dword [esp], eax
mov ebx, dword [esp + 0x2c]
and ebx, 0x4000000
and ebx, ebx
je 0x40eea4
mov ebx, dword [esp]
or ebx, 0x200
mov dword [esp], ebx
mov eax, dword [esp]
jmp 0x40eeab
push eax
push dword [esp + 0x14]
call fcn.0041a363
pop eax
add esp, 0x20
pop ebx
pop ebp
ret 4