Function at 0x410220
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
push ebx
mov edx, 8
sub esp, 4
mov dword [esp], 0
dec edx
jne 0x410227
call fcn.0041cbe0
push edx
call fcn.0041cb30
pop edx
push eax
mov eax, 0x4212d8
push eax
call fcn.0040ef08
lea eax, [0x422c34]
push eax
call fcn.0041cca0
push edx
call fcn.0041cb30
pop edx
push eax
mov eax, str.VmlydHVhbFByb3RlY3Q
push eax
call fcn.0040ef08
lea eax, [0x422c2c]
push eax
call fcn.0041cca0
push edx
call fcn.0041cb30
pop edx
push eax
mov eax, str.VmlydHVhbEZyZWU
push eax
call fcn.0040ef08
lea eax, [0x422c38]
push eax
call fcn.0041cca0
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.0041c2d7
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 0x410416
mov dword [esp + 4], 1
mov ebx, dword [esp + 0x2c]
and ebx, 0x40000000
and ebx, ebx
je 0x41042c
mov dword [esp + 8], 1
mov ebx, dword [esp + 0x2c]
and ebx, 0x80000000
and ebx, ebx
je 0x410442
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 0x410487
mov ebx, dword [esp]
or ebx, 0x200
mov dword [esp], ebx
mov eax, dword [esp]
jmp 0x41048e
push eax
push dword [esp + 0x14]
call fcn.0041c383
pop eax
add esp, 0x20
pop ebx
pop ebp
ret 4