Function at 0x40b8dc
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
push ebx
mov edx, 8
sub esp, 4
mov dword [esp], 0
dec edx
jne 0x40b8e3
call fcn.00411f30
push edx
call fcn.00411e80
pop edx
push eax
mov eax, str.VmlydHVhbEFsbG9j
push eax
call fcn.0040a5c4
lea eax, [0x419444]
push eax
call fcn.00411ff0
push edx
call fcn.00411e80
pop edx
push eax
mov eax, str.VmlydHVhbFByb3RlY3Q
push eax
call fcn.0040a5c4
lea eax, [0x41943c]
push eax
call fcn.00411ff0
push edx
call fcn.00411e80
pop edx
push eax
mov eax, str.VmlydHVhbEZyZWU
push eax
call fcn.0040a5c4
lea eax, [0x419448]
push eax
call fcn.00411ff0
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.00411841
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 0x40bad2
mov dword [esp + 4], 1
mov ebx, dword [esp + 0x2c]
and ebx, 0x40000000
and ebx, ebx
je 0x40bae8
mov dword [esp + 8], 1
mov ebx, dword [esp + 0x2c]
and ebx, 0x80000000
and ebx, ebx
je 0x40bafe
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 0x40bb43
mov ebx, dword [esp]
or ebx, 0x200
mov dword [esp], ebx
mov eax, dword [esp]
jmp 0x40bb4a
push eax
push dword [esp + 0x14]
call fcn.00411955
pop eax
add esp, 0x20
pop ebx
pop ebp
ret 4